AbstractECLookupTable.cs 487 B

1234567891011121314151617181920
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC
  5. {
  6. public abstract class AbstractECLookupTable
  7. : ECLookupTable
  8. {
  9. public abstract ECPoint Lookup(int index);
  10. public abstract int Size { get; }
  11. public virtual ECPoint LookupVar(int index)
  12. {
  13. return Lookup(index);
  14. }
  15. }
  16. }
  17. #pragma warning restore
  18. #endif