Class CertificateInfo

java.lang.Object
org.webpki.crypto.CertificateInfo

public class CertificateInfo extends Object
  • Constructor Details

    • CertificateInfo

      public CertificateInfo(X509Certificate certificate, boolean trusted)
    • CertificateInfo

      public CertificateInfo(X509Certificate certificate)
  • Method Details

    • getSubjectCommonName

      public String getSubjectCommonName()
    • getSubjectOrganization

      public String getSubjectOrganization()
    • getSubjectOrganizationUnit

      public String getSubjectOrganizationUnit()
    • getSubjectEmail

      public String getSubjectEmail()
    • getSubjectCountry

      public String getSubjectCountry()
    • getSubjectSerialNumber

      public String getSubjectSerialNumber()
    • getCertificateHash

      public byte[] getCertificateHash()
    • getSubject

      public String getSubject()
    • getIssuer

      public String getIssuer()
    • getSerialNumber

      public String getSerialNumber()
    • getNotBeforeDate

      public GregorianCalendar getNotBeforeDate()
    • getNotAfterDate

      public GregorianCalendar getNotAfterDate()
    • isValid

      public boolean isValid()
    • getPolicyOIDs

      public String[] getPolicyOIDs()
    • getAIAOCSPResponders

      public String[] getAIAOCSPResponders()
    • getAIACAIssuers

      public String[] getAIACAIssuers()
    • getExtendedKeyUsage

      public String[] getExtendedKeyUsage()
    • getKeyUsages

      public String[] getKeyUsages()
    • getBasicConstraints

      public String getBasicConstraints()
    • getPublicKeyAlgorithm

      public String getPublicKeyAlgorithm()
    • getSerialNumberInHex

      public String getSerialNumberInHex()
    • getPublicKeySize

      public int getPublicKeySize()
    • getCertificateBlob

      public byte[] getCertificateBlob()
    • isTrusted

      public boolean isTrusted()
    • getPublicKeyData

      public byte[] getPublicKeyData()
    • toString

      public String toString(boolean Verbose)
    • toString

      public String toString()
      Overrides:
      toString in class Object