Package org.bouncycastle.cms
Class KeyAgreeRecipientInfoGenerator
- java.lang.Object
 - 
- org.bouncycastle.cms.KeyAgreeRecipientInfoGenerator
 
 
- 
- All Implemented Interfaces:
 RecipientInfoGenerator
- Direct Known Subclasses:
 JceKeyAgreeRecipientInfoGenerator
public abstract class KeyAgreeRecipientInfoGenerator extends java.lang.Object implements RecipientInfoGenerator
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedKeyAgreeRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAgreementOID, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo, org.bouncycastle.asn1.ASN1ObjectIdentifier keyEncryptionOID) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.bouncycastle.asn1.cms.OriginatorPublicKeycreateOriginatorPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo)org.bouncycastle.asn1.cms.RecipientInfogenerate(GenericKey contentEncryptionKey)protected abstract org.bouncycastle.asn1.ASN1SequencegenerateRecipientEncryptedKeys(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey)protected abstract byte[]getUserKeyingMaterial(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm) 
 - 
 
- 
- 
Method Detail
- 
generate
public org.bouncycastle.asn1.cms.RecipientInfo generate(GenericKey contentEncryptionKey) throws CMSException
- Specified by:
 generatein interfaceRecipientInfoGenerator- Throws:
 CMSException
 
- 
createOriginatorPublicKey
protected org.bouncycastle.asn1.cms.OriginatorPublicKey createOriginatorPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo)
 
- 
generateRecipientEncryptedKeys
protected abstract org.bouncycastle.asn1.ASN1Sequence generateRecipientEncryptedKeys(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey) throws CMSException- Throws:
 CMSException
 
- 
getUserKeyingMaterial
protected abstract byte[] getUserKeyingMaterial(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm) throws CMSException- Throws:
 CMSException
 
 - 
 
 -