PrivateKeyEncryptionType Enumeration

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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Enumeration PrivateKeyEncryptionType
'Usage
Dim instance As PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum class PrivateKeyEncryptionType
type PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType

Members

Member name Description
NoKey Value = 0. Certificate does not have any key.
MasterKey Value = 1. Certificate is encrypted with a master key.
Password Value = 2. Certificate is encrypted with a user password.
Provider Value = 3.

Certificate is encrypted by the encryption provider.

Remarks

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.