Code example for ECParameterSpec

Methods: getOrder

0
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getCurve", 
        args = {} 
    ) 
    public void test_GetCurve() { 
        assertEquals("wrong elliptic curve", curve, ecps.getCurve());
    } 
 
    /** 
     * test for getGenerator() method 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getGenerator", 
        args = {} 
    ) 
    public void test_GetGenerator() { 
        assertEquals("wrong generator was returned", ecpoint, ecps