| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal.crypto |
| 构造器和说明 |
|---|
COSEncryptionClient(COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
ClientConfig clientConfig,
CryptoConfiguration cryptoConfig) |
COSEncryptionClient(QCLOUDKMS kms,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
ClientConfig clientConfig,
CryptoConfiguration cryptoConfig) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected CryptoConfiguration |
COSCryptoModuleBase.cryptoConfig
A read-only copy of the crypto configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.withStorageMode(CryptoStorageMode storageMode)
Sets the storage mode to the specified mode, and returns the updated
CryptoConfiguration object.
|
| 构造器和说明 |
|---|
COSCryptoModuleAE(COSDirect cos,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig) |
COSCryptoModuleAE(QCLOUDKMS kms,
COSDirect cos,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig) |
COSCryptoModuleBase(COSDirect cos,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig)
For testing purposes only.
|
COSCryptoModuleBase(QCLOUDKMS kms,
COSDirect cos,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig) |
CryptoModuleDispatcher(QCLOUDKMS kms,
COSDirect cos,
COSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider encryptionMaterialsProvider,
CryptoConfiguration cryptoConfig) |
Copyright © 2020. All rights reserved.