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

BcTlsEd448Signer

public class BcTlsEd448Signer : BcTlsSigner
using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Signers; using System; namespace Org.BouncyCastle.Tls.Crypto.Impl.BC { public class BcTlsEd448Signer : BcTlsSigner { public BcTlsEd448Signer(BcTlsCrypto crypto, Ed448PrivateKeyParameters privateKey) : base(crypto, privateKey) { } public override TlsStreamSigner GetStreamSigner(SignatureAndHashAlgorithm algorithm) { if (algorithm == null || SignatureScheme.From(algorithm) != 2056) throw new InvalidOperationException("Invalid algorithm: " + algorithm?.ToString()); Ed448Signer ed448Signer = new Ed448Signer(TlsUtilities.EmptyBytes); ed448Signer.Init(true, m_privateKey); return new BcTlsStreamSigner(ed448Signer); } } }