public class HmacSHA256Signature extends ServiceSignature
| Constructor and Description |
|---|
HmacSHA256Signature() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeSignature(String key,
String data)
Computes the signature of the data by the given key.
|
String |
getAlgorithm()
Gets the algorithm of signature.
|
String |
getVersion()
Gets the algorithm version.
|
create, signpublic String getAlgorithm()
ServiceSignaturegetAlgorithm in class ServiceSignaturepublic String getVersion()
ServiceSignaturegetVersion in class ServiceSignaturepublic String computeSignature(String key, String data)
ServiceSignaturecomputeSignature in class ServiceSignaturekey - The key for the signature.data - The data to compute the signature on.Copyright © 2021. All Rights Reserved.