Interface JWKCredential
-
- All Superinterfaces:
Credential
- All Known Subinterfaces:
ExpiringJWKCredential
- All Known Implementing Classes:
BasicExpiringJWKCredential,BasicJWKCredential
public interface JWKCredential extends Credential
Credential based on JSON Web Key (JWK).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.nimbusds.jose.AlgorithmgetAlgorithm()Get algorithm of JWK.StringgetKid()Get kid of JWK.-
Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
-
-
-
Method Detail
-
getKid
@Nullable String getKid()
Get kid of JWK.- Returns:
- kid parameter.
-
getAlgorithm
@Nullable com.nimbusds.jose.Algorithm getAlgorithm()
Get algorithm of JWK.- Returns:
- algorithm of JWK.
-
-