Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CRYPT_XML_KEY_INFO_ITEM structure encapsulates key information data that corresponds to a KeyInfo element. The KeyInfo element enables the recipient to obtain the key needed to validate the signature.
Syntax
typedef struct _CRYPT_XML_KEY_INFO_ITEM {
  DWORD dwType;
  union {
    LPCWSTR             wszKeyName;
    CRYPT_XML_KEY_VALUE KeyValue;
    CRYPT_XML_BLOB      RetrievalMethod;
    CRYPT_XML_X509DATA  X509Data;
    CRYPT_XML_BLOB      Custom;
  };
} CRYPT_XML_KEY_INFO_ITEM;
Members
dwType
Specifies the key information type encapsulated in this structure.
This member can be one of the following values.
| Value | Meaning | 
|---|---|
  | 
The structure specifies a key name. | 
  | 
The structure specifies the key value. | 
  | 
The structure specifies an XML encoded element that contains the key retrieval method. | 
  | 
The structure specifies X.509 data that contains the key information. | 
  | 
The structure specifies user defined information about the key information. | 
wszKeyName
A pointer to a null-terminated wide character string that contains the name of the key to retrieve.
KeyValue
A CRYPT_XML_KEY_VALUE structure that contains the key value.
RetrievalMethod
A CRYPT_XML_BLOB structure that contains XML encoded information about the key retrieval method.
X509Data
A CRYPT_XML_X509DATA structure that contains X.509 data that contains the key.
Custom
A CRYPT_XML_BLOB structure that contains user defined key information.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] | 
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] | 
| Header | cryptxml.h |