ReactOS 0.4.16-dev-197-g92996da
|
#include <stdio.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winerror.h>
#include <wincrypt.h>
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | _CertRDNAttrEncoding |
struct | _CertRDNAttrEncodingW |
struct | StrToNameA |
struct | StrToNameW |
Typedefs | |
typedef struct _CertRDNAttrEncoding | CertRDNAttrEncoding |
typedef struct _CertRDNAttrEncoding * | PCertRDNAttrEncoding |
typedef struct _CertRDNAttrEncodingW | CertRDNAttrEncodingW |
typedef struct _CertRDNAttrEncodingW * | PCertRDNAttrEncodingW |
Functions | |
static | DWORD (WINAPI *pCertNameToStrA)(DWORD |
static | BOOL (WINAPI *pCertStrToNameA)(DWORD dwCertEncodingType |
static void | test_CertRDNValueToStrA (void) |
static void | test_CertRDNValueToStrW (void) |
static void | test_NameToStrConversionA (PCERT_NAME_BLOB pName, DWORD dwStrType, LPCSTR expected, BOOL todo) |
static void | test_CertNameToStrA (void) |
static void | test_NameToStrConversionW (PCERT_NAME_BLOB pName, DWORD dwStrType, LPCWSTR expected, BOOL todo) |
static void | test_CertNameToStrW (void) |
static void | test_CertStrToNameA (void) |
static void | test_CertStrToNameW (void) |
static void | test_CertGetNameStringA (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 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 WCHAR | issuerStrW [] |
static WCHAR | issuerStrSemicolonW [] |
static WCHAR | issuerStrCRLFW [] |
static WCHAR | subjectStrW [] |
static WCHAR | subjectStrSemicolonW [] |
static WCHAR | subjectStrCRLFW [] |
static WCHAR | x500SubjectStrSemicolonReverseW [] |
static HMODULE | dll |
static | LPVOID |
static | DWORD |
static | LPSTR |
static | LPWSTR |
static | PCERT_RDN_VALUE_BLOB |
static LPCSTR | pszX500 |
static LPCSTR DWORD | dwStrType |
static LPCSTR DWORD void * | pvReserved |
static LPCSTR DWORD void BYTE * | pbEncoded |
static LPCSTR DWORD void BYTE DWORD * | pcbEncoded |
static LPCSTR DWORD void BYTE DWORD LPCSTR * | ppszError |
static DWORD | type |
static DWORD DWORD | flags |
static DWORD DWORD void * | typePara |
static DWORD DWORD void LPSTR | str |
static DWORD DWORD void LPSTR DWORD | cch |
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 WCHAR | simpleCN_W [] = { 'C','N','=','1',0 } |
static const WCHAR | singledQuotedCN_W [] = { 'C','N','=','\'','1','\'',0 } |
static const WCHAR | simpleSingleQuotedCN_W [] = { '\'','1','\'',0 } |
static const WCHAR | spacedCN_W [] = { 'C','N','=','"',' ','1',' ','"',0 } |
static const WCHAR | simpleSpacedCN_W [] = { '"',' ','1',' ','"',0 } |
static const WCHAR | quotedCN_W [] = { 'C','N','=','"','"','"','1','"','"','"',0 } |
static const WCHAR | simpleQuotedCN_W [] = { '"','"','"','1','"','"','"',0 } |
static const WCHAR | multipleAttrCN_W [] = { 'C','N','=','"','1','+','2','"',0 } |
static const WCHAR | simpleMultipleAttrCN_W [] = { '"','1','+','2','"',0 } |
static const WCHAR | commaCN_W [] = { 'C','N','=','"','a',',','b','"',0 } |
static const WCHAR | simpleCommaCN_W [] = { '"','a',',','b','"',0 } |
static const WCHAR | equalCN_W [] = { 'C','N','=','"','a','=','b','"',0 } |
static const WCHAR | simpleEqualCN_W [] = { '"','a','=','b','"',0 } |
static const WCHAR | lessThanCN_W [] = { 'C','N','=','"','<','"',0 } |
static const WCHAR | simpleLessThanCN_W [] = { '"','<','"',0 } |
static const WCHAR | greaterThanCN_W [] = { 'C','N','=','"','>','"',0 } |
static const WCHAR | simpleGreaterThanCN_W [] = { '"','>','"',0 } |
static const WCHAR | hashCN_W [] = { 'C','N','=','"','#','"',0 } |
static const WCHAR | simpleHashCN_W [] = { '"','#','"',0 } |
static const WCHAR | semiCN_W [] = { 'C','N','=','"',';','"',0 } |
static const WCHAR | simpleSemiCN_W [] = { '"',';','"',0 } |
static const WCHAR | newlineCN_W [] = { 'C','N','=','"','a','\n','b','"',0 } |
static const WCHAR | simpleNewlineCN_W [] = { '"','a','\n','b','"',0 } |
static const struct StrToNameA | namesA [] |
static const WCHAR | badlyQuotedCN_W [] = { 'C','N','=','"','"','1','"','"',0 } |
static const WCHAR | simpleCN2_W [] = { 'C','N','=','"','1','"',0 } |
static const WCHAR | simpleCN3_W [] = { 'C','N',' ','=',' ','"','1','"',0 } |
static const WCHAR | japaneseCN_W [] = { 'C','N','=',0x226f,0x575b,0 } |
static const WCHAR | dummyCN_W [] = { 'C','N','=','d','u','m','m','y',',','T','=','t','e','s','t',0 } |
static const WCHAR | encodedFields_W [] |
static const BYTE | encodedJapaneseCN [] |
static const struct StrToNameW | namesW [] |
typedef struct _CertRDNAttrEncoding * PCertRDNAttrEncoding |
typedef struct _CertRDNAttrEncodingW * PCertRDNAttrEncodingW |
START_TEST | ( | str | ) |
Definition at line 1060 of file str.c.
Definition at line 904 of file str.c.
Referenced by START_TEST().
Definition at line 431 of file str.c.
Referenced by START_TEST().
Definition at line 584 of file str.c.
Referenced by START_TEST().
Definition at line 205 of file str.c.
Referenced by START_TEST().
Definition at line 275 of file str.c.
Referenced by START_TEST().
Definition at line 730 of file str.c.
Referenced by START_TEST().
|
static |
Definition at line 370 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 817 of file str.c.
Referenced by test_CertStrToNameW().
|
static |
Definition at line 45 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 69 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 46 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 48 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 50 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 52 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 54 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 56 of file str.c.
Referenced by test_CertRDNValueToStrA(), and test_CertRDNValueToStrW().
|
static |
Definition at line 58 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().
Definition at line 202 of file str.c.
Referenced by _LocalGetPrintServerHandleData(), CMruShortList::_SlotString(), CMruLongList::_SlotString(), CCicLibMenu::AddMenuItem(), AllocLine(), anonymous_namespace{activex.cpp}::AllocLpsz(), AllocStrCat(), ApplyParameterStringsToMessage(), BIDI_ReorderL2vLevel(), BIDI_ReorderV2lLevel(), CertGetNameStringW(), CmdTrace(), ConPagerWorker(), DeleteDirectoryTree(), DeviceCapabilitiesA(), DIALOG_GoTo(), DocumentPropertiesA(), DoesMatch(), DoValidateShortcutName(), DrawShadowText(), CMyDocsDropHandler::Drop(), DropPrefix(), DumpString(), EnumPrintersA(), ErrMsg(), ExpandEnvStrings(), ExpandTab(), ExpandTabLength(), ExtractAndInstallThread(), ExtractFilesFromZip(), ExtTextOutA(), FindExecutableW(), FindNextLine(), CRegistryFolder::FormatValueData(), CicProfile::GetCodePageA(), GetEventMessage(), GetNextLine(), GetPredefinedClipboardFormatName(), GetPrinterA(), GetPrinterDataExA(), GetPrinterDriverA(), GetPrintProcessorDirectoryA(), GetProgramPath(), GetRegString(), CTipbarThread::GetTextSize(), Imm32WideFromAnsi(), ImmEscapeA(), ImmEscapeW(), ImmGetDescriptionA(), ImmGetDescriptionW(), ImmGetIMEFileNameA(), ImmGetIMEFileNameW(), CUIFMenuItem::Init(), CCicLibMenuItem::Init(), CZZWStr::Initialize(), InsertAtSelection_InsertTextAtSelection(), IntTranslateKbdMessage(), IsBlankLine(), ITextDocument2Old_fnCheckTextLimit(), LogFontAnsiToWide(), LogFontWideToAnsi(), anonymous_namespace{activex.cpp}::LpszToBstr(), makestringfile(), mmioRead(), mmioWrite(), MorePagerLine(), CAutoComplete::OnEditKeyDown(), CFontsDialog::OnFontName(), CFontsDialog::OnFontSize(), CAutoComplete::OnListSelChange(), OpenPrinterA(), ParseLines(), ParseMoreVariable(), PathMakeAbsoluteW(), PathWordBreakProc(), PropVariantToString(), PSStringFromPropertyKey(), read_text_callback(), RegenerateUserEnvironment(), resolveLines(), resolveParagraphs(), resolveWhitespace(), RetrieveClipboardFormatName(), reverse(), SetClipboardFromString(), SetDefaultPrinterA(), SetPrinterDataExA(), CUIFButton::SetText(), CUIFBalloonWindow::SetText(), SHELL_ErrorBoxHelper(), CDesktopFolder::ShellUrlParseDisplayName(), StartDocPrinterA(), CFindFolder::StartSearch(), SuggestKeys(), SZZ_GetSize(), TEST_AssocQueryStringA(), TEST_AssocQueryStringW(), test_get_profiles_dir(), test_IACLCustomMRU_TypedURLs(), test_pack_MENUITEMINFOA(), test_pack_MENUITEMINFOW(), test_PSStringFromPropertyKey(), UnicodeToAnsiInPlace(), User32DoImeHelp(), WhereFindByDirs(), WhereGetVariable(), WhereSearchFiles(), WhereSearchGeneric(), and CRegPropertyBag::Write().
Definition at line 569 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 188 of file str.c.
Referenced by __wine_msi_call_dll_function(), _TestVesion(), actctx_release(), add_comserver_record(), build_comserver_section(), build_dllredirect_section(), build_ifaceps_section(), build_progid_section(), build_tlib_section(), build_wndclass_section(), component_GetDetVersion(), CRYPT_GetFuncFromDll(), DliHook(), extract_test_proc(), find_dll_redirection(), get_comserver_datalen(), GetUIVersion(), hook_disp(), hook_theme(), BtrfsContextMenu::InvokeCommand(), ITypeInfo_fnAddressOfMember(), LoadShimDLL(), MACRO_RegisterRoutine(), parse_com_class_elem(), parse_cominterface_proxy_stub_elem(), parse_file_elem(), parse_typelib_elem(), parse_window_class_elem(), register_dll(), RegisterCMMA(), RegisterCMMW(), RtlQueryInformationActivationContext(), run_test(), s_remote_GetActionInfo(), START_TEST(), test_PlaySound(), unhook_disp(), unhook_theme(), and WinMain().
Definition at line 196 of file str.c.
Referenced by cert_name_to_str_with_indent(), CertNameToStrA(), CertNameToStrW(), CertStrToNameA(), CertStrToNameW(), CRYPT_ValueToRDN(), test_NameToStrConversionA(), and test_NameToStrConversionW().
|
static |
Definition at line 400 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
|
static |
Definition at line 403 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
|
static |
Definition at line 409 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 412 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 406 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 398 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 418 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 396 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 415 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 390 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 392 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
|
static |
Definition at line 394 of file str.c.
Referenced by test_CertNameToStrA(), and test_CertNameToStrW().
Definition at line 571 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 575 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 577 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 118 of file str.c.
Referenced by test_CertGetNameStringA(), and test_CertNameToStrA().
|
static |
Definition at line 122 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 144 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 120 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 138 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 132 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 573 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 567 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
|
static |
Definition at line 828 of file str.c.
Referenced by test_CertStrToNameW(), and test_StdRegProv().
Definition at line 581 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 196 of file str.c.
Referenced by CertCreateContext(), CertStrToNameA(), CertStrToNameW(), CRYPT_AsnDecodeAccessDescription(), CRYPT_AsnDecodeAlgorithmId(), CRYPT_AsnDecodeAltName(), CRYPT_AsnDecodeAltNameEntry(), CRYPT_AsnDecodeAltNameInternal(), CRYPT_AsnDecodeArray(), CRYPT_AsnDecodeAttributeTypeValue(), CRYPT_AsnDecodeAuthorityInfoAccess(), CRYPT_AsnDecodeAuthorityKeyId(), CRYPT_AsnDecodeAuthorityKeyId2(), CRYPT_AsnDecodeBasicConstraints(), CRYPT_AsnDecodeBasicConstraints2(), CRYPT_AsnDecodeBits(), CRYPT_AsnDecodeBitsInternal(), CRYPT_AsnDecodeBitsSwapBytes(), CRYPT_AsnDecodeBMPString(), CRYPT_AsnDecodeBool(), CRYPT_AsnDecodeCert(), CRYPT_AsnDecodeCertExtensions(), CRYPT_AsnDecodeCertExtensionsInternal(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCertPolicies(), CRYPT_AsnDecodeCertPolicy(), CRYPT_AsnDecodeCertPolicyConstraints(), CRYPT_AsnDecodeCertPolicyMapping(), CRYPT_AsnDecodeCertPolicyMappings(), CRYPT_AsnDecodeCertSignedContent(), CRYPT_AsnDecodeCertVersion(), CRYPT_AsnDecodeChoiceOfTime(), CRYPT_AsnDecodeChoiceOfTimeInternal(), CRYPT_AsnDecodeCMSCertEncoded(), CRYPT_AsnDecodeCMSCrlEncoded(), CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodeCMSSignerId(), CRYPT_AsnDecodeCMSSignerInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCopyBytes(), CRYPT_AsnDecodeCRL(), CRYPT_AsnDecodeCRLDistPoints(), CRYPT_AsnDecodeCRLEntries(), CRYPT_AsnDecodeCRLEntry(), CRYPT_AsnDecodeCRLEntryExtensions(), CRYPT_AsnDecodeCRLExtensions(), CRYPT_AsnDecodeCRLExtensionsInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeCTLEntries(), CRYPT_AsnDecodeCTLEntry(), CRYPT_AsnDecodeCTLEntryAttributes(), CRYPT_AsnDecodeCTLExtensions(), CRYPT_AsnDecodeCTLExtensionsInternal(), CRYPT_AsnDecodeCTLUsage(), CRYPT_AsnDecodeDerBlob(), CRYPT_AsnDecodeDistPoint(), CRYPT_AsnDecodeDistPointName(), CRYPT_AsnDecodeEccSignature(), CRYPT_AsnDecodeEncryptedContentInfo(), CRYPT_AsnDecodeEnhancedKeyUsage(), CRYPT_AsnDecodeEnumerated(), CRYPT_AsnDecodeExcludedSubtree(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodeExtensions(), CRYPT_AsnDecodeGeneralizedTime(), CRYPT_AsnDecodeIA5String(), CRYPT_AsnDecodeInhibitMapping(), CRYPT_AsnDecodeInt(), CRYPT_AsnDecodeInteger(), CRYPT_AsnDecodeIntegerInternal(), CRYPT_AsnDecodeIntInternal(), CRYPT_AsnDecodeIssuerSerialNumber(), CRYPT_AsnDecodeIssuingDistPoint(), CRYPT_AsnDecodeMaximum(), CRYPT_AsnDecodeName(), CRYPT_AsnDecodeNameConstraints(), CRYPT_AsnDecodeNameValue(), CRYPT_AsnDecodeNameValueInternal(), CRYPT_AsnDecodeNoticeNumbers(), CRYPT_AsnDecodeNoticeReference(), CRYPT_AsnDecodeObjectIdentifier(), CRYPT_AsnDecodeOctets(), CRYPT_AsnDecodeOctetString(), CRYPT_AsnDecodeOid(), CRYPT_AsnDecodeOidIgnoreTag(), CRYPT_AsnDecodeOidInternal(), CRYPT_AsnDecodePathLenConstraint(), CRYPT_AsnDecodePermittedSubtree(), CRYPT_AsnDecodePKCSAttribute(), CRYPT_AsnDecodePKCSAttributeInternal(), CRYPT_AsnDecodePKCSAttributes(), CRYPT_AsnDecodePKCSAttributesInternal(), CRYPT_AsnDecodePKCSAttributeValue(), CRYPT_AsnDecodePKCSContent(), CRYPT_AsnDecodePKCSContentInfo(), CRYPT_AsnDecodePKCSContentInfoInternal(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSEnvelopedData(), CRYPT_AsnDecodePKCSSignerInfo(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodePolicyQualifier(), CRYPT_AsnDecodePolicyQualifiers(), CRYPT_AsnDecodePolicyQualifierUserNotice(), CRYPT_AsnDecodePolicyQualifierUserNoticeInternal(), CRYPT_AsnDecodeProgramName(), CRYPT_AsnDecodePubKeyInfo(), CRYPT_AsnDecodePubKeyInfoInternal(), CRYPT_AsnDecodeRdn(), CRYPT_AsnDecodeRdnAttr(), CRYPT_AsnDecodeRecipientInfo(), CRYPT_AsnDecodeRequireExplicit(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), CRYPT_AsnDecodeSequence(), CRYPT_AsnDecodeSequenceItems(), CRYPT_AsnDecodeSequenceOfAny(), CRYPT_AsnDecodeSMIMECapabilities(), CRYPT_AsnDecodeSMIMECapability(), CRYPT_AsnDecodeSPCDigest(), CRYPT_AsnDecodeSPCLinkInternal(), CRYPT_AsnDecodeSPCLinkPointer(), CRYPT_AsnDecodeSubtree(), CRYPT_AsnDecodeSubtreeConstraints(), CRYPT_AsnDecodeTimeZone(), CRYPT_AsnDecodeUnicodeName(), CRYPT_AsnDecodeUnicodeNameValue(), CRYPT_AsnDecodeUnicodeNameValueInternal(), CRYPT_AsnDecodeUnicodeRdn(), CRYPT_AsnDecodeUnicodeRdnAttr(), CRYPT_AsnDecodeUnicodeString(), CRYPT_AsnDecodeUnsignedInteger(), CRYPT_AsnDecodeUnsignedIntegerInternal(), CRYPT_AsnDecodeUtcTime(), CRYPT_AsnDecodeUtcTimeInternal(), CRYPT_AsnDecodeValidity(), CRYPT_AsnEncodeAccessDescription(), CRYPT_AsnEncodeAlgorithmId(), CRYPT_AsnEncodeAlgorithmIdWithNullParams(), CRYPT_AsnEncodeAltName(), CRYPT_AsnEncodeAltNameEntry(), CRYPT_AsnEncodeAttributeTypeValue(), CRYPT_AsnEncodeAuthorityInfoAccess(), CRYPT_AsnEncodeAuthorityKeyId(), CRYPT_AsnEncodeAuthorityKeyId2(), CRYPT_AsnEncodeBasicConstraints(), CRYPT_AsnEncodeBasicConstraints2(), CRYPT_AsnEncodeBits(), CRYPT_AsnEncodeBitsSwapBytes(), CRYPT_AsnEncodeBMPString(), CRYPT_AsnEncodeBool(), CRYPT_AsnEncodeCert(), CRYPT_AsnEncodeCertInfo(), CRYPT_AsnEncodeCertPolicies(), CRYPT_AsnEncodeCertPolicy(), CRYPT_AsnEncodeCertPolicyConstraints(), CRYPT_AsnEncodeCertPolicyMapping(), CRYPT_AsnEncodeCertPolicyMappings(), CRYPT_AsnEncodeCertPolicyQualifiers(), CRYPT_AsnEncodeCertVersion(), CRYPT_AsnEncodeChoiceOfTime(), CRYPT_AsnEncodeCMSSignerInfo(), CRYPT_AsnEncodeConstructed(), CRYPT_AsnEncodeCRLDistPoints(), CRYPT_AsnEncodeCRLEntries(), CRYPT_AsnEncodeCRLEntry(), CRYPT_AsnEncodeCRLInfo(), CRYPT_AsnEncodeCRLVersion(), CRYPT_AsnEncodeCTL(), CRYPT_AsnEncodeCTLEntries(), CRYPT_AsnEncodeCTLEntry(), CRYPT_AsnEncodeCTLSubjectAlgorithm(), CRYPT_AsnEncodeCTLVersion(), CRYPT_AsnEncodeDistPoint(), CRYPT_AsnEncodeEncryptedContentInfo(), CRYPT_AsnEncodeEnhancedKeyUsage(), CRYPT_AsnEncodeEnumerated(), CRYPT_AsnEncodeExtension(), CRYPT_AsnEncodeExtensions(), CRYPT_AsnEncodeGeneralizedTime(), CRYPT_AsnEncodeGeneralSubtree(), CRYPT_AsnEncodeIA5String(), CRYPT_AsnEncodeInt(), CRYPT_AsnEncodeInteger(), CRYPT_AsnEncodeIssuerSerialNumber(), CRYPT_AsnEncodeIssuingDistPoint(), CRYPT_AsnEncodeName(), CRYPT_AsnEncodeNameConstraints(), CRYPT_AsnEncodeNameValue(), CRYPT_AsnEncodeNoticeNumbers(), CRYPT_AsnEncodeNoticeReference(), CRYPT_AsnEncodeNumericString(), CRYPT_AsnEncodeOctets(), CRYPT_AsnEncodeOid(), CRYPT_AsnEncodeOrCopyUnicodeNameValue(), CRYPT_AsnEncodePKCSAttribute(), CRYPT_AsnEncodePKCSAttributes(), CRYPT_AsnEncodePKCSContentInfo(), CRYPT_AsnEncodePKCSContentInfoInternal(), CRYPT_AsnEncodePKCSSignerInfo(), CRYPT_AsnEncodePolicyQualifierUserNotice(), CRYPT_AsnEncodePrintableString(), CRYPT_AsnEncodePubKeyInfo(), CRYPT_AsnEncodePubKeyInfoNoNull(), CRYPT_AsnEncodeRdn(), CRYPT_AsnEncodeRdnAttr(), CRYPT_AsnEncodeRecipientInfo(), CRYPT_AsnEncodeRsaPubKey(), CRYPT_AsnEncodeSequence(), CRYPT_AsnEncodeSequenceOfAny(), CRYPT_AsnEncodeSMIMECapabilities(), CRYPT_AsnEncodeSMIMECapability(), CRYPT_AsnEncodeSPCDigest(), CRYPT_AsnEncodeStringCoerce(), CRYPT_AsnEncodeSwapTag(), CRYPT_AsnEncodeUnicodeName(), CRYPT_AsnEncodeUnicodeNameValue(), CRYPT_AsnEncodeUnicodeStringCoerce(), CRYPT_AsnEncodeUniversalString(), CRYPT_AsnEncodeUnsignedInteger(), CRYPT_AsnEncodeUtcTime(), CRYPT_AsnEncodeUTF8String(), CRYPT_AsnEncodeValidity(), CRYPT_CopyEncodedBlob(), CRYPT_DecodeRecipientInfoArray(), CRYPT_DecodeSignerArray(), CRYPT_DEREncodeItemsAsSet(), CRYPT_DEREncodeSet(), CRYPT_EncodeContentLength(), CRYPT_EncodeEnsureSpace(), CRYPT_EncodeLen(), CRYPT_FindEncodedLen(), CRYPT_FormatAltName(), CRYPT_FormatAuthorityInfoAccess(), CRYPT_FormatAuthorityKeyId2(), CRYPT_FormatBasicConstraints2(), CRYPT_FormatCPS(), CRYPT_FormatCRLDistPoints(), CRYPT_FormatEnhancedKeyUsage(), CRYPT_FormatHexString(), CRYPT_FormatKeyUsage(), CRYPT_FormatNetscapeCertType(), CRYPT_FormatSpcFinancialCriteria(), CRYPT_FormatUnicodeString(), CRYPT_FormatUserNotice(), CRYPT_GetLen(), CRYPT_GetLengthIndefinite(), CryptDecodeObject(), CryptDecodeObjectEx(), CryptEncodeObject(), CryptFormatObject(), CryptHashCertificate(), CryptHashToBeSigned(), CryptMsgEncodeAndSignCTL(), CryptMsgSignCTL(), CryptSignAndEncodeCertificate(), CryptVerifyCertificateSignature(), FormatVerisignExtension(), test_format_object(), WVTAsn1CatMemberInfoDecode(), WVTAsn1CatMemberInfoEncode(), WVTAsn1CatNameValueDecode(), WVTAsn1CatNameValueEncode(), WVTAsn1SpcFinancialCriteriaInfoDecode(), WVTAsn1SpcFinancialCriteriaInfoEncode(), WVTAsn1SpcIndirectDataContentDecode(), WVTAsn1SpcIndirectDataContentEncode(), WVTAsn1SpcLinkDecode(), WVTAsn1SpcLinkEncode(), WVTAsn1SpcPeImageDataDecode(), WVTAsn1SpcPeImageDataEncode(), WVTAsn1SpcSpOpusInfoDecode(), and WVTAsn1SpcSpOpusInfoEncode().
Definition at line 197 of file str.c.
Referenced by CertStrToNameA(), CertStrToNameW(), CRYPT_AsnEncodeAccessDescription(), CRYPT_AsnEncodeAlgorithmId(), CRYPT_AsnEncodeAlgorithmIdWithNullParams(), CRYPT_AsnEncodeAltName(), CRYPT_AsnEncodeAltNameEntry(), CRYPT_AsnEncodeAttributeTypeValue(), CRYPT_AsnEncodeAuthorityInfoAccess(), CRYPT_AsnEncodeAuthorityKeyId(), CRYPT_AsnEncodeAuthorityKeyId2(), CRYPT_AsnEncodeBasicConstraints(), CRYPT_AsnEncodeBasicConstraints2(), CRYPT_AsnEncodeBits(), CRYPT_AsnEncodeBitsSwapBytes(), CRYPT_AsnEncodeBMPString(), CRYPT_AsnEncodeBool(), CRYPT_AsnEncodeCert(), CRYPT_AsnEncodeCertInfo(), CRYPT_AsnEncodeCertPolicies(), CRYPT_AsnEncodeCertPolicy(), CRYPT_AsnEncodeCertPolicyConstraints(), CRYPT_AsnEncodeCertPolicyMapping(), CRYPT_AsnEncodeCertPolicyMappings(), CRYPT_AsnEncodeCertPolicyQualifiers(), CRYPT_AsnEncodeCertVersion(), CRYPT_AsnEncodeChoiceOfTime(), CRYPT_AsnEncodeCMSSignerInfo(), CRYPT_AsnEncodeConstructed(), CRYPT_AsnEncodeCRLDistPoints(), CRYPT_AsnEncodeCRLEntries(), CRYPT_AsnEncodeCRLEntry(), CRYPT_AsnEncodeCRLInfo(), CRYPT_AsnEncodeCRLVersion(), CRYPT_AsnEncodeCTL(), CRYPT_AsnEncodeCTLEntries(), CRYPT_AsnEncodeCTLEntry(), CRYPT_AsnEncodeCTLSubjectAlgorithm(), CRYPT_AsnEncodeCTLVersion(), CRYPT_AsnEncodeDistPoint(), CRYPT_AsnEncodeEncryptedContentInfo(), CRYPT_AsnEncodeEnhancedKeyUsage(), CRYPT_AsnEncodeEnumerated(), CRYPT_AsnEncodeExtension(), CRYPT_AsnEncodeExtensions(), CRYPT_AsnEncodeGeneralizedTime(), CRYPT_AsnEncodeGeneralSubtree(), CRYPT_AsnEncodeIA5String(), CRYPT_AsnEncodeInt(), CRYPT_AsnEncodeInteger(), CRYPT_AsnEncodeIssuerSerialNumber(), CRYPT_AsnEncodeIssuingDistPoint(), CRYPT_AsnEncodeName(), CRYPT_AsnEncodeNameConstraints(), CRYPT_AsnEncodeNameValue(), CRYPT_AsnEncodeNoticeNumbers(), CRYPT_AsnEncodeNoticeReference(), CRYPT_AsnEncodeNumericString(), CRYPT_AsnEncodeOctets(), CRYPT_AsnEncodeOid(), CRYPT_AsnEncodeOrCopyUnicodeNameValue(), CRYPT_AsnEncodePKCSAttribute(), CRYPT_AsnEncodePKCSAttributes(), CRYPT_AsnEncodePKCSContentInfo(), CRYPT_AsnEncodePKCSContentInfoInternal(), CRYPT_AsnEncodePKCSSignerInfo(), CRYPT_AsnEncodePolicyQualifierUserNotice(), CRYPT_AsnEncodePrintableString(), CRYPT_AsnEncodePubKeyInfo(), CRYPT_AsnEncodePubKeyInfoNoNull(), CRYPT_AsnEncodeRdn(), CRYPT_AsnEncodeRdnAttr(), CRYPT_AsnEncodeRecipientInfo(), CRYPT_AsnEncodeRsaPubKey(), CRYPT_AsnEncodeSequence(), CRYPT_AsnEncodeSequenceOfAny(), CRYPT_AsnEncodeSMIMECapabilities(), CRYPT_AsnEncodeSMIMECapability(), CRYPT_AsnEncodeSPCDigest(), CRYPT_AsnEncodeStringCoerce(), CRYPT_AsnEncodeSwapTag(), CRYPT_AsnEncodeUnicodeName(), CRYPT_AsnEncodeUnicodeNameValue(), CRYPT_AsnEncodeUnicodeStringCoerce(), CRYPT_AsnEncodeUniversalString(), CRYPT_AsnEncodeUnsignedInteger(), CRYPT_AsnEncodeUtcTime(), CRYPT_AsnEncodeUTF8String(), CRYPT_AsnEncodeValidity(), CRYPT_CopyEncodedBlob(), CRYPT_DEREncodeItemsAsSet(), CRYPT_DEREncodeSet(), CRYPT_EncodeContentLength(), CRYPT_EncodeEnsureSpace(), CRYPT_EncodeLen(), CryptEncodeObject(), CryptEncodeObjectEx(), CryptMsgEncodeAndSignCTL(), CryptMsgSignCTL(), CryptSignAndEncodeCertificate(), WVTAsn1CatMemberInfoEncode(), WVTAsn1CatNameValueEncode(), WVTAsn1SpcFinancialCriteriaInfoEncode(), WVTAsn1SpcIndirectDataContentEncode(), WVTAsn1SpcLinkEncode(), WVTAsn1SpcPeImageDataEncode(), and WVTAsn1SpcSpOpusInfoEncode().
Definition at line 197 of file str.c.
Referenced by CertStrToNameA(), CertStrToNameW(), CRYPT_EncodeValue(), CRYPT_EncodeValueWithType(), CRYPT_GetNextKeyW(), CRYPT_GetNextValueW(), and CRYPT_ValueToRDN().
static LPCWSTR pszX500 |
Definition at line 196 of file str.c.
Referenced by CertStrToNameA(), and CertStrToNameW().
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void _In_opt_ PCRYPT_CREDENTIALS _Inout_opt_ void * pvReserved |
Definition at line 196 of file str.c.
Referenced by AsyncInstallDistributionUnit(), CertFindCertificateInCRL(), CertGetCertificateChain(), CertIsValidCRLForCertificate(), CertRegisterPhysicalStore(), CertRegisterSystemStore(), CertStrToNameA(), CertStrToNameW(), CoAllowSetForegroundWindow(), CoGetClassObjectFromURL(), CreateAssemblyEnum(), CreateAssemblyNameObject(), CreateInstallReferenceEnum(), CryptAcquireCertificatePrivateKey(), CryptCATCDFEnumMembersByCDFTagEx(), CryptFindCertificateKeyProvInfo(), CryptGetObjectUrl(), CryptMsgVerifyCountersignatureEncodedEx(), CryptSetKeyIdentifierProperty(), CryptUIDlgSelectCertificateFromStore(), CryptUIDlgViewContext(), CryptVerifyCertificateSignatureEx(), DECLARE_INTERFACE_(), DllMain(), IAssemblyCacheImpl_CreateAssemblyCacheItem(), IAssemblyEnumImpl_GetNextAssembly(), IAssemblyNameImpl_Reserved(), LoadLibraryShim(), name_Reserved(), OpenINFEngineA(), OpenINFEngineW(), PFXExportCertStoreEx(), RunSetupCommandA(), RunSetupCommandW(), TranslateInfStringA(), TranslateInfStringExA(), TranslateInfStringExW(), TranslateInfStringW(), and WlxInitialize().
Definition at line 565 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 579 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 560 of file str.c.
Referenced by test_CertNameToStrW(), and test_CertStrToNameW().
Definition at line 570 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 572 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 576 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 578 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 574 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 568 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 582 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 566 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 580 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 562 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 564 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 561 of file str.c.
Referenced by test_CertNameToStrW().
Definition at line 563 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 124 of file str.c.
Referenced by test_CertGetNameStringA(), and test_CertNameToStrA().
|
static |
Definition at line 128 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 170 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 126 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 160 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 150 of file str.c.
Referenced by test_CertNameToStrW().
|
static |
Definition at line 130 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 131 of file str.c.
Referenced by test_CertNameToStrA().
|
static |
Definition at line 180 of file str.c.
Referenced by test_CertNameToStrW().