Class AesKeyMaterial.Builder

  • Enclosing class:
    AesKeyMaterial

    public static class AesKeyMaterial.Builder
    extends Object
    Builder for AesKeyMaterial.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • materialsDescription

        public AesKeyMaterial.Builder materialsDescription​(MaterialsDescription materialsDescription)
        Sets the materials description for this AES key material.
        Parameters:
        materialsDescription - the materials description
        Returns:
        a reference to this object so that method calls can be chained together.
      • keyMaterial

        public AesKeyMaterial.Builder keyMaterial​(SecretKey keyMaterial)
        Sets the AES key material.
        Parameters:
        keyMaterial - the AES key material
        Returns:
        a reference to this object so that method calls can be chained together.
      • build

        public AesKeyMaterial build()
        Returns:
        the built AesKeyMaterial