CRYPT_XML_KEYINFO_PARAM structure (cryptxml.h)

The CRYPT_XML_KEYINFO_PARAM structure is used by the CryptXmlSign function to specify the members of the KeyInfo element to be encoded.

Syntax

typedef struct _CRYPT_XML_KEYINFO_PARAM {
  LPCWSTR   wszId;
  LPCWSTR   wszKeyName;
  CERT_BLOB SKI;
  LPCWSTR   wszSubjectName;
  ULONG     cCertificate;
  CERT_BLOB *rgCertificate;
  ULONG     cCRL;
  CERT_BLOB *rgCRL;
} CRYPT_XML_KEYINFO_PARAM;

Members

wszId

A pointer to a null-terminated wide character string that contains the Id attribute of the KeyInfo element.

wszKeyName

A pointer to a null-terminated wide character string that contains the value in the KeyName element.

SKI

A CERT_BLOB structure that contains the value of the X509SKI element.

wszSubjectName

A pointer to a null-terminated wide character string that contains the value of the X509SubjectName element.

cCertificate

The number of elements in the array pointed to by the rgCertificate member.

rgCertificate

A pointer to an array of CERT_BLOB structures that are used to populate the X509Certificate elements.

cCRL

The number of elements in the array pointed to by the rgCRL member.

rgCRL

A pointer to an array of CERT_BLOB structures that are used to populate the X509CRL elements.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header cryptxml.h