TlsCredentials.cs 522 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
  5. {
  6. /// <summary>Base interface for interfaces/classes carrying TLS credentials.</summary>
  7. public interface TlsCredentials
  8. {
  9. /// <summary>Return the certificate structure representing our identity.</summary>
  10. /// <returns>our certificate structure.</returns>
  11. Certificate Certificate { get; }
  12. }
  13. }
  14. #pragma warning restore
  15. #endif