Skip to content

Latest commit

 

History

History
89 lines (71 loc) · 4.4 KB

nf-xenroll-ienroll-put_hashalgorithmwstr.md

File metadata and controls

89 lines (71 loc) · 4.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:xenroll.IEnroll.put_HashAlgorithmWStr
IEnroll::put_HashAlgorithmWStr (xenroll.h)
Sets or retrieves only the signature hashing algorithm used to sign the PKCS (IEnroll.put_HashAlgorithmWStr)
HashAlgorithmWStr property [Security]
HashAlgorithmWStr property [Security]
IEnroll interface
IEnroll interface [Security]
HashAlgorithmWStr property
IEnroll.HashAlgorithmWStr
IEnroll.put_HashAlgorithmWStr
IEnroll::HashAlgorithmWStr
IEnroll::get_HashAlgorithmWStr
IEnroll::put_HashAlgorithmWStr
put_HashAlgorithmWStr
security.ienroll4_hashalgorithmwstr
xenroll/IEnroll::HashAlgorithmWStr
xenroll/IEnroll::get_HashAlgorithmWStr
xenroll/IEnroll::put_HashAlgorithmWStr
security\ienroll4_hashalgorithmwstr.htm
security
c359c4c8-f53d-48f1-a2ac-9275751b48dc
12/05/2018
HashAlgorithmWStr property [Security], HashAlgorithmWStr property [Security],IEnroll interface, IEnroll interface [Security],HashAlgorithmWStr property, IEnroll.HashAlgorithmWStr, IEnroll.put_HashAlgorithmWStr, IEnroll::HashAlgorithmWStr, IEnroll::get_HashAlgorithmWStr, IEnroll::put_HashAlgorithmWStr, put_HashAlgorithmWStr, security.ienroll4_hashalgorithmwstr, xenroll/IEnroll::HashAlgorithmWStr, xenroll/IEnroll::get_HashAlgorithmWStr, xenroll/IEnroll::put_HashAlgorithmWStr
xenroll.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Uuid.lib
Xenroll.dll
Windows
19H1
IEnroll::put_HashAlgorithmWStr
xenroll/IEnroll::put_HashAlgorithmWStr
c++
APIRef
kbSyntax
COM
Xenroll.dll
IEnroll.HashAlgorithmWStr
IEnroll.get_HashAlgorithmWStr
IEnroll.put_HashAlgorithmWStr

IEnroll::put_HashAlgorithmWStr

-description

[This property is no longer available for use as of Windows Server 2008 and Windows Vista.]

The HashAlgorithmWStr property sets or retrieves only the signature hashing algorithm used to sign the PKCS #10 certification request.

This property was first defined in the IEnroll interface.

This property is read/write.

-parameters

-remarks

This signature hashing algorithm is not to be confused with the hashing algorithm used to sign the certificate. The enrollment control currently supports any OID for hashing algorithms, plus the following display name values: SHA1 (the default), MD2, and MD5. When retrieving this property, the retrieved value is in OID format (that is, SHA1 appears as 1.3.14.3.2.29). When setting this property, the corresponding OID format can be used as an alternative to the text shown for the defined friendly values.

The Certificate Enrollment Control considers the value of the HashAlgorithmWStr property as a hint to the hashing algorithm to use for signing the PKCS #10 certification request. If the cryptographic service provider (CSP) supports the algorithm specified in the HashAlgorithmWStr property, the algorithm will be used. Otherwise, the Certificate Enrollment Control will try to use SHA1. If SHA1 is not supported by the CSP, then MD5 will be tried. If neither SHA1 nor MD5 is supported, the Certificate Enrollment Control will try to use the first hashing algorithm returned from the CSP.

The HashAlgorithmWStr property affects the behavior of the following methods:

If both the HashAlgID and HashAlgorithmWStr properties are set, whichever is last updated will specify which hashing algorithm will be used to sign the PKCS #10 certification request.

-see-also

IEnroll