package org.bouncycastle.crypto.tls;
import java.io.IOException;
public abstract class AbstractTlsPeer
implements TlsPeer
{
public boolean requiresExtendedMasterSecret()
{
return false;
}
public boolean shouldUseGMTUnixTime()
{
return false;
}
public void notifySecureRenegotiation(boolean secureRenegotiation) throws IOException
{
if (!secureRenegotiation)
{
throw new TlsFatalAlert(AlertDescription.handshake_failure);
}
}
public void notifyAlertRaised(short alertLevel, short alertDescription, String message, Throwable cause)
{
}
public void notifyAlertReceived(short alertLevel, short alertDescription)
{
}
public void notifyHandshakeComplete() throws IOException
{
}
}