com.dstc.security.cms
Class RecipientEncryptedKey
java.lang.Object
|
+--com.dstc.security.cms.RecipientEncryptedKey
- public abstract class RecipientEncryptedKey
- extends Object
A class to represent a content encryption key
encrypted in a per-recipient key encrypting key
negotiated via a key agreement algorithm.
RecipientEncryptedKey is defined in RFC2630 by the
ASN.1 structure
RecipientEncryptedKey ::= SEQUENCE {
rid KeyAgreeRecipientIdentifier,
encryptedKey EncryptedKey}
EncryptedKey ::= OCTET STRING
- See Also:
KeyAgreeRecipientInfo
Method Summary |
abstract byte[] |
getEncryptedKey()
Returns the value of the encrypted content encryption key for
the intending recipient of this RecipientEncryptedKey |
abstract KeyAgreeRecipientIdentifier |
getRecipientId()
Returns the identifier for the intending recipient of this
RecipientEncryptedKey |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RecipientEncryptedKey
public RecipientEncryptedKey()
getEncryptedKey
public abstract byte[] getEncryptedKey()
- Returns the value of the encrypted content encryption key for
the intending recipient of this RecipientEncryptedKey
getRecipientId
public abstract KeyAgreeRecipientIdentifier getRecipientId()
- Returns the identifier for the intending recipient of this
RecipientEncryptedKey