<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.X509.X509CertificateParser

public class X509CertificateParser
Class for dealing with X509 certificates.

public X509Certificate ReadCertificate(byte[] input)

Create loading data from byte array.

Generates a certificate object and initializes it with the data read from inStream.

public IList<X509Certificate> ReadCertificates(byte[] input)

Create loading data from byte array.

Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.