iText 8.0.5 API
iText.Signatures.CertificateInfo Class Reference

Class containing static methods that allow you to get information from an X509 Certificate: the issuer and the subject. More...

Classes

class   X500Name
  Class that holds an X509 name. More...
 
class   X509NameTokenizer
  Class for breaking up an X500 Name into it's component tokens, similar to iText.Commons.Utils.StringTokenizer. More...
 

Static Public Member Functions

static CertificateInfo.X500Name  GetIssuerFields (IX509Certificate cert)
  Get the issuer fields from an X509 Certificate. More...
 
static IAsn1Object  GetIssuer (byte[] enc)
  Get the "issuer" from the TBSCertificate bytes that are passed in. More...
 
static CertificateInfo.X500Name  GetSubjectFields (IX509Certificate cert)
  Get the subject fields from an X509 Certificate. More...
 
static IAsn1Object  GetSubject (byte[] enc)
  Get the "subject" from the TBSCertificate bytes that are passed in. More...
 

Detailed Description

Class containing static methods that allow you to get information from an X509 Certificate: the issuer and the subject.

Member Function Documentation

◆ GetIssuer()

static IAsn1Object iText.Signatures.CertificateInfo.GetIssuer ( byte[]  enc )
inlinestatic

Get the "issuer" from the TBSCertificate bytes that are passed in.

Parameters
enc a TBSCertificate in a byte array
Returns
an IASN1Primitive

◆ GetIssuerFields()

static CertificateInfo.X500Name iText.Signatures.CertificateInfo.GetIssuerFields ( IX509Certificate  cert )
inlinestatic

Get the issuer fields from an X509 Certificate.

Parameters
cert an X509Certificate
Returns
an X500Name

◆ GetSubject()

static IAsn1Object iText.Signatures.CertificateInfo.GetSubject ( byte[]  enc )
inlinestatic

Get the "subject" from the TBSCertificate bytes that are passed in.

Parameters
enc A TBSCertificate in a byte array
Returns
a IASN1Primitive

◆ GetSubjectFields()

static CertificateInfo.X500Name iText.Signatures.CertificateInfo.GetSubjectFields ( IX509Certificate  cert )
inlinestatic

Get the subject fields from an X509 Certificate.

Parameters
cert an X509Certificate
Returns
an X500Name