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

Org.BouncyCastle.Cms.CmsAlgorithmNotAllowedException

namespace Org.BouncyCastle.Cms { public class CmsAlgorithmNotAllowedException : CmsException { public CmsAlgorithmNotAllowedException(); public CmsAlgorithmNotAllowedException(string message); public CmsAlgorithmNotAllowedException(string message, Exception innerException); protected CmsAlgorithmNotAllowedException(SerializationInfo info, StreamingContext context); } }