Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 3.48 KB

algorithm-name.md

File metadata and controls

72 lines (45 loc) · 3.48 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Sets or retrieves the algorithm used for signing, enveloping, and encrypting operations. This is the default property.
e1144a9c-a352-4f73-a91c-ea66f3d61608
Algorithm.Name property
reference
05/31/2018
APIRef
kbSyntax
Algorithm.Name
COM
Capicom.dll

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.

Value Meaning
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

Requirement Value
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