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

Org.BouncyCastle.Crypto.Parameters.Ed448PublicKeyParameters

Ed448 public key (RFC 8032). Wraps a decoded curve point obtained from a 57-byte encoded representation; the point is validated at construction.
public static readonly int KeySize

Length in bytes of an Ed448 public key encoding (57).

public Ed448PublicKeyParameters(byte[] buf)

Construct from a 57-byte buffer holding the encoded public point.

public Ed448PublicKeyParameters(byte[] buf, int off)

Construct from buf at off; reads KeySize bytes.

Read KeySize encoded bytes from input and decode them.

Construct from an already-decoded curve point. No further validation is performed.

public void Encode(byte[] buf, int off)

Write the 57-byte encoded public point into buf at off.

public byte[] GetEncoded()

Return a fresh copy of the 57-byte encoded public point.

public bool Verify(Algorithm algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)

Verify an Ed448 signature. Both Ed448 and Ed448ph require a non-null context up to 255 bytes; Ed448ph additionally requires msgLen to equal PrehashSize.