PrivateKeyEncryptionType Enumeration
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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)

public enum PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType

Member nameDescription
MasterKeyValue = 1. Certificate is encrypted with a master key.
NoKeyValue = 0. Certificate does not have any key.
PasswordValue = 2. Certificate is encrypted with a user password.

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

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

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

© 2016 Microsoft