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

PqcPublicKeyFactory

public static class PqcPublicKeyFactory
public static AsymmetricKeyParameter CreateKey(byte[] keyInfoData)

Create a public key from a SubjectPublicKeyInfo encoding

Create a public key from a SubjectPublicKeyInfo encoding read from a stream

Create a public key from the passed in SubjectPublicKeyInfo

public static AsymmetricKeyParameter CreateKey(SubjectPublicKeyInfo keyInfo, object defaultParams)

Create a public key from the passed in SubjectPublicKeyInfo