Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

  1. // internal key headers stuff
  2. // header structure for the key request data.
  3. // the first version of Keyring just saved the raw request data
  4. // in the object. Now, however, we wish to store additional data
  5. // A typical example is a key request that was sent to an online
  6. // authority, but the response was delayed. We need to mark it
  7. // somewhere so we know to go back to the authority and see if it
  8. // is ready at a later date. In some ways, it would make sense to
  9. // store that in the certificate pointer, but the key services
  10. // assume that that is an actual certificate. The request pointer,
  11. // however, is stored by the services, but its content is private
  12. // to the keyring application. Thus, that is where it goes.
  13. // 5/19/97 Boydm - changed string from dll path to interface GUID - set to version x0101
  14. #define REQUEST_HEADER_K2B2VERSION 0x0101
  15. #define REQUEST_HEADER_IDENTIFIER 'RHDR'
  16. #define REQUEST_HEADER_CURVERSION 0x0101
  17. typedef struct _KeyRequestHeader
  18. {
  19. DWORD Identifier; // must be 'RHDR'
  20. DWORD Version; // version of header record
  21. DWORD cbSizeOfHeader; // byte count of header. Afterwards is the request.
  22. DWORD cbRequestSize; // size of the request that follows
  23. BOOL fReqSentToOnlineCA;
  24. LONG longRequestID;
  25. BOOL fWaitingForApproval;
  26. char chCA[MAX_PATH];
  27. } KeyRequestHeader, *LPREQUEST_HEADER;