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

Org.BouncyCastle.Pqc.Crypto.Cmce.CmcePrivateKeyParameters

A Classic McEliece private (decapsulation) key, represented by its raw byte encoding.
public CmcePrivateKeyParameters(CmceParameters parameters, byte[] privateKey)

Creates a Classic McEliece private key from its raw encoding.

public CmcePrivateKeyParameters(CmceParameters parameters, byte[] delta, byte[] C, byte[] g, byte[] alpha, byte[] s)

Creates a Classic McEliece private key from its component fields.

public byte[] GetEncoded()

Returns a copy of the raw private key encoding.

public byte[] GetPrivateKey()

Returns a copy of the raw private key bytes.

public byte[] ReconstructPublicKey()

Reconstructs the matching public key from this private key.