ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

object.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "mssip.h"
#include "winuser.h"
#include "wintrust.h"
#include "crypt32_private.h"
#include "cryptres.h"
#include "wine/unicode.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  BitToString
struct  reason_map_entry

Defines

#define NONAMELESSUNION
#define MAX_STRING_RESOURCE_LEN   128

Typedefs

typedef BOOL(WINAPICryptFormatObjectFunc )(DWORD, DWORD, DWORD, void *, LPCSTR, const BYTE *, DWORD, void *, DWORD *)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (crypt)
static BOOL CRYPT_ReadBlobFromFile (LPCWSTR fileName, PCERT_BLOB blob)
static BOOL CRYPT_QueryContextBlob (const CERT_BLOB *blob, DWORD dwExpectedContentTypeFlags, HCERTSTORE store, DWORD *contentType, const void **ppvContext)
static BOOL CRYPT_QueryContextObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, DWORD *pdwFormatType, HCERTSTORE *phCertStore, const void **ppvContext)
static BOOL CRYPT_QuerySerializedContextObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCERTSTORE *phCertStore, const void **ppvContext)
static BOOL CRYPT_QuerySerializedStoreFromFile (LPCWSTR fileName, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg)
static BOOL CRYPT_QuerySerializedStoreFromBlob (const CRYPT_DATA_BLOB *blob, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg)
static BOOL CRYPT_QuerySerializedStoreObject (DWORD dwObjectType, const void *pvObject, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg)
static BOOL CRYPT_QuerySignedMessage (const CRYPT_DATA_BLOB *blob, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCRYPTMSG *phMsg)
static BOOL CRYPT_QueryUnsignedMessage (const CRYPT_DATA_BLOB *blob, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCRYPTMSG *phMsg)
static BOOL CRYPT_QueryMessageObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, DWORD *pdwFormatType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg)
static BOOL CRYPT_QueryEmbeddedMessageObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg)
BOOL WINAPI CryptQueryObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD dwFlags, DWORD *pdwMsgAndCertEncodingType, DWORD *pdwContentType, DWORD *pdwFormatType, HCERTSTORE *phCertStore, HCRYPTMSG *phMsg, const void **ppvContext)
static BOOL WINAPI CRYPT_FormatHexString (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL CRYPT_FormatBits (BYTE bits, const struct BitToString *map, DWORD mapEntries, void *pbFormat, DWORD *pcbFormat, BOOL *first)
static BOOL WINAPI CRYPT_FormatKeyUsage (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatBasicConstraints2 (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL CRYPT_FormatHexStringWithPrefix (const CRYPT_DATA_BLOB *blob, int id, LPWSTR str, DWORD *pcbStr)
static BOOL CRYPT_FormatKeyId (const CRYPT_DATA_BLOB *keyId, LPWSTR str, DWORD *pcbStr)
static BOOL CRYPT_FormatCertSerialNumber (const CRYPT_DATA_BLOB *serialNum, LPWSTR str, DWORD *pcbStr)
static BOOL CRYPT_FormatAltNameEntry (DWORD dwFormatStrType, DWORD indentLevel, const CERT_ALT_NAME_ENTRY *entry, LPWSTR str, DWORD *pcbStr)
static BOOL CRYPT_FormatAltNameInfo (DWORD dwFormatStrType, DWORD indentLevel, const CERT_ALT_NAME_INFO *name, LPWSTR str, DWORD *pcbStr)
static BOOL WINAPI CRYPT_FormatAltName (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL CRYPT_FormatCertIssuer (DWORD dwFormatStrType, const CERT_ALT_NAME_INFO *issuer, LPWSTR str, DWORD *pcbStr)
static BOOL WINAPI CRYPT_FormatAuthorityKeyId2 (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatAuthorityInfoAccess (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL CRYPT_FormatReason (DWORD dwFormatStrType, const CRYPT_BIT_BLOB *reasonFlags, LPWSTR str, DWORD *pcbStr)
static BOOL WINAPI CRYPT_FormatCRLDistPoints (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatEnhancedKeyUsage (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatNetscapeCertType (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatSpcFinancialCriteria (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static BOOL WINAPI CRYPT_FormatUnicodeString (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)
static CryptFormatObjectFunc CRYPT_GetBuiltinFormatFunction (DWORD encodingType, DWORD formatStrType, LPCSTR lpszStructType)
BOOL WINAPI CryptFormatObject (DWORD dwCertEncodingType, DWORD dwFormatType, DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat)

Variables

static const WCHAR commaSpace [] = { ',',' ',0 }
static struct BitToString keyUsageByte0Map []
static struct BitToString keyUsageByte1Map []
static const WCHAR crlf [] = { '\r','\n',0 }
static WCHAR subjectTypeHeader [MAX_STRING_RESOURCE_LEN]
static WCHAR subjectTypeCA [MAX_STRING_RESOURCE_LEN]
static WCHAR subjectTypeEndCert [MAX_STRING_RESOURCE_LEN]
static WCHAR pathLengthHeader [MAX_STRING_RESOURCE_LEN]
static const WCHAR indent [] = { ' ',' ',' ',' ',' ',0 }
static const WCHAR colonCrlf [] = { ':','\r','\n',0 }
static const WCHAR colonSep [] = { ':',' ',0 }
static WCHAR aia [MAX_STRING_RESOURCE_LEN]
static WCHAR accessMethod [MAX_STRING_RESOURCE_LEN]
static WCHAR ocsp [MAX_STRING_RESOURCE_LEN]
static WCHAR caIssuers [MAX_STRING_RESOURCE_LEN]
static WCHAR unknown [MAX_STRING_RESOURCE_LEN]
static WCHAR accessLocation [MAX_STRING_RESOURCE_LEN]
static WCHAR keyCompromise [MAX_STRING_RESOURCE_LEN]
static WCHAR caCompromise [MAX_STRING_RESOURCE_LEN]
static WCHAR affiliationChanged [MAX_STRING_RESOURCE_LEN]
static WCHAR superseded [MAX_STRING_RESOURCE_LEN]
static WCHAR operationCeased [MAX_STRING_RESOURCE_LEN]
static WCHAR certificateHold [MAX_STRING_RESOURCE_LEN]
static struct reason_map_entry reason_map []
static WCHAR crlDistPoint [MAX_STRING_RESOURCE_LEN]
static WCHAR distPointName [MAX_STRING_RESOURCE_LEN]
static WCHAR fullName [MAX_STRING_RESOURCE_LEN]
static WCHAR rdnName [MAX_STRING_RESOURCE_LEN]
static WCHAR reason [MAX_STRING_RESOURCE_LEN]
static WCHAR issuer [MAX_STRING_RESOURCE_LEN]
static struct BitToString netscapeCertTypeMap []
static WCHAR financialCriteria [MAX_STRING_RESOURCE_LEN]
static WCHAR available [MAX_STRING_RESOURCE_LEN]
static WCHAR notAvailable [MAX_STRING_RESOURCE_LEN]
static WCHAR meetsCriteria [MAX_STRING_RESOURCE_LEN]
static WCHAR yes [MAX_STRING_RESOURCE_LEN]
static WCHAR no [MAX_STRING_RESOURCE_LEN]

Generated on Mon May 28 2012 05:08:23 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.