Code example for X509CRLSelector

Methods: addIssuerName

0
    /** 
     * @tests java.security.cert.X509CRLSelector#addIssuerName(byte[]) 
     */ 
    public void test_addIssuerName$B_4() throws Exception { 
        //Regression for HARMONY-465 
        X509CRLSelector obj = new X509CRLSelector();
        try { 
            obj.addIssuerName((byte[]) null);
            fail("NullPointerException expected");
        } catch (NullPointerException e) {
            // expected 
        } 
    } 
 
    /** 
     * @tests addIssuerName(String name) 
     */ 
    public void testAddIssuerName() throws IOException { 
        //Regression for HARMONY-736 
        X509CRLSelector selector = new X509CRLSelector();
Stop searching for code, let great code find you!  Add Codota to your java IDE