Class SignatureMethodRSAImpl
java.lang.Object
org.apache.oltu.jose.jws.signature.impl.SignatureMethodRSAImpl
- All Implemented Interfaces:
SignatureMethod<PrivateKey,PublicKey>
Class that asymmetrically sign and verify the issued token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(String header, String payload, PrivateKey signingKey) Calculate the signature of given header.payload as for appendix-A.2.1booleanVerify the signature of given header.payload as for appendix-A.2.2
-
Constructor Details
-
SignatureMethodRSAImpl
-
-
Method Details
-
calculate
Calculate the signature of given header.payload as for appendix-A.2.1- Specified by:
calculatein interfaceSignatureMethod<PrivateKey,PublicKey>
-
verify
Verify the signature of given header.payload as for appendix-A.2.2- Specified by:
verifyin interfaceSignatureMethod<PrivateKey,PublicKey>
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceSignatureMethod<PrivateKey,PublicKey>
-