Code example for PSSParameterSpec

Methods: getMGFAlgorithm

0
    } 
 
    /** 
     * Test #5 for 
     * <code> 
     * PSSParameterSpec(String,String,AlgorithmParameterSpec,int,int) 
     * </code> ctor<br> 
     * Assertion: 
     * throws <code>IllegalArgumentException</code> 
     * if <code>trailerField</code> less than 0 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "PSSParameterSpec", 
        args = {java.lang.String.class, java.lang.String.class, java.security.spec.AlgorithmParameterSpec.class, int.class, int.class}
    ) 
    public final void testPSSParameterSpec0205() { 
        try { 
            new PSSParameterSpec("SHA-1", "MGF1",
                    MGF1ParameterSpec.SHA1, 20, -1);