MGF1ParameterSpec


MGF1ParameterSpec java.security.spec

Java 5.0

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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net