iaik.cms
Interface CertificateIdentifier
- All Superinterfaces:
- ASN1Type, KeyIdentifier
- All Known Implementing Classes:
- EntityIdentifier, IssuerAndSerialNumber, RecipientKeyIdentifier, SignerIdentifier, SubjectKeyID
public interface CertificateIdentifier
- extends KeyIdentifier
Interface to be implemented by any CMS type that is used for
identifying an entity by its certificate.
Within CMS a certificate identifier is used for identifying the certificate
of a signer by IssuerAndSerialNumber
or SubjectKeyID
, or the certificate of a recipient
by IssuerAndSerialNumber
or
RecipientKeyIdentifier
.
identifiesCert
boolean identifiesCert(X509Certificate cert)
- Checks if the given certificate is identified by this CertificateIdentifier.
- Parameters:
cert
- the certificate to be checked of being identified
by this CertificateIdentifier
- Returns:
true
if the given certificate is identified by this
CertificateIdentifier, false
otherwise
IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC