EdECObjectIdentifiers.cs 851 B

123456789101112131415161718192021
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.EdEC
  5. {
  6. /**
  7. * Edwards Elliptic Curve Object Identifiers (RFC 8410)
  8. */
  9. public abstract class EdECObjectIdentifiers
  10. {
  11. public static readonly DerObjectIdentifier id_edwards_curve_algs = new DerObjectIdentifier("1.3.101");
  12. public static readonly DerObjectIdentifier id_X25519 = id_edwards_curve_algs.Branch("110");
  13. public static readonly DerObjectIdentifier id_X448 = id_edwards_curve_algs.Branch("111");
  14. public static readonly DerObjectIdentifier id_Ed25519 = id_edwards_curve_algs.Branch("112");
  15. public static readonly DerObjectIdentifier id_Ed448 = id_edwards_curve_algs.Branch("113");
  16. }
  17. }
  18. #pragma warning restore
  19. #endif