Code example for ECParameterSpec

Methods: getGenerator

0
        } catch (IllegalArgumentException e) {
            // expected 
        } 
    } 
 
    /** 
     * test for getCurve() method 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getCurve", 
        args = {} 
    ) 
    public void test_GetCurve() { 
        assertEquals("wrong elliptic curve", curve, ecps.getCurve());
    } 
 
    /** 
     * test for getGenerator() method 
     */