Top Fields Constructors Methods
org.bouncycastle.cms

public abstract Class KeyAgreeRecipientInfoGenerator

extends Object
implements RecipientInfoGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cms.RecipientInfoGenerator
Known Direct Subclasses
org.bouncycastle.cms.jcajce.JceKeyAgreeRecipientInfoGenerator
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, .ASN1Sequence, .DERNull, .DEROctetString, org.bouncycastle.asn1.cms.KeyAgreeRecipientInfo, .OriginatorIdentifierOrKey, .OriginatorPublicKey, .RecipientInfo, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .SubjectPublicKeyInfo, org.bouncycastle.operator.GenericKey

Field Summary

Modifier and TypeField and Description
private ASN1ObjectIdentifier
private ASN1ObjectIdentifier
private SubjectPublicKeyInfo

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected OriginatorPublicKey
public RecipientInfo
protected abstract ASN1Sequence
generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey)

protected abstract byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyAgreementOIDback to summary
private ASN1ObjectIdentifier keyAgreementOID
keyEncryptionOIDback to summary
private ASN1ObjectIdentifier keyEncryptionOID
originatorKeyInfoback to summary
private SubjectPublicKeyInfo originatorKeyInfo

Constructor Detail

KeyAgreeRecipientInfoGeneratorback to summary
protected KeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID, SubjectPublicKeyInfo originatorKeyInfo, ASN1ObjectIdentifier keyEncryptionOID)

Method Detail

createOriginatorPublicKeyback to summary
protected OriginatorPublicKey createOriginatorPublicKey(SubjectPublicKeyInfo originatorKeyInfo)
generateback to summary
public RecipientInfo generate(GenericKey contentEncryptionKey) throws CMSException

Implements org.bouncycastle.cms.RecipientInfoGenerator.generate.

generateRecipientEncryptedKeysback to summary
protected abstract ASN1Sequence generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey) throws CMSException
getUserKeyingMaterialback to summary
protected abstract byte[] getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm) throws CMSException