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

Org.BouncyCastle.Crmf.EncryptedValueBuilder

public class EncryptedValueBuilder
namespace Org.BouncyCastle.Crmf { public class EncryptedValueBuilder { public EncryptedValueBuilder(IKeyWrapper wrapper, ICipherBuilderWithKey encryptor); public EncryptedValueBuilder(IKeyWrapper wrapper, ICipherBuilderWithKey encryptor, IEncryptedValuePadder padder); public EncryptedValue Build(char[] revocationPassphrase); public EncryptedValue Build(X509Certificate holder); public EncryptedValue Build(PrivateKeyInfo privateKeyInfo); } }