- 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
-
- CiphertextHeaders(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.
- clear(ByteBuffer) - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
Equivalent to calling
Buffer.clear()
but in a manner which is safe when compiled on
Java 9 or newer but used on Java 8 or older.
- clone() - Method in class com.amazonaws.encryptionsdk.kms.AwsKmsMrkAwareMasterKeyProvider.Builder
-
- clone() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider.Builder
-
- clone() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider.Builder
-
- clone() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKeyProvider.Builder
-
- 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.kmssdkv2 - package com.amazonaws.encryptionsdk.kmssdkv2
-
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
.
- CommitmentPolicy - Enum in com.amazonaws.encryptionsdk
-
Governs how a AwsCrypto behaves during configuration, encryption, and decryption, with respect to
key commitment.
- CommittedKey - Class in com.amazonaws.encryptionsdk.internal
-
- 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>, CommitmentPolicy, SignaturePolicy, int) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided master key.
- create(MasterKeyProvider<K>, CiphertextHeaders, CommitmentPolicy, SignaturePolicy, int) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
- create(MasterKeyProvider<K>, ParsedCiphertext, CommitmentPolicy, SignaturePolicy, int) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided master key and already parsed headers
.
- create(CryptoMaterialsManager, CommitmentPolicy, SignaturePolicy, int) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
Create a decryption handler using the provided materials manager.
- create(CryptoMaterialsManager, CiphertextHeaders, CommitmentPolicy, SignaturePolicy, int) - Static method in class com.amazonaws.encryptionsdk.internal.DecryptionHandler
-
- create(CryptoMaterialsManager, ParsedCiphertext, CommitmentPolicy, SignaturePolicy, int) - 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
-
- createUnsignedMessageDecryptingStream(MasterKeyProvider<K>, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createUnsignedMessageDecryptingStream(MasterKeyProvider<K>, InputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createUnsignedMessageDecryptingStream(CryptoMaterialsManager, OutputStream) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- createUnsignedMessageDecryptingStream(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
.
- customRegionalClientSupplier(RegionalClientSupplier) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider.Builder
-
Provides a custom factory function that will vend KMS clients.
- customRegionalClientSupplier(RegionalClientSupplier) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKeyProvider.Builder
-
Provides a custom factory function that will vend KMS clients.
- 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
-
- decodeBase64String(String) - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
Takes a Base64-encoded String, decodes it, and returns contents as a byte array.
- 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.AwsKmsMrkAwareMasterKey
-
Will attempt to decrypt if awsKmsArnMatchForDecrypt returns true in AwsKmsMrkAwareMasterKey#filterEncryptedDataKeys(String, AwsKmsCmkArnInfo, EncryptedDataKey)
.
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kms.AwsKmsMrkAwareMasterKeyProvider
-
- 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.kmssdkv2.AwsKmsMrkAwareMasterKey
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKey
-
- decryptDataKey(CryptoAlgorithm, Collection<? extends EncryptedDataKey>, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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
-
- decryptKey(EncryptedDataKey, String, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.internal.JceKeyCipher
-
Decrypts the given encrypted data key.
- 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
-
- decryptString(CryptoMaterialsManager, String) - Method in class com.amazonaws.encryptionsdk.AwsCrypto
-
- DefaultCryptoMaterialsManager - Class in com.amazonaws.encryptionsdk
-
- DefaultCryptoMaterialsManager(MasterKeyProvider<?>) - Constructor for class com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager
-
- defaultRegion(Region) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider.Builder
-
Sets the default region.
- defaultRegion(Region) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKeyProvider.Builder
-
Sets the default region.
- deriveKey(byte[], int) - Method in class com.amazonaws.encryptionsdk.internal.HmacKeyDerivationFunction
-
Returns a pseudorandom key of length
bytes.
- deserialize(byte, short) - Static method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- 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[], int, 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
-
- DiscoveryFilter - Class in com.amazonaws.encryptionsdk.kms
-
This class stores the configuration for filtering AWS KMS CMK ARNs by AWS account ID and
partition.
- DiscoveryFilter(String, String...) - Constructor for class com.amazonaws.encryptionsdk.kms.DiscoveryFilter
-
- DiscoveryFilter(String, Collection<String>) - Constructor for class com.amazonaws.encryptionsdk.kms.DiscoveryFilter
-
- discoveryMrkRegion(Region) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider.Builder
-
Sets the region contacted for multi-region keys when in Discovery mode.
- 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(CryptoAlgorithm, SecretKey, byte[]) - Static method in class com.amazonaws.encryptionsdk.internal.CommittedKey
-
Generates an encryption key along with associated commitment value.
- 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.AwsKmsMrkAwareMasterKey
-
This is identical behavior to
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKey
-
This is identical behavior to
- generateDataKey(CryptoAlgorithm, Map<String, String>) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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
-
- getAccountId() - Method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
- getAccountIds() - Method in class com.amazonaws.encryptionsdk.kms.DiscoveryFilter
-
- 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.
- getClient(String) - Method in interface com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider.RegionalClientSupplier
-
Supplies an AWSKMS instance to use for a given region.
- getClient(Region) - Method in interface com.amazonaws.encryptionsdk.kmssdkv2.RegionalClientSupplier
-
Supplies an KmsClient
instance to use for a given Region
.
- getCommitment() - Method in class com.amazonaws.encryptionsdk.internal.CommittedKey
-
- getCommitmentLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- getCommitmentNonceLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- getCommitmentPolicy() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- getCommitmentPolicy() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- 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.
- 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.AwsKmsMrkAwareMasterKeyProvider
-
Returns "aws-kms"
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
Returns "aws-kms"
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider
-
Returns "aws-kms"
- getDefaultProviderId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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.AwsKmsMrkAwareMasterKey
-
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kms.AwsKmsMrkAwareMasterKeyProvider
-
- 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.
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKey
-
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider
-
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKey
-
- getGrantTokens() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.KmsMasterKeyProvider
-
- getHashAndSignAlgorithm() - Method in class com.amazonaws.encryptionsdk.internal.TrailingSignatureAlgorithm
-
- getHeaderNonce() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the header nonce to use with this algorithm.
- 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(String) - Static method in class com.amazonaws.encryptionsdk.internal.HmacKeyDerivationFunction
-
Returns an HmacKeyDerivationFunction
object using the specified algorithm.
- getInstance(SecretKey, String, String, String) - Static method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
Returns a JceMasterKey
backed by the symmetric key key
using wrappingAlgorithm
.
- getInstance(PublicKey, PrivateKey, String, String, String) - Static method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
Returns a JceMasterKey
backed by the asymmetric key pair unwrappingKey
and
wrappingKey
using wrappingAlgorithm
.
- getKey() - Method in class com.amazonaws.encryptionsdk.DataKey
-
Returns the cleartext bytes of the data key.
- getKey() - Method in class com.amazonaws.encryptionsdk.internal.CommittedKey
-
- getKeyAlgo() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the algorithm used for encrypting the plaintext data.
- getKeyCommitmentAlgo_() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.jce.JceMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.kms.AwsKmsMrkAwareMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKey
-
- getKeyId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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.AwsKmsMrkAwareMasterKeyProvider
-
Added flexibility in matching multi-Region keys from different regions.
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKeyProvider
-
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider
-
Added flexibility in matching multi-Region keys from different regions.
- getMasterKey(String, String) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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.AwsKmsMrkAwareMasterKeyProvider
-
Returns all CMKs provided to the constructor of this object.
- 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.kmssdkv2.AwsKmsMrkAwareMasterKeyProvider
-
Returns all CMKs provided to the constructor of this object.
- getMasterKeysForEncryption(MasterKeyRequest) - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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
-
- getMessageFormatVersion() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the message format version associated with this algorithm suite.
- getMessageId() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return the message identifier set in the header.
- getMessageIdLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the length of the message Id in the header for this algorithm.
- 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.
- getPartition() - Method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
- getPartition() - Method in class com.amazonaws.encryptionsdk.kms.DiscoveryFilter
-
- 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.AwsKmsMrkAwareMasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.kms.KmsMasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.AwsKmsMrkAwareMasterKey
-
- getProviderId() - Method in class com.amazonaws.encryptionsdk.kmssdkv2.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.internal.AwsKmsCmkArnInfo
-
- getRequestedAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
-
- getRequestedAlgorithm() - Method in class com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
-
- getResource() - Method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
- getResourceType() - Method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
- 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.
- getSuiteData() - Method in class com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
Return suite specific data.
- getSuiteDataLength() - Method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
- 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.
- 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[], int) - Constructor for class com.amazonaws.encryptionsdk.ParsedCiphertext
-
Parses ciphertext
.
- ParsedCiphertext(byte[]) - Constructor for class com.amazonaws.encryptionsdk.ParsedCiphertext
-
Parses ciphertext
without enforcing a max EDK count.
- 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.
- parseInfoFromKeyArn(String) - Static method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
Takes an AWS KMS identifier that may or may not be an ARN and attempts to parse the identifier
as an ARN.
- 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
-
- position(ByteBuffer, int) - Static method in class com.amazonaws.encryptionsdk.internal.Utils
-
Equivalent to calling
Buffer.position(int)
but in a manner which is safe when
compiled on Java 9 or newer but used on Java 8 or older.
- 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
-
- validAwsKmsIdentifier(String) - Static method in class com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo
-
Takes a string an will throw if this identifier is invalid Raw resources like a key ID or alias
`mrk-edb7fe6942894d32ac46dbb1c922d574`, `alias/my-alias` or ARNs like
arn:aws:kms:us-west-2:111122223333:key/mrk-edb7fe6942894d32ac46dbb1c922d574
arn:aws:kms:us-west-2:111122223333:alias/my-alias
- valueOf(String) - Static method in enum com.amazonaws.encryptionsdk.CommitmentPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.encryptionsdk.internal.SignaturePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.encryptionsdk.model.CiphertextType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.encryptionsdk.model.ContentType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amazonaws.encryptionsdk.CommitmentPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.encryptionsdk.internal.SignaturePolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.encryptionsdk.model.CiphertextType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.encryptionsdk.model.ContentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VersionInfo - Class in com.amazonaws.encryptionsdk.internal
-
This class specifies the versioning system for the AWS KMS encryption client.
- VersionInfo() - Constructor for class com.amazonaws.encryptionsdk.internal.VersionInfo
-
- versionNumber() - Static method in class com.amazonaws.encryptionsdk.internal.VersionInfo
-