PFXIsPFXBlob (crypt32)
Last changed: -66.46.213.4

.
Summary
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.

C# Signature:

    [DllImport("crypt32.dll")]
    internal static extern bool PFXIsPFXBlob(
                ref CRYPT_DATA_BLOB pPfx);

VB Signature:

   <DllImport("crypt32.dll", SetLastError:=True)> _
    Public Shared Function PFXIsPFXBlob( _
    ByRef pPfx As CRYPT_DATA_BLOB) As Boolean
    End Function

User-Defined Types:

    [StructLayout(LayoutKind.Sequential)]
    internal struct CRYPT_DATA_BLOB
    {
        public int cbData;
        public IntPtr pbData;
    }

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation