DefaultTls13Client.cs 644 B

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