blob: 08d838045e862e96707d1a4fa7175a1768e3ec74 [file] [log] [blame]
package org.bouncycastle.cms;
import org.bouncycastle.asn1.ASN1OctetString;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
public interface KeyAgreeRecipient
extends Recipient
{
RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey)
throws CMSException;
AlgorithmIdentifier getPrivateKeyAlgorithmIdentifier();
}