Algorithm.Name property

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP. Instead, use the AlgorithmIdentifier Class in the System.Security.Cryptography.Pkcs namespace.]

The Name property sets or retrieves the algorithm used for signing, enveloping, and encrypting operations. This is the default property.

This property is read/write.

Syntax


Algorithm.Name As CAPICOM_ENCRYPTION_ALGORITHM

Property value

A value of the CAPICOM_ENCRYPTION_ALGORITHM enumeration that specifies which algorithm to use. The following table shows the possible values.

ValueMeaning
CAPICOM_ENCRYPTION_ALGORITHM_RC2

Use RC2 encryption.

CAPICOM_ENCRYPTION_ALGORITHM_RC4

Use RC4 encryption.

CAPICOM_ENCRYPTION_ALGORITHM_DES

Use DES encryption.

CAPICOM_ENCRYPTION_ALGORITHM_3DES

Use triple DES encryption.

CAPICOM_ENCRYPTION_ALGORITHM_AES

Use the AES algorithm.

 

Remarks

When the value of this property is reset, directly or indirectly, the whole state of the object is reset.

Requirements

End of client support

Windows Vista

End of server support

Windows Server 2008

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

 

 

Show: