Expand Minimize
EN
Este conteúdo não está disponível no seu idioma mas aqui tem a versão em inglês.

CertRemoveEnhancedKeyUsageIdentifier function

The CertRemoveEnhancedKeyUsageIdentifier function removes a usage identifier object identifier (OID) from the enhanced key usage (EKU) extended property of the certificate.

Syntax


BOOL WINAPI CertRemoveEnhancedKeyUsageIdentifier(
  _In_  PCCERT_CONTEXT pCertContext,
  _In_  LPCSTR pszUsageIdentifier
);

Parameters

pCertContext [in]

A pointer to a CERT_CONTEXT of the certificate for which the usage identifier OID is to be removed.

pszUsageIdentifier [in]

A pointer to the usage identifier OID to remove.

Return value

If the function succeeds, the function returns nonzero (TRUE).

If the function fails, it returns zero (FALSE). For extended error information, call GetLastError.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

Library

Crypt32.lib

DLL

Crypt32.dll

See also

Enhanced Key Usage Functions

 

 

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2014 Microsoft