Code example for X509Certificate

Methods: getSigAlgName

0
            // The requested certificate type is not available. 
            // Test can not be applied. 
            return; 
        } 
        assertEquals("The name of signature algorithm is not correct.",
                                tbt_cert.getSigAlgName(), cert.getSigAlgName());
    } 
 
    /** 
     * getSigAlgOID() method testing. 
     */ 
    public void testGetSigAlgOID() { 
        if (this.cert == null) {
            // The requested certificate type is not available. 
            // Test can not be applied. 
            return; 
        } 
        assertEquals("The name of OID of signature algorithm is not correct.",
                                tbt_cert.getSigAlgOID(), cert.getSigAlgOID());
    } 
Contextual code suggestions in your IDE  Get Codota for Java