次の方法で共有


CertRemoveEnhancedKeyUsageIdentifier (Windows CE 5.0)

Send Feedback

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

BOOL WINAPI CertRemoveEnhancedKeyUsageIdentifier(PCCERT_CONTEXTpCertContext,LPCSTRpszUsageIdentifier);

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 Values

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

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

See Also

CERT_CONTEXT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.