init commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user