Class JwksEndpointKeyAccessor.JsonWebKeyWrapper

java.lang.Object
com.pingidentity.access.JwksEndpointKeyAccessor.JsonWebKeyWrapper
Enclosing class:
JwksEndpointKeyAccessor

public static final class JwksEndpointKeyAccessor.JsonWebKeyWrapper extends Object
The JSON web key wrapper object containing the Key ID, JSON web key and the private key.
Since:
10.1
  • Method Details

    • getPrivateKey

      public PrivateKey getPrivateKey()
      Returns:
      the Json Web Key's PrivateKey value
      Since:
      10.1
    • getKeyId

      public String getKeyId()
      Returns:
      the Json Web Key's Key ID
      Since:
      10.1
    • getJWK

      public org.jose4j.jwk.JsonWebKey getJWK()
      Returns:
      the JsonWebKey instance.
      Since:
      10.1
    • getPkCertID

      public String getPkCertID()
      If the JwkKeyPair used to create this wrapper has an associated pkCert set this will return the ID. A JWK will not always have a corresponding pkCert, as they may represent keypairs in memory
      Returns:
      the ID of the associated pkCert for the wrapped JWK, or null is there is no corresponding pkCert set
      Since:
      10.3