Package io.jans.as.model.jws
Class PlainTextSignature
- java.lang.Object
-
- io.jans.as.model.jws.AbstractJwsSigner
-
- io.jans.as.model.jws.PlainTextSignature
-
- All Implemented Interfaces:
JwsSigner
public class PlainTextSignature extends AbstractJwsSigner
- Version:
- October 26, 2017
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description PlainTextSignature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateSignature(java.lang.String signingInput)
boolean
validateSignature(java.lang.String signingInput, java.lang.String signature)
-
Methods inherited from class io.jans.as.model.jws.AbstractJwsSigner
getSignatureAlgorithm, sign, validate, validateAccessToken, validateAuthorizationCode, validateState
-
-
-
-
Method Detail
-
generateSignature
public java.lang.String generateSignature(java.lang.String signingInput) throws java.security.SignatureException
- Specified by:
generateSignature
in classAbstractJwsSigner
- Throws:
java.security.SignatureException
-
validateSignature
public boolean validateSignature(java.lang.String signingInput, java.lang.String signature) throws java.security.SignatureException
- Specified by:
validateSignature
in classAbstractJwsSigner
- Throws:
java.security.SignatureException
-
-