Its ASN.1 definition in PKCS#1 standard is described below:
PKCS1MGFAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-mgf1 PARAMETERS HashAlgorithm },
... -- Allows for future expansion --
}
where
HashAlgorithm ::= AlgorithmIdentifier {
{OAEP-PSSDigestAlgorithms}
}
OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-sha1 PARAMETERS NULL }|
{ OID id-sha224 PARAMETERS NULL }|
{ OID id-sha256 PARAMETERS NULL }|
{ OID id-sha384 PARAMETERS NULL }|
{ OID id-sha512 PARAMETERS NULL }|
{ OID id-sha512-224 PARAMETERS NULL }|
{ OID id-sha512-256 PARAMETERS NULL },
... -- Allows for future expansion --
}
PSSParameterSpec, javax.crypto.spec.OAEPParameterSpec
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final MGF1ParameterSpec | SHA1
The |
| public static final MGF1ParameterSpec | SHA224
The |
| public static final MGF1ParameterSpec | SHA256
The |
| public static final MGF1ParameterSpec | SHA384
The |
| public static final MGF1ParameterSpec | SHA3_224
The |
| public static final MGF1ParameterSpec | SHA3_256
The |
| public static final MGF1ParameterSpec | SHA3_384
The |
| public static final MGF1ParameterSpec | SHA3_512
The |
| public static final MGF1ParameterSpec | SHA512
The |
| public static final MGF1ParameterSpec | SHA512_224
The |
| public static final MGF1ParameterSpec | SHA512_256
The |
| Access | Constructor and Description |
|---|---|
| public | MGF1ParameterSpec(String
the algorithm name for the message digest
used in this mask generation function MGF1. mdName)Constructs a parameter set for mask generation function MGF1 as defined in the PKCS #1 standard. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the algorithm name of the message digest.Returns the algorithm name of the message digest used by the mask generation function. |
| public String |
| mdName | back to summary |
|---|---|
| private final String mdName | |
| SHA1 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA1 The | |
| SHA224 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA224 The | |
| SHA256 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA256 The | |
| SHA384 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA384 The | |
| SHA3_224 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA3_224 The
| |
| SHA3_256 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA3_256 The
| |
| SHA3_384 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA3_384 The
| |
| SHA3_512 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA3_512 The
| |
| SHA512 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA512 The | |
| SHA512_224 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA512_224 The
| |
| SHA512_256 | back to summary |
|---|---|
| public static final MGF1ParameterSpec SHA512_256 The
| |
| MGF1ParameterSpec | back to summary |
|---|---|
| public MGF1ParameterSpec(String mdName) Constructs a parameter set for mask generation function MGF1 as defined in the PKCS #1 standard.
| |
| getDigestAlgorithm | back to summary |
|---|---|
| public String getDigestAlgorithm() Returns the algorithm name of the message digest used by the mask generation function.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |