Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CRYPT_MASK_GEN_ALGORITHM structure (wincrypt.h)

The CRYPT_MASK_GEN_ALGORITHM structure identifies the algorithm used to generate an RSA PKCS #1 v2.1 signature mask.

Syntax

typedef struct _CRYPT_MASK_GEN_ALGORITHM {
 LPSTR pszObjId;
 CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
} CRYPT_MASK_GEN_ALGORITHM, *PCRYPT_MASK_GEN_ALGORITHM;

Members

pszObjId

The address of a null-terminated ANSI string that contains the object identifier (OID) of the mask generation algorithm. This can be the following value or any other mask generation function OID.

Value Meaning
szOID_RSA_MGF1
"1.2.840.113549.1.1.8"
The RSA MGF1 function.

HashAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER structure that identifies the hash algorithm to use for the mask generation.

Requirements

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

See also

CRYPT_RSAES_OAEP_PARAMETERS

CRYPT_RSA_SSA_PSS_PARAMETERS


Feedback

Was this page helpful?

Additional resources