ServerOnlyTlsAuthentication.cs 523 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  5. {
  6. public abstract class ServerOnlyTlsAuthentication
  7. : TlsAuthentication
  8. {
  9. public abstract void NotifyServerCertificate(TlsServerCertificate serverCertificate);
  10. public TlsCredentials GetClientCredentials(CertificateRequest certificateRequest)
  11. {
  12. return null;
  13. }
  14. }
  15. }
  16. #pragma warning restore
  17. #endif