public abstract class KeyAgreeRecipientInfoGenerator extends Object implements RecipientInfoGenerator
Modifier | Constructor and Description |
---|---|
protected |
KeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID,
SubjectPublicKeyInfo originatorKeyInfo,
ASN1ObjectIdentifier keyEncryptionOID) |
Modifier and Type | Method and Description |
---|---|
protected OriginatorPublicKey |
createOriginatorPublicKey(SubjectPublicKeyInfo originatorKeyInfo) |
RecipientInfo |
generate(GenericKey contentEncryptionKey) |
protected abstract ASN1Sequence |
generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm,
AlgorithmIdentifier keyEncAlgorithm,
GenericKey contentEncryptionKey) |
protected abstract ASN1Encodable |
getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm) |
protected KeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID, SubjectPublicKeyInfo originatorKeyInfo, ASN1ObjectIdentifier keyEncryptionOID)
public RecipientInfo generate(GenericKey contentEncryptionKey) throws CMSException
generate
in interface RecipientInfoGenerator
CMSException
protected OriginatorPublicKey createOriginatorPublicKey(SubjectPublicKeyInfo originatorKeyInfo)
protected abstract ASN1Sequence generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey) throws CMSException
CMSException
protected abstract ASN1Encodable getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm) throws CMSException
CMSException
Copyright © 2015. All rights reserved.