TlsEncryptionCredentials.cs 435 B

12345678910111213141516
  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 TlsEncryptionCredentials
  8. : TlsCredentials
  9. {
  10. /// <exception cref="IOException"></exception>
  11. byte[] DecryptPreMasterSecret(byte[] encryptedPreMasterSecret);
  12. }
  13. }
  14. #pragma warning restore
  15. #endif