| 程序包 | 说明 |
|---|---|
| com.ksyun.ks3.dto | |
| com.ksyun.ks3.service.encryption.internal |
| 限定符和类型 | 方法和说明 |
|---|---|
Ks3Object |
GetObjectResult.getObject() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GetObjectResult.setObject(Ks3Object object) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Ks3Object |
EncryptionUtils.adjustOutputToDesiredRange(Ks3Object object,
long[] range)
Adjusts the retrieved S3Object so that the object contents contain only the range of bytes
desired by the user.
|
static Ks3Object |
EncryptionUtils.decryptObjectUsingInstruction(Ks3Object object,
EncryptionInstruction instruction)
Returns an updated object where the object content input stream contains the decrypted contents.
|
static Ks3Object |
EncryptionUtils.decryptObjectUsingMetadata(Ks3Object object,
EncryptionMaterials materials,
Provider cryptoProvider)
已过时。
use buildInstructionFromObjectMetadata and decryptObjectUsingInstruction instead.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Ks3Object |
EncryptionUtils.adjustOutputToDesiredRange(Ks3Object object,
long[] range)
Adjusts the retrieved S3Object so that the object contents contain only the range of bytes
desired by the user.
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromInstructionFile(Ks3Object instructionFile,
EncryptionMaterials materials,
Provider cryptoProvider)
已过时。
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromInstructionFile(Ks3Object instructionFile,
EncryptionMaterialsProvider materialsProvider,
Provider cryptoProvider)
Builds an instruction object from the contents of an instruction file.
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromObjectMetadata(Ks3Object object,
EncryptionMaterials materials,
Provider cryptoProvider)
已过时。
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromObjectMetadata(Ks3Object object,
EncryptionMaterialsProvider materialsProvider,
Provider cryptoProvider)
Builds an instruction object from the object metadata.
|
static Ks3Object |
EncryptionUtils.decryptObjectUsingInstruction(Ks3Object object,
EncryptionInstruction instruction)
Returns an updated object where the object content input stream contains the decrypted contents.
|
static Ks3Object |
EncryptionUtils.decryptObjectUsingMetadata(Ks3Object object,
EncryptionMaterials materials,
Provider cryptoProvider)
已过时。
use buildInstructionFromObjectMetadata and decryptObjectUsingInstruction instead.
|
static boolean |
EncryptionUtils.isEncryptionInfoInInstructionFile(Ks3Object instructionFile)
Returns true if the specified S3Object is an instruction file containing
encryption info, false otherwise.
|
static boolean |
EncryptionUtils.isEncryptionInfoInMetadata(Ks3Object retrievedObject)
Returns true if the specified S3Object contains encryption info in its
metadata, false otherwise.
|
Copyright © 2024. All rights reserved.