Class ECMQV_DERIVE_PARAMS


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

      • ECMQV_DERIVE_PARAMS

        public ECMQV_DERIVE_PARAMS​(long kdf,
                                   byte[] sharedData,
                                   byte[] publicData,
                                   int privateDataLen,
                                   long privateData,
                                   byte[] publicData2,
                                   long publicKey)
        Create a new ECMQV_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 partie's public key value.
        privateDataLen - the length in bytes of the second EC private key
        privateData - Key handle for second EC private key value
        publicData2 - pointer to other party's second EC public key value
        publicKey - Handle to the first party's ephemeral public key
    • Method Detail

      • getParams

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