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 String
generateSignature(String signingInput)
boolean
validateSignature(String signingInput, String signature)
-
Methods inherited from class io.jans.as.model.jws.AbstractJwsSigner
getSignatureAlgorithm, sign, validate, validateAccessToken, validateAuthorizationCode, validateState
-
-
-
-
Method Detail
-
generateSignature
public String generateSignature(String signingInput) throws SignatureException
- Specified by:
generateSignature
in classAbstractJwsSigner
- Throws:
SignatureException
-
validateSignature
public boolean validateSignature(String signingInput, String signature) throws SignatureException
- Specified by:
validateSignature
in classAbstractJwsSigner
- Throws:
SignatureException
-
-