iText 9.0.0 API
iText.Bouncycastle.X509.X509CertificateBC Class Reference

Wrapper class for Org.BouncyCastle.X509.X509Certificate. More...

Inheritance diagram for iText.Bouncycastle.X509.X509CertificateBC:
iText.Commons.Bouncycastle.Cert.IX509Certificate

Public Member Functions

  X509CertificateBC (X509Certificate certificate)
  Creates new wrapper instance for Org.BouncyCastle.X509.X509Certificate. More...
 
virtual X509Certificate  GetCertificate ()
  Gets actual org.bouncycastle object being wrapped. More...
 
IX500Name  GetIssuerDN ()
  Calls actual GetIssuerDN method for the wrapped X509Certificate object. More...
 
IBigInteger  GetSerialNumber ()
  Calls actual GetSerialNumber method for the wrapped X509Certificate object. More...
 
IPublicKey  GetPublicKey ()
  Calls actual GetPublicKey method for the wrapped X509Certificate object. More...
 
string  GetSigAlgOID ()
  Get the Signature Algorithms Object ID. More...
 
byte[]  GetSigAlgParams ()
  Get the signature algorithms parameters. (EG DSA Parameters) More...
 
byte[]  GetEncoded ()
  Calls actual GetEncoded method for the wrapped X509Certificate object. More...
 
byte[]  GetTbsCertificate ()
  Calls actual GetTbsCertificate method for the wrapped X509Certificate object. More...
 
IAsn1OctetString  GetExtensionValue (string oid)
  Calls actual GetExtensionValue method for the wrapped X509Certificate object. More...
 
void  Verify (IPublicKey issuerPublicKey)
  Calls actual Verify method for the wrapped X509Certificate object. More...
 
ISet< string >  GetCriticalExtensionOids ()
  Calls actual GetCriticalExtensionOids method for the wrapped X509Certificate object. More...
 
void  CheckValidity (DateTime time)
  Calls actual CheckValidity method for the wrapped X509Certificate object. More...
 
IX500Name  GetSubjectDN ()
  Returns actual SubjectDN property for the wrapped X509Certificate object. More...
 
string  GetEndDateTime ()
  Returns actual EndDate property of the certificate structure for the wrapped X509Certificate object. More...
 
DateTime  GetNotBefore ()
  Returns actual NotBefore property for the wrapped X509Certificate object. More...
 
DateTime  GetNotAfter ()
  Returns actual NotAfter property for the wrapped X509Certificate object. More...
 
IList  GetExtendedKeyUsage ()
  Calls actual GetExtendedKeyUsage method for the wrapped X509Certificate object. More...
 
bool[]  GetKeyUsage ()
  Calls actual GetKeyUsage method for the wrapped X509Certificate object. More...
 
int  GetBasicConstraints ()
  Call actual GetBasicConstraints method for the wrapped X509Certificate object. More...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. Compares wrapped objects. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Detailed Description

Wrapper class for Org.BouncyCastle.X509.X509Certificate.

Constructor & Destructor Documentation

◆ X509CertificateBC()

iText.Bouncycastle.X509.X509CertificateBC.X509CertificateBC ( X509Certificate  certificate )
inline

Creates new wrapper instance for Org.BouncyCastle.X509.X509Certificate.

Parameters
certificate

Org.BouncyCastle.X509.X509Certificate to be wrapped

Member Function Documentation

◆ CheckValidity()

void iText.Bouncycastle.X509.X509CertificateBC.CheckValidity ( DateTime  time )
inline

Calls actual CheckValidity method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ Equals()

override bool iText.Bouncycastle.X509.X509CertificateBC.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetBasicConstraints()

int iText.Bouncycastle.X509.X509CertificateBC.GetBasicConstraints ( )
inline

Call actual GetBasicConstraints method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetCertificate()

virtual X509Certificate iText.Bouncycastle.X509.X509CertificateBC.GetCertificate ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped Org.BouncyCastle.X509.X509Certificate.

◆ GetCriticalExtensionOids()

ISet iText.Bouncycastle.X509.X509CertificateBC.GetCriticalExtensionOids ( )
inline

Calls actual GetCriticalExtensionOids method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetEncoded()

byte [] iText.Bouncycastle.X509.X509CertificateBC.GetEncoded ( )
inline

Calls actual GetEncoded method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetEndDateTime()

string iText.Bouncycastle.X509.X509CertificateBC.GetEndDateTime ( )
inline

Returns actual EndDate property of the certificate structure for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetExtendedKeyUsage()

IList iText.Bouncycastle.X509.X509CertificateBC.GetExtendedKeyUsage ( )
inline

Calls actual GetExtendedKeyUsage method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetExtensionValue()

IAsn1OctetString iText.Bouncycastle.X509.X509CertificateBC.GetExtensionValue ( string  oid )
inline

Calls actual GetExtensionValue method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetHashCode()

override int iText.Bouncycastle.X509.X509CertificateBC.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ GetIssuerDN()

IX500Name iText.Bouncycastle.X509.X509CertificateBC.GetIssuerDN ( )
inline

Calls actual GetIssuerDN method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetKeyUsage()

bool [] iText.Bouncycastle.X509.X509CertificateBC.GetKeyUsage ( )
inline

Calls actual GetKeyUsage method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetNotAfter()

DateTime iText.Bouncycastle.X509.X509CertificateBC.GetNotAfter ( )
inline

Returns actual NotAfter property for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetNotBefore()

DateTime iText.Bouncycastle.X509.X509CertificateBC.GetNotBefore ( )
inline

Returns actual NotBefore property for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetPublicKey()

IPublicKey iText.Bouncycastle.X509.X509CertificateBC.GetPublicKey ( )
inline

Calls actual GetPublicKey method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetSerialNumber()

IBigInteger iText.Bouncycastle.X509.X509CertificateBC.GetSerialNumber ( )
inline

Calls actual GetSerialNumber method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetSigAlgOID()

string iText.Bouncycastle.X509.X509CertificateBC.GetSigAlgOID ( )

Get the Signature Algorithms Object ID.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetSigAlgParams()

byte [] iText.Bouncycastle.X509.X509CertificateBC.GetSigAlgParams ( )

Get the signature algorithms parameters. (EG DSA Parameters)

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetSubjectDN()

IX500Name iText.Bouncycastle.X509.X509CertificateBC.GetSubjectDN ( )
inline

Returns actual SubjectDN property for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ GetTbsCertificate()

byte [] iText.Bouncycastle.X509.X509CertificateBC.GetTbsCertificate ( )
inline

Calls actual GetTbsCertificate method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.

◆ ToString()

override String iText.Bouncycastle.X509.X509CertificateBC.ToString ( )
inline

Delegates toString method call to the wrapped object.

◆ Verify()

void iText.Bouncycastle.X509.X509CertificateBC.Verify ( IPublicKey  issuerPublicKey )
inline

Calls actual Verify method for the wrapped X509Certificate object.

Implements iText.Commons.Bouncycastle.Cert.IX509Certificate.