Class BasicJWKReferenceCredential
java.lang.Object
org.opensaml.security.credential.AbstractCredential
net.shibboleth.oidc.security.credential.BasicJWKReferenceCredential
- All Implemented Interfaces:
JWKReferenceCredential,Credential
public class BasicJWKReferenceCredential
extends AbstractCredential
implements JWKReferenceCredential
A basic implementation of
JWKReferenceCredential.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Credential>Get the reference URI to the remote JWK.voidsetReferenceURI(URI uri) Set the reference to a JWK.Methods inherited from class org.opensaml.security.credential.AbstractCredential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType, setEntityId, setPrivateKey, setPublicKey, setSecretKey, setUsageTypeMethods 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, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
Field Details
-
referenceUri
A reference to a JWK.
-
-
Constructor Details
-
BasicJWKReferenceCredential
public BasicJWKReferenceCredential()Constructor. -
BasicJWKReferenceCredential
Constructor.- Parameters:
uri- A reference to a JWK.
-
-
Method Details
-
setReferenceURI
Set the reference to a JWK.- Parameters:
uri- What to set.
-
getReferenceURI
Get the reference URI to the remote JWK.- Specified by:
getReferenceURIin interfaceJWKReferenceCredential- Returns:
- The reference URI to the remote JWK.
-
getCredentialType
- Specified by:
getCredentialTypein interfaceCredential
-