From 1240ac7d4042224dcf5e9cebbe44b922b21cbc8f Mon Sep 17 00:00:00 2001 From: tknall Date: Wed, 1 Dec 2010 15:12:08 +0000 Subject: Use user friendly output for Subject and Issuer Name git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@662 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/gv/egiz/pdfas/commandline/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/gv') diff --git a/src/main/java/at/gv/egiz/pdfas/commandline/Main.java b/src/main/java/at/gv/egiz/pdfas/commandline/Main.java index 373f4be..88fd502 100644 --- a/src/main/java/at/gv/egiz/pdfas/commandline/Main.java +++ b/src/main/java/at/gv/egiz/pdfas/commandline/Main.java @@ -1221,8 +1221,8 @@ public abstract class Main { writer.println(" Zertifikat:"); - writer.println(" Signator: " + result.getSignerCertificate().getSubjectDN().getName()); - writer.println(" Aussteller: " + result.getSignerCertificate().getIssuerDN().getName()); + writer.println(" Signator: " + result.getSignerCertificate().getSubjectDN().toString()); + writer.println(" Aussteller: " + result.getSignerCertificate().getIssuerDN().toString()); writer.println(" Seriennummer: " + result.getSignerCertificate().getSerialNumber()); List public_properties = result.getPublicProperties(); Iterator it = public_properties.iterator(); -- cgit v1.2.3