Class CertificateInfo.X500Name

java.lang.Object
com.itextpdf.signatures.CertificateInfo.X500Name
Enclosing class:
CertificateInfo

public static class CertificateInfo.X500Name extends Object
Class that holds an X509 name.
  • Field Details

  • Constructor Details

    • X500Name

      public X500Name (IASN1Sequence seq)
      Constructs an X509 name.
      Parameters:
      seq - an ASN1 Sequence
    • X500Name

      public X500Name (String dirName)
      Constructs an X509 name.
      Parameters:
      dirName - a directory name
  • Method Details

    • getField

      public String getField (String name)
      Gets the first entry from the field array retrieved from the values Map.
      Parameters:
      name - the field name
      Returns:
      the (first) field value
    • getFieldArray

      public List<String> getFieldArray (String name)
      Gets a field array from the values Map.
      Parameters:
      name - The field name
      Returns:
      List
    • getFields

      public Map<String,List<String>> getFields()
      Getter for values.
      Returns:
      Map with the fields of the X509 name
    • toString

      public String toString()
      Overrides:
      toString in class Object