|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdio.h>#include <stdarg.h>#include <windef.h>#include <winbase.h>#include <winerror.h>#include <wincrypt.h>#include <winnls.h>#include "wine/test.h"
Go to the source code of this file.
Classes | |
| struct | _CertRDNAttrEncoding |
| struct | _CertRDNAttrEncodingW |
| struct | StrToNameA |
| struct | StrToNameW |
Macros | |
| #define | CERT_V3_SAN_OID_OFFSET 534 |
| #define | CERT_V3_IAN_OID_OFFSET 565 |
| #define | test_NameToStrConversionA(a, b, c) test_NameToStrConversionA_(__LINE__, a, b, c) |
| #define | test_NameToStrConversionW(a, b, c) test_NameToStrConversionW_(__LINE__, a, b, c) |
| #define | test_CertGetNameString_value(a, b, c, d, e) test_CertGetNameString_value_(__LINE__, a, b, c, d, e) |
Typedefs | |
| typedef struct _CertRDNAttrEncoding | CertRDNAttrEncoding |
| typedef struct _CertRDNAttrEncoding * | PCertRDNAttrEncoding |
| typedef struct _CertRDNAttrEncodingW | CertRDNAttrEncodingW |
| typedef struct _CertRDNAttrEncodingW * | PCertRDNAttrEncodingW |
Functions | |
| static void | test_CertRDNValueToStrA (void) |
| static void | test_CertRDNValueToStrW (void) |
| static void | test_NameToStrConversionA_ (unsigned int line, PCERT_NAME_BLOB pName, DWORD dwStrType, LPCSTR expected) |
| static void | test_CertNameToStrA (void) |
| static void | test_NameToStrConversionW_ (unsigned int line, PCERT_NAME_BLOB pName, DWORD dwStrType, LPCWSTR expected) |
| static void | test_CertNameToStrW (void) |
| static void | test_CertStrToNameA (void) |
| static void | test_CertStrToNameW (void) |
| static void | test_CertGetNameString_value_ (unsigned int line, PCCERT_CONTEXT context, DWORD type, DWORD flags, void *type_para, const char *expected) |
| static void | test_CertGetNameString (void) |
| static void | test_quoted_RDN (void) |
| START_TEST (str) | |
Variables | |
| static BYTE | bin1 [] = { 0x55, 0x53 } |
| static BYTE | bin2 [] |
| static BYTE | bin3 [] |
| static BYTE | bin4 [] |
| static BYTE | bin5 [] |
| static BYTE | bin6 [] |
| static BYTE | bin7 [] |
| static BYTE | bin8 [] |
| static BYTE | bin9 [] = { 0x61, 0x62, 0x63, 0x22, 0x64, 0x65, 0x66 } |
| static BYTE | bin10 [] = { 0x61, 0x62, 0x63, 0x27, 0x64, 0x65, 0x66 } |
| static BYTE | bin11 [] = { 0x61, 0x62, 0x63, 0x2c, 0x20, 0x64, 0x65, 0x66 } |
| static BYTE | bin12 [] = { 0x20, 0x61, 0x62, 0x63, 0x20 } |
| static BYTE | bin13 [] = { 0x22, 0x64, 0x65, 0x66, 0x22 } |
| static BYTE | bin14 [] = { 0x31, 0x3b, 0x33 } |
| static const BYTE | cert [] |
| static const BYTE | cert_no_email [] |
| static BYTE | cert_v3 [] |
| static char | issuerStr [] |
| static char | issuerStrSemicolon [] |
| static char | issuerStrCRLF [] |
| static char | subjectStr [] |
| static char | subjectStrSemicolon [] |
| static char | subjectStrCRLF [] |
| static char | x500SubjectStr [] = "C=US, S=Minnesota, L=Minneapolis, O=CodeWeavers, OU=Wine Development, CN=localhost, E=aric@codeweavers.com" |
| static char | x500SubjectStrSemicolonReverse [] = "E=aric@codeweavers.com; CN=localhost; OU=Wine Development; O=CodeWeavers; L=Minneapolis; S=Minnesota; C=US" |
| static BYTE | encodedSimpleCN [] |
| static BYTE | encodedSingleQuotedCN [] |
| static BYTE | encodedSpacedCN [] |
| static BYTE | encodedQuotedCN [] |
| static BYTE | encodedMultipleAttrCN [] |
| static BYTE | encodedCommaCN [] |
| static BYTE | encodedEqualCN [] |
| static BYTE | encodedLessThanCN [] |
| static BYTE | encodedGreaterThanCN [] |
| static BYTE | encodedHashCN [] |
| static BYTE | encodedSemiCN [] |
| static BYTE | encodedNewlineCN [] |
| static BYTE | encodedDummyCN [] |
| static BYTE | encodedFields [] |
| static const struct StrToNameA | namesA [] |
| static const BYTE | encodedJapaneseCN [] |
| static const struct StrToNameW | namesW [] |
| typedef struct _CertRDNAttrEncoding * PCertRDNAttrEncoding |
| typedef struct _CertRDNAttrEncodingW * PCertRDNAttrEncodingW |
| START_TEST | ( | str | ) |
Definition at line 1227 of file str.c.
Definition at line 1006 of file str.c.
Referenced by START_TEST().
|
static |
Definition at line 933 of file str.c.
Definition at line 526 of file str.c.
Referenced by START_TEST().
Definition at line 649 of file str.c.
Referenced by START_TEST().
Definition at line 314 of file str.c.
Referenced by START_TEST().
Definition at line 388 of file str.c.
Referenced by START_TEST().
Definition at line 780 of file str.c.
Referenced by START_TEST().
Definition at line 883 of file str.c.
Referenced by START_TEST().
|
static |
Definition at line 463 of file str.c.
|
static |
Definition at line 623 of file str.c.
Definition at line 1083 of file str.c.
Referenced by START_TEST().
|
static |
Definition at line 44 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 64 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 65 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 66 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 67 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 68 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 45 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 47 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 49 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 51 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 53 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 55 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 57 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 63 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
Definition at line 159 of file str.c.
Referenced by test_CertGetNameString().
|
static |
Definition at line 228 of file str.c.
Referenced by test_CertGetNameString().
|
static |
Definition at line 495 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
|
static |
Definition at line 498 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
|
static |
Definition at line 504 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 507 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 501 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 493 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 513 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 491 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 510 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 485 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 487 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 489 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 299 of file str.c.
Referenced by test_CertGetNameString(), and test_CertNameToStrA().
|
static |
Definition at line 303 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 301 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
|
static |
Definition at line 864 of file str.c.
Referenced by test_CertStrToNameW(), and test_StdRegProv().
|
static |
Definition at line 305 of file str.c.
Referenced by test_CertGetNameString(), and test_CertNameToStrA().
|
static |
Definition at line 309 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 307 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 311 of file str.c.
Referenced by test_CertNameToStrA().