Compartir a través de


CertRemoveEnhancedKeyUsageIdentifier

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function removes a usage identifier OID from the certificate's extended key usage (EKU) property.

Syntax

BOOL WINAPI CertRemoveEnhancedKeyUsageIdentifier(
  PCCERT_CONTEXT pCertContext,
  LPCSTR pszUsageIdentifier
);

Parameters

  • pCertContext
    [in] Pointer to a CERT_CONTEXT structure of the certificate for which the usage identifier OID is to be removed.
  • pszUsageIdentifier
    [in] Pointer to the usage identifier OID to remove.

Return Value

If the function succeeds, the return value is nonzero, or TRUE.

If the function fails, the return value is zero, or FALSE.

For extended error information, call the GetLastError function.

Requirements

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CERT_CONTEXT