org.testifyproject.bouncycastle.cms.KeyAgreeRecipient Maven / Gradle / Ivy
The newest version!
package org.testifyproject.bouncycastle.cms;
import org.testifyproject.bouncycastle.asn1.ASN1OctetString;
import org.testifyproject.bouncycastle.asn1.x509.AlgorithmIdentifier;
import org.testifyproject.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();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy