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