Class EncInfo


  • public class EncInfo
    extends Object
    EncInfo is a class for keeping encryption information such as the key-wrapping key, the data encryption algorithm, and data encryption key strength.
    • Constructor Detail

      • EncInfo

        public EncInfo​(Key wrappingKey,
                       String dataEncAlgorithm,
                       int dataEncStrength)
        Constructor for EncInfo.
        Parameters:
        wrappingKey - Key-wrapping key
        dataEncAlgorithm - Data encryption algorithm
        dataEncStrength - Data encryption key size
    • Method Detail

      • getWrappingKey

        public Key getWrappingKey()
        Returns the key for encrypting the secret key.
        Returns:
        Key for encrypting/wrapping the secretKey
      • getDataEncAlgorithm

        public String getDataEncAlgorithm()
        Returns the algorithm for data encryption.
        Returns:
        String for data encryption algorithm
      • getDataEncStrength

        public int getDataEncStrength()
        Returns the key strength for data encryption.
        Returns:
        int for data encryption strength