public class SignatureMethodRSAImpl extends java.lang.Object implements SignatureMethod<PrivateKey,PublicKey>
Constructor and Description |
---|
SignatureMethodRSAImpl(java.lang.String algorithm) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calculate(java.lang.String header,
java.lang.String payload,
PrivateKey signingKey)
Calculate the signature of given header.payload as for
appendix-A.2.1
|
java.lang.String |
getAlgorithm() |
boolean |
verify(java.lang.String signature,
java.lang.String header,
java.lang.String payload,
PublicKey verifyingKey)
Verify the signature of given header.payload as for
appendix-A.2.2
|
public java.lang.String calculate(java.lang.String header, java.lang.String payload, PrivateKey signingKey)
calculate
in interface SignatureMethod<PrivateKey,PublicKey>
public boolean verify(java.lang.String signature, java.lang.String header, java.lang.String payload, PublicKey verifyingKey)
verify
in interface SignatureMethod<PrivateKey,PublicKey>
public java.lang.String getAlgorithm()
getAlgorithm
in interface SignatureMethod<PrivateKey,PublicKey>
Copyright © 2010 - 2020 Adobe. All Rights Reserved