PrivateKeyEncryptionType PrivateKeyEncryptionType PrivateKeyEncryptionType Enum


The PrivateKeyEncryptionType enumeration contains values that are used to specify the encryption types for a private key associated with a certificate or an asymmetric key.

public enum class PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
Public Enum PrivateKeyEncryptionType


MasterKey MasterKey MasterKey 1

Value = 1. Certificate is encrypted with a master key.

NoKey NoKey NoKey 0

Value = 0. Certificate does not have any key.

Password Password Password 2

Value = 2. Certificate is encrypted with a user password.

Provider Provider Provider 3

Value = 3.


The PrivateKeyEncryptionType enumeration class is served by the PrivateKeyEncryptionType property of the Certificate class and the AsymmetricKey class.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to