public class RSAPkcsPssParameters extends RSAPkcsParameters
| Modifier and Type | Field and Description |
|---|---|
protected long |
saltLength
The length of the salt value in octets.
|
hashAlg, mgf, mgf2HashAlgMap| Constructor and Description |
|---|
RSAPkcsPssParameters(long hashAlg,
long mgf,
long saltLength)
Create a new RSAPkcsOaepParameters object with the given attributes.
|
RSAPkcsPssParameters(Mechanism hashAlg,
long mgf,
long saltLength)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
sun.security.pkcs11.wrapper.CK_RSA_PKCS_PSS_PARAMS |
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.
|
getHashAlgorithm, getMaskGenerationFunction, setHashAlgorithm, setMaskGenerationFunction@Deprecated public RSAPkcsPssParameters(Mechanism hashAlg, long mgf, long saltLength)
public RSAPkcsPssParameters(long hashAlg,
long mgf,
long saltLength)
hashAlg - The message digest algorithm used to calculate the digest of the
encoding parameter.mgf - 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 sun.security.pkcs11.wrapper.CK_RSA_PKCS_PSS_PARAMS 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 RSAPkcsParametersCopyright © 2020. All rights reserved.