Code example for X509Certificate

Methods: getSigAlgName

0
        args = {} 
    ) 
    public void testGetIssuerDN() { 
        if (this.cert == null) {
            // The requested certificate type is not available. 
            // Test can not be applied. 
            Logger.global.warning("testGetIssuerDN: error in test setup.");
        } 
        assertEquals("The issuer DN is not correct.", tbt_cert.getIssuerDN(),
                cert.getIssuerDN());
    } 
 
    /** 
     * getSubjectDN() method testing. 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getSubjectDN", 
        args = {} 
    )