Package com.pingidentity.access
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jose4j.jwk.JsonWebKeygetJWK()StringgetKeyId()StringgetPkCertID()If the JwkKeyPair used to create this wrapper has an associated pkCert set this will return the ID.PrivateKeygetPrivateKey()
-
-
-
Method Detail
-
getPrivateKey
public PrivateKey getPrivateKey()
- Returns:
- the Json Web Key's
PrivateKeyvalue - 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
JsonWebKeyinstance. - 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
-
-