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

Org.BouncyCastle.Pqc.Crypto.Hqc.HqcPublicKeyParameters

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

Obsolete. Use GetPublicKey instead.

public HqcPublicKeyParameters(HqcParameters param, byte[] pk)

Creates an HQC public key from its raw encoding.

public byte[] GetEncoded()

Returns a copy of the raw public key encoding.

public byte[] GetPublicKey()

Returns a copy of the raw public key bytes.