Class KDFParameterSpec

java.lang.Object
com.ibm.crypto.hdwrCCA.provider.KDFParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class KDFParameterSpec extends Object implements AlgorithmParameterSpec
This class specifies the set of parameters to be used during the key derivation step of the Diffie-Hellman key agreement algorithm.
  • Constructor Details

  • Method Details

    • getKeySize

      public int getKeySize()
      Return the size of the secret key to derive using Diffie-Hellman.
      Returns:
      the size of the secret key to derive using Diffie-Hellman
    • getSharedInfo

      public byte[] getSharedInfo()
      Return a clone of the information shared by the participants of the Diffie-Hellman key agreement.

      Note that this method returns a clone of sensitive information. It is the caller's responsibility to zero out the information after it is no longer needed.

      Returns:
      A clone of the information shared by the participants of the Diffie-Hellman key agreement
    • getKeyType

      public SymmetricKeyConstants.KeyType getKeyType()
      Returns the type of key to derive using Diffie-Hellman.
      Returns:
      the type of key to derive using Diffie-Hellman.
    • getCKDSLabel

      public String getCKDSLabel()
      Returns the user provided CKDS label.
      Returns:
      the user provided CKDS label.
    • getKeyUsage

      public SymmetricKeyConstants.KeyUsage getKeyUsage()
      Returns the usage of key to derive using Diffie-Hellman.
      Returns:
      the usage of key to derive using Diffie-Hellman.
    • getNoCvKEK

      public boolean getNoCvKEK()
      Returns the value of the NoCvKEK option for the key to derive using Diffie-Hellman.
      Returns:
      the value of the NoCvKEK option for the key to derive using Diffie-Hellman.