Bouncy Castle Cryptography Library 1.87

org.bouncycastle.cms.jcajce
Class JceKTSKeyTransEnvelopedRecipient

java.lang.Object
  extended byorg.bouncycastle.cms.AbstractRecipient
      extended byorg.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient
          extended byorg.bouncycastle.cms.jcajce.JceKTSKeyTransEnvelopedRecipient
All Implemented Interfaces:
KeyTransRecipient, Recipient

public class JceKTSKeyTransEnvelopedRecipient
extends JceKTSKeyTransRecipient

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


Field Summary
 
Fields inherited from class org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize
 
Constructor Summary
JceKTSKeyTransEnvelopedRecipient(java.security.PrivateKey recipientKey, KeyTransRecipientId recipientId)
           
 
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.JceKTSKeyTransRecipient
extractSecretKey, getPartyVInfoFromRID, setAlgorithmMapping, setAllowedContentAlgorithms, setContentProvider, setContentProvider, setKeySizeValidation, setMinimumTagSize, setProvider, setProvider
 
Methods inherited from class org.bouncycastle.cms.AbstractRecipient
checkContentAlgorithm, checkTagSize, isContentAlgorithmAllowed, setAllowedContentAlgorithmSet, setMinimumTagSizeInBits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKTSKeyTransEnvelopedRecipient

public JceKTSKeyTransEnvelopedRecipient(java.security.PrivateKey recipientKey,
                                        KeyTransRecipientId recipientId)
                                 throws java.io.IOException
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.87