Code example for PSSParameterSpec

Methods: getMGFParameters

0
        } catch (IllegalArgumentException e) {
        } 
    } 
 
    /** 
     * Test #6 for 
     * <code> 
     * PSSParameterSpec(String,String,AlgorithmParameterSpec,int,int) 
     * </code> ctor<br> 
     * Assertion: <code>AlgorithmParameterSpec</code> can be null 
     *  
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies null as AlgorithmParameterSpec parameter.", 
        method = "PSSParameterSpec", 
        args = {java.lang.String.class, java.lang.String.class, java.security.spec.AlgorithmParameterSpec.class, int.class, int.class}
    ) 
    public final void testPSSParameterSpec0206() { 
        new PSSParameterSpec("SHA-1", "MGF1", null, 20, 1);
    }