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

Org.BouncyCastle.Pqc.Crypto.Crystals.Kyber.KyberEngine

class KyberEngine
namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Kyber { internal class KyberEngine { public const int N = 256; public const int Q = 3329; public const int QInv = 62209; public static int SymBytes; public static int PolyBytes; public const int Eta2 = 2; public int IndCpaMsgBytes; public Symmetric Symmetric { get; } public int K { get; } public int PolyVecBytes { get; } public int PolyCompressedBytes { get; } public int PolyVecCompressedBytes { get; } public int Eta1 { get; } public int IndCpaPublicKeyBytes { get; } public int IndCpaSecretKeyBytes { get; } public int IndCpaBytes { get; } public int PublicKeyBytes { get; } public int SecretKeyBytes { get; } public int CipherTextBytes { get; } public int CryptoBytes { get; } public int CryptoSecretKeyBytes { get; } public int CryptoPublicKeyBytes { get; } public int CryptoCipherTextBytes { get; } public KyberEngine(int k, bool usingAes); } } namespace Org.BouncyCastle.Tls { public sealed class Certificate { public sealed class ParseOptions { public short CertificateType { get; set; } public int MaxChainLength { get; set; } public ParseOptions(); } public static readonly Certificate EmptyChain; public static readonly Certificate EmptyChainTls13; public short CertificateType { get; } public int Length { get; } public bool IsEmpty { get; } public Certificate(Org.BouncyCastle.Tls.Crypto.TlsCertificate[] certificateList); public Certificate(byte[] certificateRequestContext, CertificateEntry[] certificateEntryList); public Certificate(short certificateType, byte[] certificateRequestContext, CertificateEntry[] certificateEntryList); public byte[] GetCertificateRequestContext(); public Org.BouncyCastle.Tls.Crypto.TlsCertificate[] GetCertificateList(); public Org.BouncyCastle.Tls.Crypto.TlsCertificate GetCertificateAt(int index); public CertificateEntry GetCertificateEntryAt(int index); public CertificateEntry[] GetCertificateEntryList(); public void Encode(TlsContext context, System.IO.Stream messageOutput, System.IO.Stream endPointHashOutput); public static Certificate Parse(ParseOptions options, TlsContext context, System.IO.Stream messageInput, System.IO.Stream endPointHashOutput); } }