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

public Class JceKeyTransAuthenticatedRecipient

extends JceKeyTransRecipient
Class Inheritance
Imports
java.io.OutputStream, java.security.Key, .PrivateKey, javax.crypto.Mac, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cms.CMSException, .RecipientOperator, org.bouncycastle.jcajce.io.MacOutputStream, org.bouncycastle.operator.GenericKey, .MacCalculator, org.bouncycastle.operator.jcajce.JceGenericKey

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

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.bouncycastle.cms.KeyTransRecipient.getRecipientOperator.

Inherited from org.bouncycastle.cms.jcajce.JceKeyTransRecipient:
extractSecretKeysetAlgorithmMappingsetContentProvidersetContentProvidersetKeySizeValidationsetMustProduceEncodableUnwrappedKeysetProvidersetProvider

Constructor Detail

JceKeyTransAuthenticatedRecipientback to summary
public JceKeyTransAuthenticatedRecipient(PrivateKey recipientKey)

Method Detail

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

Implements org.bouncycastle.cms.KeyTransRecipient.getRecipientOperator.