public class X942DH1KeyDerivationParameters extends DHKeyDerivationParameters
DHKeyDerivationParameters.KeyDerivationFunctionType
Modifier and Type | Field and Description |
---|---|
protected byte[] |
otherInfo_
The data shared between the two parties.
|
keyDerivationFunction_, publicData_
Constructor and Description |
---|
X942DH1KeyDerivationParameters(long keyDerivationFunction,
byte[] otherInfo,
byte[] publicData)
Create a new X942DH1KeyDerivationParameters object with the given attributes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object.
|
byte[] |
getOtherInfo()
Get the data shared between the two parties.
|
java.lang.Object |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_X9_42_DH1_DERIVE_PARAMS class.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a
hashtable.
|
void |
setOtherInfo(byte[] otherInfo)
Set the data shared between the two parties.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
getKeyDerivationFunction, getPublicData, setKeyDerivationFunction, setPublicData
public X942DH1KeyDerivationParameters(long keyDerivationFunction, byte[] otherInfo, byte[] publicData)
keyDerivationFunction
- The key derivation function used on the shared secret value. One of the values defined
in KeyDerivationFunctionType.otherInfo
- The data shared between the two parties.publicData
- The other partie's public key value.public java.lang.Object clone()
clone
in class DHKeyDerivationParameters
public java.lang.Object getPKCS11ParamsObject()
public byte[] getOtherInfo()
public void setOtherInfo(byte[] otherInfo)
otherInfo
- The data shared between the two parties.public java.lang.String toString()
toString
in class DHKeyDerivationParameters
public boolean equals(java.lang.Object otherObject)
equals
in class DHKeyDerivationParameters
otherObject
- The other object to compare to.public int hashCode()
hashCode
in class DHKeyDerivationParameters
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9