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 ofJWKReferenceCredential.
-
-
Field Summary
Fields Modifier and Type Field Description private URIreferenceUriA reference to a JWK.
-
Constructor Summary
Constructors Constructor Description BasicJWKReferenceCredential()Constructor.BasicJWKReferenceCredential(URI uri)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Credential>getCredentialType()URIgetReferenceURI()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, setUsageType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
-
-
-
Field Detail
-
referenceUri
private URI referenceUri
A reference to a JWK.
-
-
Constructor Detail
-
BasicJWKReferenceCredential
public BasicJWKReferenceCredential()
Constructor.
-
BasicJWKReferenceCredential
public BasicJWKReferenceCredential(URI uri)
Constructor.- Parameters:
uri- A reference to a JWK.
-
-
Method Detail
-
setReferenceURI
public void setReferenceURI(URI uri)
Set the reference to a JWK.- Parameters:
uri- What to set.
-
getReferenceURI
public URI getReferenceURI()
Get the reference URI to the remote JWK.- Specified by:
getReferenceURIin interfaceJWKReferenceCredential- Returns:
- The reference URI to the remote JWK.
-
getCredentialType
public Class<? extends Credential> getCredentialType()
- Specified by:
getCredentialTypein interfaceCredential
-
-