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:wincrypt.CertFindAttribute |
CertFindAttribute function (wincrypt.h) |
The CertFindAttribute function finds the first attribute in the CRYPT_ATTRIBUTE array, as identified by its object identifier (OID). |
|
security\certfindattribute.htm |
security |
99d690fb-ea85-4cb1-9fb0-bdb02e4ac50a |
12/05/2018 |
CertFindAttribute, CertFindAttribute function [Security], _crypto2_certfindattribute, security.certfindattribute, wincrypt/CertFindAttribute |
wincrypt.h |
Windows |
Windows XP [desktop apps \| UWP apps] |
Windows Server 2003 [desktop apps \| UWP apps] |
Crypt32.lib |
Crypt32.dll |
Windows |
19H1 |
|
|
|
|
|
|
The CertFindAttribute function finds the first attribute in the CRYPT_ATTRIBUTE array, as identified by its object identifier (OID). This function can be used in the processing of a decoded certificate request. A CERT_REQUEST_INFO structure is derived from a decoded certificate request. The rgAttribute array is retrieved from that structure and passed to this function in the rgAttr parameter. This function determines whether a particular attribute is in the array, and if so, returns a pointer to it.
A pointer to the object identifier (OID) to use in the search.
Number of attributes in the rgAttr array.
Array of CRYPT_ATTRIBUTE structures.
Returns a pointer to the attribute, if one is found. Otherwise, NULL is returned.