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

EncryptedContentInfo

public EncryptedContentInfo(DerObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, Asn1OctetString encryptedContent)

public static EncryptedContentInfo GetInstance(object obj)

public static EncryptedContentInfo GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)