Code example for MGF1ParameterSpec

0
    static public class SHA224withRSA 
        extends JDKPSSSigner 
    { 
        public SHA224withRSA() 
        { 
            super("SHA2224withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), 28, 1));
        } 
    } 
     
    static public class SHA256withRSA 
        extends JDKPSSSigner 
    { 
        public SHA256withRSA() 
        { 
            super("SHA256withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-256", "MGF1", new MGF1ParameterSpec("SHA-256"), 32, 1));
        } 
    } 
 
    static public class SHA384withRSA 
        extends JDKPSSSigner 
Contextual code suggestions in your IDE  Get Codota for Java