Class ECDH1_DERIVE_PARAMS


  • public class ECDH1_DERIVE_PARAMS
    extends CkParams
    Represents the CK_ECDH1_DERIVE_PARAMS.
    Author:
    Lijun Liao (xipki)
    • Constructor Summary

      Constructors 
      Constructor Description
      ECDH1_DERIVE_PARAMS​(long kdf, byte[] sharedData, byte[] publicData)
      Create a new ECDH1_DERIVE_PARAMS object with the given attributes.
    • Constructor Detail

      • ECDH1_DERIVE_PARAMS

        public ECDH1_DERIVE_PARAMS​(long kdf,
                                   byte[] sharedData,
                                   byte[] publicData)
        Create a new ECDH1_DERIVE_PARAMS object with the given attributes.
        Parameters:
        kdf - The key derivation function used on the shared secret value. One of the values defined in KeyDerivationFunctionType.
        sharedData - The data shared between the two parties.
        publicData - The other party's public key value.
    • Method Detail

      • getParams

        public CK_ECDH1_DERIVE_PARAMS getParams()
        Description copied from class: CkParams
        Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
        Specified by:
        getParams in class CkParams
        Returns:
        The object of the corresponding *_PARAMS class.
      • toString

        public java.lang.String toString​(java.lang.String indent)
        Specified by:
        toString in class CkParams