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

Org.BouncyCastle.Pqc.Crypto.Hqc.HqcPrivateKeyParameters

An HQC private (decapsulation) key, represented by its raw byte encoding.
public byte[] PrivateKey { get; }

Obsolete. Use GetPrivateKey instead.

public HqcPrivateKeyParameters(HqcParameters param, byte[] sk)

Creates an HQC private key from its raw encoding.

public byte[] GetEncoded()

Returns a copy of the raw private key encoding.

public byte[] GetPrivateKey()

Returns a copy of the raw private key bytes.