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

SubjectPublicKeyInfo

public DerBitString PublicKey { get; }

Return the public key as a raw bit string.

public DerBitString PublicKeyData { get; }

Return the public key as a raw bit string.

public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] publicKey)

public SubjectPublicKeyInfo(AlgorithmIdentifier algID, ReadOnlySpan<byte> publicKey)

public static SubjectPublicKeyInfo GetInstance(object obj)

public static SubjectPublicKeyInfo GetInstance(Asn1TaggedObject obj, bool explicitly)

public static SubjectPublicKeyInfo GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)