java.lang.Object | |
↳ | java.security.spec.PSSParameterSpec |
The parameter specification for the RSA-PSS Signature scheme.
Defined in the PKCS #1 v2.1 standard.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT | The default parameter specification. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
PSSParameterSpec with the specified salt length
and the default values.
| |||||||||||
Creates a new
PSSParameterSpec with the specified message digest
name, mask generation function name, mask generation function parameters,
salt length, and trailer field value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of the message digest algorithm.
| |||||||||||
Returns the name of the mask generation function algorithm.
| |||||||||||
Returns the parameter for the mask generation function algorithm.
| |||||||||||
Returns the length of the salt (in bits).
| |||||||||||
Returns the trailer field value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The default parameter specification. It specifies the following parameters:
"SHA-1"
"MGF1"
SHA1
20
-1
Creates a new PSSParameterSpec
with the specified salt length
and the default values.
saltLen | the salt length (in bits). |
---|
IllegalArgumentException | if saltLen is negative.
|
---|
Creates a new PSSParameterSpec
with the specified message digest
name, mask generation function name, mask generation function parameters,
salt length, and trailer field value.
mdName | the name of the message digest algorithm. |
---|---|
mgfName | the name of the mask generation function algorithm. |
mgfSpec | the parameter for the mask generation function algorithm. |
saltLen | the salt length (in bits). |
trailerField | the trailer field value. |
IllegalArgumentException | if saltLen or trailerField is negative.
|
---|
Returns the name of the message digest algorithm.
Returns the name of the mask generation function algorithm.
Returns the parameter for the mask generation function algorithm.
null
if none specified.
Returns the length of the salt (in bits).
Returns the trailer field value.