Code example for PSSParameterSpec

Methods: getSaltLength

0
     */ 
    @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);
    } 
 
    /** 
     * Test for <code>getDigestAlgorithm()</code> method 
     * Assertion: returns message digest algorithm name  
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies positive case.", 
        method = "getDigestAlgorithm", 
        args = {} 
    )