TlsCipherFactory.cs 353 B

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