Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function attempts to decode the outer layer of a BLOB as a Personal Information Exchange (PFX) packet.

PFX format is also known as Public-Key Cryptography Standards #12 (PKCS #12) format.

Syntax

BOOL WINAPI PFXIsPFXBlob(
  CRYPT_DATA_BLOB* 
pPFX
);

Parameters

pPFX

[in] Pointer to a CRYPT_DATA_BLOBstructure that the function will attempt to decode as a PFX packet.

Return Value

The function returns TRUE if the BLOB can be decoded as a PFX packet. If the outer layer of the BLOB cannot be decoded as a PFX packet, the function returns FALSE.

Requirements

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also