package org.spongycastle.crypto.tls; import java.io.IOException; import org.spongycastle.crypto.params.AsymmetricKeyParameter; public interface TlsAgreementCredentials extends TlsCredentials { byte[] generateAgreement(AsymmetricKeyParameter serverPublicKey) throws IOException; }