<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.5.26302.115" />

System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode

public enum Pkcs12IntegrityMode
Represents the type of anti-tampering applied to a PKCS#12 PFX value.
None = 1

The PKCS#12 PFX value is not protected from tampering.

The PKCS#12 PFX value is protected from tampering with a Message Authentication Code (MAC) keyed with a password.

The PKCS#12 PFX value is protected from tampering with a digital signature using public key cryptography.

Unknown = 0

The type of anti-tampering applied to the PKCS#12 PFX is unknown or could not be determined.