Code example for X509CRLSelector

Methods: addIssuer

0
     * @tests java.security.cert.X509CRLSelector#addIssuer(javax.security.auth.x500.X500Principal) 
     */ 
    public void test_addIssuerLjavax_security_auth_x500_X500Principal() 
            throws Exception { 
        //Regression for HARMONY-465 
        X509CRLSelector obj = new X509CRLSelector();
        try { 
            obj.addIssuer((X500Principal) null);
            fail("NullPointerException expected");
        } catch (NullPointerException e) {
            // expected 
        } 
    } 
 
    /** 
     * @tests java.security.cert.X509CRLSelector#addIssuerName(java.lang.String) 
     */ 
    public void test_addIssuerNameLjava_lang_String() throws Exception { 
        //Regression for HARMONY-465 
        X509CRLSelector obj = new X509CRLSelector();
Contextual code suggestions in your IDE  Get Codota for Java