Code example for X509Certificate

Methods: getSigAlgName

0
    /** 
     * getSigAlgName() method testing. 
     */ 
    public void testGetSigAlgName() { 
        assertEquals("Incorrect value of signature algorithm name",
                algName, certificate.getSigAlgName());
    } 
     
    /** 
     * getSigAlgOID() method testing. 
     */ 
    public void testGetSigAlgOID() { 
        assertEquals("Incorrect value of signature algorithm OID",
                algOID, certificate.getSigAlgOID());
    } 
     
    /** 
     * getSigAlgParams() method testing. 
     */ 
    public void testGetSigAlgParams() { 
        if (!Arrays.equals(algParams, certificate.getSigAlgParams())) {