public abstract class

KeyAgreeRecipientInfoGenerator

extends Object
implements RecipientInfoGenerator
java.lang.Object
   ↳ org.bouncycastle.cms.KeyAgreeRecipientInfoGenerator
Known Direct Subclasses

Summary

Protected Constructors
KeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID, SubjectPublicKeyInfo originatorKeyInfo, ASN1ObjectIdentifier keyEncryptionOID)
Public Methods
RecipientInfo generate(GenericKey contentEncryptionKey)
Protected Methods
OriginatorPublicKey createOriginatorPublicKey(SubjectPublicKeyInfo originatorKeyInfo)
abstract ASN1Sequence generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey)
abstract ASN1Encodable getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.RecipientInfoGenerator

Protected Constructors

protected KeyAgreeRecipientInfoGenerator (ASN1ObjectIdentifier keyAgreementOID, SubjectPublicKeyInfo originatorKeyInfo, ASN1ObjectIdentifier keyEncryptionOID)

Public Methods

public RecipientInfo generate (GenericKey contentEncryptionKey)

Throws
CMSException

Protected Methods

protected OriginatorPublicKey createOriginatorPublicKey (SubjectPublicKeyInfo originatorKeyInfo)

protected abstract ASN1Sequence generateRecipientEncryptedKeys (AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey)

Throws
CMSException

protected abstract ASN1Encodable getUserKeyingMaterial (AlgorithmIdentifier keyAgreeAlgorithm)

Throws
CMSException