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.


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(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(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

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 5.1, (c) 2002 IAIK, (c) 2003 - 2010 SIC