io.gatling.recorder.internal.bouncycastle.crypto.EncapsulatedSecretGenerator Maven / Gradle / Ivy
package io.gatling.recorder.internal.bouncycastle.crypto;
import io.gatling.recorder.internal.bouncycastle.crypto.params.AsymmetricKeyParameter;
public interface EncapsulatedSecretGenerator
{
/**
* Generate secret/encapsulation based on the recipient public key.
*
* @return An SecretWithEncapsulation derived from the recipient public key.
*/
SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey);
}