Bouncy Castle Cryptography Library 1.59

org.bouncycastle.cms.jcajce
Class JceKEKAuthenticatedRecipient

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

public class JceKEKAuthenticatedRecipient
extends JceKEKRecipient

the KeyTransRecipientInformation class for a recipient who has been sent a secret key encrypted using their public key that needs to be used to extract the message.


Field Summary
 
Fields inherited from class org.bouncycastle.cms.jcajce.JceKEKRecipient
contentHelper, helper, validateKeySize
 
Constructor Summary
JceKEKAuthenticatedRecipient(javax.crypto.SecretKey recipientKey)
           
 
Method Summary
 RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentMacAlgorithm, 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

JceKEKAuthenticatedRecipient

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

getRecipientOperator

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

Bouncy Castle Cryptography Library 1.59