Top Description Fields Constructors Methods
org.bouncycastle.cms.jcajce

public Class JceKTSKeyTransEnvelopedRecipient

extends JceKTSKeyTransRecipient
Class Inheritance
Imports
java.io.IOException, .InputStream, java.security.Key, .PrivateKey, javax.crypto.Cipher, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cms.CMSException, .KeyTransRecipientId, .RecipientOperator, org.bouncycastle.jcajce.io.CipherInputStream, org.bouncycastle.operator.InputDecryptor

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

Inherited from org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient:
contentHelperextraMappingshelperunwrappedKeyMustBeEncodablevalidateKeySize

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public RecipientOperator
getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)

Implements org.bouncycastle.cms.KeyTransRecipient.getRecipientOperator.

Inherited from org.bouncycastle.cms.jcajce.JceKTSKeyTransRecipient:
extractSecretKeygetPartyVInfoFromRIDsetAlgorithmMappingsetContentProvidersetContentProvidersetKeySizeValidationsetProvidersetProvider

Constructor Detail

JceKTSKeyTransEnvelopedRecipientback to summary
public JceKTSKeyTransEnvelopedRecipient(PrivateKey recipientKey, KeyTransRecipientId recipientId) throws IOException

Method Detail

getRecipientOperatorback to summary
public RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException

Implements org.bouncycastle.cms.KeyTransRecipient.getRecipientOperator.