ECDsaPublicBCPGKey.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
  5. using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
  6. using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
  7. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Bcpg
  8. {
  9. /// <remarks>Base class for an ECDSA Public Key.</remarks>
  10. public class ECDsaPublicBcpgKey
  11. : ECPublicBcpgKey
  12. {
  13. /// <param name="bcpgIn">The stream to read the packet from.</param>
  14. protected internal ECDsaPublicBcpgKey(
  15. BcpgInputStream bcpgIn)
  16. : base(bcpgIn)
  17. {
  18. }
  19. public ECDsaPublicBcpgKey(
  20. DerObjectIdentifier oid,
  21. ECPoint point)
  22. : base(oid, point)
  23. {
  24. }
  25. public ECDsaPublicBcpgKey(
  26. DerObjectIdentifier oid,
  27. BigInteger encodedPoint)
  28. : base(oid, encodedPoint)
  29. {
  30. }
  31. }
  32. }
  33. #pragma warning restore
  34. #endif