IAIK PKCS#11 Wrapper
version 1.5

iaik.pkcs.pkcs11.wrapper
Class CK_ECMQV_DERIVE_PARAMS

java.lang.Object
  |
  +--iaik.pkcs.pkcs11.wrapper.CK_ECMQV_DERIVE_PARAMS

public class CK_ECMQV_DERIVE_PARAMS
extends java.lang.Object

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;
 


Field Summary
 long hPrivateData
          key handle for second EC private key value
 long kdf
          key derivation function used on the shared secret value
 byte[] pPublicData
          pointer to other party’s first EC public key value
 byte[] pPublicData2
          pointer to other party’s second EC public key value
 byte[] pSharedData
          some data shared between the two parties
 long publicKey
          Handle to the first party’s ephemeral public key
 long ulPrivateDataLen
          the length in bytes of the second EC private key
 
Constructor Summary
CK_ECMQV_DERIVE_PARAMS()
           
 
Method Summary
 java.lang.String toString()
          Returns the string representation of CK_ECMQV_DERIVE_PARAMS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kdf

public long kdf
key derivation function used on the shared secret value
 CK_EC_KDF_TYPE kdf;
 

pSharedData

public byte[] pSharedData
some data shared between the two parties
 CK_BYTE_PTR pSharedData;
 

pPublicData

public byte[] pPublicData
pointer to other party’s first EC public key value
 CK_ULONG ulPublicDataLen;
 CK_BYTE_PTR pPublicData;
 

ulPrivateDataLen

public long ulPrivateDataLen
the length in bytes of the second EC private key
 CK_ULONG ulPrivateDataLen;
 

hPrivateData

public long hPrivateData
key handle for second EC private key value
 CK_OBJECT_HANDLE hPrivateData;
 

pPublicData2

public byte[] pPublicData2
pointer to other party’s second EC public key value
 CK_ULONG ulPublicDataLen2;
 CK_BYTE_PTR pPublicData2;
 

publicKey

public long publicKey
Handle to the first party’s ephemeral public key
 CK_OBJECT_HANDLE publicKey;
 
Constructor Detail

CK_ECMQV_DERIVE_PARAMS

public CK_ECMQV_DERIVE_PARAMS()
Method Detail

toString

public java.lang.String toString()
Returns the string representation of CK_ECMQV_DERIVE_PARAMS.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of CK_ECMQV_DERIVE_PARAMS

IAIK PKCS#11 Wrapper
version 1.5

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.5