iaik.pkcs.pkcs11.parameters
Class X942DHMQVKeyDerivationParameters
java.lang.Object
|
+--iaik.pkcs.pkcs11.parameters.DHKeyDerivationParameters
|
+--iaik.pkcs.pkcs11.parameters.X942DH1KeyDerivationParameters
|
+--iaik.pkcs.pkcs11.parameters.X942DH2KeyDerivationParameters
|
+--iaik.pkcs.pkcs11.parameters.X942DHMQVKeyDerivationParameters
- All Implemented Interfaces:
- java.lang.Cloneable, Parameters
- public class X942DHMQVKeyDerivationParameters
- extends X942DH2KeyDerivationParameters
This abstract class encapsulates parameters for the X9.42 DH mechanisms
Mechanism.X9_42_DH_HYBRID_DERIVE and Mechanism.X9_42_MQV_DERIVE.
Method Summary |
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. |
java.lang.Object |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_X9_42_DH2_DERIVE_PARAMS
class. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class
work correctly in a hashtable. |
java.lang.String |
toString()
Returns the string representation of this object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
X942DHMQVKeyDerivationParameters
public X942DHMQVKeyDerivationParameters(long keyDerivationFunction,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
Object privateData,
byte[] publicData2,
Object publicKey)
clone
public java.lang.Object clone()
- Description copied from class:
X942DH2KeyDerivationParameters
- Create a (deep) clone of this object.
- Overrides:
clone
in class X942DH2KeyDerivationParameters
- Following copied from class:
iaik.pkcs.pkcs11.parameters.X942DH2KeyDerivationParameters
- Returns:
- A clone of this object.
getPKCS11ParamsObject
public java.lang.Object getPKCS11ParamsObject()
- Get this parameters object as an object of the CK_X9_42_DH2_DERIVE_PARAMS
class.
- Overrides:
getPKCS11ParamsObject
in class X942DH2KeyDerivationParameters
- Returns:
- This object as a CK_X9_42_DH2_DERIVE_PARAMS object.
toString
public java.lang.String toString()
- Returns the string representation of this object. Do not parse data from
this string, it is for debugging only.
- Overrides:
toString
in class X942DH2KeyDerivationParameters
- Returns:
- A string representation of this object.
equals
public boolean equals(java.lang.Object otherObject)
- Compares all member variables of this object with the other object. Returns
only true, if all are equal in both objects.
- Overrides:
equals
in class X942DH2KeyDerivationParameters
- Parameters:
otherObject
- The other object to compare to.- Returns:
- True, if other is an instance of this class and all member
variables of both objects are equal. False, otherwise.
hashCode
public int hashCode()
- The overriding of this method should ensure that the objects of this class
work correctly in a hashtable.
- Overrides:
hashCode
in class X942DH2KeyDerivationParameters
- Returns:
- The hash code of this object.
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.2.18