public abstract class KeyAgreeRecipientInfoGenerator extends java.lang.Object implements RecipientInfoGenerator
| Modifier | Constructor and Description |
|---|---|
protected |
KeyAgreeRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAgreementOID,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo,
org.bouncycastle.asn1.ASN1ObjectIdentifier keyEncryptionOID) |
| Modifier and Type | Method and Description |
|---|---|
protected org.bouncycastle.asn1.cms.OriginatorPublicKey |
createOriginatorPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo) |
org.bouncycastle.asn1.cms.RecipientInfo |
generate(GenericKey contentEncryptionKey) |
protected abstract org.bouncycastle.asn1.ASN1Sequence |
generateRecipientEncryptedKeys(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlgorithm,
GenericKey contentEncryptionKey) |
protected abstract byte[] |
getUserKeyingMaterial(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm) |
protected KeyAgreeRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAgreementOID,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo,
org.bouncycastle.asn1.ASN1ObjectIdentifier keyEncryptionOID)
public org.bouncycastle.asn1.cms.RecipientInfo generate(GenericKey contentEncryptionKey) throws CMSException
generate in interface RecipientInfoGeneratorCMSExceptionprotected org.bouncycastle.asn1.cms.OriginatorPublicKey createOriginatorPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo)
protected abstract org.bouncycastle.asn1.ASN1Sequence generateRecipientEncryptedKeys(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlgorithm,
GenericKey contentEncryptionKey)
throws CMSException
CMSExceptionprotected abstract byte[] getUserKeyingMaterial(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm)
throws CMSException
CMSException