Class 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;
     
    Author:
    Stiftung SIC (SIC)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()