Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.dstc.security.cms
Interface KeyTransRecipientInfo

public interface KeyTransRecipientInfo
extends RecipientInfo

A class representing information on an intended recipient and the encrypted content encryption key carried in a CMS EnvelopedData in which the content encryption key is encrypted with the recipient's public key. This is the most widely used method of enveloping data, in which RSA is the content key encryption algorithm.

KeyTransRecipientInfo is defined in RFC2630 by the ASN.1 structure

         KeyTransRecipientInfo ::= SEQUENCE {
            version CMSVersion,  -- always set to 0 or 2
            rid RecipientIdentifier,
            keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
            encryptedKey EncryptedKey }

         EncryptedKey ::= OCTET STRING

See Also:
  `RecipientInfo`, `RecipientIdentifier`

Method Summary
`byte[]` | `getEncryptedKey()` Returns the encrypted content encryption key for the intended recipient
`RecipientIdentifier` | `getRecipientIdentifier()` Returns the RecipientIdentifier for the intending recipient

Methods inherited from interface com.dstc.security.cms.RecipientInfo
`getKeyEncryptionAlgorithm`

Method Detail

### getEncryptedKey

    public byte[] getEncryptedKey()

  Returns the encrypted content encryption key for the intended recipient

### getRecipientIdentifier

    public RecipientIdentifier getRecipientIdentifier()

  Returns the RecipientIdentifier for the intending recipient

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD