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

EncryptedData

public class EncryptedData : Asn1Encodable
public Asn1OctetString Content { get; }

public EncryptedData(DerObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, Asn1Encodable content)

public static EncryptedData GetInstance(object obj)

public static EncryptedData GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

public static EncryptedData GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)