package org.bouncycastle.crypto.tls;

import org.bouncycastle.crypto.params.AsymmetricKeyParameter;

public interface TlsAgreementCredentials extends TlsCredentials
{
    byte[] generateAgreement(AsymmetricKeyParameter serverPublicKey);
}

@@ -31,16 +31,45 @@
 o.tls;%0A%0A
+import java.io.IOException;%0A%0A
 import o
@@ -257,12 +257,31 @@
 blicKey)
+ throws IOException
 ;%0A%7D%0A

Declare IOException as throwable