public class ECDH2_DERIVE_PARAMS extends CkParams
| Constructor and Description |
|---|
ECDH2_DERIVE_PARAMS(long kdf,
byte[] sharedData,
byte[] publicData,
int privateDataLength,
long privateDataHandle,
byte[] publicData2)
Create a new ECDH2_DERIVE_PARAMS object with the given
attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxFieldLen() |
CK_ECDH2_DERIVE_PARAMS |
getParams()
Get this parameters object as an object of the corresponding *_PARAMS
class of the iaik.pkcs.pkcs11.wrapper package.
|
String |
toString(String indent) |
codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic ECDH2_DERIVE_PARAMS(long kdf,
byte[] sharedData,
byte[] publicData,
int privateDataLength,
long privateDataHandle,
byte[] publicData2)
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 party's public key value.privateDataLength - The length in bytes of the second EC private key.privateDataHandle - The key for the second EC private key value.publicData2 - The other party's second EC public key value.public CK_ECDH2_DERIVE_PARAMS getParams()
CkParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.