Package iaik.pkcs.pkcs11.wrapper
Class CK_ECMQV_DERIVE_PARAMS
- java.lang.Object
-
- iaik.pkcs.pkcs11.wrapper.KdfParams
-
- iaik.pkcs.pkcs11.wrapper.CK_ECMQV_DERIVE_PARAMS
-
public class CK_ECMQV_DERIVE_PARAMS extends KdfParams
class CK_ECMQV_DERIVE_PARAMS provides the parameters to the CKM_ECMQV_DERIVE mechanism.PKCS#11 structure:
typedef struct CK_ECMQV_DERIVE_PARAMS { CK_EC_KDF_TYPE kdf; CK_ULONG ulSharedDataLen; CK_BYTE_PTR pSharedData; CK_ULONG ulPublicDataLen; CK_BYTE_PTR pPublicData; CK_ULONG ulPrivateDataLen; CK_OBJECT_HANDLE hPrivateData; CK_ULONG ulPublicDataLen2; CK_BYTE_PTR pPublicData2; CK_OBJECT_HANDLE publicKey; } CK_ECMQV_DERIVE_PARAMS;- Author:
- Stiftung SIC (SIC)
-
-
Field Summary
Fields Modifier and Type Field Description longhPrivateDatakey handle for second EC private key valuebyte[]pPublicDatapointer to other party's first EC public key valuebyte[]pPublicData2pointer to other party's second EC public key valuebyte[]pSharedDatasome data shared between the two partieslongpublicKeyHandle to the first party's ephemeral public keylongulPrivateDataLenthe length in bytes of the second EC private key
-
Constructor Summary
Constructors Constructor Description CK_ECMQV_DERIVE_PARAMS()
-
-
-
Field Detail
-
pSharedData
public byte[] pSharedData
some data shared between the two partiesCK_BYTE_PTR pSharedData;
-
pPublicData
public byte[] pPublicData
pointer to other party's first EC public key valueCK_ULONG ulPublicDataLen; CK_BYTE_PTR pPublicData;
-
ulPrivateDataLen
public long ulPrivateDataLen
the length in bytes of the second EC private keyCK_ULONG ulPrivateDataLen;
-
hPrivateData
public long hPrivateData
key handle for second EC private key valueCK_OBJECT_HANDLE hPrivateData;
-
pPublicData2
public byte[] pPublicData2
pointer to other party's second EC public key valueCK_ULONG ulPublicDataLen2; CK_BYTE_PTR pPublicData2;
-
publicKey
public long publicKey
Handle to the first party's ephemeral public keyCK_OBJECT_HANDLE publicKey;
-
-