Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms.jcajce
Class JceKeyTransAuthenticatedRecipient

java.lang.Object
  |
  +--org.bouncycastle.cms.jcajce.JceKeyTransRecipient
        |
        +--org.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.


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

Bouncy Castle Cryptography Library 1.79