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

Org.BouncyCastle.Pqc.Crypto.Utilities.PqcOtherInfoGenerator

public abstract class PqcOtherInfoGenerator
namespace Org.BouncyCastle.Pqc.Crypto.Utilities { public abstract class PqcOtherInfoGenerator { public sealed class PartyU : PqcOtherInfoGenerator { public PartyU(IKemParameters kemParams, AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random); public PqcOtherInfoGenerator WithSuppPubInfo(byte[] suppPubInfo); public byte[] GetSuppPrivInfoPartA(); public DerOtherInfo Generate(byte[] suppPrivInfoPartB); } public sealed class PartyV : PqcOtherInfoGenerator { public PartyV(IKemParameters kemParams, AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random); public PqcOtherInfoGenerator WithSuppPubInfo(byte[] suppPubInfo); public byte[] GetSuppPrivInfoPartB(byte[] suppPrivInfoPartA); public DerOtherInfo Generate(); } protected readonly DerOtherInfo.Builder m_otherInfoBuilder; protected readonly SecureRandom m_random; protected bool m_used; } }