PROV_ENUMALGS_EX structure (wincrypt.h)

The PROV_ENUMALGS_EX structure is used with the CryptGetProvParam function when the PP_ENUMALGS_EX parameter is retrieved to contain information about an algorithm supported by a cryptographic service provider (CSP).

Syntax

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

One of the ALG_ID values that identifies the algorithm.

dwDefaultLen

The default key length, in bits, of the algorithm.

dwMinLen

The minimum key length, in bits, of the algorithm.

dwMaxLen

The maximum key length, in bits, of the algorithm.

dwProtocols

Zero or a combination of one or more of the Protocol Flags values that identifies the protocols supported by the algorithm.

dwNameLen

The length, in CHARs, of the szName string. This length includes the terminating null character.

szName[20]

A null-terminated ANSI string that contains the name of the algorithm.

dwLongNameLen

The length, in CHARs, of the szLongName string. This length includes the terminating null character.

szLongName[40]

A null-terminated ANSI string that contains the long name of the algorithm.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h