43 lines
958 B
C#
43 lines
958 B
C#
using System.Collections;
|
|
|
|
namespace Org.BouncyCastle.Crypto.Tls;
|
|
|
|
public interface TlsServer : TlsPeer
|
|
{
|
|
void Init(TlsServerContext context);
|
|
|
|
void NotifyClientVersion(ProtocolVersion clientVersion);
|
|
|
|
void NotifyFallback(bool isFallback);
|
|
|
|
void NotifyOfferedCipherSuites(int[] offeredCipherSuites);
|
|
|
|
void NotifyOfferedCompressionMethods(byte[] offeredCompressionMethods);
|
|
|
|
void ProcessClientExtensions(IDictionary clientExtensions);
|
|
|
|
ProtocolVersion GetServerVersion();
|
|
|
|
int GetSelectedCipherSuite();
|
|
|
|
byte GetSelectedCompressionMethod();
|
|
|
|
IDictionary GetServerExtensions();
|
|
|
|
IList GetServerSupplementalData();
|
|
|
|
TlsCredentials GetCredentials();
|
|
|
|
CertificateStatus GetCertificateStatus();
|
|
|
|
TlsKeyExchange GetKeyExchange();
|
|
|
|
CertificateRequest GetCertificateRequest();
|
|
|
|
void ProcessClientSupplementalData(IList clientSupplementalData);
|
|
|
|
void NotifyClientCertificate(Certificate clientCertificate);
|
|
|
|
NewSessionTicket GetNewSessionTicket();
|
|
}
|