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

CryptXmlDllEncodeAlgorithm function pointer

The CryptXmlDllEncodeAlgorithm function encodes SignatureMethod or DigestMethod elements for agile algorithms with default parameters.

The CryptXmlDllEncodeAlgorithm function is exposed through the exported CryptXmlDllGetInterface function.

Syntax


typedef HRESULT ( WINAPI *CryptXmlDllEncodeAlgorithm)(
  _In_     CRYPT_XML_ALGORITHM_INFO *pAlgInfo,
  CRYPT_XML_CHARSET dwCharset,
  _Inout_  void *pvCallbackState,
  _In_     PFN_CRYPT_XML_WRITE_CALLBACK pfnWrite
);

Parameters

pAlgInfo [in]

A pointer to a CRYPT_XML_ALGORITHM_INFO structure.

dwCharset

A CRYPT_XML_CHARSET value that specifies the character set of the encoded XML.

pvCallbackState [in, out]

A pointer to an argument that is passed to the callback function pointed to by the pfnWrite parameter.

pfnWrite [in]

A PFN_CRYPT_XML_WRITE_CALLBACK callback function that receives the encoded XML.

Return value

If the function succeeds, the function returns zero.

If the function fails, it returns an HRESULT value that indicates the error.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2014 Microsoft