public class EcDH1KeyDerivationParameters extends DHKeyDerivationParameters
DHKeyDerivationParameters.KeyDerivationFunctionType| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
sharedData
The data shared between the two parties.
|
kdf, publicData| Constructor and Description |
|---|
EcDH1KeyDerivationParameters(long kdf,
byte[] sharedData,
byte[] publicData)
Create a new EcDH1KeyDerivationParameters object with the given
attributes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
sun.security.pkcs11.wrapper.CK_ECDH1_DERIVE_PARAMS |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_ECDH1_DERIVE_PARAMS
class.
|
byte[] |
getSharedData()
Get the data shared between the two parties.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this
class work correctly in a hashtable.
|
void |
setSharedData(byte[] sharedData)
Set the data shared between the two parties.
|
String |
toString()
Returns the string representation of this object.
|
getKeyDerivationFunction, getPublicData, setKeyDerivationFunction, setPublicDatapublic EcDH1KeyDerivationParameters(long kdf,
byte[] sharedData,
byte[] publicData)
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 partie's public key value.public sun.security.pkcs11.wrapper.CK_ECDH1_DERIVE_PARAMS getPKCS11ParamsObject()
public byte[] getSharedData()
public void setSharedData(byte[] sharedData)
sharedData - The data shared between the two parties.public String toString()
toString in class DHKeyDerivationParameterspublic boolean equals(Object otherObject)
equals in class DHKeyDerivationParametersotherObject - The other object to compare to.public int hashCode()
hashCode in class DHKeyDerivationParametersCopyright © 2022. All rights reserved.