Share via


SymmetricKeyEncryptionAlgorithm Enumeration

The SymmetricKeyEncryptionAlgorithm enumeration contains values that specify the algorithm that is used to encrypt the symmetric key.

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

Syntax

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

Members

Member name Description
CryptographicProviderDefined Value = -1. A cryptographic provider is defined.
RC2 Value = 0. RC2 algorithm.
RC4 Value = 1. RC4 algorithm.
Des Value = 2. Des algorithm.
TripleDes Value = 3. TripleDes algorithm.
DesX Value = 4. DesX algorithm.
Aes128 Value = 5. Aes128 algorithm.
Aes192 Value = 6. Aes192 algorithm.
Aes256 Value = 7. Aes256 algorithm.
TripleDes3Key Value = 8. TripleDes3key algorithm.

Remarks

The SymmetricKeyEncryptionAlgorithm enumeration class is served by the SymmetricKeyEncryptionAlgorithm() property.