Package org.keycloak.jose.jwk
Class ECPublicJWK
java.lang.Object
org.keycloak.jose.jwk.JWK
org.keycloak.jose.jwk.ECPublicJWK
- Author:
- Stian Thorgersen
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.keycloak.jose.jwk.JWK
ALGORITHM, KEY_ID, KEY_TYPE, otherClaims, PUBLIC_KEY_USE, SHA1_509_THUMBPRINT, SHA256_509_THUMBPRINT, X5C
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.keycloak.jose.jwk.JWK
getAlgorithm, getKeyId, getKeyType, getOtherClaims, getPublicKeyUse, getSha1x509Thumbprint, getSha256x509Thumbprint, getX509CertificateChain, setAlgorithm, setKeyId, setKeyType, setOtherClaims, setPublicKeyUse, setSha1x509Thumbprint, setSha256x509Thumbprint, setX509CertificateChain
-
Field Details
-
EC
- See Also:
-
CRV
- See Also:
-
X
- See Also:
-
Y
- See Also:
-
-
Constructor Details
-
ECPublicJWK
public ECPublicJWK()
-
-
Method Details
-
getCrv
-
setCrv
-
getX
-
setX
-
getY
-
setY
-
getOtherClaim
Description copied from class:JWK
Ability to retrieve custom claims in a unified way. The subclasses (like for example OKPublicJWK) may contain the custom claims as Java properties when the "JWK" class can contain the same claims inside the "otherClaims" map. This method allows to obtain the claim in both ways regardless of if we have "JWK" class or some of it's subclass- Overrides:
getOtherClaim
in classJWK
- Parameters:
claimName
- claim nameclaimType
- claim type- Returns:
- claim if present or null
-