| Package | Description |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal.crypto |
| Constructor and Description |
|---|
COSEncryptionClient(COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
ClientConfig clientConfig,
CryptoConfiguration cryptoConfig) |
COSEncryptionClient(QCLOUDKMS kms,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
ClientConfig clientConfig,
CryptoConfiguration cryptoConfig) |
| Modifier and Type | Field and Description |
|---|---|
protected CryptoConfiguration |
COSCryptoModuleBase.cryptoConfig
A read-only copy of the crypto configuration.
|
| Modifier and Type | Method and Description |
|---|---|
CryptoConfiguration |
CryptoConfiguration.clone() |
CryptoConfiguration |
CryptoConfiguration.readOnly()
Returns a read-only copy of this configuration.
|
CryptoConfiguration |
CryptoConfiguration.withCryptoMode(CryptoMode cryptoMode)
Fluent API to set the crypto mode; applicable only to the COS encryption
client.
|
CryptoConfiguration |
CryptoConfiguration.withCryptoProvider(Provider cryptoProvider)
Sets the crypto provider to the specified provider, and returns the
updated CryptoConfiguration object.
|
CryptoConfiguration |
CryptoConfiguration.withIgnoreMissingInstructionFile(boolean ignoreMissingInstructionFile)
Fluent API to set the property to ignore instruction file that cannot be
found during a GET operation.
|
CryptoConfiguration |
CryptoConfiguration.withIV(byte[] iv) |
CryptoConfiguration |
CryptoConfiguration.withKmsRegion(String kmsRegion)
Fluent API for setting the KMS region for the KMS client when such
client is internally instantiated instead of externally passed in by
users; or null if no explicit KMS region is explicitly configured.This
KMS region parameter is ignored when the KMS client of the encryption
client is explicitly passed in by the users, instead of being
implicitly created.
|
CryptoConfiguration |
CryptoConfiguration.withStorageMode(CryptoStorageMode storageMode)
Sets the storage mode to the specified mode, and returns the updated
CryptoConfiguration object.
|
Copyright © 2023. All rights reserved.