- CachingCryptoMaterialsManager - Class in com.amazonaws.encryptionsdk.caching
-
- CachingCryptoMaterialsManager.Builder - Class in com.amazonaws.encryptionsdk.caching
-
- CannotUnwrapDataKeyException - Exception in com.amazonaws.encryptionsdk.exception
-
This exception is thrown when there are no
DataKey
s which can be decrypted.
- CannotUnwrapDataKeyException() - Constructor for exception com.amazonaws.encryptionsdk.exception.CannotUnwrapDataKeyException
-
- CannotUnwrapDataKeyException(String) - Constructor for exception com.amazonaws.encryptionsdk.exception.CannotUnwrapDataKeyException
-
- CannotUnwrapDataKeyException(Throwable) - Constructor for exception com.amazonaws.encryptionsdk.exception.CannotUnwrapDataKeyException
-
- CannotUnwrapDataKeyException(String, Throwable) - Constructor for exception com.amazonaws.encryptionsdk.exception.CannotUnwrapDataKeyException
-
- canProvide(String) - Method in class com.amazonaws.encryptionsdk.MasterKey
-
- canProvide(String) - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
Returns true if this MasterKeyProvider can provide keys from the specified @{code provider}.
- CipherBlockHeaders - Class in com.amazonaws.encryptionsdk.model
-
This class implements the headers for the encrypted content stored in a
single block.
- CipherBlockHeaders() - Constructor for class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Default constructor.
- CipherBlockHeaders(byte[], long) - Constructor for class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Construct the single block headers using the provided nonce
and length of content.
- CipherFrameHeaders - Class in com.amazonaws.encryptionsdk.model
-
This class implements the headers for the encrypted content stored in a
frame.
- CipherFrameHeaders() - Constructor for class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Default constructor.
- CipherFrameHeaders(int, byte[], int, boolean) - Constructor for class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Construct the frame headers using the provided sequence number, nonce,
length of content, and boolean value indicating if it is the final frame.
- CiphertextFooters - Class in com.amazonaws.encryptionsdk.model
-
This class encapsulates the optional footer information which follows the actual protected
content.
- CiphertextFooters() - Constructor for class com.amazonaws.encryptionsdk.model.CiphertextFooters
-
- CiphertextFooters(byte[]) - Constructor for class com.amazonaws.encryptionsdk.model.CiphertextFooters
-
- CiphertextHeaders - Class in com.amazonaws.encryptionsdk.model
-
This class implements the headers for the message (ciphertext) produced by
this library.
- CiphertextHeaders() - Constructor for class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Default constructor.
- CiphertextHeaders(byte, CiphertextType, CryptoAlgorithm, byte[], List<KeyBlob>, ContentType, int) - Constructor for class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Construct the ciphertext headers using the provided values.
- CiphertextType - Enum in com.amazonaws.encryptionsdk.model
-
This enum describes the supported types of ciphertext in this library.
- close() - Method in class com.amazonaws.encryptionsdk.CryptoInputStream
-
- close() - Method in class com.amazonaws.encryptionsdk.CryptoOutputStream
-
Closes this output stream and releases any system resources associated
with this stream.
- com.amazonaws.encryptionsdk - package com.amazonaws.encryptionsdk
-
Contains
AwsCrypto
, the primary entry-point to the Aws Encryption SDK.
- com.amazonaws.encryptionsdk.caching - package com.amazonaws.encryptionsdk.caching
-
- com.amazonaws.encryptionsdk.exception - package com.amazonaws.encryptionsdk.exception
-
Contains the various exceptions which may be thrown by the AWS Encryption SDK.
- com.amazonaws.encryptionsdk.internal - package com.amazonaws.encryptionsdk.internal
-
Contains the internal classes that handle the cryptographic defined by the message formats and
algorithms.
- com.amazonaws.encryptionsdk.jce - package com.amazonaws.encryptionsdk.jce
-
- com.amazonaws.encryptionsdk.kms - package com.amazonaws.encryptionsdk.kms
-
Contains logic necessary to create
MasterKey
s backed
by AWS KMS keys.
- com.amazonaws.encryptionsdk.model - package com.amazonaws.encryptionsdk.model
-
Contains the classes that implement the defined message format for storing the encrypted content
and the data key.
- com.amazonaws.encryptionsdk.multi - package com.amazonaws.encryptionsdk.multi
-
Contains logic necessary to create
MasterKeyProvider
s
which are backed by multiple
MasterKeyProviders
.
- compare(byte[], byte[]) - Method in class com.amazonaws.encryptionsdk.internal.Utils.ComparingByteArrays
-
- compare(ByteBuffer, ByteBuffer) - Method in class com.amazonaws.encryptionsdk.internal.Utils.ComparingByteBuffers
-
- compareObjectIdentity(Object, Object) - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
Provides an arbitrary but consistent total ordering over all objects.
- ComparingByteArrays() - Constructor for class com.amazonaws.encryptionsdk.internal.Utils.ComparingByteArrays
-
- ComparingByteBuffers() - Constructor for class com.amazonaws.encryptionsdk.internal.Utils.ComparingByteBuffers
-
- Constants - Class in com.amazonaws.encryptionsdk.internal
-
- ContentType - Enum in com.amazonaws.encryptionsdk.model
-
This enum describes the supported types for storing the encrypted content in
the message format.
- create(MasterKeyProvider<K>) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided master key.
- create(MasterKeyProvider<K>, CiphertextHeaders) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided master key and already parsed headers
.
- create(CryptoMaterialsManager) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided materials manager.
- create(CryptoMaterialsManager, CiphertextHeaders) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided materials manager and already parsed headers
.
- createDecryptingStream(MasterKeyProvider<K>, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createDecryptingStream(MasterKeyProvider<K>, InputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createDecryptingStream(CryptoMaterialsManager, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createDecryptingStream(CryptoMaterialsManager, InputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(MasterKeyProvider<K>, OutputStream, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(CryptoMaterialsManager, OutputStream, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(MasterKeyProvider<K>, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(CryptoMaterialsManager, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(MasterKeyProvider<K>, InputStream, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(CryptoMaterialsManager, InputStream, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(MasterKeyProvider<K>, InputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createEncryptingStream(CryptoMaterialsManager, InputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- CryptoAlgorithm - Enum in com.amazonaws.encryptionsdk
-
Describes the cryptographic algorithms available for use in this library.
- CryptoHandler - Interface in com.amazonaws.encryptionsdk.internal
-
This interface defines the contract for the implementation of encryption and decryption handlers
in this library.
- CryptoInputStream<K extends MasterKey<K>> - Class in com.amazonaws.encryptionsdk
-
A CryptoInputStream is a subclass of java.io.InputStream.
- CryptoMaterialsCache - Interface in com.amazonaws.encryptionsdk.caching
-
Represents a generic cache for cryptographic materials.
- CryptoMaterialsCache.CacheHint - Interface in com.amazonaws.encryptionsdk.caching
-
Contains some additional information associated with a cache entry.
- CryptoMaterialsCache.DecryptCacheEntry - Interface in com.amazonaws.encryptionsdk.caching
-
Represents an entry in the decrypt cache, and provides methods for manipulating the entry.
- CryptoMaterialsCache.EncryptCacheEntry - Interface in com.amazonaws.encryptionsdk.caching
-
Represents an entry in the encrypt cache, and provides methods for manipulating the entry.
- CryptoMaterialsCache.UsageStats - Class in com.amazonaws.encryptionsdk.caching
-
- CryptoMaterialsManager - Interface in com.amazonaws.encryptionsdk
-
The crypto materials manager is responsible for preparing the cryptographic materials needed to process a request -
notably, preparing the cleartext data key and (if applicable) trailing signature keys on both encrypt and decrypt.
- CryptoOutputStream<K extends MasterKey<K>> - Class in com.amazonaws.encryptionsdk
-
A CryptoOutputStream is a subclass of java.io.OutputStream.
- CryptoResult<T,K extends MasterKey<K>> - Class in com.amazonaws.encryptionsdk
-
Represents the result of an operation by
AwsCrypto
.
- CURRENT_CIPHERTEXT_VERSION - Static variable in class com.amazonaws.encryptionsdk.internal.VersionInfo
-
The current version number of the ciphertext produced by this library.
- DataKey<M extends MasterKey<M>> - Class in com.amazonaws.encryptionsdk
-
Represents both the cleartext and encrypted bytes of a data key.
- DataKey(SecretKey, byte[], byte[], M) - Constructor for class com.amazonaws.encryptionsdk.DataKey
-
- decryptData(MasterKeyProvider<K>, byte[]) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Decrypts the provided
ciphertext
by requesting that the
provider
unwrap any
usable
DataKey
in the ciphertext and then decrypts the ciphertext using that
DataKey
.
- decryptData(CryptoMaterialsManager, byte[]) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Decrypts the provided ciphertext by delegating to the provided materialsManager to obtain the decrypted
DataKey
.
- decryptData(MasterKeyProvider<K>, ParsedCiphertext) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- decryptData(CryptoMaterialsManager, ParsedCiphertext) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Attempts to decrypts the
encryptedDataKeys
by first iterating through all
aliasNames
specified in the constructor and then over
all other compatible keys in the
KeyStore
.
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
Iterates through encryptedDataKeys
and returns the first one which can be
successfully decrypted.
- DecryptionHandler<K extends MasterKey<K>> - Class in com.amazonaws.encryptionsdk.internal
-
This class implements the CryptoHandler interface by providing methods for
the decryption of ciphertext produced by the methods in
EncryptionHandler
.
- DecryptionMaterials - Class in com.amazonaws.encryptionsdk.model
-
- DecryptionMaterials.Builder - Class in com.amazonaws.encryptionsdk.model
-
- DecryptionMaterialsRequest - Class in com.amazonaws.encryptionsdk.model
-
- DecryptionMaterialsRequest.Builder - Class in com.amazonaws.encryptionsdk.model
-
- decryptMaterials(DecryptionMaterialsRequest) - Method in class com.amazonaws.encryptionsdk.caching.CachingCryptoMaterialsManager
-
- decryptMaterials(DecryptionMaterialsRequest) - Method in interface com.amazonaws.encryptionsdk.CryptoMaterialsManager
-
- decryptMaterials(DecryptionMaterialsRequest) - Method in class com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager
-
- decryptString(MasterKeyProvider<K>, String) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Base64 decodes the ciphertext
prior to decryption and then treats the results as a
UTF-8 encoded string.
- decryptString(CryptoMaterialsManager, String) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Base64 decodes the ciphertext
prior to decryption and then treats the results as a
UTF-8 encoded string.
- DefaultCryptoMaterialsManager - Class in com.amazonaws.encryptionsdk
-
- DefaultCryptoMaterialsManager(MasterKeyProvider<?>) - Constructor for class com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager
-
- deserialize(short) - Static method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the CryptoAlgorithm object that matches the given value.
- deserialize(byte[]) - Static method in class com.amazonaws.encryptionsdk.internal.EncryptionContextSerializer
-
Deserialize the provided byte array into a map containing key-value
pairs comprised of strings.
- deserialize(byte[], int) - Method in class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Deserialize the provided bytes starting at the specified offset to
construct an instance of this class.
- deserialize(byte[], int) - Method in class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Deserialize the provided bytes starting at the specified offset to
construct an instance of this class.
- deserialize(byte[], int) - Method in class com.amazonaws.encryptionsdk.model.CiphertextFooters
-
Parses the footers from the b
starting at offset off
and returns the number
of bytes parsed/consumed.
- deserialize(byte[], int) - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Deserialize the provided bytes starting at the specified offset to
construct an instance of this class.
- deserialize(byte) - Static method in enum com.amazonaws.encryptionsdk.model.CiphertextType
-
Deserialize the provided byte value by returning the CiphertextType
object representing the byte value.
- deserialize(byte) - Static method in enum com.amazonaws.encryptionsdk.model.ContentType
-
Deserialize the provided byte value by returning the ContentType object
representing the byte value.
- deserialize(byte[], int) - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Deserialize the provided bytes starting at the specified offset to
construct an instance of this class.
- deserializePublicKey(String) - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- doFinal(byte[], int) - Method in interface com.amazonaws.encryptionsdk.internal.CryptoHandler
-
Finish processing of the bytes.
- doFinal(byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Finish processing of the bytes.
- doFinal(byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
Finish encryption of the plaintext bytes.
- doFinal(byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- GCM_MAX_CONTENT_LEN - Static variable in class com.amazonaws.encryptionsdk.internal.Constants
-
Maximum length of the content that can be encrypted in GCM mode.
- generate(int) - Static method in class com.amazonaws.encryptionsdk.internal.RandomBytesGenerator
-
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.MasterKey
-
Generates a new
DataKey
which is protected by this
MasterKey
for use with
algorithm
and associated with the provided
encryptionContext
.
- generateKey() - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- getAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- getAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest
-
- getAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
The algorithm to use for this encryption operation.
- getAuthLength() - Method in class com.amazonaws.encryptionsdk.model.CiphertextFooters
-
- getBlockSize() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the block size of this algorithm in bytes.
- getBytesEncrypted() - Method in class com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.UsageStats
-
- getBytesProcessed() - Method in class com.amazonaws.encryptionsdk.internal.ProcessingSummary
-
- getBytesWritten() - Method in class com.amazonaws.encryptionsdk.internal.ProcessingSummary
-
- getCiphertext() - Method in class com.amazonaws.encryptionsdk.ParsedCiphertext
-
Returns the raw ciphertext backing this object.
- getCleartextDataKey() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getCleartextDataKey() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
The cleartext data key to use for encrypting this message.
- getContentLength() - Method in class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Return the content length set in the single block header.
- getContentType() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the content type set in the header.
- getContext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- getContext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- getCryptoAlgoId() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the crypto algorithm identifier set in the header.
- getCryptoAlgorithm() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
- getCryptoResult() - Method in class com.amazonaws.encryptionsdk.CryptoInputStream
-
Returns the result of the cryptographic operations including associate metadata.
- getCryptoResult() - Method in class com.amazonaws.encryptionsdk.CryptoOutputStream
-
Returns the result of the cryptographic operations including associate metadata.
- getDataKey() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials.Builder
-
- getDataKey() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials
-
- getDataKeyAlgo() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the algorithm associated with the data key.
- getDataKeyLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the length of the data key in bytes.
- getDefaultCryptoAlgorithm() - Static method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Returns the
CryptoAlgorithm
to be used for encryption when none is explicitly
selected.
- getDefaultFrameSize() - Static method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Returns the frame size to use for encryption when none is explicitly selected.
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Returns "JavaKeyStore".
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns "aws-kms"
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.MasterKey
-
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
ProviderId used by this instance when no other is specified.
- getEncryptedDataKey() - Method in class com.amazonaws.encryptionsdk.DataKey
-
- getEncryptedDataKey() - Method in interface com.amazonaws.encryptionsdk.EncryptedDataKey
-
- getEncryptedDataKey() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the encrypted data key set in the header.
- getEncryptedDataKeyLen() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the length of the encrypted data key set in the header.
- getEncryptedDataKeys() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- getEncryptedDataKeys() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest
-
- getEncryptedDataKeys() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getEncryptedDataKeys() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
The KeyBlobs to serialize (in cleartext) into the encrypted message.
- getEncryptedKeyBlobCount() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the count of the encrypted key blobs set in the header.
- getEncryptedKeyBlobs() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the encrypted key blobs set in the header.
- getEncryptionAlgorithm() - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Return the encryption context.
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
Return the encryption context.
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- getEncryptionContext() - Method in interface com.amazonaws.encryptionsdk.internal.MessageCryptoHandler
-
Return the encryption context used in the generation of the data key used for the encryption
of content.
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the encryption context set in the header.
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getEncryptionContext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
The encryption context to use for the encryption operation.
- getEncryptionContextLen() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the length of the encryption context set in the header.
- getEncryptionContextMap() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
- getEncryptionFrameSize() - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- getEncryptionKeyFromDataKey(SecretKey, CiphertextHeaders) - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- getEntryCreationTime() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.DecryptCacheEntry
-
- getEntryCreationTime() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.EncryptCacheEntry
-
- getEntryForDecrypt(byte[]) - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache
-
Searches for an entry in the encrypt cache matching a particular cache identifier, and returns one if found.
- getEntryForDecrypt(byte[]) - Method in class com.amazonaws.encryptionsdk.caching.LocalCryptoMaterialsCache
-
- getEntryForDecrypt(byte[]) - Method in class com.amazonaws.encryptionsdk.caching.NullCryptoMaterialsCache
-
- getEntryForEncrypt(byte[], CryptoMaterialsCache.UsageStats) - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache
-
Searches for an entry in the encrypt cache matching a particular cache identifier, and returns one if found.
- getEntryForEncrypt(byte[], CryptoMaterialsCache.UsageStats) - Method in class com.amazonaws.encryptionsdk.caching.LocalCryptoMaterialsCache
-
- getEntryForEncrypt(byte[], CryptoMaterialsCache.UsageStats) - Method in class com.amazonaws.encryptionsdk.caching.NullCryptoMaterialsCache
-
- getFrameContentLength() - Method in class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Return the frame content length set in the frame header.
- getFrameLength() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the length of the frame set in the header.
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- getGrantTokens() - Method in interface com.amazonaws.encryptionsdk.kms.KmsMethods
-
Returns the grantTokens which this object sends to KMS when calling it.
- getHashAndSignAlgorithm() - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- getHeaderNonce() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the header nonce set in the header.
- getHeaders() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
- getHeaders() - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
- getHeaders() - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
- getHeaders() - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- getHeaders() - Method in interface com.amazonaws.encryptionsdk.internal.MessageCryptoHandler
-
- getHeaderTag() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the header tag set in the header.
- getInstance(SecretKey, String, String, String) - Static method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
Returns a JceMasterKey
backed by key
using wrappingAlgorithm
.
- getInstance(PublicKey, PrivateKey, String, String, String) - Static method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
Returns a JceMasterKey
backed by unwrappingKey
and wrappingKey
using
wrappingAlgorithm
.
- getInstance(AWSCredentials, String) - Static method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getInstance(AWSCredentialsProvider, String) - Static method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getKey() - Method in class com.amazonaws.encryptionsdk.DataKey
-
Returns the cleartext bytes of the data key.
- getKeyAlgo() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the algorithm used for encrypting the plaintext data.
- getKeyId() - Method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.MasterKey
-
- getKeyLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the length of the key used in this algorithm in bytes.
- getKeyProviderIdLen() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the length of the key provider identifier set in the header.
- getKeyProviderInfoLen() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the length of the key provider info set in the header.
- getMasterKey() - Method in class com.amazonaws.encryptionsdk.DataKey
-
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Returns a
JceMasterKey
corresponding to the entry in the
KeyStore
with the
specified alias and compatible algorithm.
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.MasterKey
-
Returns this
if provider
and keyId
match this
.
- getMasterKey(String) - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
- getMasterKeyIds() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- getMasterKeys() - Method in interface com.amazonaws.encryptionsdk.internal.MessageCryptoHandler
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getMasterKeys() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
Contains a list of all MasterKeys that could decrypt this message.
- getMasterKeysForEncryption(MasterKeyRequest) - Method in class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Returns
JceMasterKey
s corresponding to the
aliasNames
passed into the
constructor.
- getMasterKeysForEncryption(MasterKeyRequest) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns all CMKs provided to the constructor of this object.
- getMasterKeysForEncryption(MasterKeyRequest) - Method in class com.amazonaws.encryptionsdk.MasterKey
-
Returns a list of length 1
containing this
.
- getMasterKeysForEncryption(MasterKeyRequest) - Method in class com.amazonaws.encryptionsdk.MasterKeyProvider
-
Returns all
MasterKey
s which should be used to protect the plaintext described by
request
.
- getMaterialsForEncrypt(EncryptionMaterialsRequest) - Method in class com.amazonaws.encryptionsdk.caching.CachingCryptoMaterialsManager
-
- getMaterialsForEncrypt(EncryptionMaterialsRequest) - Method in interface com.amazonaws.encryptionsdk.CryptoMaterialsManager
-
Prepares materials for an encrypt request.
- getMaterialsForEncrypt(EncryptionMaterialsRequest) - Method in class com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager
-
- getMAuth() - Method in class com.amazonaws.encryptionsdk.model.CiphertextFooters
-
- getMaxAgeMillis() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.CacheHint
-
Returns the lifetime of the cache entry.
- getMaxContentLen() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the maximum content length in bytes that can be processed under a single data key in
this algorithm.
- getMaxInputSize() - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler.LateBoundInfo
-
- getMessageDigestAlgorithm() - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- getMessageId() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the message identifier set in the header.
- getMessagesEncrypted() - Method in class com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.UsageStats
-
- getNonce() - Method in class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Return the nonce set in the single block header.
- getNonce() - Method in class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Return the nonce set in the frame header.
- getNonceLen() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the nonce length used in this algorithm in bytes.
- getNonceLength() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the length of the nonce set in the header.
- getOffset() - Method in class com.amazonaws.encryptionsdk.ParsedCiphertext
-
The offset at which the first non-header byte in ciphertext
is located.
- getPlaintext() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
Please note that this does not make a defensive copy of the plaintext and so any
modifications made to the backing array will be reflected in this Builder.
- getPlaintext() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest
-
The plaintext, if available, to be protected by this request.
- getPlaintext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
Please note that this does not make a defensive copy of the plaintext and so any
modifications made to the backing array will be reflected in this Builder.
- getPlaintext() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- getPlaintextSize() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- getPlaintextSize() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.DataKey
-
- getProviderId() - Method in interface com.amazonaws.encryptionsdk.EncryptedDataKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.MasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the key provider identifier set in the header.
- getProviderInformation() - Method in class com.amazonaws.encryptionsdk.DataKey
-
- getProviderInformation() - Method in interface com.amazonaws.encryptionsdk.EncryptedDataKey
-
- getProviderInformation() - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Return the information on the key provider set in the header.
- getRawSignatureAlgorithm() - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- getRegion() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- getRequestedAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- getRequestedAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- getResult() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.DecryptCacheEntry
-
Returns the DecryptionMaterials associated with this entry.
- getResult() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.EncryptCacheEntry
-
- getResult() - Method in class com.amazonaws.encryptionsdk.CryptoResult
-
The actual result of the cryptographic operation.
- getSecureRandom() - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
- getSequenceNumber() - Method in class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Return the frame sequence number set in the frame header.
- getSize() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
- getSize() - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest
-
The size of the plaintext, if available.
- getTagLen() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the tag length used in this algorithm in bytes.
- getTrailingSignatureAlgo() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the algorithm used to calculate the trailing signature
- getTrailingSignatureKey() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials.Builder
-
- getTrailingSignatureKey() - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials
-
- getTrailingSignatureKey() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- getTrailingSignatureKey() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials
-
The private key to be used to sign the message trailer.
- getTrailingSignatureLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the length of the trailing signature generated by this algorithm.
- getType() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the type set in the header.
- getUsageStats() - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.EncryptCacheEntry
-
- getValue() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the value used to encode this algorithm in the ciphertext.
- getValue() - Method in enum com.amazonaws.encryptionsdk.model.CiphertextType
-
Return the value used to encode this ciphertext type object in the
ciphertext.
- getValue() - Method in enum com.amazonaws.encryptionsdk.model.ContentType
-
Return the value used to encode this content type object in the
ciphertext.
- getVersion() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the version set in the header.
- KeyBlob - Class in com.amazonaws.encryptionsdk.model
-
This class implements the format of the key blob.
- KeyBlob() - Constructor for class com.amazonaws.encryptionsdk.model.KeyBlob
-
Default constructor.
- KeyBlob(String, byte[], byte[]) - Constructor for class com.amazonaws.encryptionsdk.model.KeyBlob
-
Construct a key blob using the provided key, key provider identifier, and
key provider information.
- KeyBlob(EncryptedDataKey) - Constructor for class com.amazonaws.encryptionsdk.model.KeyBlob
-
- KeyStoreProvider - Class in com.amazonaws.encryptionsdk.jce
-
- KeyStoreProvider(KeyStore, KeyStore.ProtectionParameter, String, String) - Constructor for class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Creates an instance of this class using wrappingAlgorithm
which will work
for decrypt only.
- KeyStoreProvider(KeyStore, KeyStore.ProtectionParameter, String, String, String...) - Constructor for class com.amazonaws.encryptionsdk.jce.KeyStoreProvider
-
Creates an instance of this class using wrappingAlgorithm
which will encrypt data to
the keys specified by aliasNames
.
- KmsMasterKey - Class in com.amazonaws.encryptionsdk.kms
-
Represents a single Customer Master Key (CMK) and is used to encrypt/decrypt data with
AwsCrypto
.
- KmsMasterKeyProvider - Class in com.amazonaws.encryptionsdk.kms
-
Provides
MasterKey
s backed by the AWS Key Management Service.
- KmsMasterKeyProvider() - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings, default credentials, and configured
to talk to the Regions.DEFAULT_REGION
.
- KmsMasterKeyProvider(String) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings and credentials configured to speak
to the region specified by keyId
(if specified).
- KmsMasterKeyProvider(AWSCredentials, String) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings configured to speak to the region
specified by keyId
(if specified).
- KmsMasterKeyProvider(AWSCredentialsProvider, String) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings configured to speak to the region
specified by keyId
(if specified).
- KmsMasterKeyProvider(AWSCredentials) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings and configured to talk to the
Regions.DEFAULT_REGION
.
- KmsMasterKeyProvider(AWSCredentialsProvider) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with default settings and configured to talk to the
Regions.DEFAULT_REGION
.
- KmsMasterKeyProvider(AWSCredentialsProvider, Region, ClientConfiguration, String) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with the supplied configuration and credentials.
- KmsMasterKeyProvider(AWSCredentialsProvider, Region, ClientConfiguration, List<String>) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with the supplied configuration and credentials.
- KmsMasterKeyProvider(AWSKMS, Region, List<String>) - Constructor for class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns an instance of this object with the supplied client and region; the client will be
configured to use the provided region.
- KmsMethods - Interface in com.amazonaws.encryptionsdk.kms
-
Methods common to all classes which interact with KMS.
- parseByte(byte[], int) - Static method in class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
Parse a single byte in the provided bytes.
- ParsedCiphertext - Class in com.amazonaws.encryptionsdk
-
Exposes header information of ciphertexts to make it easier to inspect the algorithm, keys, and
encryption context prior to decryption.
- ParsedCiphertext(byte[]) - Constructor for class com.amazonaws.encryptionsdk.ParsedCiphertext
-
Parses ciphertext
.
- ParseException - Exception in com.amazonaws.encryptionsdk.exception
-
This exception is thrown when there are not enough bytes to parse a primitive, a specified number
of bytes, or the bytes does not properly represent the desired object.
- ParseException() - Constructor for exception com.amazonaws.encryptionsdk.exception.ParseException
-
Constructs a new exception with no detail message.
- ParseException(String) - Constructor for exception com.amazonaws.encryptionsdk.exception.ParseException
-
Constructs a new exception with the specified detail message.
- ParseException(Throwable) - Constructor for exception com.amazonaws.encryptionsdk.exception.ParseException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and
detail message of cause).
- ParseException(String, Throwable) - Constructor for exception com.amazonaws.encryptionsdk.exception.ParseException
-
Constructs a new exception with the specified detail message and cause.
- parseInt(byte[], int) - Static method in class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
Parse an integer primitive type in the provided bytes.
- parseLong(byte[], int) - Static method in class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
Parse a long primitive type in the provided bytes.
- parseShort(byte[], int) - Static method in class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
Parse a short primitive type in the provided bytes.
- parseUnsignedShort(byte[], int) - Static method in class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
- PrimitivesParser - Class in com.amazonaws.encryptionsdk.internal
-
This class implements methods for parsing the primitives (
byte, short, int, long
) in Java from a byte array.
- PrimitivesParser() - Constructor for class com.amazonaws.encryptionsdk.internal.PrimitivesParser
-
- processBytes(byte[], int, int, byte[], int) - Method in interface com.amazonaws.encryptionsdk.internal.CryptoHandler
-
Process a block of bytes from in
putting the result into out
.
- processBytes(byte[], int, int, byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Decrypt the ciphertext bytes provided in in
and copy the plaintext bytes to
out
.
- processBytes(byte[], int, int, byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
Encrypt a block of bytes from in
putting the plaintext result into out
.
- processBytes(byte[], int, int, byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- ProcessingSummary - Class in com.amazonaws.encryptionsdk.internal
-
- ProcessingSummary(int, int) - Constructor for class com.amazonaws.encryptionsdk.internal.ProcessingSummary
-
- putEntryForDecrypt(byte[], DecryptionMaterials, CryptoMaterialsCache.CacheHint) - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache
-
Adds a new entry to the decrypt cache.
- putEntryForDecrypt(byte[], DecryptionMaterials, CryptoMaterialsCache.CacheHint) - Method in class com.amazonaws.encryptionsdk.caching.LocalCryptoMaterialsCache
-
- putEntryForDecrypt(byte[], DecryptionMaterials, CryptoMaterialsCache.CacheHint) - Method in class com.amazonaws.encryptionsdk.caching.NullCryptoMaterialsCache
-
- putEntryForEncrypt(byte[], EncryptionMaterials, CryptoMaterialsCache.CacheHint, CryptoMaterialsCache.UsageStats) - Method in interface com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache
-
- putEntryForEncrypt(byte[], EncryptionMaterials, CryptoMaterialsCache.CacheHint, CryptoMaterialsCache.UsageStats) - Method in class com.amazonaws.encryptionsdk.caching.LocalCryptoMaterialsCache
-
- putEntryForEncrypt(byte[], EncryptionMaterials, CryptoMaterialsCache.CacheHint, CryptoMaterialsCache.UsageStats) - Method in class com.amazonaws.encryptionsdk.caching.NullCryptoMaterialsCache
-
- saturatingAdd(long, long) - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
- serialize(Map<String, String>) - Static method in class com.amazonaws.encryptionsdk.internal.EncryptionContextSerializer
-
Serialize the encryption context provided as a map containing key-value
pairs comprised of strings into a byte array.
- serializeAuthenticatedFields() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Serialize the header fields into a byte array.
- serializePublicKey(PublicKey) - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- setAlgorithm(CryptoAlgorithm) - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- setAlgorithm(CryptoAlgorithm) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- setCleartextDataKey(SecretKey) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- setContext(Map<String, String>) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- setCustomEndpoint(String, String) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Configures this provider to use a custom endpoint.
- setDataKey(DataKey<?>) - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials.Builder
-
- setEncryptedDataKey(byte[]) - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Set the encrypted data key.
- setEncryptedDataKeys(List<KeyBlob>) - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- setEncryptedDataKeys(List<KeyBlob>) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- setEncryptionAlgorithm(CryptoAlgorithm) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- setEncryptionContext(Map<String, String>) - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
- setEncryptionContext(Map<String, String>) - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest.Builder
-
- setEncryptionContext(Map<String, String>) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- setEncryptionFrameSize(int) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
Sets the framing size to use when encrypting data.
- setGrantTokens(List<String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- setGrantTokens(List<String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- setGrantTokens(List<String>) - Method in interface com.amazonaws.encryptionsdk.kms.KmsMethods
-
Sets the grantTokens
which should be submitted to KMS when calling it.
- setHeaderNonce(byte[]) - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Set the header nonce to use for authenticating the header data.
- setHeaderTag(byte[]) - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Set the header tag to use for authenticating the header data.
- setKeyProviderId(String) - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Set the key provider identifier.
- setKeyProviderInfo(byte[]) - Method in class com.amazonaws.encryptionsdk.model.KeyBlob
-
Set the information on the key provider identifier.
- setMasterKeys(List<MasterKey>) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- setMaxInputLength(long) - Method in class com.amazonaws.encryptionsdk.CryptoInputStream
-
Sets an upper bound on the size of the input data.
- setMaxInputLength(long) - Method in class com.amazonaws.encryptionsdk.CryptoOutputStream
-
Sets an upper bound on the size of the input data.
- setMaxInputLength(long) - Method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
- setMaxInputLength(long) - Method in class com.amazonaws.encryptionsdk.internal.EncryptionHandler
-
- setMaxInputLength(long) - Method in class com.amazonaws.encryptionsdk.internal.LazyMessageCryptoHandler
-
- setMaxInputLength(long) - Method in interface com.amazonaws.encryptionsdk.internal.MessageCryptoHandler
-
Informs this handler of an upper bound on the input data size.
- setNonceLength(short) - Method in class com.amazonaws.encryptionsdk.model.CipherBlockHeaders
-
Set the length of the nonce used in the encryption of the content stored
in the single block.
- setNonceLength(short) - Method in class com.amazonaws.encryptionsdk.model.CipherFrameHeaders
-
Set the length of the nonce used in the encryption of the content in the
frame.
- setPlaintext(byte[]) - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
Please note that this does not make a defensive copy of the plaintext and so any
modifications made to the backing array will be reflected in this Builder.
- setPlaintext(byte[]) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
Sets the plaintext field of the request.
- setPlaintextSize(long) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- setRegion(Region) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Set the AWS region of the AWS KMS service for access to the master key.
- setRequestedAlgorithm(CryptoAlgorithm) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- setSize(long) - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
- setStreaming(boolean) - Method in class com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
-
- setTrailingSignatureKey(PublicKey) - Method in class com.amazonaws.encryptionsdk.model.DecryptionMaterials.Builder
-
- setTrailingSignatureKey(PrivateKey) - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- SINGLE_BLOCK_STRING_ID - Static variable in class com.amazonaws.encryptionsdk.internal.Constants
-
The identifier for the single block content type.