public class RSA_PKCS_PSS_PARAMS extends CkParams
| Modifier and Type | Field and Description |
|---|---|
static 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 |
|---|---|
protected int |
getMaxFieldLen() |
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) |
String |
toString(String indent) |
buildCkMechanism, codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic static final 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 Object getParams()
CkParamspublic sun.security.pkcs11.wrapper.CK_MECHANISM toCkMechanism(long mechanism)
toCkMechanism in class CkParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.