CRYPT_MASK_GEN_ALGORITHM structure

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.

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wincrypt.h

See also

CRYPT_RSA_SSA_PSS_PARAMETERS
CRYPT_RSAES_OAEP_PARAMETERS

 

 

Show: