EdDsaPublicBcpgKey.cs 809 B

1234567891011121314151617181920212223242526272829
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1;
  4. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Math;
  5. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
  6. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Bcpg
  7. {
  8. public sealed class EdDsaPublicBcpgKey
  9. : ECPublicBcpgKey
  10. {
  11. internal EdDsaPublicBcpgKey(BcpgInputStream bcpgIn)
  12. : base(bcpgIn)
  13. {
  14. }
  15. public EdDsaPublicBcpgKey(DerObjectIdentifier oid, ECPoint point)
  16. : base(oid, point)
  17. {
  18. }
  19. public EdDsaPublicBcpgKey(DerObjectIdentifier oid, BigInteger encodedPoint)
  20. : base(oid, encodedPoint)
  21. {
  22. }
  23. }
  24. }
  25. #pragma warning restore
  26. #endif