iText 7 7.2.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 (X509Certificate cert)
  Get the issuer fields from an X509 Certificate. More...
 
static Asn1Object  GetIssuer (byte[] enc)
  Get the "issuer" from the TBSCertificate bytes that are passed in. More...
 
static CertificateInfo.X500Name  GetSubjectFields (X509Certificate cert)
  Get the subject fields from an X509 Certificate. More...
 
static Asn1Object  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 Asn1Object 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 ASN1Primitive

◆ GetIssuerFields()

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

Get the issuer fields from an X509 Certificate.

Parameters
cert an X509Certificate
Returns
an X500Name

◆ GetSubject()

static Asn1Object 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 ASN1Primitive

◆ GetSubjectFields()

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

Get the subject fields from an X509 Certificate.

Parameters
cert an X509Certificate
Returns
an X500Name