Class ConcatenationKdfSpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class ConcatenationKdfSpec
    extends java.lang.Object
    implements java.security.spec.KeySpec
    Represents the inputs to ConcatenationKdf algorithms.

    If info or salt is not provided, empty byte arrays are used.

    The algorithmName is the name of algorithm used to create SecretKeySpec.

    • Constructor Summary

      Constructors 
      Constructor Description
      ConcatenationKdfSpec​(byte[] secret, int outputLen, java.lang.String algorithmName)  
      ConcatenationKdfSpec​(byte[] secret, int outputLen, java.lang.String algorithmName, byte[] info)  
      ConcatenationKdfSpec​(byte[] secret, int outputLen, java.lang.String algorithmName, byte[] info, byte[] salt)  
    • Constructor Detail

      • ConcatenationKdfSpec

        public ConcatenationKdfSpec​(byte[] secret,
                                    int outputLen,
                                    java.lang.String algorithmName,
                                    byte[] info,
                                    byte[] salt)
      • ConcatenationKdfSpec

        public ConcatenationKdfSpec​(byte[] secret,
                                    int outputLen,
                                    java.lang.String algorithmName)
      • ConcatenationKdfSpec

        public ConcatenationKdfSpec​(byte[] secret,
                                    int outputLen,
                                    java.lang.String algorithmName,
                                    byte[] info)
    • Method Detail

      • getSecret

        public byte[] getSecret()
      • getInfo

        public byte[] getInfo()
      • getOutputLen

        public int getOutputLen()
      • getSalt

        public byte[] getSalt()
      • getAlgorithmName

        public java.lang.String getAlgorithmName()