TlsClientContextImpl.cs 543 B

123456789101112131415161718192021222324
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. using Org.BouncyCastle.Security;
  4. namespace Org.BouncyCastle.Crypto.Tls
  5. {
  6. internal class TlsClientContextImpl
  7. : AbstractTlsContext, TlsClientContext
  8. {
  9. internal TlsClientContextImpl(SecureRandom secureRandom, SecurityParameters securityParameters)
  10. : base(secureRandom, securityParameters)
  11. {
  12. }
  13. public override bool IsServer
  14. {
  15. get { return false; }
  16. }
  17. }
  18. }
  19. #endif