org.bouncycastle.cms.jcajce
Class JceKeyAgreeAuthEnvelopedRecipient
java.lang.Object
org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient
org.bouncycastle.cms.jcajce.JceKeyAgreeAuthEnvelopedRecipient
- All Implemented Interfaces:
- KeyAgreeRecipient, Recipient
- public class JceKeyAgreeAuthEnvelopedRecipient
- extends JceKeyAgreeRecipient
A recipient class for CMS authenticated enveloped data using key agreement (Key Agreement Recipient).
Handles private key-based key extraction and content decryption.
Method Summary |
RecipientOperator |
getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo senderPublicKey,
org.bouncycastle.asn1.ASN1OctetString userKeyingMaterial,
byte[] encryptedContentKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JceKeyAgreeAuthEnvelopedRecipient
public JceKeyAgreeAuthEnvelopedRecipient(java.security.PrivateKey recipientKey)
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo senderPublicKey,
org.bouncycastle.asn1.ASN1OctetString userKeyingMaterial,
byte[] encryptedContentKey)
throws CMSException
- Throws:
CMSException