|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.pkcs.pkcs11.parameters.DHKeyDerivationParameters
iaik.pkcs.pkcs11.parameters.X942DH1KeyDerivationParameters
This abstract class encapsulates parameters for the X9.42 DH mechanism Mechanism.X9_42_DH_DERIVE.
Nested Class Summary |
Nested classes inherited from class iaik.pkcs.pkcs11.parameters.DHKeyDerivationParameters |
DHKeyDerivationParameters.KeyDerivationFunctionType |
Field Summary | |
protected byte[] |
otherInfo_
The data shared between the two parties. |
Fields inherited from class iaik.pkcs.pkcs11.parameters.DHKeyDerivationParameters |
keyDerivationFunction_, publicData_ |
Constructor Summary | |
X942DH1KeyDerivationParameters(long keyDerivationFunction,
byte[] otherInfo,
byte[] publicData)
Create a new X942DH1KeyDerivationParameters object with the given attributes. |
Method Summary | |
Object |
clone()
Create a (deep) clone of this object. |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
byte[] |
getOtherInfo()
Get the data shared between the two parties. |
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. |
String |
toString()
Returns the string representation of this object. |
Methods inherited from class iaik.pkcs.pkcs11.parameters.DHKeyDerivationParameters |
getKeyDerivationFunction, getPublicData, setKeyDerivationFunction, setPublicData |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected byte[] otherInfo_
Constructor Detail |
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.Method Detail |
public Object clone()
clone
in class DHKeyDerivationParameters
public Object getPKCS11ParamsObject()
public byte[] getOtherInfo()
public void setOtherInfo(byte[] otherInfo)
otherInfo
- The data shared between the two parties.public String toString()
toString
in class DHKeyDerivationParameters
public boolean equals(Object otherObject)
equals
in class DHKeyDerivationParameters
otherObject
- The other object to compare to.
public int hashCode()
hashCode
in class DHKeyDerivationParameters
|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |