com.dstc.security.cms
Class RecipientKeyIdentifier
java.lang.Object
|
+--com.dstc.security.cms.RecipientKeyIdentifier
- public abstract class RecipientKeyIdentifier
- extends Object
- implements KeyAgreeRecipientIdentifier
A class to hold a recipient certificate's subject key identifier,
and (optionally) any additional keying material used in a key agreement
algorithm for a CMS EnvelopedData.
A RecipientKeyIdentifier is
primarily used to identify an intended recipient of an encrypted
content encryption key (for decrypting an encrypted message) through
the recipient's certificate.
RecipientKeyIdentifier is defined in RFC2630 by the ASN.1 structure
RecipientKeyIdentifier ::= SEQUENCE {
subjectKeyIdentifier SubjectKeyIdentifier,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL }
- See Also:
KeyAgreeRecipientIdentifier
,
RecipientEncryptedKey
,
SubjectKeyIdentifier
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RecipientKeyIdentifier
public RecipientKeyIdentifier()
getSubjectKeyIdentifier
public abstract SubjectKeyIdentifier getSubjectKeyIdentifier()
- Returns the SubjectKeyIdentifier for the certificate belonging to the
recipient identified by this RecipientKeyIdentifier