TlsCipherFactory.cs 423 B

123456789101112131415
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
  6. {
  7. public interface TlsCipherFactory
  8. {
  9. /// <exception cref="IOException"></exception>
  10. TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm);
  11. }
  12. }
  13. #pragma warning restore
  14. #endif