1 2 3 4 5 6 7 8 9 10 11 12 13
package org.spongycastle.crypto.tls; import java.io.IOException; import org.spongycastle.crypto.params.AsymmetricKeyParameter; public interface TlsAgreementCredentials extends TlsCredentials { byte[] generateAgreement(AsymmetricKeyParameter peerPublicKey) throws IOException; }