public class RSAPkcsPssParameters extends RSAPkcsParameters
RSAPkcsParameters.MessageGenerationFunctionType| Modifier and Type | Field and Description |
|---|---|
protected long |
saltLength_
The length of the salt value in octets.
|
hashAlgorithm_, maskGenerationFunction_| Constructor and Description |
|---|
RSAPkcsPssParameters(Mechanism hashAlgorithm,
long maskGenerationFunction,
long saltLength)
Create a new RSAPkcsOaepParameters object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
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_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.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
clone, getHashAlgorithm, getMaskGenerationFunction, setHashAlgorithm, setMaskGenerationFunctionpublic 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.public java.lang.Object getPKCS11ParamsObject()
public long getSaltLength()
public void setSaltLength(long saltLength)
saltLength - The length of the salt value in octets.public java.lang.String toString()
toString in class RSAPkcsParameterspublic boolean equals(java.lang.Object otherObject)
equals in class RSAPkcsParametersotherObject - The other object to compare to.public int hashCode()
hashCode in class RSAPkcsParametersIAIK 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