public class SkipJackRelayXParameters extends java.lang.Object implements Parameters
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
SkipJackRelayXParameters(byte[] oldWrappedX,
byte[] oldPassword,
byte[] oldPublicData,
byte[] oldRandomA,
byte[] newPassword,
byte[] newPublicData,
byte[] newRandomA)
Create a new SkipJackRelayXParameters 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[] |
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.
|
protected byte[] oldWrappedX_
protected byte[] oldPassword_
protected byte[] oldPublicData_
protected byte[] oldRandomA_
protected byte[] newPassword_
protected byte[] newPublicData_
protected byte[] newRandomA_
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.public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.Object getPKCS11ParamsObject()
getPKCS11ParamsObject in interface Parameterspublic 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.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.ObjectotherObject - The other object to compare to.public int hashCode()
hashCode in class java.lang.ObjectIAIK 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