| 程序包 | 说明 |
|---|---|
| com.ksyun.ks3.service.encryption.internal |
| 限定符和类型 | 方法和说明 |
|---|---|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(PutObjectRequest request,
EncryptionInstruction instruction)
Creates a put request to store the specified instruction object in S3.
|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(String bucketName,
String key,
EncryptionInstruction instruction) |
static Ks3Object |
EncryptionUtils.decryptObjectUsingInstruction(Ks3Object object,
EncryptionInstruction instruction)
Returns an updated object where the object content input stream contains the decrypted contents.
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Returns an updated request where the input stream contains the encrypted object contents.
|
static void |
EncryptionUtils.updateMetadataWithEncryptionInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Update the request's ObjectMetadata with the necessary information for decrypting the object
|
Copyright © 2024. All rights reserved.