<PackageReference Include="Microsoft.Bcl.Cryptography" Version="10.0.12" />

System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits

public sealed class Pkcs12LoaderLimits
Represents a set of constraints to apply when loading PKCS#12/PFX contents.
namespace System.Security.Cryptography.X509Certificates { public sealed class Pkcs12LoaderLimits { public static Pkcs12LoaderLimits Defaults { get; } public static Pkcs12LoaderLimits DangerousNoLimits { get; } public bool IsReadOnly { get; } public int? MacIterationLimit { get; set; } public int? IndividualKdfIterationLimit { get; set; } public int? TotalKdfIterationLimit { get; set; } public int? MaxKeys { get; set; } public int? MaxCertificates { get; set; } public bool PreserveStorageProvider { get; set; } public bool PreserveKeyName { get; set; } public bool PreserveCertificateAlias { get; set; } public bool PreserveUnknownAttributes { get; set; } public bool IgnorePrivateKeys { get; set; } public bool IgnoreEncryptedAuthSafes { get; set; } public Pkcs12LoaderLimits(); public Pkcs12LoaderLimits(Pkcs12LoaderLimits copyFrom); public void MakeReadOnly(); } }