init commit

This commit is contained in:
2025-10-09 09:57:24 +09:00
commit 4d551bd74f
6636 changed files with 1218703 additions and 0 deletions

View File

@@ -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();
}