public class HmacSHA256Signature extends ServiceSignature
构造器和说明 |
---|
HmacSHA256Signature() |
限定符和类型 | 方法和说明 |
---|---|
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, sign
public String getAlgorithm()
ServiceSignature
getAlgorithm
在类中 ServiceSignature
public String getVersion()
ServiceSignature
getVersion
在类中 ServiceSignature
public String computeSignature(String key, String data)
ServiceSignature
computeSignature
在类中 ServiceSignature
key
- The key for the signature.data
- The data to compute the signature on.Copyright © 2019. All Rights Reserved.