Class BasicJWKCredential
java.lang.Object
org.opensaml.security.credential.AbstractCredential
org.opensaml.security.credential.BasicCredential
net.shibboleth.oidc.security.credential.BasicJWKCredential
- All Implemented Interfaces:
JWKCredential,Credential,MutableCredential
- Direct Known Subclasses:
BasicExpiringJWKCredential
A basic implementation of
JWKCredential.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet algorithm of JWK.getKid()Get kid of JWK.voidsetAlgorithm(Algorithm algorithm) Set the algorithm of jwk.voidSet the kid of jwk.Methods inherited from class org.opensaml.security.credential.BasicCredential
getCredentialType, setEntityId, setPrivateKey, setPublicKey, setSecretKey, setUsageTypeMethods inherited from class org.opensaml.security.credential.AbstractCredential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
Field Details
-
jwkAlgorithm
jwk algorithm. -
jwkKid
jwk kid.
-
-
Constructor Details
-
BasicJWKCredential
public BasicJWKCredential()
-
-
Method Details
-
setKid
Set the kid of jwk.- Parameters:
kid- kid of jwk
-
getKid
Get kid of JWK.- Specified by:
getKidin interfaceJWKCredential- Returns:
- kid parameter.
-
setAlgorithm
Set the algorithm of jwk.- Parameters:
algorithm- algorithm of jwk.
-
getAlgorithm
Get algorithm of JWK.- Specified by:
getAlgorithmin interfaceJWKCredential- Returns:
- algorithm of JWK.
-