Class AesKeyMaterial
- java.lang.Object
-
- software.amazon.encryption.s3.materials.RawKeyMaterial<SecretKey>
-
- software.amazon.encryption.s3.materials.AesKeyMaterial
-
public class AesKeyMaterial extends RawKeyMaterial<SecretKey>
A concrete implementation of RawKeyMaterial for AES keys. This class provides a more convenient way to create key material for AES keyrings without having to specify the generic type parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAesKeyMaterial.BuilderBuilder for AesKeyMaterial.
-
Field Summary
-
Fields inherited from class software.amazon.encryption.s3.materials.RawKeyMaterial
_keyMaterial, _materialsDescription
-
-
Constructor Summary
Constructors Constructor Description AesKeyMaterial(MaterialsDescription materialsDescription, SecretKey keyMaterial)Creates a new AesKeyMaterial with the specified materials description and key material.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AesKeyMaterial.BuilderaesBuilder()-
Methods inherited from class software.amazon.encryption.s3.materials.RawKeyMaterial
builder, getKeyMaterial, getMaterialsDescription
-
-
-
-
Constructor Detail
-
AesKeyMaterial
public AesKeyMaterial(MaterialsDescription materialsDescription, SecretKey keyMaterial)
Creates a new AesKeyMaterial with the specified materials description and key material.- Parameters:
materialsDescription- the materials descriptionkeyMaterial- the AES key material
-
-
Method Detail
-
aesBuilder
public static AesKeyMaterial.Builder aesBuilder()
- Returns:
- a new builder instance for AesKeyMaterial
-
-