Platform SDK: Cryptography

PROV_ENUMALGS_EX

The PROV_ENUMALGS_EX structure is returned by calls to CryptGetProvParam or CPGetProvParam. It holds information on the algorithms supported by a CSP.

typedef struct _PROV_ENUMALGS_EX 
{
    ALG_ID    aiAlgid;
    DWORD     dwDefaultLen;
    DWORD     dwMinLen;
    DWORD     dwMaxLen;
    DWORD     dwProtocols;
    DWORD     dwNameLen;
    CHAR      szName[20];
    DWORD     dwLongNameLen;
    CHAR      szLongName[40];
} PROV_ENUMALGS_EX;

Members

aiAlgid
An ALG_ID identifying an algorithm supported.
dwDefaultLen
A DWORD value indicating the default key length using the indicated algorithm.
dwMinLen
A DWORD value indicating the minimum key length using the indicated algorithm.
dwMaxLen
A DWORDvalue indicating the maximum key length using the indicated algorithm.
dwProtocols
A DWORD value indicating the number of protocols supported.
dwNameLen
A DWORD value indicating the length of the short protocol name.
szName
A NULL-terminated string with the name of the supported protocol.
dwLongNameLen
A DWORD value indicating the length of the supported protocol name.
szLongName
A NULL-terminated string with the long name of the supported protocol.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 OSR2 or later (or Windows 95 with Internet Explorer 3.02 or later).
  Header: Declared in Wincrypt.h.