PROV_ENUMALGS structure (wincrypt.h)

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

Syntax

typedef struct _PROV_ENUMALGS {
  ALG_ID aiAlgid;
  DWORD  dwBitLen;
  DWORD  dwNameLen;
  CHAR   szName[20];
} PROV_ENUMALGS;

Members

aiAlgid

One of the ALG_ID values that identifies the algorithm.

dwBitLen

The default key length, in bits, of 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.

Requirements

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