TlsCertificateRole.cs 419 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. public abstract class TlsCertificateRole
  7. {
  8. public const int DH = 1;
  9. public const int ECDH = 2;
  10. public const int RsaEncryption = 3;
  11. public const int Sm2Encryption = 4;
  12. }
  13. }
  14. #pragma warning restore
  15. #endif