<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Crypto.Parameters.X25519PublicKeyParameters

X25519 public key (RFC 7748). Holds the 32-byte u-coordinate of the peer's curve point. The encoding is stored verbatim; validation of the point is performed during scalar multiplication in the agreement primitive.
namespace Org.BouncyCastle.Crypto.Parameters { public sealed class X25519PublicKeyParameters : AsymmetricKeyParameter { public static readonly int KeySize; public X25519PublicKeyParameters(byte[] buf); public X25519PublicKeyParameters(byte[] buf, int off); public X25519PublicKeyParameters(Stream input); public void Encode(byte[] buf, int off); public byte[] GetEncoded(); } }