Package | Description |
---|---|
com.amazonaws.encryptionsdk.caching |
Modifier and Type | Method and Description |
---|---|
static CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.newBuilder() |
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withBackingMaterialsManager(CryptoMaterialsManager backingCMM)
Sets the
CryptoMaterialsManager that should be queried when the CachingCryptoMaterialsManager (CCMM) incurs a cache miss. |
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withByteUseLimit(long byteUseLimit)
Sets the maximum number of plaintext bytes that can be encrypted under the same a cached data
key.
|
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withCache(CryptoMaterialsCache cache)
Sets the cache to which this
CryptoMaterialsManager will be bound. |
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withMasterKeyProvider(MasterKeyProvider mkp)
Sets the
MasterKeyProvider that should be queried when the CachingCryptoMaterialsManager (CCMM) incurs a cache miss. |
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withMaxAge(long maxAge,
TimeUnit units)
Sets the maximum lifetime for entries in the cache, for both encrypt and decrypt operations.
|
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withMessageUseLimit(long messageUseLimit)
Sets the maximum number of individual messages that can be encrypted under the same a cached
data key.
|
CachingCryptoMaterialsManager.Builder |
CachingCryptoMaterialsManager.Builder.withPartitionId(String partitionId)
Sets the partition ID for this CMM.
|
Copyright © 2023. All rights reserved.