Class RawKeyMaterial<T>

  • Type Parameters:
    T - the type of key material
    Direct Known Subclasses:
    AesKeyMaterial, RsaKeyMaterial

    public class RawKeyMaterial<T>
    extends Object
    This class represents raw key material used by keyrings. It contains a materials description and the actual key material.
    • Field Detail

      • _keyMaterial

        protected final T _keyMaterial
    • Constructor Detail

      • RawKeyMaterial

        protected RawKeyMaterial​(MaterialsDescription materialsDescription,
                                 T keyMaterial)
        Protected constructor for subclasses.
        Parameters:
        materialsDescription - the materials description
        keyMaterial - the key material
    • Method Detail

      • getMaterialsDescription

        public MaterialsDescription getMaterialsDescription()
        Returns:
        the materials description
      • getKeyMaterial

        public T getKeyMaterial()
        Returns:
        the key material