CRYPT_XML_X509DATA_ITEM structure

The CRYPT_XML_X509DATA_ITEM structure represents X.509 data that is to be encoded in an X509Data named element.

Syntax


typedef struct _CRYPT_XML_X509DATA_ITEM {
  DWORD dwType;
  union {
    CRYPT_XML_ISSUER_SERIAL IssuerSerial;
    CRYPT_XML_DATA_BLOB     SKI;
    LPCWSTR                 wszSubjectName;
    CRYPT_XML_DATA_BLOB     Certificate;
    CRYPT_XML_DATA_BLOB     CRL;
    CRYPT_XML_BLOB          Custom;
  };
} CRYPT_XML_X509DATA_ITEM;

Members

dwType

Specifies the data item type.

This member can be one of the following values.

ValueMeaning
CRYPT_XML_X509DATA_TYPE_ISSUER_SERIAL
0x00000001

The X.509 data is an issuer serial number.

CRYPT_XML_X509DATA_TYPE_SKI
0x00000002

The X.509 data is a Subject Key Identifier (SKI).

CRYPT_XML_X509DATA_TYPE_SUBJECT_NAME
0x00000003

The X.509 data is a subject name.

CRYPT_XML_X509DATA_TYPE_CERTIFICATE
0x00000004

The X.509 data is a certificate.

CRYPT_XML_X509DATA_TYPE_CRL
0x00000005

The X.509 data is a certificate revocation list (CRL).

CRYPT_XML_X509DATA_TYPE_CUSTOM
0x00000006

The X.509 data is a custom format.

 

IssuerSerial

A CRYPT_XML_ISSUER_SERIAL structure that contains serial number data.

SKI

A CRYPT_XML_DATA_BLOB structure that contains SKI data.

wszSubjectName

A pointer to a null-terminated Unicode string that contains the subject name.

Certificate

A CRYPT_XML_DATA_BLOB structure that contains certificate data.

CRL

A CRYPT_XML_DATA_BLOB that contains a CRL.

Custom

A CRYPT_XML_BLOB structure that contains custom data.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Show: