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 actualgetHashAlgOID
method for the wrapped CertificateID object.GetsgetHashSha1
constant for the wrapped CertificateID.Calls actualgetSerialNumber
method for the wrapped CertificateID object.boolean
matchesIssuer
(IX509CertificateHolder certificateHolder, IDigestCalculatorProvider provider) Calls actualmatchesIssuer
method for the wrapped CertificateID object.
-
Method Details
-
getHashAlgOID
IASN1ObjectIdentifier getHashAlgOID()Calls actualgetHashAlgOID
method for the wrapped CertificateID object.- Returns:
-
IASN1ObjectIdentifier
hash algorithm OID wrapper.
-
getHashSha1
IAlgorithmIdentifier getHashSha1()GetsgetHashSha1
constant for the wrapped CertificateID.- Returns:
- CertificateID.HASH_SHA1 wrapper.
-
matchesIssuer
boolean matchesIssuer(IX509CertificateHolder certificateHolder, IDigestCalculatorProvider provider) throws AbstractOCSPException Calls actualmatchesIssuer
method for the wrapped CertificateID object.- Parameters:
-
certificateHolder
- X509CertificateHolder wrapper -
provider
- DigestCalculatorProvider wrapper - Returns:
- boolean value.
- Throws:
-
AbstractOCSPException
- OCSPException wrapper.
-
getSerialNumber
BigInteger getSerialNumber()Calls actualgetSerialNumber
method for the wrapped CertificateID object.- Returns:
- serial number value.
-