com.dstc.security.cms
Interface OriginatorIdentifierOrKey

All Known Implementing Classes:
IssuerAndSerialNumber, SubjectKeyIdentifier, OriginatorPublicKey

public interface OriginatorIdentifierOrKey

An interface to either an identifier for an originator or to the originator public key in a CMS EnvelopedData in which key encrypting keys are obtained by key agreement. In the former case, the identifying information is a certificate; the latter case allows for anonymous originators. Currently only the latter case is supported in CMS, through the Ephemeral-Static Diffie-Hellman algorithm.

OriginatorIdentifierOrKey is defined in RFC2630 by the ASN.1 structure

     OriginatorIdentifierOrKey ::= CHOICE {
        issuerAndSerialNumber IssuerAndSerialNumber,
        subjectKeyIdentifier [0] SubjectKeyIdentifier,
        originatorKey        [1] OriginatorPublicKey }
 

NB. This interface defines no methods.

See Also:
KeyAgreeRecipientInfo, IssuerAndSerialNumber, SubjectKeyIdentifier, OriginatorPublicKey