TlsECDomain.cs 558 B

12345678910111213141516
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
  5. {
  6. /// <summary>Domain interface to service factory for creating Elliptic-Curve (EC) based operators.</summary>
  7. public interface TlsECDomain
  8. {
  9. /// <summary>Return an agreement operator suitable for ephemeral EC Diffie-Hellman.</summary>
  10. /// <returns>a key agreement operator.</returns>
  11. TlsAgreement CreateECDH();
  12. }
  13. }
  14. #pragma warning restore
  15. #endif