Package org.bouncycastle.cms.jcajce
Class JceKEKAuthenticatedRecipient
- java.lang.Object
-
- org.bouncycastle.cms.jcajce.JceKEKRecipient
-
- org.bouncycastle.cms.jcajce.JceKEKAuthenticatedRecipient
-
- All Implemented Interfaces:
KEKRecipient
,Recipient
public class JceKEKAuthenticatedRecipient extends JceKEKRecipient
the KeyTransRecipientInformation class for a recipient who has been sent a secret key encrypted using their public key that needs to be used to extract the message.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.cms.jcajce.JceKEKRecipient
contentHelper, helper, validateKeySize
-
-
Constructor Summary
Constructors Constructor Description JceKEKAuthenticatedRecipient(javax.crypto.SecretKey recipientKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipientOperator
getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentMacAlgorithm, byte[] encryptedContentEncryptionKey)
-
Methods inherited from class org.bouncycastle.cms.jcajce.JceKEKRecipient
extractSecretKey, setContentProvider, setContentProvider, setKeySizeValidation, setProvider, setProvider
-
-
-
-
Method Detail
-
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentMacAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException
- Throws:
CMSException
-
-