public class CK_ECIES_PARAMS
extends java.lang.Object
CKM.ECIES Further information is provided in the PKCS#11 standard and the SDK Reference Guide.
| Modifier and Type | Field and Description |
|---|---|
long |
dhPrimitive
Diffie-Hellman Primitive (
CKDHP)
used to derive the shared secret value |
long |
encScheme
the encryption scheme (
CKES)
used to transform the input data |
long |
kdf
key derivation function (
CKD)
used on the shared secret value |
long |
macScheme
the MAC scheme (
CKMS) used for
MAC generation or validation |
byte[] |
pSharedData1
the key derivation padding data shared between the two parties
|
byte[] |
pSharedData2
the MAC padding data shared between the two parties
|
long |
ulEncKeyLenInBits
the bit length of the key to use for the encryption scheme
|
long |
ulMacKeyLenInBits
the bit length of the key to use for the MAC scheme
|
long |
ulMacLenInBits
the bit length of the MAC scheme output
|
long |
ulSharedDataLen1
the length in bytes of the key derivation shared data
|
long |
ulSharedDataLen2
the length in bytes of the MAC shared data
|
| Constructor and Description |
|---|
CK_ECIES_PARAMS()
Values initialised to 0 or null
|
CK_ECIES_PARAMS(long dhPrimitive,
long kdf,
long ulSharedDataLen1,
byte[] pSharedData1,
long encScheme,
long ulEncKeyLenInBits,
long macScheme,
long ulMacKeyLenInBits,
long ulMacLenInBits,
long ulSharedDataLen2,
byte[] pSharedData2)
Values initialised as specified
|
CK_ECIES_PARAMS(long dhPrimitive,
long kdf,
long encScheme,
long ulEncKeyLenInBits,
long macScheme,
long ulMacKeyLenInBits,
long ulMacLenInBits)
Simplified constructor where no Shared data is used
|
public long dhPrimitive
CKDHP)
used to derive the shared secret valuepublic long kdf
CKD)
used on the shared secret valuepublic long ulSharedDataLen1
public byte[] pSharedData1
public long encScheme
CKES)
used to transform the input datapublic long ulEncKeyLenInBits
public long macScheme
CKMS) used for
MAC generation or validationpublic long ulMacKeyLenInBits
public long ulMacLenInBits
public long ulSharedDataLen2
public byte[] pSharedData2
public CK_ECIES_PARAMS()
public CK_ECIES_PARAMS(long dhPrimitive,
long kdf,
long ulSharedDataLen1,
byte[] pSharedData1,
long encScheme,
long ulEncKeyLenInBits,
long macScheme,
long ulMacKeyLenInBits,
long ulMacLenInBits,
long ulSharedDataLen2,
byte[] pSharedData2)
public CK_ECIES_PARAMS(long dhPrimitive,
long kdf,
long encScheme,
long ulEncKeyLenInBits,
long macScheme,
long ulMacKeyLenInBits,
long ulMacLenInBits)
Copyright (c) 2021 SafeNet. All rights reserved.