Bouncy Castle Cryptography Library 1.81

org.bouncycastle.cms.jcajce
Class JceKeyAgreeAuthEnvelopedRecipient

java.lang.Object
  extended byorg.bouncycastle.cms.jcajce.JceKeyAgreeRecipient
      extended byorg.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.


Field Summary
 
Fields inherited from class org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient
contentHelper, helper, unwrappingHelper
 
Constructor Summary
JceKeyAgreeAuthEnvelopedRecipient(java.security.PrivateKey recipientKey)
           
 
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 org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient
extractSecretKey, getPrivateKeyAlgorithmIdentifier, setContentProvider, setContentProvider, setPrivateKeyAlgorithmIdentifier, setProvider, setProvider, setUnwrappingProvider, setUnwrappingProvider, unwrapSessionKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKeyAgreeAuthEnvelopedRecipient

public JceKeyAgreeAuthEnvelopedRecipient(java.security.PrivateKey recipientKey)
Method Detail

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

Bouncy Castle Cryptography Library 1.81