CRYPT_PSOURCE_ALGORITHM structure (wincrypt.h)

The CRYPT_PSOURCE_ALGORITHM structure identifies the algorithm and (optionally) the value of the label for an RSAES-OAEP key encryption.

Syntax

typedef struct _CRYPT_PSOURCE_ALGORITHM {
  LPSTR           pszObjId;
  CRYPT_DATA_BLOB EncodingParameters;
} CRYPT_PSOURCE_ALGORITHM, *PCRYPT_PSOURCE_ALGORITHM;

Members

pszObjId

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

Value Meaning
szOID_RSA_PSPECIFIED
"1.2.840.113549.1.1.9"
The RSAES-OAEP label function.

EncodingParameters

A CRYPT_DATA_BLOB that contains the label. This member is optional and may contain an empty BLOB.

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