Package org.bouncycastle.cms.jcajce
Class JceKTSKeyTransEnvelopedRecipient
java.lang.Object
org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient
org.bouncycastle.cms.jcajce.JceKTSKeyTransEnvelopedRecipient
- All Implemented Interfaces:
KeyTransRecipient
,Recipient
the KeyTransRecipient class for a recipient who has been sent secret
key material encrypted using their public key that needs to be used to
derive a key and extract a message.
-
Field Summary
Fields inherited from class org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize
-
Constructor Summary
ConstructorDescriptionJceKTSKeyTransEnvelopedRecipient
(PrivateKey recipientKey, KeyTransRecipientId recipientId) -
Method Summary
Modifier and TypeMethodDescriptiongetRecipientOperator
(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) Methods inherited from class org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient
extractSecretKey, getPartyVInfoFromRID, setAlgorithmMapping, setContentProvider, setContentProvider, setKeySizeValidation, setProvider, setProvider
-
Constructor Details
-
JceKTSKeyTransEnvelopedRecipient
public JceKTSKeyTransEnvelopedRecipient(PrivateKey recipientKey, KeyTransRecipientId recipientId) throws IOException - Throws:
IOException
-
-
Method Details
-
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException - Throws:
CMSException
-