Class CounterKdfSpec

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

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

    If info is not provided, an empty byte array is used.

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

    • Constructor Summary

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

      • CounterKdfSpec

        public CounterKdfSpec​(byte[] secret,
                              byte[] info,
                              int outputLen,
                              java.lang.String algorithName)
      • CounterKdfSpec

        public CounterKdfSpec​(byte[] secret,
                              int outputLen,
                              java.lang.String algorithName)
    • Method Detail

      • getSecret

        public byte[] getSecret()
      • getInfo

        public byte[] getInfo()
      • getOutputLen

        public int getOutputLen()
      • getAlgorithName

        public java.lang.String getAlgorithName()