Class 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.
    • 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 description
        keyMaterial - the AES key material
    • Method Detail

      • aesBuilder

        public static AesKeyMaterial.Builder aesBuilder()
        Returns:
        a new builder instance for AesKeyMaterial