|
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.RSAPkcsParameters
iaik.pkcs.pkcs11.parameters.RSAPkcsPssParameters
This class encapsulates parameters for the Mechanism.RSA_PKCS_PSS.
| Nested Class Summary |
| Nested classes inherited from class iaik.pkcs.pkcs11.parameters.RSAPkcsParameters |
RSAPkcsParameters.MessageGenerationFunctionType |
| Field Summary | |
protected long |
saltLength_
The length of the salt value in octets. |
| Fields inherited from class iaik.pkcs.pkcs11.parameters.RSAPkcsParameters |
hashAlgorithm_, maskGenerationFunction_ |
| Constructor Summary | |
RSAPkcsPssParameters(Mechanism hashAlgorithm,
long maskGenerationFunction,
long saltLength)
Create a new RSAPkcsOaepParameters object with the given attributes. |
|
| Method Summary | |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
Object |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_RSA_PKCS_PSS_PARAMS class. |
long |
getSaltLength()
Get the length of the salt value in octets. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a hashtable. |
void |
setSaltLength(long saltLength)
Set the length of the salt value in octets. |
String |
toString()
Returns the string representation of this object. |
| Methods inherited from class iaik.pkcs.pkcs11.parameters.RSAPkcsParameters |
clone, getHashAlgorithm, getMaskGenerationFunction, setHashAlgorithm, setMaskGenerationFunction |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected long saltLength_
| Constructor Detail |
public RSAPkcsPssParameters(Mechanism hashAlgorithm,
long maskGenerationFunction,
long saltLength)
hashAlgorithm - The message digest algorithm used to calculate the
digest of the encoding parameter.maskGenerationFunction - The mask to apply to the encoded block. One
of the constants defined in the
MessageGenerationFunctionType interface.saltLength - The length of the salt value in octets.| Method Detail |
public Object getPKCS11ParamsObject()
public long getSaltLength()
public void setSaltLength(long saltLength)
saltLength - The length of the salt value in octets.public String toString()
toString in class RSAPkcsParameterspublic boolean equals(Object otherObject)
equals in class RSAPkcsParametersotherObject - The other object to compare to.
public int hashCode()
hashCode in class RSAPkcsParameters
|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||