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

public Class JceKeyAgreeAuthEnvelopedRecipient

extends JceKeyAgreeRecipient
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1OctetString, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .SubjectPublicKeyInfo, org.bouncycastle.cms.CMSException, .RecipientOperator, javax.crypto.Cipher, java.security.Key, .PrivateKey

A recipient class for CMS authenticated enveloped data using key agreement (Key Agreement Recipient). Handles private key-based key extraction and content decryption.

Field Summary

Inherited from org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient:
contentHelperhelperunwrappingHelper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public RecipientOperator
getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey)

Implements org.bouncycastle.cms.KeyAgreeRecipient.getRecipientOperator.

Inherited from org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient:
extractSecretKeygetPrivateKeyAlgorithmIdentifiersetContentProvidersetContentProvidersetPrivateKeyAlgorithmIdentifiersetProvidersetProvidersetUnwrappingProvidersetUnwrappingProviderunwrapSessionKey

Constructor Detail

JceKeyAgreeAuthEnvelopedRecipientback to summary
public JceKeyAgreeAuthEnvelopedRecipient(PrivateKey recipientKey)

Method Detail

getRecipientOperatorback to summary
public RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey) throws CMSException

Implements org.bouncycastle.cms.KeyAgreeRecipient.getRecipientOperator.