CRYPT_ATTRIBUTE structure (wincrypt.h)

The CRYPT_ATTRIBUTE structure specifies an attribute that has one or more values.

Syntax

typedef struct _CRYPT_ATTRIBUTE {
  LPSTR            pszObjId;
  DWORD            cValue;
  PCRYPT_ATTR_BLOB rgValue;
} CRYPT_ATTRIBUTE, *PCRYPT_ATTRIBUTE;

Members

pszObjId

An object identifier (OID) that specifies the type of data contained in the rgValue array.

cValue

A DWORD value that indicates the number of elements in the rgValue array.

rgValue

Pointer to an array of CRYPT_INTEGER_BLOB structures. The cbData member of the CRYPT_INTEGER_BLOB structure indicates the length of the pbData member. The pbData member contains the attribute information.

Requirements

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

See also

CERT_REQUEST_INFO

CMSG_SIGNER_ENCODE_INFO

CRYPT_ATTRIBUTES

CRYPT_INTEGER_BLOB

CRYPT_SIGN_MESSAGE_PARA

CRYPT_TIME_STAMP_REQUEST_INFO

CertFindAttribute