Class ECDH2_DERIVE_PARAMS


  • public class ECDH2_DERIVE_PARAMS
    extends CkParams
    Represents the CK_ECDH2_DERIVE_PARAMS.
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • ECDH2_DERIVE_PARAMS

        public ECDH2_DERIVE_PARAMS​(long kdf,
                                   byte[] sharedData,
                                   byte[] publicData,
                                   int privateDataLength,
                                   long privateDataHandle,
                                   byte[] publicData2)
        Create a new ECDH2_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.
        privateDataLength - The length in bytes of the second EC private key.
        privateDataHandle - The key for the second EC private key value.
        publicData2 - The other party's second EC public key value.
    • Method Detail

      • getParams

        public CK_ECDH2_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.