Dela via


AsymmetricKeyEncryptionAlgorithm Enumeration

The AsymmetricKeyEncryptionAlgorithm enumeration contains values that are used to specify an encryption algorithm used on an asymmetric key.

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

Syntax

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

Members

Member name Description
CryptographicProviderDefined Value = 3. A cryptographic provider is used to encrypt the asymmetric key.
Rsa512 Value = 0. 512-bit RSA encryption algorithm.
Rsa1024 Value = 1. 1024-bit RSA encryption algorithm.
Rsa2048 Value = 2. 2048-bit RSA encryption algorithm.

Remarks

The AsymmetricKeyEncryptionAlgorithm enumeration class is served by the KeyEncryptionAlgorithm property.