Class AbstractSignatureConfiguration
java.lang.Object
io.micronaut.security.token.jwt.signature.AbstractSignatureConfiguration
- All Implemented Interfaces:
SignatureConfiguration
- Direct Known Subclasses:
ECSignature
,RSASignature
,SecretSignature
public abstract class AbstractSignatureConfiguration
extends Object
implements SignatureConfiguration
- Since:
- 1.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jose.JWSAlgorithm
void
setAlgorithm
(com.nimbusds.jose.JWSAlgorithm algorithm) algorithm Setter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.security.token.jwt.signature.SignatureConfiguration
supportedAlgorithmsMessage, supports, verify
-
Field Details
-
algorithm
protected com.nimbusds.jose.JWSAlgorithm algorithm
-
-
Constructor Details
-
AbstractSignatureConfiguration
public AbstractSignatureConfiguration()
-
-
Method Details
-
getAlgorithm
public com.nimbusds.jose.JWSAlgorithm getAlgorithm()- Returns:
JWSAlgorithm
-
setAlgorithm
public void setAlgorithm(com.nimbusds.jose.JWSAlgorithm algorithm) algorithm Setter.- Parameters:
algorithm
- Instance ofJWSAlgorithm
-