Expand Minimize
EN
Este conteúdo não está disponível no seu idioma mas aqui tem a versão em inglês.

CRYPT_XML_STATUS structure

The CRYPT_XML_STATUS structure returns information about the signature validation status, summary status information about a SignedInfo element, or summary status information about an array of Reference elements. The CRYPT_XML_STATUS structure is used by the CryptXmlGetStatus function.

Syntax


typedef struct _CRYPT_XML_STATUS {
  ULONG cbSize;
  DWORD dwErrorStatus;
  DWORD dwInfoStatus;
} CRYPT_XML_STATUS, *PCRYPT_XML_STATUS;

Members

cbSize

The size, in bytes, of this structure.

dwErrorStatus

The retrieved error flags.

This member can be one of the following values.

ValueMeaning
CRYPT_XML_STATUS_ERROR_NOT_RESOLVED
0x00000001

One of the references could not be resolved.

CRYPT_XML_STATUS_ERROR_DIGEST_INVALID
0x0000002

The digest value could not be verified.

CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_ALGORITHM
0x00000005

One of the algorithm URIs specified in XML is not supported.

CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_TRANSFORM
0x00000008

One of the transform URIs specified in XML is not supported.

CRYPT_XML_STATUS_ERROR_SIGNATURE_INVALID
0x00010000

The signature value could not be verified.

CRYPT_XML_STATUS_ERROR_KEYINFO_NOT_PARSED
0x00020000

Unable to parse the KeyInfo element.

 

dwInfoStatus

The retrieved informational flags.

This member can be one of the following values.

ValueMeaning
CRYPT_XML_STATUS_INTERNAL_REFERENCE
0x00000001

The reference URI points to an internal element in XML and can be resolved automatically.

CRYPT_XML_STATUS_KEY_AVAILABLE
0x00000002

The KeyValue element parsed, and a key handle imported successfully.

CRYPT_XML_STATUS_DIGESTING
0x00000004

The reference is being added to the digest.

CRYPT_XML_STATUS_DIGEST_VALID
0x00000008

The digest value was verified.

CRYPT_XML_STATUS_SIGNATURE_VALID
0x00010000

The signature value was verified.

CRYPT_XML_STATUS_OPENED_TO_ENCODE
0x80000000

The document is open for encoding.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2014 Microsoft