EapHostPeerCredentialsXml2Blob function (eaphostpeerconfigapis.h)
Generates the credentials BLOB. The credentials BLOB contains only user data such as user name, password, and PIN. A configuration BLOB, in contrast, contains the settings that control the behavior of the method.
DWORD EapHostPeerCredentialsXml2Blob( DWORD dwFlags, IXMLDOMNode *pCredentialsDoc, DWORD dwSizeOfConfigIn, BYTE *pConfigIn, DWORD *pdwSizeOfCredentialsOut, BYTE **ppCredentialsOut, EAP_METHOD_TYPE *pEapMethodType, EAP_ERROR **ppEapError );
Not used. Set to 0.
A pointer to an XML node of a document that contains credentials which are either user or machine credentials depending on the configuration passed in. The XML document is created with the EapHostUserCredentials Schema.
The size, in bytes, of the buffer pointed to by the pConfigIn parameter.
A pointer to a byte buffer that contains a configuration BLOB for which the credentials are configured. The buffer is of size dwSizeofConfigIn.
The size, in bytes, of the buffer pointed to by ppCredentialsOut.
A pointer to a pointer to a byte buffer that receives the credentials BLOB buffer generated by the input XML. The buffer can is of size pdwSizeofCredentialsOut. After consuming the data, this memory must be freed by calling EapHostPeerFreeMemory.
A pointer to an EAP_METHOD_TYPE structure referred to in the XML document.
A pointer to a pointer to an EAP_ERROR structure that contains any errors raised by EAPHost during the execution of this function call. After consuming the error data, this memory must be freed by calling EapHostPeerFreeErrorMemory.
The configuration BLOB is originally returned by one of the following methods.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|