Interface SignatureConfiguration
- All Known Subinterfaces:
 SignatureGeneratorConfiguration
- All Known Implementing Classes:
 AbstractSignatureConfiguration,ECSignature,ECSignatureGenerator,JwksSignature,RSASignature,RSASignatureGenerator,SecretSignature
public interface SignatureConfiguration
Signature configuration.
- Since:
 - 1.0
 - Author:
 - Sergio del Amo
 
- 
Method Details
- 
supportedAlgorithmsMessage
String supportedAlgorithmsMessage()- Returns:
 - A message indicating the supported algorithms.
 
 - 
supports
boolean supports(com.nimbusds.jose.JWSAlgorithm algorithm) Whether this signature configuration supports this algorithm.- Parameters:
 algorithm- the signature algorithm- Returns:
 - whether this signature configuration supports this algorithm
 
 - 
verify
boolean verify(com.nimbusds.jwt.SignedJWT jwt) throws com.nimbusds.jose.JOSEException Verify a signed JWT.- Parameters:
 jwt- the signed JWT- Returns:
 - whether the signed JWT is verified
 - Throws:
 com.nimbusds.jose.JOSEException- exception when verifying the JWT
 
 -