IAIK CMS/SMIME Toolkit API Documentation
Version 6.1

iaik.cms
Interface CertificateIdentifier

All Superinterfaces:
iaik.asn1.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.


Field Summary
 
Fields inherited from interface iaik.cms.KeyIdentifier
ISSUER_AND_SERIALNUMBER, KEK_IDENTIFIER, ORIGINATOR_PUBLIC_KEY, RECIPIENT_KEY_IDENTIFIER, SUBJECT_KEY_IDENTIFIER
 
Method Summary
 boolean identifiesCert(iaik.x509.X509Certificate cert)
          Checks if the given certificate is identified by this CertificateIdentifier.
 
Methods inherited from interface iaik.cms.KeyIdentifier
equals, getKeyIdType, getKeyIdTypeName, hashCode, toString
 
Methods inherited from interface iaik.asn1.ASN1Type
decode, toASN1Object
 

Method Detail

identifiesCert

boolean identifiesCert(iaik.x509.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/SMIME Toolkit API Documentation
Version 6.1

v6.1
(c) 2002 IAIK, (c) 2003 - 2025 SIC