iText 8.0.5 API
iText.Commons.Bouncycastle.Cert.Ocsp.ICertID Interface Reference

This interface represents the wrapper for CertificateID that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Cert.Ocsp.ICertID:
iText.Bouncycastle.Cert.Ocsp.CertIDBC iText.Bouncycastlefips.Cert.Ocsp.CertIDBCFips

Public Member Functions

IDerObjectIdentifier  GetHashAlgOID ()
  Calls actual getHashAlgOID method for the wrapped CertificateID object. More...
 
string  GetHashSha1 ()
  Gets getHashSha1 constant for the wrapped CertificateID. More...
 
bool  MatchesIssuer (IX509Certificate certificate)
  Calls actual matchesIssuer method for the wrapped CertificateID object. More...
 
IBigInteger  GetSerialNumber ()
  Calls actual getSerialNumber method for the wrapped CertificateID object. More...
 

Detailed Description

This interface represents the wrapper for CertificateID that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetHashAlgOID()

IDerObjectIdentifier iText.Commons.Bouncycastle.Cert.Ocsp.ICertID.GetHashAlgOID ( )

Calls actual getHashAlgOID method for the wrapped CertificateID object.

Returns

IDerObjectIdentifier hash algorithm OID wrapper.

Implemented in iText.Bouncycastle.Cert.Ocsp.CertIDBC, and iText.Bouncycastlefips.Cert.Ocsp.CertIDBCFips.

◆ GetHashSha1()

string iText.Commons.Bouncycastle.Cert.Ocsp.ICertID.GetHashSha1 ( )

Gets getHashSha1 constant for the wrapped CertificateID.

Returns
CertificateID.HASH_SHA1 value.

Implemented in iText.Bouncycastle.Cert.Ocsp.CertIDBC, and iText.Bouncycastlefips.Cert.Ocsp.CertIDBCFips.

◆ GetSerialNumber()

IBigInteger iText.Commons.Bouncycastle.Cert.Ocsp.ICertID.GetSerialNumber ( )

Calls actual getSerialNumber method for the wrapped CertificateID object.

Returns
serial number value.

Implemented in iText.Bouncycastle.Cert.Ocsp.CertIDBC, and iText.Bouncycastlefips.Cert.Ocsp.CertIDBCFips.

◆ MatchesIssuer()

bool iText.Commons.Bouncycastle.Cert.Ocsp.ICertID.MatchesIssuer ( IX509Certificate  certificate )

Calls actual matchesIssuer method for the wrapped CertificateID object.

Parameters
certificate X509Certificate wrapper
Returns
boolean value.

Implemented in iText.Bouncycastle.Cert.Ocsp.CertIDBC, and iText.Bouncycastlefips.Cert.Ocsp.CertIDBCFips.