Interface ICertificateID

All Known Implementing Classes:
CertificateIDBC, CertificateIDBCFips

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

    • getHashAlgOID

      IASN1ObjectIdentifier getHashAlgOID()
      Calls actual getHashAlgOID method for the wrapped CertificateID object.
      Returns:
      IASN1ObjectIdentifier hash algorithm OID wrapper.
    • getHashSha1

      IAlgorithmIdentifier getHashSha1()
      Gets getHashSha1 constant for the wrapped CertificateID.
      Returns:
      CertificateID.HASH_SHA1 wrapper.
    • matchesIssuer

      boolean matchesIssuer (IX509CertificateHolder certificateHolder, IDigestCalculatorProvider provider) throws AbstractOCSPException
      Calls actual matchesIssuer method for the wrapped CertificateID object.
      Parameters:
      certificateHolder - X509CertificateHolder wrapper
      provider - DigestCalculatorProvider wrapper
      Returns:
      boolean value.
      Throws:
      AbstractOCSPException - OCSPException wrapper.
    • getSerialNumber

      BigInteger getSerialNumber()
      Calls actual getSerialNumber method for the wrapped CertificateID object.
      Returns:
      serial number value.