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

Org.BouncyCastle.Crmf.PkiArchiveControlBuilder

public PkiArchiveControlBuilder(PrivateKeyInfo privateKeyInfo, GeneralName generalName)

Basic constructor - specify the contents of the PKIArchiveControl structure.

Add a recipient generator to this control.

Build the PKIArchiveControl using the passed in encryptor to encrypt its contents.