DefaultTls13Client.cs 616 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. using System.Collections.Generic;
  4. using BestHTTP.Connections.TLS.Crypto;
  5. using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
  6. using BestHTTP.SecureProtocol.Org.BouncyCastle.Tls;
  7. namespace BestHTTP.Connections.TLS
  8. {
  9. public class DefaultTls13Client : AbstractTls13Client
  10. {
  11. public DefaultTls13Client(HTTPRequest request, List<ServerName> sniServerNames, List<ProtocolName> protocols)
  12. : base(request, sniServerNames, protocols, new FastTlsCrypto(new SecureRandom()))
  13. {
  14. }
  15. }
  16. }
  17. #endif