public class SignatureMethodsHMAC256Impl extends java.lang.Object implements SignatureMethod<SymmetricKeyImpl,SymmetricKeyImpl>
Constructor and Description |
---|
SignatureMethodsHMAC256Impl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calculate(java.lang.String header,
java.lang.String payload,
SymmetricKeyImpl signingKey) |
java.lang.String |
getAlgorithm() |
boolean |
verify(java.lang.String signature,
java.lang.String header,
java.lang.String payload,
SymmetricKeyImpl verifyingKey) |
public java.lang.String calculate(java.lang.String header, java.lang.String payload, SymmetricKeyImpl signingKey)
calculate
in interface SignatureMethod<SymmetricKeyImpl,SymmetricKeyImpl>
public boolean verify(java.lang.String signature, java.lang.String header, java.lang.String payload, SymmetricKeyImpl verifyingKey)
verify
in interface SignatureMethod<SymmetricKeyImpl,SymmetricKeyImpl>
public java.lang.String getAlgorithm()
getAlgorithm
in interface SignatureMethod<SymmetricKeyImpl,SymmetricKeyImpl>
Copyright © 2010 - 2020 Adobe. All Rights Reserved