-
Interface Summary
Interface |
Description |
CryptoHandler |
This interface defines the contract for the implementation of encryption and decryption handlers
in this library.
|
MessageCryptoHandler<K extends MasterKey<K>> |
|
-
Class Summary
Class |
Description |
Constants |
|
DecryptionHandler<K extends MasterKey<K>> |
This class implements the CryptoHandler interface by providing methods for
the decryption of ciphertext produced by the methods in
EncryptionHandler .
|
EncryptionContextSerializer |
This class provides methods that serialize and deserialize the encryption
context provided as a map containing key-value pairs comprised of strings.
|
EncryptionHandler<K extends MasterKey<K>> |
This class implements the CryptoHandler interface by providing methods for the encryption of
plaintext data.
|
PrimitivesParser |
This class implements methods for parsing the primitives (
byte, short, int, long ) in Java from a byte array.
|
ProcessingSummary |
|
Utils |
Internal utility methods.
|
VersionInfo |
This class specifies the versioning system for the AWS KMS encryption client.
|
Package com.amazonaws.encryptionsdk.internal Description
Contains the internal classes that handle the cryptographic defined by the message formats and
algorithms. The package also includes auxiliary classes that implement serialization of
encryption context, parser for deserializing bytes into primitives, and generation of random
bytes.
No classes in this package are intended for public consumption. They
may be changed at any time without concern for API compatibility.
-
the CryptoHandler interface that defines the contract for the methods that must be implemented by
classes that perform encryption and decryption in this library.
-
the EncryptionHandler and DecryptionHandler classes handle the creation and parsing of the
ciphertext headers as described in the message format. These two classes delegate the actual
encryption and decryption of content to the Block and Frame handlers.
-
the BlockEncryptionHandler and BlockDecryptionHandler classes handle the encryption and
decryption of content stored as a single-block as described in the message format.
-
the FrameEncryptionHandler and FrameDecryptionHandler classes handle the encryption and
decryption of content stored as frames as described in the message format.
-
the CipherHandler that provides methods to cryptographically transform bytes using a block
cipher. Currently, it only uses AES-GCM block cipher.
-
the EncContextSerializer provides methods to serialize a map containing the encryption context
into bytes, and deserialize bytes into a map containing the encryption context.
-
the PrimitivesParser provides methods to parse primitive types from bytes. These methods are used
by deserialization code.
-
the ContentAadGenerator provides methods to generate the Additional Authenticated Data (AAD) used
in encrypting the content.
-
the Constants class that contains the constants and default values used in the library.