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 Summary
Modifier and TypeMethodDescriptionCalls actualgetHashAlgOIDmethod for the wrapped CertificateID object.GetsgetHashSha1constant for the wrapped CertificateID.Calls actualgetSerialNumbermethod for the wrapped CertificateID object.booleanmatchesIssuer(IX509CertificateHolder certificateHolder, IDigestCalculatorProvider provider) Calls actualmatchesIssuermethod for the wrapped CertificateID object.
-
Method Details
-
getHashAlgOID
IASN1ObjectIdentifier getHashAlgOID()Calls actualgetHashAlgOIDmethod for the wrapped CertificateID object.- Returns:
-
IASN1ObjectIdentifierhash algorithm OID wrapper.
-
getHashSha1
IAlgorithmIdentifier getHashSha1()GetsgetHashSha1constant for the wrapped CertificateID.- Returns:
- CertificateID.HASH_SHA1 wrapper.
-
matchesIssuer
boolean matchesIssuer(IX509CertificateHolder certificateHolder, IDigestCalculatorProvider provider) throws AbstractOCSPException Calls actualmatchesIssuermethod for the wrapped CertificateID object.- Parameters:
-
certificateHolder- X509CertificateHolder wrapper -
provider- DigestCalculatorProvider wrapper - Returns:
- boolean value.
- Throws:
-
AbstractOCSPException- OCSPException wrapper.
-
getSerialNumber
BigInteger getSerialNumber()Calls actualgetSerialNumbermethod for the wrapped CertificateID object.- Returns:
- serial number value.
-