|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.pkcs.pkcs11.parameters.SkipJackRelayXParameters
This class encapsulates parameters for the Mechanism.SKIPJACK_RELAYX.
Field Summary | |
protected byte[] |
newPassword_
The new user-supplied password. |
protected byte[] |
newPublicData_
The new key exchange public key value. |
protected byte[] |
newRandomA_
The new random Ra data. |
protected byte[] |
oldPassword_
The old user-supplied password. |
protected byte[] |
oldPublicData_
The old key exchange public key value. |
protected byte[] |
oldRandomA_
The old random Ra data. |
protected byte[] |
oldWrappedX_
The old wrapped key. |
Constructor Summary | |
SkipJackRelayXParameters(byte[] oldWrappedX,
byte[] oldPassword,
byte[] oldPublicData,
byte[] oldRandomA,
byte[] newPassword,
byte[] newPublicData,
byte[] newRandomA)
Create a new SkipJackRelayXParameters object with the given attributes. |
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. |
byte[] |
getNewPassword()
Get the new user-supplied password. |
byte[] |
getNewPublicData()
Get the new other party's key exchange public key value. |
byte[] |
getNewRandomA()
Get the new random Ra data. |
byte[] |
getOldPassword()
Get the old user-supplied password. |
byte[] |
getOldPublicData()
Get the old other party's key exchange public key value. |
byte[] |
getOldRandomA()
Get the old random Ra data. |
byte[] |
getOldWrappedX()
Get the old wrapped key. |
java.lang.Object |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_SKIPJACK_RELAYX_PARAMS class. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a hashtable. |
void |
setNewPassword(byte[] newPassword)
Set the new user-supplied password. |
void |
setNewPublicData(byte[] newPublicData)
Set the new other party's key exchange public key value. |
void |
setNewRandomA(byte[] newRandomA)
Set the new random Ra data. |
void |
setOldPassword(byte[] oldPassword)
Set the old user-supplied password. |
void |
setOldPublicData(byte[] oldPublicData)
Set the old other party's key exchange public key value. |
void |
setOldRandomA(byte[] oldRandomA)
Set the old random Ra data. |
void |
setOldWrappedX(byte[] oldWrappedX)
Set the old wrapped key. |
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 |
Field Detail |
protected byte[] oldWrappedX_
protected byte[] oldPassword_
protected byte[] oldPublicData_
protected byte[] oldRandomA_
protected byte[] newPassword_
protected byte[] newPublicData_
protected byte[] newRandomA_
Constructor Detail |
public SkipJackRelayXParameters(byte[] oldWrappedX, byte[] oldPassword, byte[] oldPublicData, byte[] oldRandomA, byte[] newPassword, byte[] newPublicData, byte[] newRandomA)
oldWrappedX
- The old wrapped key.oldPassword
- The old user-supplied password.oldPublicData
- The old key exchange public key value.oldRandomA
- The old random Ra data.newPassword
- The new user-supplied password.newPublicData
- The new key exchange public key value.newRandomA
- The new random Ra data.Method Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.Object getPKCS11ParamsObject()
getPKCS11ParamsObject
in interface Parameters
public byte[] getOldWrappedX()
public byte[] getOldPassword()
public byte[] getOldPublicData()
public byte[] getOldRandomA()
public byte[] getNewPassword()
public byte[] getNewPublicData()
public byte[] getNewRandomA()
public void setOldWrappedX(byte[] oldWrappedX)
oldWrappedX
- The old wrapped key.public void setOldPassword(byte[] oldPassword)
oldPassword
- The old user-supplied password.public void setOldPublicData(byte[] oldPublicData)
oldPublicData
- The old other party's key exchange public key value.public void setOldRandomA(byte[] oldRandomA)
oldRandomA
- The old random Ra data.public void setNewPassword(byte[] newPassword)
newPassword
- The new user-supplied password.public void setNewPublicData(byte[] newPublicData)
newPublicData
- The new other party's key exchange public key value.public void setNewRandomA(byte[] newRandomA)
newRandomA
- The new random Ra data.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
otherObject
- The other object to compare to.public int hashCode()
hashCode
in class java.lang.Object
|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |