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

EncryptedPrivateKeyInfo

public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)

public static EncryptedPrivateKeyInfo GetInstance(object obj)

public static EncryptedPrivateKeyInfo GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

public static EncryptedPrivateKeyInfo GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

public byte[] GetEncryptedData()