public void testGetVersion() { try { System.out.println( "* " + new ftPublicFunc() .ftBytesToHexString(cers.getX509Certificate().getTBSCertificate())); } catch (CertificateEncodingException e) { // TODO Auto-generated catch block e.printStackTrace(); } System.out.println("Version:" + cers.getVersion()); }
public void testGetPublicKey() { System.out.println("public key:" + cers.getPublicKey()); }
public void testGetSignature() { System.out.println("Signature:" + cers.getSignature()); }
public void testGetSinAlgName() { System.out.println("SignAlg:" + cers.getSinAlgName()); }
public void testGetNotAfter() { System.out.println("Data To:" + cers.getNotAfter()); }
public void testGetNotBefore() { System.out.println("Data From:" + cers.getNotBefore()); }
public void testGetIssuerDN() { System.out.println("IssuerDN:" + cers.getIssuerDN()); }
public void testGetSubjectDN() { System.out.println("SubjectDN:" + cers.getSubjectDN()); }
public void testGetSerialNumber() { System.out.println("SerialNumber:" + cers.getSerialNumber()); }