Org.BouncyCastle.Tls.TlsException
namespace Org.BouncyCastle.Tls
{
public interface TlsServer : TlsPeer
{
void Init(TlsServerContext context);
TlsSession GetSessionToResume(byte[] sessionID);
byte[] GetNewSessionID();
TlsPskExternal GetExternalPsk(IList<PskIdentity> identities);
void NotifySession(TlsSession session);
void NotifyClientVersion(ProtocolVersion clientVersion);
void NotifyFallback(bool isFallback);
void NotifyOfferedCipherSuites(int[] offeredCipherSuites);
void ProcessClientExtensions(IDictionary<int, byte[]> clientExtensions);
ProtocolVersion GetServerVersion();
int[] GetSupportedGroups();
int GetSelectedCipherSuite();
IDictionary<int, byte[]> GetServerExtensions();
void GetServerExtensionsForConnection(IDictionary<int, byte[]> serverExtensions);
IList<SupplementalDataEntry> GetServerSupplementalData();
TlsCredentials GetCredentials();
CertificateStatus GetCertificateStatus();
CertificateRequest GetCertificateRequest();
TlsPskIdentityManager GetPskIdentityManager();
TlsSrpLoginParameters GetSrpLoginParameters();
TlsDHConfig GetDHConfig();
TlsECConfig GetECDHConfig();
void ProcessClientSupplementalData(IList<SupplementalDataEntry> clientSupplementalData);
void NotifyClientCertificate(Certificate clientCertificate);
NewSessionTicket GetNewSessionTicket();
}
}
namespace Org.BouncyCastle.Tls
{
public class TlsException : IOException
{
public TlsException();
public TlsException(string message);
public TlsException(string message, Exception innerException);
protected TlsException(SerializationInfo info, StreamingContext context);
}
}