Bouncy Castle Cryptography Library 1.59

org.bouncycastle.cms.jcajce
Class JceKeyTransAuthenticatedRecipient

java.lang.Object
  extended byorg.bouncycastle.cms.jcajce.JceKeyTransRecipient
      extended byorg.bouncycastle.cms.jcajce.JceKeyTransAuthenticatedRecipient
All Implemented Interfaces:
KeyTransRecipient, Recipient

public class JceKeyTransAuthenticatedRecipient
extends JceKeyTransRecipient

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.JceKeyTransRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize
 
Constructor Summary
JceKeyTransAuthenticatedRecipient(java.security.PrivateKey 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.JceKeyTransRecipient
extractSecretKey, setAlgorithmMapping, setContentProvider, setContentProvider, setKeySizeValidation, setMustProduceEncodableUnwrappedKey, setProvider, setProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKeyTransAuthenticatedRecipient

public JceKeyTransAuthenticatedRecipient(java.security.PrivateKey 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