Code example for PSSParameterSpec

Methods: getTrailerField

0
    ) 
    public final void testGetMGFParameters01() { 
        PSSParameterSpec pssps = new PSSParameterSpec("SHA-1", "MGF1",
                MGF1ParameterSpec.SHA1, 20, 1);
        assertTrue(MGF1ParameterSpec.SHA1.equals(pssps.getMGFParameters()));
    } 
     
    /** 
     * Test #2 for <code>getMGFParameters()</code> method 
     * Assertion: returns <code>null</code> 
     * if <code>null</code> had been passed as 
     * AlgorithmParameterSpec parameter to the ctor   
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies null as a parameter.", 
        method = "getMGFParameters", 
        args = {} 
    ) 
    public final void testGetMGFParameters02() { 
        PSSParameterSpec pssps = new PSSParameterSpec("SHA-1", "MGF1",