public class RSA_PKCS_PSS_PARAMS extends CkParams
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_CK_PARAMS |
protected long |
hashAlg
The message digest algorithm used to calculate the digest of the encoding
parameter.
|
protected long |
mgf
The mask to apply to the encoded block.
|
| Constructor and Description |
|---|
RSA_PKCS_PSS_PARAMS(long hashAlg,
long mgf,
int sLen)
Create a new RSAPkcsPssParameters object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getParams()
Get this parameters object as an object of the corresponding *_PARAMS
class of the sun.security.pkcs11.wrapper package.
|
sun.security.pkcs11.wrapper.CK_MECHANISM |
toCkMechanism(long mechanism) |
java.lang.String |
toString() |
buildCkMechanism, ptrToString, requireNonNullpublic static final java.lang.String CLASS_CK_PARAMS
protected long hashAlg
protected long mgf
public RSA_PKCS_PSS_PARAMS(long hashAlg,
long mgf,
int sLen)
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.sLen - The length of the salt value in octets.public java.lang.Object getParams()
CkParamspublic sun.security.pkcs11.wrapper.CK_MECHANISM toCkMechanism(long mechanism)
toCkMechanism in class CkParamspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2023. All rights reserved.