Package org.bouncycastle.cms.jcajce
Class JceKeyTransAuthenticatedRecipient
- java.lang.Object
-
- org.bouncycastle.cms.jcajce.JceKeyTransRecipient
-
- org.bouncycastle.cms.jcajce.JceKeyTransAuthenticatedRecipient
-
- All Implemented Interfaces:
KeyTransRecipient
,Recipient
public class JceKeyTransAuthenticatedRecipient extends JceKeyTransRecipient
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.JceKeyTransRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize
-
-
Constructor Summary
Constructors Constructor Description JceKeyTransAuthenticatedRecipient(java.security.PrivateKey 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.JceKeyTransRecipient
extractSecretKey, setAlgorithmMapping, setContentProvider, setContentProvider, setKeySizeValidation, setMustProduceEncodableUnwrappedKey, 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
-
-