Package org.bouncycastle.cms.bc
Class BcKeyTransRecipient
java.lang.Object
org.bouncycastle.cms.bc.BcKeyTransRecipient
- All Implemented Interfaces:
KeyTransRecipient
,Recipient
- Direct Known Subclasses:
BcRSAKeyTransEnvelopedRecipient
-
Constructor Summary
ConstructorDescriptionBcKeyTransRecipient
(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bouncycastle.crypto.CipherParameters
extractSecretKey
(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bouncycastle.cms.KeyTransRecipient
getRecipientOperator
-
Constructor Details
-
BcKeyTransRecipient
public BcKeyTransRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey)
-
-
Method Details
-
extractSecretKey
protected org.bouncycastle.crypto.CipherParameters extractSecretKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) throws CMSException - Throws:
CMSException
-