Class RSAPEMCertificateParser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getKeyFactoryType() The key factory type for keys that this algorithm can parse.
      String getJwtAlgorithm() Get the algorithm description as it will be reported by the server public key endpoint (e.g.
      String getKeyHeader() Get the header for a PEM encoded key that this algorithm can parse.
      Algorithm parseAlgorithm(String publicKey) Build a verification algorithm based on the supplied public key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RSAPEMCertificateParser

        RSAPEMCertificateParser()
    • Method Detail

      • getJwtAlgorithm

         String getJwtAlgorithm()

        Get the algorithm description as it will be reported by the server public key endpoint (e.g. "SHA256withRSA" or "SHA256withEC").

      • getKeyHeader

         String getKeyHeader()

        Get the header for a PEM encoded key that this algorithm can parse.

      • parseAlgorithm

         Algorithm parseAlgorithm(String publicKey)

        Build a verification algorithm based on the supplied public key.

        Parameters:
        publicKey - the public key in PEM format