| Package | Description |
|---|---|
| com.aliyun.encryptionsdk | |
| com.aliyun.encryptionsdk.ckm | |
| com.aliyun.encryptionsdk.model |
| Modifier and Type | Method and Description |
|---|---|
SignatureResult<byte[]> |
AliyunCrypto.sign(SignatureProvider provider,
byte[] content,
ContentType type)
使用
SignatureProvider 处理加签请求 |
Boolean |
AliyunCrypto.verify(SignatureProvider provider,
byte[] content,
byte[] signature,
ContentType type)
使用
SignatureProvider 处理验签请求 |
| Modifier and Type | Method and Description |
|---|---|
SignatureMaterial |
CryptoKeyManager.getSignatureMaterial(SignatureProvider provider,
byte[] content,
ContentType type) |
SignatureMaterial |
DefaultCryptoKeyManager.getSignatureMaterial(SignatureProvider provider,
byte[] content,
ContentType type) |
SignatureMaterial |
CachingCryptoKeyManager.getSignatureMaterial(SignatureProvider provider,
byte[] content,
ContentType type) |
VerifyMaterial |
CryptoKeyManager.getVerifyMaterial(SignatureProvider provider,
byte[] content,
byte[] signature,
ContentType type) |
VerifyMaterial |
DefaultCryptoKeyManager.getVerifyMaterial(SignatureProvider provider,
byte[] content,
byte[] signature,
ContentType type) |
VerifyMaterial |
CachingCryptoKeyManager.getVerifyMaterial(SignatureProvider provider,
byte[] content,
byte[] signature,
ContentType type) |
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
ContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020. All rights reserved.