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

Org.BouncyCastle.Utilities.Properties

public static class Properties
Utility methods for managing properties.
namespace Org.BouncyCastle.Utilities { public static class Properties { public static readonly string Argon2MaxMemoryExp; public static readonly string Argon2MaxPasses; public static readonly string Argon2MaxParallelism; public static readonly string Asn1AllowUnsafeInteger; public static readonly string Asn1MaxDepth; public static readonly string Asn1MaxLimit; public static readonly string CmsAllowLenientRsaPkcs1; public static readonly string DHMaxSize; public static readonly string DsaMaxSize; public static readonly string ECF2mMaxSize; public static readonly string ECFpMaxSize; public static readonly string ECFpCertainty; public static readonly string FpeDisable; public static readonly string FpeDisableFf1; public static readonly string PbeMaxIterationCount; public static readonly string PbeMaxScryptMemory; public static readonly string Pkcs12IgnoreUselessPassword; public static readonly string Pkcs12MaxIterationCount; public static readonly string Pkcs1NotStrict; public static readonly string PKMacMaxIterationCount; public static readonly string RsaAllowUnsafeModulus; public static readonly string RsaMaxMRTests; public static readonly string RsaMaxSize; public static readonly string X509AllowNonDerTbsCertificate; public static readonly string X509MaxPolicyNodes; public static readonly string X509Sgp22NameConstraints; public static readonly string X509AllowLenientRfc822Name; public static readonly string X509AllowLenientIPAddressMask; public static void Clear(); public static void ClearThreadProperties(); public static bool GetBoolean(string propertyName, bool defaultValue); public static int GetInt32(string propertyName, int defaultValue); public static long GetInt64(string propertyName, long defaultValue); public static string GetProperty(string name); public static string GetProperty(string name, string defaultValue); public static string GetThreadProperty(string name); public static bool RemoveThreadProperty(string name); public static void SetThreadBoolean(string propertyName, bool propertyValue); public static void SetThreadInt32(string propertyName, int propertyValue); public static void SetThreadInt64(string propertyName, long propertyValue); public static void SetThreadProperty(string name, string value); public static bool TryGetBoolean(string propertyName, out bool propertyValue); public static bool TryGetInt32(string propertyName, out int propertyValue); public static bool TryGetInt64(string propertyName, out long propertyValue); public static void WithThreadProperty(string name, string value, Action action); public static TResult WithThreadProperty<TResult>(string name, string value, Func<TResult> func); public static TResult WithThreadProperty<TArg, TResult>(string name, string value, TArg arg, Func<TArg, TResult> func); } }