Code example for PolicyQualifierInfo

Methods: getEncoded

0
     * Assertion: Creates an instance of <code>PolicyQualifierInfo</code> 
     * from the encoded bytes 
     *  
     * @throws IOException 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "PolicyQualifierInfo", 
        args = {byte[].class} 
    ) 
    public final void testPolicyQualifierInfo03() throws IOException { 
        // get valid encoding 
        byte[] encoding = getDerEncoding();
        // pass valid array 
        new PolicyQualifierInfo(encoding);
    } 
 
    /** 
     * Test #4 for <code>PolicyQualifierInfo</code> constructor<br> 
     * Assertion: The encoded byte array is copied on construction