CRYPT_XML_KEY_VALUE structure (cryptxml.h)
The CRYPT_XML_KEY_VALUE structure contains a single public key that may be useful in validating the signature.
Syntax
typedef struct _CRYPT_XML_KEY_VALUE {
DWORD dwType;
union {
CRYPT_XML_KEY_DSA_KEY_VALUE DSAKeyValue;
CRYPT_XML_KEY_RSA_KEY_VALUE RSAKeyValue;
CRYPT_XML_KEY_ECDSA_KEY_VALUE ECDSAKeyValue;
CRYPT_XML_BLOB Custom;
};
} CRYPT_XML_KEY_VALUE;
Members
dwType
Specifies the key value type.
This member can be one of the following values.
Value | Meaning |
---|---|
|
The key is a DSA key. |
|
The key is an RSA key. |
|
The key is an Elliptic Curve Digital Signature Algorithm (ECDSA) key. |
|
The key is a custom key type. |
DSAKeyValue
A CRYPT_XML_KEY_DSA_KEY_VALUE structure that contains Digital Signature Algorithm (DSA) key data.
RSAKeyValue
A CRYPT_XML_KEY_RSA_KEY_VALUE structure that contains RSA key data.
ECDSAKeyValue
A CRYPT_XML_KEY_ECDSA_KEY_VALUE structure that contains ECDSA key data.
Custom
A CRYPT_XML_BLOB structure that contains custom key data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | cryptxml.h |