| Package | Description |
|---|---|
| com.aliyun.encryptionsdk |
| Modifier and Type | Method and Description |
|---|---|
CryptoResult<byte[]> |
AliyunCrypto.decrypt(BaseDataKeyProvider provider,
byte[] cipherText)
使用
BaseDataKeyProvider 获取加密使用的dataKey解密 cipherText |
CryptoResult<OutputStream> |
AliyunCrypto.decrypt(BaseDataKeyProvider provider,
InputStream inputStream,
OutputStream outputStream)
|
CryptoResult<byte[]> |
AliyunCrypto.encrypt(BaseDataKeyProvider provider,
byte[] plainText)
使用
BaseDataKeyProvider 生成dataKey加密 plaintext |
CryptoResult<byte[]> |
AliyunCrypto.encrypt(BaseDataKeyProvider provider,
byte[] plainText,
Map<String,String> encryptionContext)
|
CryptoResult<OutputStream> |
AliyunCrypto.encrypt(BaseDataKeyProvider provider,
InputStream inputStream,
OutputStream outputStream)
|
CryptoResult<OutputStream> |
AliyunCrypto.encrypt(BaseDataKeyProvider provider,
InputStream inputStream,
OutputStream outputStream,
Map<String,String> encryptionContext)
|
Copyright © 2020. All rights reserved.