|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to per-recipient information in a CMS EnvelopedData.
CMS currently defines three different methods for enveloping data, with three corresponding cases of RecipientInfo. The first involves a content encryption key encrypted with a recipient's public key, with the encrypted key transported within a KeyTransRecipientInfo. The second involves agreeing on a key encrypting key (through a key agreement algorithm) with which the content encryption key is encrypted (or "wrapped") and with the key agreement information carried in a KeyAgreeRecipientInfo. The third involves pre-arranged key encrypting keys.
JCSI currently supports only KeyTransRecipientInfo and KeyAgreeRecipientInfo.
RecipientInfo is defined in RFC2630 by the ASN.1 structure
RecipientInfo ::= CHOICE { ktri KeyTransRecipientInfo, kari [1] KeyAgreeRecipientInfo, kekri [2] KEKRecipientInfo }
EnvelopedData
,
KeyTransRecipientInfo
,
KeyAgreeRecipientInfo
Method Summary | |
String |
getKeyEncryptionAlgorithm()
Returns the key encryption algorithm JCA standard name for this RecipientInfo |
Method Detail |
public String getKeyEncryptionAlgorithm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |