namespace System.Security.Cryptography.Pkcs { /// Represents the type of anti-tampering applied to a PKCS#12 PFX value. public enum Pkcs12IntegrityMode { /// The PKCS#12 PFX value is not protected from tampering. None = 1, /// The PKCS#12 PFX value is protected from tampering with a Message Authentication Code (MAC) keyed with a password. Password = 2, /// The PKCS#12 PFX value is protected from tampering with a digital signature using public key cryptography. PublicKey = 3, /// The type of anti-tampering applied to the PKCS#12 PFX is unknown or could not be determined. Unknown = 0 } }