Bouncy Castle Cryptography Library 1.81

org.bouncycastle.cms.jcajce
Class JceKEKAuthEnvelopedRecipient

java.lang.Object
  extended byorg.bouncycastle.cms.jcajce.JceKEKRecipient
      extended byorg.bouncycastle.cms.jcajce.JceKEKAuthEnvelopedRecipient
All Implemented Interfaces:
KEKRecipient, Recipient

public class JceKEKAuthEnvelopedRecipient
extends JceKEKRecipient

A recipient for CMS authenticated enveloped data encrypted with a KEK (Key Encryption Key). Handles key extraction and decryption of the content.


Field Summary
 
Fields inherited from class org.bouncycastle.cms.jcajce.JceKEKRecipient
contentHelper, helper, validateKeySize
 
Constructor Summary
JceKEKAuthEnvelopedRecipient(javax.crypto.SecretKey recipientKey)
           
 
Method Summary
 RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)
           
 
Methods inherited from class org.bouncycastle.cms.jcajce.JceKEKRecipient
extractSecretKey, setContentProvider, setContentProvider, setKeySizeValidation, setProvider, setProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKEKAuthEnvelopedRecipient

public JceKEKAuthEnvelopedRecipient(javax.crypto.SecretKey recipientKey)
Method Detail

getRecipientOperator

public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                              org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                              byte[] encryptedContentEncryptionKey)
                                       throws CMSException
Throws:
CMSException

Bouncy Castle Cryptography Library 1.81