Code example for MGF1ParameterSpec

0
    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 
    { 
        public SHA384withRSA() 
        { 
            super("SHA384withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-384", "MGF1", new MGF1ParameterSpec("SHA-384"), 48, 1));
        } 
    } 
 
    static public class SHA512withRSA 
        extends JDKPSSSigner 
    {