123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- using System;
- using System.IO;
- namespace Org.BouncyCastle.Crypto.Tls
- {
- public interface TlsPeer
- {
-
-
-
-
-
-
-
-
-
-
- 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();
- }
- }
- #endif
|