程序包 | 说明 |
---|---|
com.sinacloud.scs.auth |
限定符和类型 | 方法和说明 |
---|---|
static SigningAlgorithm |
SigningAlgorithm.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SigningAlgorithm[] |
SigningAlgorithm.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected byte[] |
AbstractAWSSigner.sign(byte[] data,
byte[] key,
SigningAlgorithm algorithm) |
byte[] |
AbstractAWSSigner.sign(String stringData,
byte[] key,
SigningAlgorithm algorithm) |
protected String |
AbstractAWSSigner.signAndBase64Encode(byte[] data,
String key,
SigningAlgorithm algorithm)
Computes an RFC 2104-compliant HMAC signature for an array of bytes and
returns the result as a Base64 encoded string.
|
protected String |
AbstractAWSSigner.signAndBase64Encode(String data,
String key,
SigningAlgorithm algorithm)
Computes an RFC 2104-compliant HMAC signature and returns the result as a
Base64 encoded string.
|
Copyright © 2016. All rights reserved.