java.lang.Object | |
↳ | java.security.spec.MGF1ParameterSpec |
The parameter specification for the Mask Generation Function (MGF1) in the RSA-PSS Signature and OAEP Padding scheme.
Defined in the PKCS #1 v2.1 standard
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MGF1ParameterSpec | SHA1 | The predefined MGF1 parameter specification with an "SHA-1" message digest. | |||||||||
MGF1ParameterSpec | SHA256 | The predefined MGF1 parameter specification with an "SHA-256" message digest. | |||||||||
MGF1ParameterSpec | SHA384 | The predefined MGF1 parameter specification with an "SHA-384" message digest. | |||||||||
MGF1ParameterSpec | SHA512 | The predefined MGF1 parameter specification with an "SHA-512" message digest. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
MGF1ParameterSpec with the specified message digest
algorithm name. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of the message digest algorithm.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
The predefined MGF1 parameter specification with an "SHA-1" message digest.
The predefined MGF1 parameter specification with an "SHA-256" message digest.
The predefined MGF1 parameter specification with an "SHA-384" message digest.
The predefined MGF1 parameter specification with an "SHA-512" message digest.
Creates a new MGF1ParameterSpec
with the specified message digest
algorithm name.
mdName | the name of the message digest algorithm. |
---|
Returns the name of the message digest algorithm.