This class represents parameters for
"mask generation
function" MGF1 of the
OAEP Padding and RSA-PSS signature
scheme, defined in the PKCS #1 standard, version 2.1. The constants
represent predefined instances of the class, whose digest algorithm
matches the constant name.
Figure 14-96. java.security.spec.MGF1ParameterSpec
public class
MGF1ParameterSpec implements AlgorithmParameterSpec {
// Public Constructors
public
MGF1ParameterSpec (String
mdName );
// Public Constants
public static final MGF1ParameterSpec
SHA1 ;
public static final MGF1ParameterSpec
SHA256 ;
public static final MGF1ParameterSpec
SHA384 ;
public static final MGF1ParameterSpec
SHA512 ;
// Public Instance Methods
public String
getDigestAlgorithm ( );
}