Expand Minimize

CryptXmlGetAlgorithmInfo function

The CryptXmlGetAlgorithmInfo function decodes the CRYPT_XML_ALGORITHM structure and returns information about the algorithm.

Syntax


HRESULT WINAPI CryptXmlGetAlgorithmInfo(
  _In_   const CRYPT_XML_ALGORITHM *pXmlAlgorithm,
  DWORD dwFlags,
  _Out_  CRYPT_XML_ALGORITHM_INFO **ppAlgInfo
);

Parameters

pXmlAlgorithm [in]

A pointer to a CRYPT_XML_ALGORITHM structure that specifies the algorithm about which to return information.

dwFlags

This parameter can be one of the following values.

ValueMeaning
CRYPT_XML_FLAG_DISABLE_EXTENSIONS
0x10000000

Only default implementations for the signature and digest are used. When this flag is set, no other registered extensions are loaded.

 

ppAlgInfo [out]

A pointer to a pointer to a CRYPT_XML_ALGORITHM_INFO structure. When you have finished using the memory pointed to by the ppAlgInfo parameter, free it by calling the LocalFree function.

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

Library

Cryptxml.lib

DLL

Cryptxml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.