Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows CE 3.0

This function finds the first extension in the CERT_EXTENSION array, as identified by its object identifier(OID). This function can be used in the processing of a decoded certificate. A CERT_INFO structure is derived from a decoded certificate. The rgExtension array is retrieved from that structure and passed to this function in the rgExtension parameter. This function determines whether a particular extension is in the array, and if so, returns a pointer to it.

LPCSTR pszObjId,
DWORD cExtensions,
CERT_EXTENSION rgExtensions[ ]


[in] Pointer to the OID to use in the search.
[in] Number of extensions in the rgExtensions array.
[in] Array of CERT_EXTENSION structures.

Return Values

Returns a pointer to the extension, if one is found. Otherwise, NULL is returned.


Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h   Crypt32.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertFindAttribute, CertFindRDNAttr, CERT_EXTENSION, CERT_INFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.

© 2015 Microsoft