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

Org.BouncyCastle.Cms.SignerInfoGenerator

public class SignerInfoGenerator
Pre-configured CMS SignerInfo for signed-data creation. Build with SignerInfoGeneratorBuilder, then pass to AddSignerInfoGenerator.
namespace Org.BouncyCastle.Cms { public class SignerInfoGenerator { public X509Certificate Certificate { get; } public int GeneratedVersion { get; } public ISignatureFactory SignatureFactory { get; } public CmsAttributeTableGenerator SignedAttributeTableGenerator { get; } public SignerIdentifier SignerID { get; } public CmsAttributeTableGenerator UnsignedAttributeTableGenerator { get; } public SignerInfoGeneratorBuilder NewBuilder(); } }