TlsServerContextImpl.cs 575 B

123456789101112131415161718192021222324
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  6. {
  7. internal class TlsServerContextImpl
  8. : AbstractTlsContext, TlsServerContext
  9. {
  10. internal TlsServerContextImpl(TlsCrypto crypto)
  11. : base(crypto, ConnectionEnd.server)
  12. {
  13. }
  14. public override bool IsServer
  15. {
  16. get { return true; }
  17. }
  18. }
  19. }
  20. #pragma warning restore
  21. #endif