23 lines
474 B
C#
23 lines
474 B
C#
using System;
|
|
|
|
namespace Org.BouncyCastle.Crypto.Tls;
|
|
|
|
public interface TlsPeer
|
|
{
|
|
bool RequiresExtendedMasterSecret();
|
|
|
|
bool ShouldUseGmtUnixTime();
|
|
|
|
void NotifySecureRenegotiation(bool secureRenegotiation);
|
|
|
|
TlsCompression GetCompression();
|
|
|
|
TlsCipher GetCipher();
|
|
|
|
void NotifyAlertRaised(byte alertLevel, byte alertDescription, string message, Exception cause);
|
|
|
|
void NotifyAlertReceived(byte alertLevel, byte alertDescription);
|
|
|
|
void NotifyHandshakeComplete();
|
|
}
|