Package com.itextpdf.text.pdf.security.CertificateInfo

Examples of com.itextpdf.text.pdf.security.CertificateInfo.X500Name


            String text;
            if (layer2Text == null) {
                StringBuilder buf = new StringBuilder();
                buf.append("Digitally signed by ");
                String name = null;
                X500Name x500name = CertificateInfo.getSubjectFields((X509Certificate)signCertificate);
                if (x500name != null) {
                  name = x500name.getField("CN");
                  if (name == null)
                    name = x500name.getField("E");
                }
                if (name == null)
                    name = "";
                buf.append(name).append('\n');
                SimpleDateFormat sd = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss z");
View Full Code Here

TOP

Related Classes of com.itextpdf.text.pdf.security.CertificateInfo.X500Name

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.