From 1b722a126c51ec6cfb8a07d06f3937be70ca5992 Mon Sep 17 00:00:00 2001 From: ko1N Date: Sun, 17 Dec 2023 12:29:32 +0100 Subject: [PATCH] Regenerated windows bindings --- leechcore-sys/src/leechcore_windows.rs | 2807 +++++++++++++----------- 1 file changed, 1504 insertions(+), 1303 deletions(-) diff --git a/leechcore-sys/src/leechcore_windows.rs b/leechcore-sys/src/leechcore_windows.rs index b843a30..621e9a6 100644 --- a/leechcore-sys/src/leechcore_windows.rs +++ b/leechcore-sys/src/leechcore_windows.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.63.0 */ +/* automatically generated by rust-bindgen 0.69.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -135,7 +135,7 @@ impl ::std::default::Default for __BindgenUnionField { impl ::std::clone::Clone for __BindgenUnionField { #[inline] fn clone(&self) -> Self { - Self::new() + *self } } impl ::std::marker::Copy for __BindgenUnionField {} @@ -1073,7 +1073,7 @@ pub const UNW_FLAG_UHANDLER: u32 = 2; pub const UNW_FLAG_CHAININFO: u32 = 4; pub const UNW_FLAG_NO_EPILOGUE: u32 = 2147483648; pub const UNWIND_CHAIN_LIMIT: u32 = 32; -pub const OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK_EXPORT_NAME: &[u8; 34usize] = +pub const OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK_EXPORT_NAME: &[u8; 34] = b"OutOfProcessFunctionTableCallback\0"; pub const CONTEXT_ARM64: u32 = 4194304; pub const CONTEXT_ARM64_CONTROL: u32 = 4194305; @@ -1420,10 +1420,10 @@ pub const ACCESS_PROPERTY_SET_GUID: u32 = 1; pub const ACCESS_PROPERTY_GUID: u32 = 2; pub const ACCESS_MAX_LEVEL: u32 = 4; pub const AUDIT_ALLOW_NO_PRIVILEGE: u32 = 1; -pub const ACCESS_DS_SOURCE_A: &[u8; 3usize] = b"DS\0"; -pub const ACCESS_DS_SOURCE_W: &[u8; 3usize] = b"DS\0"; -pub const ACCESS_DS_OBJECT_TYPE_NAME_A: &[u8; 25usize] = b"Directory Service Object\0"; -pub const ACCESS_DS_OBJECT_TYPE_NAME_W: &[u8; 25usize] = b"Directory Service Object\0"; +pub const ACCESS_DS_SOURCE_A: &[u8; 3] = b"DS\0"; +pub const ACCESS_DS_SOURCE_W: &[u8; 3] = b"DS\0"; +pub const ACCESS_DS_OBJECT_TYPE_NAME_A: &[u8; 25] = b"Directory Service Object\0"; +pub const ACCESS_DS_OBJECT_TYPE_NAME_W: &[u8; 25] = b"Directory Service Object\0"; pub const SE_PRIVILEGE_ENABLED_BY_DEFAULT: u32 = 1; pub const SE_PRIVILEGE_ENABLED: u32 = 2; pub const SE_PRIVILEGE_REMOVED: u32 = 4; @@ -1440,12 +1440,12 @@ pub const SE_SECURITY_DESCRIPTOR_FLAG_NO_ACCESS_FILTER_ACE: u32 = 4; pub const SE_SECURITY_DESCRIPTOR_VALID_FLAGS: u32 = 7; pub const SE_ACCESS_CHECK_FLAG_NO_LEARNING_MODE_LOGGING: u32 = 8; pub const SE_ACCESS_CHECK_VALID_FLAGS: u32 = 8; -pub const SE_ACTIVATE_AS_USER_CAPABILITY: &[u8; 15usize] = b"activateAsUser\0"; -pub const SE_CONSTRAINED_IMPERSONATION_CAPABILITY: &[u8; 25usize] = b"constrainedImpersonation\0"; -pub const SE_SESSION_IMPERSONATION_CAPABILITY: &[u8; 21usize] = b"sessionImpersonation\0"; -pub const SE_MUMA_CAPABILITY: &[u8; 5usize] = b"muma\0"; -pub const SE_DEVELOPMENT_MODE_NETWORK_CAPABILITY: &[u8; 23usize] = b"developmentModeNetwork\0"; -pub const SE_PERMISSIVE_LEARNING_MODE_CAPABILITY: &[u8; 23usize] = b"permissiveLearningMode\0"; +pub const SE_ACTIVATE_AS_USER_CAPABILITY: &[u8; 15] = b"activateAsUser\0"; +pub const SE_CONSTRAINED_IMPERSONATION_CAPABILITY: &[u8; 25] = b"constrainedImpersonation\0"; +pub const SE_SESSION_IMPERSONATION_CAPABILITY: &[u8; 21] = b"sessionImpersonation\0"; +pub const SE_MUMA_CAPABILITY: &[u8; 5] = b"muma\0"; +pub const SE_DEVELOPMENT_MODE_NETWORK_CAPABILITY: &[u8; 23] = b"developmentModeNetwork\0"; +pub const SE_PERMISSIVE_LEARNING_MODE_CAPABILITY: &[u8; 23] = b"permissiveLearningMode\0"; pub const TOKEN_ASSIGN_PRIMARY: u32 = 1; pub const TOKEN_DUPLICATE: u32 = 2; pub const TOKEN_IMPERSONATE: u32 = 4; @@ -2038,7 +2038,7 @@ pub const SHUFFLE_FILE_FLAG_SKIP_INITIALIZING_NEW_CLUSTERS: u32 = 1; pub const IO_COMPLETION_MODIFY_STATE: u32 = 2; pub const IO_COMPLETION_ALL_ACCESS: u32 = 2031619; pub const IO_QOS_MAX_RESERVATION: u32 = 1000000000; -pub const SMB_CCF_APP_INSTANCE_EA_NAME: &[u8; 29usize] = b"ClusteredApplicationInstance\0"; +pub const SMB_CCF_APP_INSTANCE_EA_NAME: &[u8; 29] = b"ClusteredApplicationInstance\0"; pub const NETWORK_APP_INSTANCE_CSV_FLAGS_VALID_ONLY_IF_CSV_COORDINATOR: u32 = 1; pub const DUPLICATE_CLOSE_SOURCE: u32 = 1; pub const DUPLICATE_SAME_ACCESS: u32 = 2; @@ -2726,12 +2726,12 @@ pub const IMAGE_REL_BASED_MIPS_JMPADDR16: u32 = 9; pub const IMAGE_REL_BASED_ARM_MOV32: u32 = 5; pub const IMAGE_REL_BASED_THUMB_MOV32: u32 = 7; pub const IMAGE_ARCHIVE_START_SIZE: u32 = 8; -pub const IMAGE_ARCHIVE_START: &[u8; 9usize] = b"!\n\0"; -pub const IMAGE_ARCHIVE_END: &[u8; 3usize] = b"`\n\0"; -pub const IMAGE_ARCHIVE_PAD: &[u8; 2usize] = b"\n\0"; -pub const IMAGE_ARCHIVE_LINKER_MEMBER: &[u8; 17usize] = b"/ \0"; -pub const IMAGE_ARCHIVE_LONGNAMES_MEMBER: &[u8; 17usize] = b"// \0"; -pub const IMAGE_ARCHIVE_HYBRIDMAP_MEMBER: &[u8; 17usize] = b"// \0"; +pub const IMAGE_ARCHIVE_START: &[u8; 9] = b"!\n\0"; +pub const IMAGE_ARCHIVE_END: &[u8; 3] = b"`\n\0"; +pub const IMAGE_ARCHIVE_PAD: &[u8; 2] = b"\n\0"; +pub const IMAGE_ARCHIVE_LINKER_MEMBER: &[u8; 17] = b"/ \0"; +pub const IMAGE_ARCHIVE_LONGNAMES_MEMBER: &[u8; 17] = b"// \0"; +pub const IMAGE_ARCHIVE_HYBRIDMAP_MEMBER: &[u8; 17] = b"// \0"; pub const IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR: u32 = 60; pub const IMAGE_ORDINAL_FLAG64: i64 = -9223372036854775808; pub const IMAGE_ORDINAL_FLAG32: u32 = 2147483648; @@ -3003,7 +3003,7 @@ pub const RTL_CORRELATION_VECTOR_V1_LENGTH: u32 = 64; pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22; pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128; pub const IMAGE_POLICY_METADATA_VERSION: u32 = 1; -pub const IMAGE_POLICY_SECTION_NAME: &[u8; 9usize] = b".tPolicy\0"; +pub const IMAGE_POLICY_SECTION_NAME: &[u8; 9] = b".tPolicy\0"; pub const RTL_VIRTUAL_UNWIND2_VALIDATE_PAC: u32 = 1; pub const RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO: u32 = 16777216; pub const RTL_CRITICAL_SECTION_FLAG_DYNAMIC_SPIN: u32 = 33554432; @@ -3035,13 +3035,13 @@ pub const CREATE_BOUNDARY_DESCRIPTOR_ADD_APPCONTAINER_SID: u32 = 1; pub const PERFORMANCE_DATA_VERSION: u32 = 1; pub const READ_THREAD_PROFILING_FLAG_DISPATCHING: u32 = 1; pub const READ_THREAD_PROFILING_FLAG_HARDWARE_COUNTERS: u32 = 2; -pub const UNIFIEDBUILDREVISION_KEY: &[u8; 63usize] = +pub const UNIFIEDBUILDREVISION_KEY: &[u8; 63] = b"\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\0"; -pub const UNIFIEDBUILDREVISION_VALUE: &[u8; 4usize] = b"UBR\0"; +pub const UNIFIEDBUILDREVISION_VALUE: &[u8; 4] = b"UBR\0"; pub const UNIFIEDBUILDREVISION_MIN: u32 = 0; -pub const DEVICEFAMILYDEVICEFORM_KEY: &[u8; 67usize] = +pub const DEVICEFAMILYDEVICEFORM_KEY: &[u8; 67] = b"\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM\0"; -pub const DEVICEFAMILYDEVICEFORM_VALUE: &[u8; 11usize] = b"DeviceForm\0"; +pub const DEVICEFAMILYDEVICEFORM_VALUE: &[u8; 11] = b"DeviceForm\0"; pub const DEVICEFAMILYINFOENUM_UAP: u32 = 0; pub const DEVICEFAMILYINFOENUM_WINDOWS_8X: u32 = 1; pub const DEVICEFAMILYINFOENUM_WINDOWS_PHONE_8X: u32 = 2; @@ -3362,10 +3362,10 @@ pub const TRANSACTION_NOTIFY_PROMOTE: u32 = 134217728; pub const TRANSACTION_NOTIFY_PROMOTE_NEW: u32 = 268435456; pub const TRANSACTION_NOTIFY_REQUEST_OUTCOME: u32 = 536870912; pub const TRANSACTION_NOTIFY_COMMIT_FINALIZE: u32 = 1073741824; -pub const TRANSACTIONMANAGER_OBJECT_PATH: &[u8; 21usize] = b"\\TransactionManager\\\0"; -pub const TRANSACTION_OBJECT_PATH: &[u8; 14usize] = b"\\Transaction\\\0"; -pub const ENLISTMENT_OBJECT_PATH: &[u8; 13usize] = b"\\Enlistment\\\0"; -pub const RESOURCE_MANAGER_OBJECT_PATH: &[u8; 18usize] = b"\\ResourceManager\\\0"; +pub const TRANSACTIONMANAGER_OBJECT_PATH: &[u8; 21] = b"\\TransactionManager\\\0"; +pub const TRANSACTION_OBJECT_PATH: &[u8; 14] = b"\\Transaction\\\0"; +pub const ENLISTMENT_OBJECT_PATH: &[u8; 13] = b"\\Enlistment\\\0"; +pub const RESOURCE_MANAGER_OBJECT_PATH: &[u8; 18] = b"\\ResourceManager\\\0"; pub const TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED: u32 = 1; pub const KTM_MARSHAL_BLOB_VERSION_MAJOR: u32 = 1; pub const KTM_MARSHAL_BLOB_VERSION_MINOR: u32 = 1; @@ -3985,12 +3985,12 @@ pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_ENABLE_PROCESS_TREE: u32 = 1; pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_DISABLE_PROCESS_TREE: u32 = 2; pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_OVERRIDE: u32 = 4; pub const ATOM_FLAG_GLOBAL: u32 = 2; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A: &[u8; 25usize] = b"GetSystemWow64DirectoryA\0"; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_W: &[u8; 25usize] = b"GetSystemWow64DirectoryA\0"; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A: &[u8; 25usize] = b"GetSystemWow64DirectoryW\0"; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W: &[u8; 25usize] = b"GetSystemWow64DirectoryW\0"; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A: &[u8; 25usize] = b"GetSystemWow64DirectoryA\0"; -pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_W: &[u8; 25usize] = b"GetSystemWow64DirectoryA\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A: &[u8; 25] = b"GetSystemWow64DirectoryA\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_W: &[u8; 25] = b"GetSystemWow64DirectoryA\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A: &[u8; 25] = b"GetSystemWow64DirectoryW\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W: &[u8; 25] = b"GetSystemWow64DirectoryW\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A: &[u8; 25] = b"GetSystemWow64DirectoryA\0"; +pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_W: &[u8; 25] = b"GetSystemWow64DirectoryA\0"; pub const BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE: u32 = 1; pub const BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE: u32 = 65536; pub const BASE_SEARCH_PATH_PERMANENT: u32 = 32768; @@ -12242,8 +12242,8 @@ pub const MUI_FORMAT_INF_COMPAT: u32 = 2; pub const MUI_VERIFY_FILE_EXISTS: u32 = 4; pub const MUI_SKIP_STRING_CACHE: u32 = 8; pub const MUI_IMMUTABLE_LOOKUP: u32 = 16; -pub const LOCALE_NAME_INVARIANT: &[u8; 1usize] = b"\0"; -pub const LOCALE_NAME_SYSTEM_DEFAULT: &[u8; 22usize] = b"!x-sys-default-locale\0"; +pub const LOCALE_NAME_INVARIANT: &[u8; 1] = b"\0"; +pub const LOCALE_NAME_SYSTEM_DEFAULT: &[u8; 22] = b"!x-sys-default-locale\0"; pub const RIGHT_ALT_PRESSED: u32 = 1; pub const LEFT_ALT_PRESSED: u32 = 2; pub const RIGHT_CTRL_PRESSED: u32 = 4; @@ -12820,14 +12820,14 @@ pub const XTYP_MASK: u32 = 240; pub const XTYP_SHIFT: u32 = 4; pub const TIMEOUT_ASYNC: u32 = 4294967295; pub const QID_SYNC: u32 = 4294967295; -pub const SZDDESYS_TOPIC: &[u8; 7usize] = b"System\0"; -pub const SZDDESYS_ITEM_TOPICS: &[u8; 7usize] = b"Topics\0"; -pub const SZDDESYS_ITEM_SYSITEMS: &[u8; 9usize] = b"SysItems\0"; -pub const SZDDESYS_ITEM_RTNMSG: &[u8; 14usize] = b"ReturnMessage\0"; -pub const SZDDESYS_ITEM_STATUS: &[u8; 7usize] = b"Status\0"; -pub const SZDDESYS_ITEM_FORMATS: &[u8; 8usize] = b"Formats\0"; -pub const SZDDESYS_ITEM_HELP: &[u8; 5usize] = b"Help\0"; -pub const SZDDE_ITEM_ITEMLIST: &[u8; 14usize] = b"TopicItemList\0"; +pub const SZDDESYS_TOPIC: &[u8; 7] = b"System\0"; +pub const SZDDESYS_ITEM_TOPICS: &[u8; 7] = b"Topics\0"; +pub const SZDDESYS_ITEM_SYSITEMS: &[u8; 9] = b"SysItems\0"; +pub const SZDDESYS_ITEM_RTNMSG: &[u8; 14] = b"ReturnMessage\0"; +pub const SZDDESYS_ITEM_STATUS: &[u8; 7] = b"Status\0"; +pub const SZDDESYS_ITEM_FORMATS: &[u8; 8] = b"Formats\0"; +pub const SZDDESYS_ITEM_HELP: &[u8; 5] = b"Help\0"; +pub const SZDDE_ITEM_ITEMLIST: &[u8; 14] = b"TopicItemList\0"; pub const CBF_FAIL_SELFCONNECTIONS: u32 = 4096; pub const CBF_FAIL_CONNECTIONS: u32 = 8192; pub const CBF_FAIL_ADVISES: u32 = 16384; @@ -13938,8 +13938,8 @@ pub const SESSION_ESTABLISHED: u32 = 3; pub const HANGUP_PENDING: u32 = 4; pub const HANGUP_COMPLETE: u32 = 5; pub const SESSION_ABORTED: u32 = 6; -pub const ALL_TRANSPORTS: &[u8; 5usize] = b"M\0\0\0\0"; -pub const MS_NBF: &[u8; 5usize] = b"MNBF\0"; +pub const ALL_TRANSPORTS: &[u8; 5] = b"M\0\0\0\0"; +pub const MS_NBF: &[u8; 5] = b"MNBF\0"; pub const NCBCALL: u32 = 16; pub const NCBLISTEN: u32 = 17; pub const NCBHANGUP: u32 = 18; @@ -14412,7 +14412,7 @@ pub const SHIL_EXTRALARGE: u32 = 2; pub const SHIL_SYSSMALL: u32 = 3; pub const SHIL_JUMBO: u32 = 4; pub const SHIL_LAST: u32 = 4; -pub const WC_NETADDRESS: &[u8; 18usize] = b"msctls_netaddress\0"; +pub const WC_NETADDRESS: &[u8; 18] = b"msctls_netaddress\0"; pub const NCM_GETADDRESS: u32 = 1025; pub const NCM_SETALLOWTYPE: u32 = 1026; pub const NCM_GETALLOWTYPE: u32 = 1027; @@ -15030,72 +15030,66 @@ pub const PROV_RNG: u32 = 21; pub const PROV_INTEL_SEC: u32 = 22; pub const PROV_REPLACE_OWF: u32 = 23; pub const PROV_RSA_AES: u32 = 24; -pub const MS_DEF_PROV_A: &[u8; 43usize] = b"Microsoft Base Cryptographic Provider v1.0\0"; -pub const MS_DEF_PROV_W: &[u8; 43usize] = b"Microsoft Base Cryptographic Provider v1.0\0"; -pub const MS_DEF_PROV: &[u8; 43usize] = b"Microsoft Base Cryptographic Provider v1.0\0"; -pub const MS_ENHANCED_PROV_A: &[u8; 47usize] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; -pub const MS_ENHANCED_PROV_W: &[u8; 47usize] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; -pub const MS_ENHANCED_PROV: &[u8; 47usize] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; -pub const MS_STRONG_PROV_A: &[u8; 40usize] = b"Microsoft Strong Cryptographic Provider\0"; -pub const MS_STRONG_PROV_W: &[u8; 40usize] = b"Microsoft Strong Cryptographic Provider\0"; -pub const MS_STRONG_PROV: &[u8; 40usize] = b"Microsoft Strong Cryptographic Provider\0"; -pub const MS_DEF_RSA_SIG_PROV_A: &[u8; 47usize] = - b"Microsoft RSA Signature Cryptographic Provider\0"; -pub const MS_DEF_RSA_SIG_PROV_W: &[u8; 47usize] = - b"Microsoft RSA Signature Cryptographic Provider\0"; -pub const MS_DEF_RSA_SIG_PROV: &[u8; 47usize] = b"Microsoft RSA Signature Cryptographic Provider\0"; -pub const MS_DEF_RSA_SCHANNEL_PROV_A: &[u8; 46usize] = - b"Microsoft RSA SChannel Cryptographic Provider\0"; -pub const MS_DEF_RSA_SCHANNEL_PROV_W: &[u8; 46usize] = +pub const MS_DEF_PROV_A: &[u8; 43] = b"Microsoft Base Cryptographic Provider v1.0\0"; +pub const MS_DEF_PROV_W: &[u8; 43] = b"Microsoft Base Cryptographic Provider v1.0\0"; +pub const MS_DEF_PROV: &[u8; 43] = b"Microsoft Base Cryptographic Provider v1.0\0"; +pub const MS_ENHANCED_PROV_A: &[u8; 47] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; +pub const MS_ENHANCED_PROV_W: &[u8; 47] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; +pub const MS_ENHANCED_PROV: &[u8; 47] = b"Microsoft Enhanced Cryptographic Provider v1.0\0"; +pub const MS_STRONG_PROV_A: &[u8; 40] = b"Microsoft Strong Cryptographic Provider\0"; +pub const MS_STRONG_PROV_W: &[u8; 40] = b"Microsoft Strong Cryptographic Provider\0"; +pub const MS_STRONG_PROV: &[u8; 40] = b"Microsoft Strong Cryptographic Provider\0"; +pub const MS_DEF_RSA_SIG_PROV_A: &[u8; 47] = b"Microsoft RSA Signature Cryptographic Provider\0"; +pub const MS_DEF_RSA_SIG_PROV_W: &[u8; 47] = b"Microsoft RSA Signature Cryptographic Provider\0"; +pub const MS_DEF_RSA_SIG_PROV: &[u8; 47] = b"Microsoft RSA Signature Cryptographic Provider\0"; +pub const MS_DEF_RSA_SCHANNEL_PROV_A: &[u8; 46] = b"Microsoft RSA SChannel Cryptographic Provider\0"; -pub const MS_DEF_RSA_SCHANNEL_PROV: &[u8; 46usize] = +pub const MS_DEF_RSA_SCHANNEL_PROV_W: &[u8; 46] = b"Microsoft RSA SChannel Cryptographic Provider\0"; -pub const MS_DEF_DSS_PROV_A: &[u8; 42usize] = b"Microsoft Base DSS Cryptographic Provider\0"; -pub const MS_DEF_DSS_PROV_W: &[u8; 42usize] = b"Microsoft Base DSS Cryptographic Provider\0"; -pub const MS_DEF_DSS_PROV: &[u8; 42usize] = b"Microsoft Base DSS Cryptographic Provider\0"; -pub const MS_DEF_DSS_DH_PROV_A: &[u8; 61usize] = +pub const MS_DEF_RSA_SCHANNEL_PROV: &[u8; 46] = b"Microsoft RSA SChannel Cryptographic Provider\0"; +pub const MS_DEF_DSS_PROV_A: &[u8; 42] = b"Microsoft Base DSS Cryptographic Provider\0"; +pub const MS_DEF_DSS_PROV_W: &[u8; 42] = b"Microsoft Base DSS Cryptographic Provider\0"; +pub const MS_DEF_DSS_PROV: &[u8; 42] = b"Microsoft Base DSS Cryptographic Provider\0"; +pub const MS_DEF_DSS_DH_PROV_A: &[u8; 61] = b"Microsoft Base DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_DEF_DSS_DH_PROV_W: &[u8; 61usize] = +pub const MS_DEF_DSS_DH_PROV_W: &[u8; 61] = b"Microsoft Base DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_DEF_DSS_DH_PROV: &[u8; 61usize] = +pub const MS_DEF_DSS_DH_PROV: &[u8; 61] = b"Microsoft Base DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_ENH_DSS_DH_PROV_A: &[u8; 65usize] = +pub const MS_ENH_DSS_DH_PROV_A: &[u8; 65] = b"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_ENH_DSS_DH_PROV_W: &[u8; 65usize] = +pub const MS_ENH_DSS_DH_PROV_W: &[u8; 65] = b"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_ENH_DSS_DH_PROV: &[u8; 65usize] = +pub const MS_ENH_DSS_DH_PROV: &[u8; 65] = b"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider\0"; -pub const MS_DEF_DH_SCHANNEL_PROV_A: &[u8; 45usize] = - b"Microsoft DH SChannel Cryptographic Provider\0"; -pub const MS_DEF_DH_SCHANNEL_PROV_W: &[u8; 45usize] = - b"Microsoft DH SChannel Cryptographic Provider\0"; -pub const MS_DEF_DH_SCHANNEL_PROV: &[u8; 45usize] = - b"Microsoft DH SChannel Cryptographic Provider\0"; -pub const MS_SCARD_PROV_A: &[u8; 42usize] = b"Microsoft Base Smart Card Crypto Provider\0"; -pub const MS_SCARD_PROV_W: &[u8; 42usize] = b"Microsoft Base Smart Card Crypto Provider\0"; -pub const MS_SCARD_PROV: &[u8; 42usize] = b"Microsoft Base Smart Card Crypto Provider\0"; -pub const MS_ENH_RSA_AES_PROV_A: &[u8; 54usize] = +pub const MS_DEF_DH_SCHANNEL_PROV_A: &[u8; 45] = b"Microsoft DH SChannel Cryptographic Provider\0"; +pub const MS_DEF_DH_SCHANNEL_PROV_W: &[u8; 45] = b"Microsoft DH SChannel Cryptographic Provider\0"; +pub const MS_DEF_DH_SCHANNEL_PROV: &[u8; 45] = b"Microsoft DH SChannel Cryptographic Provider\0"; +pub const MS_SCARD_PROV_A: &[u8; 42] = b"Microsoft Base Smart Card Crypto Provider\0"; +pub const MS_SCARD_PROV_W: &[u8; 42] = b"Microsoft Base Smart Card Crypto Provider\0"; +pub const MS_SCARD_PROV: &[u8; 42] = b"Microsoft Base Smart Card Crypto Provider\0"; +pub const MS_ENH_RSA_AES_PROV_A: &[u8; 54] = b"Microsoft Enhanced RSA and AES Cryptographic Provider\0"; -pub const MS_ENH_RSA_AES_PROV_W: &[u8; 54usize] = +pub const MS_ENH_RSA_AES_PROV_W: &[u8; 54] = b"Microsoft Enhanced RSA and AES Cryptographic Provider\0"; -pub const MS_ENH_RSA_AES_PROV_XP_A: &[u8; 66usize] = +pub const MS_ENH_RSA_AES_PROV_XP_A: &[u8; 66] = b"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)\0"; -pub const MS_ENH_RSA_AES_PROV_XP_W: &[u8; 66usize] = +pub const MS_ENH_RSA_AES_PROV_XP_W: &[u8; 66] = b"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)\0"; -pub const MS_ENH_RSA_AES_PROV_XP: &[u8; 66usize] = +pub const MS_ENH_RSA_AES_PROV_XP: &[u8; 66] = b"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)\0"; -pub const MS_ENH_RSA_AES_PROV: &[u8; 54usize] = +pub const MS_ENH_RSA_AES_PROV: &[u8; 54] = b"Microsoft Enhanced RSA and AES Cryptographic Provider\0"; pub const MAXUIDLEN: u32 = 64; -pub const EXPO_OFFLOAD_REG_VALUE: &[u8; 12usize] = b"ExpoOffload\0"; -pub const EXPO_OFFLOAD_FUNC_NAME: &[u8; 15usize] = b"OffloadModExpo\0"; -pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: &[u8; 41usize] = +pub const EXPO_OFFLOAD_REG_VALUE: &[u8; 12] = b"ExpoOffload\0"; +pub const EXPO_OFFLOAD_FUNC_NAME: &[u8; 15] = b"OffloadModExpo\0"; +pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: &[u8; 41] = b"Software\\Policies\\Microsoft\\Cryptography\0"; -pub const szKEY_CACHE_ENABLED: &[u8; 17usize] = b"CachePrivateKeys\0"; -pub const szKEY_CACHE_SECONDS: &[u8; 26usize] = b"PrivateKeyLifetimeSeconds\0"; -pub const szPRIV_KEY_CACHE_MAX_ITEMS: &[u8; 21usize] = b"PrivKeyCacheMaxItems\0"; +pub const szKEY_CACHE_ENABLED: &[u8; 17] = b"CachePrivateKeys\0"; +pub const szKEY_CACHE_SECONDS: &[u8; 26] = b"PrivateKeyLifetimeSeconds\0"; +pub const szPRIV_KEY_CACHE_MAX_ITEMS: &[u8; 21] = b"PrivKeyCacheMaxItems\0"; pub const cPRIV_KEY_CACHE_MAX_ITEMS_DEFAULT: u32 = 20; -pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: &[u8; 33usize] = +pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: &[u8; 33] = b"PrivKeyCachePurgeIntervalSeconds\0"; pub const cPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS_DEFAULT: u32 = 86400; pub const CUR_BLOB_VERSION: u32 = 2; @@ -15103,12 +15097,12 @@ pub const SCHANNEL_MAC_KEY: u32 = 0; pub const SCHANNEL_ENC_KEY: u32 = 1; pub const INTERNATIONAL_USAGE: u32 = 1; pub const BCRYPT_OBJECT_ALIGNMENT: u32 = 16; -pub const BCRYPT_KDF_HASH: &[u8; 5usize] = b"HASH\0"; -pub const BCRYPT_KDF_HMAC: &[u8; 5usize] = b"HMAC\0"; -pub const BCRYPT_KDF_TLS_PRF: &[u8; 8usize] = b"TLS_PRF\0"; -pub const BCRYPT_KDF_SP80056A_CONCAT: &[u8; 17usize] = b"SP800_56A_CONCAT\0"; -pub const BCRYPT_KDF_RAW_SECRET: &[u8; 9usize] = b"TRUNCATE\0"; -pub const BCRYPT_KDF_HKDF: &[u8; 5usize] = b"HKDF\0"; +pub const BCRYPT_KDF_HASH: &[u8; 5] = b"HASH\0"; +pub const BCRYPT_KDF_HMAC: &[u8; 5] = b"HMAC\0"; +pub const BCRYPT_KDF_TLS_PRF: &[u8; 8] = b"TLS_PRF\0"; +pub const BCRYPT_KDF_SP80056A_CONCAT: &[u8; 17] = b"SP800_56A_CONCAT\0"; +pub const BCRYPT_KDF_RAW_SECRET: &[u8; 9] = b"TRUNCATE\0"; +pub const BCRYPT_KDF_HKDF: &[u8; 5] = b"HKDF\0"; pub const KDF_HASH_ALGORITHM: u32 = 0; pub const KDF_SECRET_PREPEND: u32 = 1; pub const KDF_SECRET_APPEND: u32 = 2; @@ -15134,45 +15128,45 @@ pub const KDF_USE_SECRET_AS_HMAC_KEY_FLAG: u32 = 1; pub const BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION: u32 = 1; pub const BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG: u32 = 1; pub const BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG: u32 = 2; -pub const BCRYPT_OPAQUE_KEY_BLOB: &[u8; 14usize] = b"OpaqueKeyBlob\0"; -pub const BCRYPT_KEY_DATA_BLOB: &[u8; 12usize] = b"KeyDataBlob\0"; -pub const BCRYPT_AES_WRAP_KEY_BLOB: &[u8; 19usize] = b"Rfc3565KeyWrapBlob\0"; -pub const BCRYPT_OBJECT_LENGTH: &[u8; 13usize] = b"ObjectLength\0"; -pub const BCRYPT_ALGORITHM_NAME: &[u8; 14usize] = b"AlgorithmName\0"; -pub const BCRYPT_PROVIDER_HANDLE: &[u8; 15usize] = b"ProviderHandle\0"; -pub const BCRYPT_CHAINING_MODE: &[u8; 13usize] = b"ChainingMode\0"; -pub const BCRYPT_BLOCK_LENGTH: &[u8; 12usize] = b"BlockLength\0"; -pub const BCRYPT_KEY_LENGTH: &[u8; 10usize] = b"KeyLength\0"; -pub const BCRYPT_KEY_OBJECT_LENGTH: &[u8; 16usize] = b"KeyObjectLength\0"; -pub const BCRYPT_KEY_STRENGTH: &[u8; 12usize] = b"KeyStrength\0"; -pub const BCRYPT_KEY_LENGTHS: &[u8; 11usize] = b"KeyLengths\0"; -pub const BCRYPT_BLOCK_SIZE_LIST: &[u8; 14usize] = b"BlockSizeList\0"; -pub const BCRYPT_EFFECTIVE_KEY_LENGTH: &[u8; 19usize] = b"EffectiveKeyLength\0"; -pub const BCRYPT_HASH_LENGTH: &[u8; 17usize] = b"HashDigestLength\0"; -pub const BCRYPT_HASH_OID_LIST: &[u8; 12usize] = b"HashOIDList\0"; -pub const BCRYPT_PADDING_SCHEMES: &[u8; 15usize] = b"PaddingSchemes\0"; -pub const BCRYPT_SIGNATURE_LENGTH: &[u8; 16usize] = b"SignatureLength\0"; -pub const BCRYPT_HASH_BLOCK_LENGTH: &[u8; 16usize] = b"HashBlockLength\0"; -pub const BCRYPT_AUTH_TAG_LENGTH: &[u8; 14usize] = b"AuthTagLength\0"; -pub const BCRYPT_PRIMITIVE_TYPE: &[u8; 14usize] = b"PrimitiveType\0"; -pub const BCRYPT_IS_KEYED_HASH: &[u8; 12usize] = b"IsKeyedHash\0"; -pub const BCRYPT_IS_REUSABLE_HASH: &[u8; 15usize] = b"IsReusableHash\0"; -pub const BCRYPT_MESSAGE_BLOCK_LENGTH: &[u8; 19usize] = b"MessageBlockLength\0"; -pub const BCRYPT_PUBLIC_KEY_LENGTH: &[u8; 16usize] = b"PublicKeyLength\0"; -pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &[u8; 18usize] = b"PCP_PLATFORM_TYPE\0"; -pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &[u8; 21usize] = b"PCP_PROVIDER_VERSION\0"; -pub const BCRYPT_MULTI_OBJECT_LENGTH: &[u8; 18usize] = b"MultiObjectLength\0"; -pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: &[u8; 16usize] = b"IsIfxTpmWeakKey\0"; -pub const BCRYPT_HKDF_HASH_ALGORITHM: &[u8; 18usize] = b"HkdfHashAlgorithm\0"; -pub const BCRYPT_HKDF_SALT_AND_FINALIZE: &[u8; 20usize] = b"HkdfSaltAndFinalize\0"; -pub const BCRYPT_HKDF_PRK_AND_FINALIZE: &[u8; 19usize] = b"HkdfPrkAndFinalize\0"; -pub const BCRYPT_INITIALIZATION_VECTOR: &[u8; 3usize] = b"IV\0"; -pub const BCRYPT_CHAIN_MODE_NA: &[u8; 16usize] = b"ChainingModeN/A\0"; -pub const BCRYPT_CHAIN_MODE_CBC: &[u8; 16usize] = b"ChainingModeCBC\0"; -pub const BCRYPT_CHAIN_MODE_ECB: &[u8; 16usize] = b"ChainingModeECB\0"; -pub const BCRYPT_CHAIN_MODE_CFB: &[u8; 16usize] = b"ChainingModeCFB\0"; -pub const BCRYPT_CHAIN_MODE_CCM: &[u8; 16usize] = b"ChainingModeCCM\0"; -pub const BCRYPT_CHAIN_MODE_GCM: &[u8; 16usize] = b"ChainingModeGCM\0"; +pub const BCRYPT_OPAQUE_KEY_BLOB: &[u8; 14] = b"OpaqueKeyBlob\0"; +pub const BCRYPT_KEY_DATA_BLOB: &[u8; 12] = b"KeyDataBlob\0"; +pub const BCRYPT_AES_WRAP_KEY_BLOB: &[u8; 19] = b"Rfc3565KeyWrapBlob\0"; +pub const BCRYPT_OBJECT_LENGTH: &[u8; 13] = b"ObjectLength\0"; +pub const BCRYPT_ALGORITHM_NAME: &[u8; 14] = b"AlgorithmName\0"; +pub const BCRYPT_PROVIDER_HANDLE: &[u8; 15] = b"ProviderHandle\0"; +pub const BCRYPT_CHAINING_MODE: &[u8; 13] = b"ChainingMode\0"; +pub const BCRYPT_BLOCK_LENGTH: &[u8; 12] = b"BlockLength\0"; +pub const BCRYPT_KEY_LENGTH: &[u8; 10] = b"KeyLength\0"; +pub const BCRYPT_KEY_OBJECT_LENGTH: &[u8; 16] = b"KeyObjectLength\0"; +pub const BCRYPT_KEY_STRENGTH: &[u8; 12] = b"KeyStrength\0"; +pub const BCRYPT_KEY_LENGTHS: &[u8; 11] = b"KeyLengths\0"; +pub const BCRYPT_BLOCK_SIZE_LIST: &[u8; 14] = b"BlockSizeList\0"; +pub const BCRYPT_EFFECTIVE_KEY_LENGTH: &[u8; 19] = b"EffectiveKeyLength\0"; +pub const BCRYPT_HASH_LENGTH: &[u8; 17] = b"HashDigestLength\0"; +pub const BCRYPT_HASH_OID_LIST: &[u8; 12] = b"HashOIDList\0"; +pub const BCRYPT_PADDING_SCHEMES: &[u8; 15] = b"PaddingSchemes\0"; +pub const BCRYPT_SIGNATURE_LENGTH: &[u8; 16] = b"SignatureLength\0"; +pub const BCRYPT_HASH_BLOCK_LENGTH: &[u8; 16] = b"HashBlockLength\0"; +pub const BCRYPT_AUTH_TAG_LENGTH: &[u8; 14] = b"AuthTagLength\0"; +pub const BCRYPT_PRIMITIVE_TYPE: &[u8; 14] = b"PrimitiveType\0"; +pub const BCRYPT_IS_KEYED_HASH: &[u8; 12] = b"IsKeyedHash\0"; +pub const BCRYPT_IS_REUSABLE_HASH: &[u8; 15] = b"IsReusableHash\0"; +pub const BCRYPT_MESSAGE_BLOCK_LENGTH: &[u8; 19] = b"MessageBlockLength\0"; +pub const BCRYPT_PUBLIC_KEY_LENGTH: &[u8; 16] = b"PublicKeyLength\0"; +pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &[u8; 18] = b"PCP_PLATFORM_TYPE\0"; +pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &[u8; 21] = b"PCP_PROVIDER_VERSION\0"; +pub const BCRYPT_MULTI_OBJECT_LENGTH: &[u8; 18] = b"MultiObjectLength\0"; +pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: &[u8; 16] = b"IsIfxTpmWeakKey\0"; +pub const BCRYPT_HKDF_HASH_ALGORITHM: &[u8; 18] = b"HkdfHashAlgorithm\0"; +pub const BCRYPT_HKDF_SALT_AND_FINALIZE: &[u8; 20] = b"HkdfSaltAndFinalize\0"; +pub const BCRYPT_HKDF_PRK_AND_FINALIZE: &[u8; 19] = b"HkdfPrkAndFinalize\0"; +pub const BCRYPT_INITIALIZATION_VECTOR: &[u8; 3] = b"IV\0"; +pub const BCRYPT_CHAIN_MODE_NA: &[u8; 16] = b"ChainingModeN/A\0"; +pub const BCRYPT_CHAIN_MODE_CBC: &[u8; 16] = b"ChainingModeCBC\0"; +pub const BCRYPT_CHAIN_MODE_ECB: &[u8; 16] = b"ChainingModeECB\0"; +pub const BCRYPT_CHAIN_MODE_CFB: &[u8; 16] = b"ChainingModeCFB\0"; +pub const BCRYPT_CHAIN_MODE_CCM: &[u8; 16] = b"ChainingModeCCM\0"; +pub const BCRYPT_CHAIN_MODE_GCM: &[u8; 16] = b"ChainingModeGCM\0"; pub const BCRYPT_SUPPORTED_PAD_ROUTER: u32 = 1; pub const BCRYPT_SUPPORTED_PAD_PKCS1_ENC: u32 = 2; pub const BCRYPT_SUPPORTED_PAD_PKCS1_SIG: u32 = 4; @@ -15187,23 +15181,23 @@ pub const BCRYPT_PAD_OAEP: u32 = 4; pub const BCRYPT_PAD_PSS: u32 = 8; pub const BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID: u32 = 16; pub const BCRYPTBUFFER_VERSION: u32 = 0; -pub const BCRYPT_PUBLIC_KEY_BLOB: &[u8; 11usize] = b"PUBLICBLOB\0"; -pub const BCRYPT_PRIVATE_KEY_BLOB: &[u8; 12usize] = b"PRIVATEBLOB\0"; -pub const BCRYPT_RSAPUBLIC_BLOB: &[u8; 14usize] = b"RSAPUBLICBLOB\0"; -pub const BCRYPT_RSAPRIVATE_BLOB: &[u8; 15usize] = b"RSAPRIVATEBLOB\0"; -pub const LEGACY_RSAPUBLIC_BLOB: &[u8; 15usize] = b"CAPIPUBLICBLOB\0"; -pub const LEGACY_RSAPRIVATE_BLOB: &[u8; 16usize] = b"CAPIPRIVATEBLOB\0"; +pub const BCRYPT_PUBLIC_KEY_BLOB: &[u8; 11] = b"PUBLICBLOB\0"; +pub const BCRYPT_PRIVATE_KEY_BLOB: &[u8; 12] = b"PRIVATEBLOB\0"; +pub const BCRYPT_RSAPUBLIC_BLOB: &[u8; 14] = b"RSAPUBLICBLOB\0"; +pub const BCRYPT_RSAPRIVATE_BLOB: &[u8; 15] = b"RSAPRIVATEBLOB\0"; +pub const LEGACY_RSAPUBLIC_BLOB: &[u8; 15] = b"CAPIPUBLICBLOB\0"; +pub const LEGACY_RSAPRIVATE_BLOB: &[u8; 16] = b"CAPIPRIVATEBLOB\0"; pub const BCRYPT_RSAPUBLIC_MAGIC: u32 = 826364754; pub const BCRYPT_RSAPRIVATE_MAGIC: u32 = 843141970; -pub const BCRYPT_RSAFULLPRIVATE_BLOB: &[u8; 19usize] = b"RSAFULLPRIVATEBLOB\0"; +pub const BCRYPT_RSAFULLPRIVATE_BLOB: &[u8; 19] = b"RSAFULLPRIVATEBLOB\0"; pub const BCRYPT_RSAFULLPRIVATE_MAGIC: u32 = 859919186; -pub const BCRYPT_GLOBAL_PARAMETERS: &[u8; 21usize] = b"SecretAgreementParam\0"; -pub const BCRYPT_PRIVATE_KEY: &[u8; 11usize] = b"PrivKeyVal\0"; -pub const BCRYPT_ECCPUBLIC_BLOB: &[u8; 14usize] = b"ECCPUBLICBLOB\0"; -pub const BCRYPT_ECCPRIVATE_BLOB: &[u8; 15usize] = b"ECCPRIVATEBLOB\0"; -pub const BCRYPT_ECCFULLPUBLIC_BLOB: &[u8; 18usize] = b"ECCFULLPUBLICBLOB\0"; -pub const BCRYPT_ECCFULLPRIVATE_BLOB: &[u8; 19usize] = b"ECCFULLPRIVATEBLOB\0"; -pub const SSL_ECCPUBLIC_BLOB: &[u8; 17usize] = b"SSLECCPUBLICBLOB\0"; +pub const BCRYPT_GLOBAL_PARAMETERS: &[u8; 21] = b"SecretAgreementParam\0"; +pub const BCRYPT_PRIVATE_KEY: &[u8; 11] = b"PrivKeyVal\0"; +pub const BCRYPT_ECCPUBLIC_BLOB: &[u8; 14] = b"ECCPUBLICBLOB\0"; +pub const BCRYPT_ECCPRIVATE_BLOB: &[u8; 15] = b"ECCPRIVATEBLOB\0"; +pub const BCRYPT_ECCFULLPUBLIC_BLOB: &[u8; 18] = b"ECCFULLPUBLICBLOB\0"; +pub const BCRYPT_ECCFULLPRIVATE_BLOB: &[u8; 19] = b"ECCFULLPRIVATEBLOB\0"; +pub const SSL_ECCPUBLIC_BLOB: &[u8; 17] = b"SSLECCPUBLICBLOB\0"; pub const BCRYPT_ECDH_PUBLIC_P256_MAGIC: u32 = 827016005; pub const BCRYPT_ECDH_PRIVATE_P256_MAGIC: u32 = 843793221; pub const BCRYPT_ECDH_PUBLIC_P384_MAGIC: u32 = 860570437; @@ -15221,120 +15215,120 @@ pub const BCRYPT_ECDSA_PRIVATE_P521_MAGIC: u32 = 911426373; pub const BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC: u32 = 1346650949; pub const BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC: u32 = 1447314245; pub const BCRYPT_ECC_FULLKEY_BLOB_V1: u32 = 1; -pub const BCRYPT_DH_PUBLIC_BLOB: &[u8; 13usize] = b"DHPUBLICBLOB\0"; -pub const BCRYPT_DH_PRIVATE_BLOB: &[u8; 14usize] = b"DHPRIVATEBLOB\0"; -pub const LEGACY_DH_PUBLIC_BLOB: &[u8; 17usize] = b"CAPIDHPUBLICBLOB\0"; -pub const LEGACY_DH_PRIVATE_BLOB: &[u8; 18usize] = b"CAPIDHPRIVATEBLOB\0"; +pub const BCRYPT_DH_PUBLIC_BLOB: &[u8; 13] = b"DHPUBLICBLOB\0"; +pub const BCRYPT_DH_PRIVATE_BLOB: &[u8; 14] = b"DHPRIVATEBLOB\0"; +pub const LEGACY_DH_PUBLIC_BLOB: &[u8; 17] = b"CAPIDHPUBLICBLOB\0"; +pub const LEGACY_DH_PRIVATE_BLOB: &[u8; 18] = b"CAPIDHPRIVATEBLOB\0"; pub const BCRYPT_DH_PUBLIC_MAGIC: u32 = 1112557636; pub const BCRYPT_DH_PRIVATE_MAGIC: u32 = 1448101956; -pub const BCRYPT_DH_PARAMETERS: &[u8; 13usize] = b"DHParameters\0"; +pub const BCRYPT_DH_PARAMETERS: &[u8; 13] = b"DHParameters\0"; pub const BCRYPT_DH_PARAMETERS_MAGIC: u32 = 1297107012; -pub const BCRYPT_DSA_PUBLIC_BLOB: &[u8; 14usize] = b"DSAPUBLICBLOB\0"; -pub const BCRYPT_DSA_PRIVATE_BLOB: &[u8; 15usize] = b"DSAPRIVATEBLOB\0"; -pub const LEGACY_DSA_PUBLIC_BLOB: &[u8; 18usize] = b"CAPIDSAPUBLICBLOB\0"; -pub const LEGACY_DSA_PRIVATE_BLOB: &[u8; 19usize] = b"CAPIDSAPRIVATEBLOB\0"; -pub const LEGACY_DSA_V2_PUBLIC_BLOB: &[u8; 20usize] = b"V2CAPIDSAPUBLICBLOB\0"; -pub const LEGACY_DSA_V2_PRIVATE_BLOB: &[u8; 21usize] = b"V2CAPIDSAPRIVATEBLOB\0"; +pub const BCRYPT_DSA_PUBLIC_BLOB: &[u8; 14] = b"DSAPUBLICBLOB\0"; +pub const BCRYPT_DSA_PRIVATE_BLOB: &[u8; 15] = b"DSAPRIVATEBLOB\0"; +pub const LEGACY_DSA_PUBLIC_BLOB: &[u8; 18] = b"CAPIDSAPUBLICBLOB\0"; +pub const LEGACY_DSA_PRIVATE_BLOB: &[u8; 19] = b"CAPIDSAPRIVATEBLOB\0"; +pub const LEGACY_DSA_V2_PUBLIC_BLOB: &[u8; 20] = b"V2CAPIDSAPUBLICBLOB\0"; +pub const LEGACY_DSA_V2_PRIVATE_BLOB: &[u8; 21] = b"V2CAPIDSAPRIVATEBLOB\0"; pub const BCRYPT_DSA_PUBLIC_MAGIC: u32 = 1112560452; pub const BCRYPT_DSA_PRIVATE_MAGIC: u32 = 1448104772; pub const BCRYPT_DSA_PUBLIC_MAGIC_V2: u32 = 843206724; pub const BCRYPT_DSA_PRIVATE_MAGIC_V2: u32 = 844517444; pub const BCRYPT_KEY_DATA_BLOB_MAGIC: u32 = 1296188491; pub const BCRYPT_KEY_DATA_BLOB_VERSION1: u32 = 1; -pub const BCRYPT_DSA_PARAMETERS: &[u8; 14usize] = b"DSAParameters\0"; +pub const BCRYPT_DSA_PARAMETERS: &[u8; 14] = b"DSAParameters\0"; pub const BCRYPT_DSA_PARAMETERS_MAGIC: u32 = 1297109828; pub const BCRYPT_DSA_PARAMETERS_MAGIC_V2: u32 = 843927620; -pub const BCRYPT_ECC_PARAMETERS: &[u8; 14usize] = b"ECCParameters\0"; -pub const BCRYPT_ECC_CURVE_NAME: &[u8; 13usize] = b"ECCCurveName\0"; -pub const BCRYPT_ECC_CURVE_NAME_LIST: &[u8; 17usize] = b"ECCCurveNameList\0"; +pub const BCRYPT_ECC_PARAMETERS: &[u8; 14] = b"ECCParameters\0"; +pub const BCRYPT_ECC_CURVE_NAME: &[u8; 13] = b"ECCCurveName\0"; +pub const BCRYPT_ECC_CURVE_NAME_LIST: &[u8; 17] = b"ECCCurveNameList\0"; pub const BCRYPT_ECC_PARAMETERS_MAGIC: u32 = 1346585413; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: &[u8; 16usize] = b"brainpoolP160r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: &[u8; 16usize] = b"brainpoolP160t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: &[u8; 16usize] = b"brainpoolP192r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: &[u8; 16usize] = b"brainpoolP192t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: &[u8; 16usize] = b"brainpoolP224r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: &[u8; 16usize] = b"brainpoolP224t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: &[u8; 16usize] = b"brainpoolP256r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: &[u8; 16usize] = b"brainpoolP256t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: &[u8; 16usize] = b"brainpoolP320r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: &[u8; 16usize] = b"brainpoolP320t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: &[u8; 16usize] = b"brainpoolP384r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: &[u8; 16usize] = b"brainpoolP384t1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: &[u8; 16usize] = b"brainpoolP512r1\0"; -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: &[u8; 16usize] = b"brainpoolP512t1\0"; -pub const BCRYPT_ECC_CURVE_25519: &[u8; 11usize] = b"curve25519\0"; -pub const BCRYPT_ECC_CURVE_EC192WAPI: &[u8; 10usize] = b"ec192wapi\0"; -pub const BCRYPT_ECC_CURVE_NISTP192: &[u8; 9usize] = b"nistP192\0"; -pub const BCRYPT_ECC_CURVE_NISTP224: &[u8; 9usize] = b"nistP224\0"; -pub const BCRYPT_ECC_CURVE_NISTP256: &[u8; 9usize] = b"nistP256\0"; -pub const BCRYPT_ECC_CURVE_NISTP384: &[u8; 9usize] = b"nistP384\0"; -pub const BCRYPT_ECC_CURVE_NISTP521: &[u8; 9usize] = b"nistP521\0"; -pub const BCRYPT_ECC_CURVE_NUMSP256T1: &[u8; 11usize] = b"numsP256t1\0"; -pub const BCRYPT_ECC_CURVE_NUMSP384T1: &[u8; 11usize] = b"numsP384t1\0"; -pub const BCRYPT_ECC_CURVE_NUMSP512T1: &[u8; 11usize] = b"numsP512t1\0"; -pub const BCRYPT_ECC_CURVE_SECP160K1: &[u8; 10usize] = b"secP160k1\0"; -pub const BCRYPT_ECC_CURVE_SECP160R1: &[u8; 10usize] = b"secP160r1\0"; -pub const BCRYPT_ECC_CURVE_SECP160R2: &[u8; 10usize] = b"secP160r2\0"; -pub const BCRYPT_ECC_CURVE_SECP192K1: &[u8; 10usize] = b"secP192k1\0"; -pub const BCRYPT_ECC_CURVE_SECP192R1: &[u8; 10usize] = b"secP192r1\0"; -pub const BCRYPT_ECC_CURVE_SECP224K1: &[u8; 10usize] = b"secP224k1\0"; -pub const BCRYPT_ECC_CURVE_SECP224R1: &[u8; 10usize] = b"secP224r1\0"; -pub const BCRYPT_ECC_CURVE_SECP256K1: &[u8; 10usize] = b"secP256k1\0"; -pub const BCRYPT_ECC_CURVE_SECP256R1: &[u8; 10usize] = b"secP256r1\0"; -pub const BCRYPT_ECC_CURVE_SECP384R1: &[u8; 10usize] = b"secP384r1\0"; -pub const BCRYPT_ECC_CURVE_SECP521R1: &[u8; 10usize] = b"secP521r1\0"; -pub const BCRYPT_ECC_CURVE_WTLS7: &[u8; 6usize] = b"wtls7\0"; -pub const BCRYPT_ECC_CURVE_WTLS9: &[u8; 6usize] = b"wtls9\0"; -pub const BCRYPT_ECC_CURVE_WTLS12: &[u8; 7usize] = b"wtls12\0"; -pub const BCRYPT_ECC_CURVE_X962P192V1: &[u8; 11usize] = b"x962P192v1\0"; -pub const BCRYPT_ECC_CURVE_X962P192V2: &[u8; 11usize] = b"x962P192v2\0"; -pub const BCRYPT_ECC_CURVE_X962P192V3: &[u8; 11usize] = b"x962P192v3\0"; -pub const BCRYPT_ECC_CURVE_X962P239V1: &[u8; 11usize] = b"x962P239v1\0"; -pub const BCRYPT_ECC_CURVE_X962P239V2: &[u8; 11usize] = b"x962P239v2\0"; -pub const BCRYPT_ECC_CURVE_X962P239V3: &[u8; 11usize] = b"x962P239v3\0"; -pub const BCRYPT_ECC_CURVE_X962P256V1: &[u8; 11usize] = b"x962P256v1\0"; -pub const MS_PRIMITIVE_PROVIDER: &[u8; 29usize] = b"Microsoft Primitive Provider\0"; -pub const MS_PLATFORM_CRYPTO_PROVIDER: &[u8; 35usize] = b"Microsoft Platform Crypto Provider\0"; -pub const BCRYPT_RSA_ALGORITHM: &[u8; 4usize] = b"RSA\0"; -pub const BCRYPT_RSA_SIGN_ALGORITHM: &[u8; 9usize] = b"RSA_SIGN\0"; -pub const BCRYPT_DH_ALGORITHM: &[u8; 3usize] = b"DH\0"; -pub const BCRYPT_DSA_ALGORITHM: &[u8; 4usize] = b"DSA\0"; -pub const BCRYPT_RC2_ALGORITHM: &[u8; 4usize] = b"RC2\0"; -pub const BCRYPT_RC4_ALGORITHM: &[u8; 4usize] = b"RC4\0"; -pub const BCRYPT_AES_ALGORITHM: &[u8; 4usize] = b"AES\0"; -pub const BCRYPT_DES_ALGORITHM: &[u8; 4usize] = b"DES\0"; -pub const BCRYPT_DESX_ALGORITHM: &[u8; 5usize] = b"DESX\0"; -pub const BCRYPT_3DES_ALGORITHM: &[u8; 5usize] = b"3DES\0"; -pub const BCRYPT_3DES_112_ALGORITHM: &[u8; 9usize] = b"3DES_112\0"; -pub const BCRYPT_MD2_ALGORITHM: &[u8; 4usize] = b"MD2\0"; -pub const BCRYPT_MD4_ALGORITHM: &[u8; 4usize] = b"MD4\0"; -pub const BCRYPT_MD5_ALGORITHM: &[u8; 4usize] = b"MD5\0"; -pub const BCRYPT_SHA1_ALGORITHM: &[u8; 5usize] = b"SHA1\0"; -pub const BCRYPT_SHA256_ALGORITHM: &[u8; 7usize] = b"SHA256\0"; -pub const BCRYPT_SHA384_ALGORITHM: &[u8; 7usize] = b"SHA384\0"; -pub const BCRYPT_SHA512_ALGORITHM: &[u8; 7usize] = b"SHA512\0"; -pub const BCRYPT_AES_GMAC_ALGORITHM: &[u8; 9usize] = b"AES-GMAC\0"; -pub const BCRYPT_AES_CMAC_ALGORITHM: &[u8; 9usize] = b"AES-CMAC\0"; -pub const BCRYPT_ECDSA_P256_ALGORITHM: &[u8; 11usize] = b"ECDSA_P256\0"; -pub const BCRYPT_ECDSA_P384_ALGORITHM: &[u8; 11usize] = b"ECDSA_P384\0"; -pub const BCRYPT_ECDSA_P521_ALGORITHM: &[u8; 11usize] = b"ECDSA_P521\0"; -pub const BCRYPT_ECDH_P256_ALGORITHM: &[u8; 10usize] = b"ECDH_P256\0"; -pub const BCRYPT_ECDH_P384_ALGORITHM: &[u8; 10usize] = b"ECDH_P384\0"; -pub const BCRYPT_ECDH_P521_ALGORITHM: &[u8; 10usize] = b"ECDH_P521\0"; -pub const BCRYPT_RNG_ALGORITHM: &[u8; 4usize] = b"RNG\0"; -pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: &[u8; 14usize] = b"FIPS186DSARNG\0"; -pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: &[u8; 10usize] = b"DUALECRNG\0"; -pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: &[u8; 19usize] = b"SP800_108_CTR_HMAC\0"; -pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: &[u8; 17usize] = b"SP800_56A_CONCAT\0"; -pub const BCRYPT_PBKDF2_ALGORITHM: &[u8; 7usize] = b"PBKDF2\0"; -pub const BCRYPT_CAPI_KDF_ALGORITHM: &[u8; 9usize] = b"CAPI_KDF\0"; -pub const BCRYPT_TLS1_1_KDF_ALGORITHM: &[u8; 11usize] = b"TLS1_1_KDF\0"; -pub const BCRYPT_TLS1_2_KDF_ALGORITHM: &[u8; 11usize] = b"TLS1_2_KDF\0"; -pub const BCRYPT_ECDSA_ALGORITHM: &[u8; 6usize] = b"ECDSA\0"; -pub const BCRYPT_ECDH_ALGORITHM: &[u8; 5usize] = b"ECDH\0"; -pub const BCRYPT_XTS_AES_ALGORITHM: &[u8; 8usize] = b"XTS-AES\0"; -pub const BCRYPT_HKDF_ALGORITHM: &[u8; 5usize] = b"HKDF\0"; -pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: &[u8; 18usize] = b"CHACHA20_POLY1305\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: &[u8; 16] = b"brainpoolP160r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: &[u8; 16] = b"brainpoolP160t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: &[u8; 16] = b"brainpoolP192r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: &[u8; 16] = b"brainpoolP192t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: &[u8; 16] = b"brainpoolP224r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: &[u8; 16] = b"brainpoolP224t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: &[u8; 16] = b"brainpoolP256r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: &[u8; 16] = b"brainpoolP256t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: &[u8; 16] = b"brainpoolP320r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: &[u8; 16] = b"brainpoolP320t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: &[u8; 16] = b"brainpoolP384r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: &[u8; 16] = b"brainpoolP384t1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: &[u8; 16] = b"brainpoolP512r1\0"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: &[u8; 16] = b"brainpoolP512t1\0"; +pub const BCRYPT_ECC_CURVE_25519: &[u8; 11] = b"curve25519\0"; +pub const BCRYPT_ECC_CURVE_EC192WAPI: &[u8; 10] = b"ec192wapi\0"; +pub const BCRYPT_ECC_CURVE_NISTP192: &[u8; 9] = b"nistP192\0"; +pub const BCRYPT_ECC_CURVE_NISTP224: &[u8; 9] = b"nistP224\0"; +pub const BCRYPT_ECC_CURVE_NISTP256: &[u8; 9] = b"nistP256\0"; +pub const BCRYPT_ECC_CURVE_NISTP384: &[u8; 9] = b"nistP384\0"; +pub const BCRYPT_ECC_CURVE_NISTP521: &[u8; 9] = b"nistP521\0"; +pub const BCRYPT_ECC_CURVE_NUMSP256T1: &[u8; 11] = b"numsP256t1\0"; +pub const BCRYPT_ECC_CURVE_NUMSP384T1: &[u8; 11] = b"numsP384t1\0"; +pub const BCRYPT_ECC_CURVE_NUMSP512T1: &[u8; 11] = b"numsP512t1\0"; +pub const BCRYPT_ECC_CURVE_SECP160K1: &[u8; 10] = b"secP160k1\0"; +pub const BCRYPT_ECC_CURVE_SECP160R1: &[u8; 10] = b"secP160r1\0"; +pub const BCRYPT_ECC_CURVE_SECP160R2: &[u8; 10] = b"secP160r2\0"; +pub const BCRYPT_ECC_CURVE_SECP192K1: &[u8; 10] = b"secP192k1\0"; +pub const BCRYPT_ECC_CURVE_SECP192R1: &[u8; 10] = b"secP192r1\0"; +pub const BCRYPT_ECC_CURVE_SECP224K1: &[u8; 10] = b"secP224k1\0"; +pub const BCRYPT_ECC_CURVE_SECP224R1: &[u8; 10] = b"secP224r1\0"; +pub const BCRYPT_ECC_CURVE_SECP256K1: &[u8; 10] = b"secP256k1\0"; +pub const BCRYPT_ECC_CURVE_SECP256R1: &[u8; 10] = b"secP256r1\0"; +pub const BCRYPT_ECC_CURVE_SECP384R1: &[u8; 10] = b"secP384r1\0"; +pub const BCRYPT_ECC_CURVE_SECP521R1: &[u8; 10] = b"secP521r1\0"; +pub const BCRYPT_ECC_CURVE_WTLS7: &[u8; 6] = b"wtls7\0"; +pub const BCRYPT_ECC_CURVE_WTLS9: &[u8; 6] = b"wtls9\0"; +pub const BCRYPT_ECC_CURVE_WTLS12: &[u8; 7] = b"wtls12\0"; +pub const BCRYPT_ECC_CURVE_X962P192V1: &[u8; 11] = b"x962P192v1\0"; +pub const BCRYPT_ECC_CURVE_X962P192V2: &[u8; 11] = b"x962P192v2\0"; +pub const BCRYPT_ECC_CURVE_X962P192V3: &[u8; 11] = b"x962P192v3\0"; +pub const BCRYPT_ECC_CURVE_X962P239V1: &[u8; 11] = b"x962P239v1\0"; +pub const BCRYPT_ECC_CURVE_X962P239V2: &[u8; 11] = b"x962P239v2\0"; +pub const BCRYPT_ECC_CURVE_X962P239V3: &[u8; 11] = b"x962P239v3\0"; +pub const BCRYPT_ECC_CURVE_X962P256V1: &[u8; 11] = b"x962P256v1\0"; +pub const MS_PRIMITIVE_PROVIDER: &[u8; 29] = b"Microsoft Primitive Provider\0"; +pub const MS_PLATFORM_CRYPTO_PROVIDER: &[u8; 35] = b"Microsoft Platform Crypto Provider\0"; +pub const BCRYPT_RSA_ALGORITHM: &[u8; 4] = b"RSA\0"; +pub const BCRYPT_RSA_SIGN_ALGORITHM: &[u8; 9] = b"RSA_SIGN\0"; +pub const BCRYPT_DH_ALGORITHM: &[u8; 3] = b"DH\0"; +pub const BCRYPT_DSA_ALGORITHM: &[u8; 4] = b"DSA\0"; +pub const BCRYPT_RC2_ALGORITHM: &[u8; 4] = b"RC2\0"; +pub const BCRYPT_RC4_ALGORITHM: &[u8; 4] = b"RC4\0"; +pub const BCRYPT_AES_ALGORITHM: &[u8; 4] = b"AES\0"; +pub const BCRYPT_DES_ALGORITHM: &[u8; 4] = b"DES\0"; +pub const BCRYPT_DESX_ALGORITHM: &[u8; 5] = b"DESX\0"; +pub const BCRYPT_3DES_ALGORITHM: &[u8; 5] = b"3DES\0"; +pub const BCRYPT_3DES_112_ALGORITHM: &[u8; 9] = b"3DES_112\0"; +pub const BCRYPT_MD2_ALGORITHM: &[u8; 4] = b"MD2\0"; +pub const BCRYPT_MD4_ALGORITHM: &[u8; 4] = b"MD4\0"; +pub const BCRYPT_MD5_ALGORITHM: &[u8; 4] = b"MD5\0"; +pub const BCRYPT_SHA1_ALGORITHM: &[u8; 5] = b"SHA1\0"; +pub const BCRYPT_SHA256_ALGORITHM: &[u8; 7] = b"SHA256\0"; +pub const BCRYPT_SHA384_ALGORITHM: &[u8; 7] = b"SHA384\0"; +pub const BCRYPT_SHA512_ALGORITHM: &[u8; 7] = b"SHA512\0"; +pub const BCRYPT_AES_GMAC_ALGORITHM: &[u8; 9] = b"AES-GMAC\0"; +pub const BCRYPT_AES_CMAC_ALGORITHM: &[u8; 9] = b"AES-CMAC\0"; +pub const BCRYPT_ECDSA_P256_ALGORITHM: &[u8; 11] = b"ECDSA_P256\0"; +pub const BCRYPT_ECDSA_P384_ALGORITHM: &[u8; 11] = b"ECDSA_P384\0"; +pub const BCRYPT_ECDSA_P521_ALGORITHM: &[u8; 11] = b"ECDSA_P521\0"; +pub const BCRYPT_ECDH_P256_ALGORITHM: &[u8; 10] = b"ECDH_P256\0"; +pub const BCRYPT_ECDH_P384_ALGORITHM: &[u8; 10] = b"ECDH_P384\0"; +pub const BCRYPT_ECDH_P521_ALGORITHM: &[u8; 10] = b"ECDH_P521\0"; +pub const BCRYPT_RNG_ALGORITHM: &[u8; 4] = b"RNG\0"; +pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: &[u8; 14] = b"FIPS186DSARNG\0"; +pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: &[u8; 10] = b"DUALECRNG\0"; +pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: &[u8; 19] = b"SP800_108_CTR_HMAC\0"; +pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: &[u8; 17] = b"SP800_56A_CONCAT\0"; +pub const BCRYPT_PBKDF2_ALGORITHM: &[u8; 7] = b"PBKDF2\0"; +pub const BCRYPT_CAPI_KDF_ALGORITHM: &[u8; 9] = b"CAPI_KDF\0"; +pub const BCRYPT_TLS1_1_KDF_ALGORITHM: &[u8; 11] = b"TLS1_1_KDF\0"; +pub const BCRYPT_TLS1_2_KDF_ALGORITHM: &[u8; 11] = b"TLS1_2_KDF\0"; +pub const BCRYPT_ECDSA_ALGORITHM: &[u8; 6] = b"ECDSA\0"; +pub const BCRYPT_ECDH_ALGORITHM: &[u8; 5] = b"ECDH\0"; +pub const BCRYPT_XTS_AES_ALGORITHM: &[u8; 8] = b"XTS-AES\0"; +pub const BCRYPT_HKDF_ALGORITHM: &[u8; 5] = b"HKDF\0"; +pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: &[u8; 18] = b"CHACHA20_POLY1305\0"; pub const BCRYPT_CIPHER_INTERFACE: u32 = 1; pub const BCRYPT_HASH_INTERFACE: u32 = 2; pub const BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: u32 = 3; @@ -15381,49 +15375,47 @@ pub const CRYPT_ALL_FUNCTIONS: u32 = 1; pub const CRYPT_ALL_PROVIDERS: u32 = 2; pub const CRYPT_PRIORITY_TOP: u32 = 0; pub const CRYPT_PRIORITY_BOTTOM: u32 = 4294967295; -pub const CRYPT_DEFAULT_CONTEXT: &[u8; 8usize] = b"Default\0"; +pub const CRYPT_DEFAULT_CONTEXT: &[u8; 8] = b"Default\0"; pub const NCRYPT_MAX_KEY_NAME_LENGTH: u32 = 512; pub const NCRYPT_MAX_ALG_ID_LENGTH: u32 = 512; -pub const MS_KEY_STORAGE_PROVIDER: &[u8; 40usize] = b"Microsoft Software Key Storage Provider\0"; -pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: &[u8; 42usize] = +pub const MS_KEY_STORAGE_PROVIDER: &[u8; 40] = b"Microsoft Software Key Storage Provider\0"; +pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: &[u8; 42] = b"Microsoft Smart Card Key Storage Provider\0"; -pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: &[u8; 35usize] = - b"Microsoft Platform Crypto Provider\0"; -pub const MS_NGC_KEY_STORAGE_PROVIDER: &[u8; 40usize] = - b"Microsoft Passport Key Storage Provider\0"; -pub const TPM_RSA_SRK_SEAL_KEY: &[u8; 68usize] = +pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: &[u8; 35] = b"Microsoft Platform Crypto Provider\0"; +pub const MS_NGC_KEY_STORAGE_PROVIDER: &[u8; 40] = b"Microsoft Passport Key Storage Provider\0"; +pub const TPM_RSA_SRK_SEAL_KEY: &[u8; 68] = b"MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074\0"; -pub const NCRYPT_RSA_ALGORITHM: &[u8; 4usize] = b"RSA\0"; -pub const NCRYPT_RSA_SIGN_ALGORITHM: &[u8; 9usize] = b"RSA_SIGN\0"; -pub const NCRYPT_DH_ALGORITHM: &[u8; 3usize] = b"DH\0"; -pub const NCRYPT_DSA_ALGORITHM: &[u8; 4usize] = b"DSA\0"; -pub const NCRYPT_MD2_ALGORITHM: &[u8; 4usize] = b"MD2\0"; -pub const NCRYPT_MD4_ALGORITHM: &[u8; 4usize] = b"MD4\0"; -pub const NCRYPT_MD5_ALGORITHM: &[u8; 4usize] = b"MD5\0"; -pub const NCRYPT_SHA1_ALGORITHM: &[u8; 5usize] = b"SHA1\0"; -pub const NCRYPT_SHA256_ALGORITHM: &[u8; 7usize] = b"SHA256\0"; -pub const NCRYPT_SHA384_ALGORITHM: &[u8; 7usize] = b"SHA384\0"; -pub const NCRYPT_SHA512_ALGORITHM: &[u8; 7usize] = b"SHA512\0"; -pub const NCRYPT_ECDSA_P256_ALGORITHM: &[u8; 11usize] = b"ECDSA_P256\0"; -pub const NCRYPT_ECDSA_P384_ALGORITHM: &[u8; 11usize] = b"ECDSA_P384\0"; -pub const NCRYPT_ECDSA_P521_ALGORITHM: &[u8; 11usize] = b"ECDSA_P521\0"; -pub const NCRYPT_ECDH_P256_ALGORITHM: &[u8; 10usize] = b"ECDH_P256\0"; -pub const NCRYPT_ECDH_P384_ALGORITHM: &[u8; 10usize] = b"ECDH_P384\0"; -pub const NCRYPT_ECDH_P521_ALGORITHM: &[u8; 10usize] = b"ECDH_P521\0"; -pub const NCRYPT_AES_ALGORITHM: &[u8; 4usize] = b"AES\0"; -pub const NCRYPT_RC2_ALGORITHM: &[u8; 4usize] = b"RC2\0"; -pub const NCRYPT_3DES_ALGORITHM: &[u8; 5usize] = b"3DES\0"; -pub const NCRYPT_DES_ALGORITHM: &[u8; 4usize] = b"DES\0"; -pub const NCRYPT_DESX_ALGORITHM: &[u8; 5usize] = b"DESX\0"; -pub const NCRYPT_3DES_112_ALGORITHM: &[u8; 9usize] = b"3DES_112\0"; -pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: &[u8; 19usize] = b"SP800_108_CTR_HMAC\0"; -pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: &[u8; 17usize] = b"SP800_56A_CONCAT\0"; -pub const NCRYPT_PBKDF2_ALGORITHM: &[u8; 7usize] = b"PBKDF2\0"; -pub const NCRYPT_CAPI_KDF_ALGORITHM: &[u8; 9usize] = b"CAPI_KDF\0"; -pub const NCRYPT_ECDSA_ALGORITHM: &[u8; 6usize] = b"ECDSA\0"; -pub const NCRYPT_ECDH_ALGORITHM: &[u8; 5usize] = b"ECDH\0"; -pub const NCRYPT_KEY_STORAGE_ALGORITHM: &[u8; 12usize] = b"KEY_STORAGE\0"; -pub const NCRYPT_HMAC_SHA256_ALGORITHM: &[u8; 12usize] = b"HMAC-SHA256\0"; +pub const NCRYPT_RSA_ALGORITHM: &[u8; 4] = b"RSA\0"; +pub const NCRYPT_RSA_SIGN_ALGORITHM: &[u8; 9] = b"RSA_SIGN\0"; +pub const NCRYPT_DH_ALGORITHM: &[u8; 3] = b"DH\0"; +pub const NCRYPT_DSA_ALGORITHM: &[u8; 4] = b"DSA\0"; +pub const NCRYPT_MD2_ALGORITHM: &[u8; 4] = b"MD2\0"; +pub const NCRYPT_MD4_ALGORITHM: &[u8; 4] = b"MD4\0"; +pub const NCRYPT_MD5_ALGORITHM: &[u8; 4] = b"MD5\0"; +pub const NCRYPT_SHA1_ALGORITHM: &[u8; 5] = b"SHA1\0"; +pub const NCRYPT_SHA256_ALGORITHM: &[u8; 7] = b"SHA256\0"; +pub const NCRYPT_SHA384_ALGORITHM: &[u8; 7] = b"SHA384\0"; +pub const NCRYPT_SHA512_ALGORITHM: &[u8; 7] = b"SHA512\0"; +pub const NCRYPT_ECDSA_P256_ALGORITHM: &[u8; 11] = b"ECDSA_P256\0"; +pub const NCRYPT_ECDSA_P384_ALGORITHM: &[u8; 11] = b"ECDSA_P384\0"; +pub const NCRYPT_ECDSA_P521_ALGORITHM: &[u8; 11] = b"ECDSA_P521\0"; +pub const NCRYPT_ECDH_P256_ALGORITHM: &[u8; 10] = b"ECDH_P256\0"; +pub const NCRYPT_ECDH_P384_ALGORITHM: &[u8; 10] = b"ECDH_P384\0"; +pub const NCRYPT_ECDH_P521_ALGORITHM: &[u8; 10] = b"ECDH_P521\0"; +pub const NCRYPT_AES_ALGORITHM: &[u8; 4] = b"AES\0"; +pub const NCRYPT_RC2_ALGORITHM: &[u8; 4] = b"RC2\0"; +pub const NCRYPT_3DES_ALGORITHM: &[u8; 5] = b"3DES\0"; +pub const NCRYPT_DES_ALGORITHM: &[u8; 4] = b"DES\0"; +pub const NCRYPT_DESX_ALGORITHM: &[u8; 5] = b"DESX\0"; +pub const NCRYPT_3DES_112_ALGORITHM: &[u8; 9] = b"3DES_112\0"; +pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: &[u8; 19] = b"SP800_108_CTR_HMAC\0"; +pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: &[u8; 17] = b"SP800_56A_CONCAT\0"; +pub const NCRYPT_PBKDF2_ALGORITHM: &[u8; 7] = b"PBKDF2\0"; +pub const NCRYPT_CAPI_KDF_ALGORITHM: &[u8; 9] = b"CAPI_KDF\0"; +pub const NCRYPT_ECDSA_ALGORITHM: &[u8; 6] = b"ECDSA\0"; +pub const NCRYPT_ECDH_ALGORITHM: &[u8; 5] = b"ECDH\0"; +pub const NCRYPT_KEY_STORAGE_ALGORITHM: &[u8; 12] = b"KEY_STORAGE\0"; +pub const NCRYPT_HMAC_SHA256_ALGORITHM: &[u8; 12] = b"HMAC-SHA256\0"; pub const NCRYPT_CIPHER_INTERFACE: u32 = 1; pub const NCRYPT_HASH_INTERFACE: u32 = 2; pub const NCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: u32 = 3; @@ -15434,15 +15426,15 @@ pub const NCRYPT_KEY_STORAGE_INTERFACE: u32 = 65537; pub const NCRYPT_SCHANNEL_INTERFACE: u32 = 65538; pub const NCRYPT_SCHANNEL_SIGNATURE_INTERFACE: u32 = 65539; pub const NCRYPT_KEY_PROTECTION_INTERFACE: u32 = 65540; -pub const NCRYPT_RSA_ALGORITHM_GROUP: &[u8; 4usize] = b"RSA\0"; -pub const NCRYPT_DH_ALGORITHM_GROUP: &[u8; 3usize] = b"DH\0"; -pub const NCRYPT_DSA_ALGORITHM_GROUP: &[u8; 4usize] = b"DSA\0"; -pub const NCRYPT_ECDSA_ALGORITHM_GROUP: &[u8; 6usize] = b"ECDSA\0"; -pub const NCRYPT_ECDH_ALGORITHM_GROUP: &[u8; 5usize] = b"ECDH\0"; -pub const NCRYPT_AES_ALGORITHM_GROUP: &[u8; 4usize] = b"AES\0"; -pub const NCRYPT_RC2_ALGORITHM_GROUP: &[u8; 4usize] = b"RC2\0"; -pub const NCRYPT_DES_ALGORITHM_GROUP: &[u8; 4usize] = b"DES\0"; -pub const NCRYPT_KEY_DERIVATION_GROUP: &[u8; 15usize] = b"KEY_DERIVATION\0"; +pub const NCRYPT_RSA_ALGORITHM_GROUP: &[u8; 4] = b"RSA\0"; +pub const NCRYPT_DH_ALGORITHM_GROUP: &[u8; 3] = b"DH\0"; +pub const NCRYPT_DSA_ALGORITHM_GROUP: &[u8; 4] = b"DSA\0"; +pub const NCRYPT_ECDSA_ALGORITHM_GROUP: &[u8; 6] = b"ECDSA\0"; +pub const NCRYPT_ECDH_ALGORITHM_GROUP: &[u8; 5] = b"ECDH\0"; +pub const NCRYPT_AES_ALGORITHM_GROUP: &[u8; 4] = b"AES\0"; +pub const NCRYPT_RC2_ALGORITHM_GROUP: &[u8; 4] = b"RC2\0"; +pub const NCRYPT_DES_ALGORITHM_GROUP: &[u8; 4] = b"DES\0"; +pub const NCRYPT_KEY_DERIVATION_GROUP: &[u8; 15] = b"KEY_DERIVATION\0"; pub const NCRYPTBUFFER_VERSION: u32 = 0; pub const NCRYPTBUFFER_EMPTY: u32 = 0; pub const NCRYPTBUFFER_DATA: u32 = 1; @@ -15535,121 +15527,118 @@ pub const NCRYPT_SIGNATURE_OPERATION: u32 = 16; pub const NCRYPT_RNG_OPERATION: u32 = 32; pub const NCRYPT_KEY_DERIVATION_OPERATION: u32 = 64; pub const NCRYPT_AUTHORITY_KEY_FLAG: u32 = 256; -pub const NCRYPT_NAME_PROPERTY: &[u8; 5usize] = b"Name\0"; -pub const NCRYPT_UNIQUE_NAME_PROPERTY: &[u8; 12usize] = b"Unique Name\0"; -pub const NCRYPT_ALGORITHM_PROPERTY: &[u8; 15usize] = b"Algorithm Name\0"; -pub const NCRYPT_LENGTH_PROPERTY: &[u8; 7usize] = b"Length\0"; -pub const NCRYPT_LENGTHS_PROPERTY: &[u8; 8usize] = b"Lengths\0"; -pub const NCRYPT_BLOCK_LENGTH_PROPERTY: &[u8; 13usize] = b"Block Length\0"; -pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: &[u8; 16usize] = b"PublicKeyLength\0"; -pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: &[u8; 16usize] = b"SignatureLength\0"; -pub const NCRYPT_CHAINING_MODE_PROPERTY: &[u8; 14usize] = b"Chaining Mode\0"; -pub const NCRYPT_AUTH_TAG_LENGTH: &[u8; 14usize] = b"AuthTagLength\0"; -pub const NCRYPT_UI_POLICY_PROPERTY: &[u8; 10usize] = b"UI Policy\0"; -pub const NCRYPT_EXPORT_POLICY_PROPERTY: &[u8; 14usize] = b"Export Policy\0"; -pub const NCRYPT_WINDOW_HANDLE_PROPERTY: &[u8; 12usize] = b"HWND Handle\0"; -pub const NCRYPT_USE_CONTEXT_PROPERTY: &[u8; 12usize] = b"Use Context\0"; -pub const NCRYPT_IMPL_TYPE_PROPERTY: &[u8; 10usize] = b"Impl Type\0"; -pub const NCRYPT_KEY_USAGE_PROPERTY: &[u8; 10usize] = b"Key Usage\0"; -pub const NCRYPT_KEY_TYPE_PROPERTY: &[u8; 9usize] = b"Key Type\0"; -pub const NCRYPT_VERSION_PROPERTY: &[u8; 8usize] = b"Version\0"; -pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: &[u8; 23usize] = b"Security Descr Support\0"; -pub const NCRYPT_SECURITY_DESCR_PROPERTY: &[u8; 15usize] = b"Security Descr\0"; -pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: &[u8; 18usize] = b"Enabled Use Count\0"; -pub const NCRYPT_USE_COUNT_PROPERTY: &[u8; 10usize] = b"Use Count\0"; -pub const NCRYPT_LAST_MODIFIED_PROPERTY: &[u8; 9usize] = b"Modified\0"; -pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: &[u8; 16usize] = b"Max Name Length\0"; -pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: &[u8; 16usize] = b"Algorithm Group\0"; -pub const NCRYPT_DH_PARAMETERS_PROPERTY: &[u8; 13usize] = b"DHParameters\0"; -pub const NCRYPT_ECC_PARAMETERS_PROPERTY: &[u8; 14usize] = b"ECCParameters\0"; -pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: &[u8; 13usize] = b"ECCCurveName\0"; -pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: &[u8; 17usize] = b"ECCCurveNameList\0"; -pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: &[u8; 12usize] = b"Virtual Iso\0"; -pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: &[u8; 13usize] = b"Per Boot Key\0"; -pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: &[u8; 16usize] = b"Provider Handle\0"; -pub const NCRYPT_PIN_PROPERTY: &[u8; 13usize] = b"SmartCardPin\0"; -pub const NCRYPT_READER_PROPERTY: &[u8; 16usize] = b"SmartCardReader\0"; -pub const NCRYPT_SMARTCARD_GUID_PROPERTY: &[u8; 14usize] = b"SmartCardGuid\0"; -pub const NCRYPT_CERTIFICATE_PROPERTY: &[u8; 24usize] = b"SmartCardKeyCertificate\0"; -pub const NCRYPT_PIN_PROMPT_PROPERTY: &[u8; 19usize] = b"SmartCardPinPrompt\0"; -pub const NCRYPT_USER_CERTSTORE_PROPERTY: &[u8; 23usize] = b"SmartCardUserCertStore\0"; -pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: &[u8; 23usize] = b"SmartcardRootCertStore\0"; -pub const NCRYPT_SECURE_PIN_PROPERTY: &[u8; 19usize] = b"SmartCardSecurePin\0"; -pub const NCRYPT_ASSOCIATED_ECDH_KEY: &[u8; 27usize] = b"SmartCardAssociatedECDHKey\0"; -pub const NCRYPT_SCARD_PIN_ID: &[u8; 15usize] = b"SmartCardPinId\0"; -pub const NCRYPT_SCARD_PIN_INFO: &[u8; 17usize] = b"SmartCardPinInfo\0"; -pub const NCRYPT_READER_ICON_PROPERTY: &[u8; 20usize] = b"SmartCardReaderIcon\0"; -pub const NCRYPT_KDF_SECRET_VALUE: &[u8; 13usize] = b"KDFKeySecret\0"; -pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: &[u8; 33usize] = - b"SmartCardDismissUITimeoutSeconds\0"; -pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &[u8; 18usize] = b"PCP_PLATFORM_TYPE\0"; -pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &[u8; 21usize] = b"PCP_PROVIDER_VERSION\0"; -pub const NCRYPT_PCP_EKPUB_PROPERTY: &[u8; 10usize] = b"PCP_EKPUB\0"; -pub const NCRYPT_PCP_EKCERT_PROPERTY: &[u8; 11usize] = b"PCP_EKCERT\0"; -pub const NCRYPT_PCP_EKNVCERT_PROPERTY: &[u8; 13usize] = b"PCP_EKNVCERT\0"; -pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: &[u8; 14usize] = b"PCP_RSA_EKPUB\0"; -pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: &[u8; 15usize] = b"PCP_RSA_EKCERT\0"; -pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: &[u8; 17usize] = b"PCP_RSA_EKNVCERT\0"; -pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: &[u8; 14usize] = b"PCP_ECC_EKPUB\0"; -pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: &[u8; 15usize] = b"PCP_ECC_EKCERT\0"; -pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: &[u8; 17usize] = b"PCP_ECC_EKNVCERT\0"; -pub const NCRYPT_PCP_SRKPUB_PROPERTY: &[u8; 11usize] = b"PCP_SRKPUB\0"; -pub const NCRYPT_PCP_PCRTABLE_PROPERTY: &[u8; 13usize] = b"PCP_PCRTABLE\0"; -pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: &[u8; 19usize] = b"PCP_CHANGEPASSWORD\0"; -pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: &[u8; 22usize] = b"PCP_PASSWORD_REQUIRED\0"; -pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: &[u8; 14usize] = b"PCP_USAGEAUTH\0"; -pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: &[u8; 22usize] = b"PCP_MIGRATIONPASSWORD\0"; -pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: &[u8; 19usize] = b"PCP_EXPORT_ALLOWED\0"; -pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: &[u8; 18usize] = b"PCP_STORAGEPARENT\0"; -pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: &[u8; 20usize] = b"PCP_PROVIDERMHANDLE\0"; -pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: &[u8; 19usize] = b"PCP_PLATFORMHANDLE\0"; -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: &[u8; 29usize] = +pub const NCRYPT_NAME_PROPERTY: &[u8; 5] = b"Name\0"; +pub const NCRYPT_UNIQUE_NAME_PROPERTY: &[u8; 12] = b"Unique Name\0"; +pub const NCRYPT_ALGORITHM_PROPERTY: &[u8; 15] = b"Algorithm Name\0"; +pub const NCRYPT_LENGTH_PROPERTY: &[u8; 7] = b"Length\0"; +pub const NCRYPT_LENGTHS_PROPERTY: &[u8; 8] = b"Lengths\0"; +pub const NCRYPT_BLOCK_LENGTH_PROPERTY: &[u8; 13] = b"Block Length\0"; +pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: &[u8; 16] = b"PublicKeyLength\0"; +pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: &[u8; 16] = b"SignatureLength\0"; +pub const NCRYPT_CHAINING_MODE_PROPERTY: &[u8; 14] = b"Chaining Mode\0"; +pub const NCRYPT_AUTH_TAG_LENGTH: &[u8; 14] = b"AuthTagLength\0"; +pub const NCRYPT_UI_POLICY_PROPERTY: &[u8; 10] = b"UI Policy\0"; +pub const NCRYPT_EXPORT_POLICY_PROPERTY: &[u8; 14] = b"Export Policy\0"; +pub const NCRYPT_WINDOW_HANDLE_PROPERTY: &[u8; 12] = b"HWND Handle\0"; +pub const NCRYPT_USE_CONTEXT_PROPERTY: &[u8; 12] = b"Use Context\0"; +pub const NCRYPT_IMPL_TYPE_PROPERTY: &[u8; 10] = b"Impl Type\0"; +pub const NCRYPT_KEY_USAGE_PROPERTY: &[u8; 10] = b"Key Usage\0"; +pub const NCRYPT_KEY_TYPE_PROPERTY: &[u8; 9] = b"Key Type\0"; +pub const NCRYPT_VERSION_PROPERTY: &[u8; 8] = b"Version\0"; +pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: &[u8; 23] = b"Security Descr Support\0"; +pub const NCRYPT_SECURITY_DESCR_PROPERTY: &[u8; 15] = b"Security Descr\0"; +pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: &[u8; 18] = b"Enabled Use Count\0"; +pub const NCRYPT_USE_COUNT_PROPERTY: &[u8; 10] = b"Use Count\0"; +pub const NCRYPT_LAST_MODIFIED_PROPERTY: &[u8; 9] = b"Modified\0"; +pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: &[u8; 16] = b"Max Name Length\0"; +pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: &[u8; 16] = b"Algorithm Group\0"; +pub const NCRYPT_DH_PARAMETERS_PROPERTY: &[u8; 13] = b"DHParameters\0"; +pub const NCRYPT_ECC_PARAMETERS_PROPERTY: &[u8; 14] = b"ECCParameters\0"; +pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: &[u8; 13] = b"ECCCurveName\0"; +pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: &[u8; 17] = b"ECCCurveNameList\0"; +pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: &[u8; 12] = b"Virtual Iso\0"; +pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: &[u8; 13] = b"Per Boot Key\0"; +pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: &[u8; 16] = b"Provider Handle\0"; +pub const NCRYPT_PIN_PROPERTY: &[u8; 13] = b"SmartCardPin\0"; +pub const NCRYPT_READER_PROPERTY: &[u8; 16] = b"SmartCardReader\0"; +pub const NCRYPT_SMARTCARD_GUID_PROPERTY: &[u8; 14] = b"SmartCardGuid\0"; +pub const NCRYPT_CERTIFICATE_PROPERTY: &[u8; 24] = b"SmartCardKeyCertificate\0"; +pub const NCRYPT_PIN_PROMPT_PROPERTY: &[u8; 19] = b"SmartCardPinPrompt\0"; +pub const NCRYPT_USER_CERTSTORE_PROPERTY: &[u8; 23] = b"SmartCardUserCertStore\0"; +pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: &[u8; 23] = b"SmartcardRootCertStore\0"; +pub const NCRYPT_SECURE_PIN_PROPERTY: &[u8; 19] = b"SmartCardSecurePin\0"; +pub const NCRYPT_ASSOCIATED_ECDH_KEY: &[u8; 27] = b"SmartCardAssociatedECDHKey\0"; +pub const NCRYPT_SCARD_PIN_ID: &[u8; 15] = b"SmartCardPinId\0"; +pub const NCRYPT_SCARD_PIN_INFO: &[u8; 17] = b"SmartCardPinInfo\0"; +pub const NCRYPT_READER_ICON_PROPERTY: &[u8; 20] = b"SmartCardReaderIcon\0"; +pub const NCRYPT_KDF_SECRET_VALUE: &[u8; 13] = b"KDFKeySecret\0"; +pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: &[u8; 33] = b"SmartCardDismissUITimeoutSeconds\0"; +pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &[u8; 18] = b"PCP_PLATFORM_TYPE\0"; +pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &[u8; 21] = b"PCP_PROVIDER_VERSION\0"; +pub const NCRYPT_PCP_EKPUB_PROPERTY: &[u8; 10] = b"PCP_EKPUB\0"; +pub const NCRYPT_PCP_EKCERT_PROPERTY: &[u8; 11] = b"PCP_EKCERT\0"; +pub const NCRYPT_PCP_EKNVCERT_PROPERTY: &[u8; 13] = b"PCP_EKNVCERT\0"; +pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: &[u8; 14] = b"PCP_RSA_EKPUB\0"; +pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: &[u8; 15] = b"PCP_RSA_EKCERT\0"; +pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: &[u8; 17] = b"PCP_RSA_EKNVCERT\0"; +pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: &[u8; 14] = b"PCP_ECC_EKPUB\0"; +pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: &[u8; 15] = b"PCP_ECC_EKCERT\0"; +pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: &[u8; 17] = b"PCP_ECC_EKNVCERT\0"; +pub const NCRYPT_PCP_SRKPUB_PROPERTY: &[u8; 11] = b"PCP_SRKPUB\0"; +pub const NCRYPT_PCP_PCRTABLE_PROPERTY: &[u8; 13] = b"PCP_PCRTABLE\0"; +pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: &[u8; 19] = b"PCP_CHANGEPASSWORD\0"; +pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: &[u8; 22] = b"PCP_PASSWORD_REQUIRED\0"; +pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: &[u8; 14] = b"PCP_USAGEAUTH\0"; +pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: &[u8; 22] = b"PCP_MIGRATIONPASSWORD\0"; +pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: &[u8; 19] = b"PCP_EXPORT_ALLOWED\0"; +pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: &[u8; 18] = b"PCP_STORAGEPARENT\0"; +pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: &[u8; 20] = b"PCP_PROVIDERMHANDLE\0"; +pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: &[u8; 19] = b"PCP_PLATFORMHANDLE\0"; +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: &[u8; 29] = b"PCP_PLATFORM_BINDING_PCRMASK\0"; -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: &[u8; 35usize] = +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: &[u8; 35] = b"PCP_PLATFORM_BINDING_PCRDIGESTLIST\0"; -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: &[u8; 31usize] = +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: &[u8; 31] = b"PCP_PLATFORM_BINDING_PCRDIGEST\0"; -pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: &[u8; 21usize] = b"PCP_KEY_USAGE_POLICY\0"; -pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: &[u8; 15usize] = b"PCP_RSA_SCHEME\0"; -pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: &[u8; 20usize] = b"PCP_TPM12_IDBINDING\0"; -pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: &[u8; 28usize] = - b"PCP_TPM12_IDBINDING_DYNAMIC\0"; -pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: &[u8; 23usize] = b"PCP_TPM12_IDACTIVATION\0"; -pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: &[u8; 25usize] = b"PCP_TPM12_KEYATTESTATION\0"; -pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &[u8; 35usize] = +pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: &[u8; 21] = b"PCP_KEY_USAGE_POLICY\0"; +pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: &[u8; 15] = b"PCP_RSA_SCHEME\0"; +pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: &[u8; 20] = b"PCP_TPM12_IDBINDING\0"; +pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: &[u8; 28] = b"PCP_TPM12_IDBINDING_DYNAMIC\0"; +pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: &[u8; 23] = b"PCP_TPM12_IDACTIVATION\0"; +pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: &[u8; 25] = b"PCP_TPM12_KEYATTESTATION\0"; +pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &[u8; 35] = b"PCP_ALTERNATE_KEY_STORAGE_LOCATION\0"; -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: &[u8; 30usize] = +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: &[u8; 30] = b"PCP_PLATFORM_BINDING_PCRALGID\0"; -pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: &[u8; 24usize] = b"PCP_HMAC_AUTH_POLICYREF\0"; -pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: &[u8; 25usize] = b"PCP_HMAC_AUTH_POLICYINFO\0"; -pub const NCRYPT_PCP_HMAC_AUTH_NONCE: &[u8; 20usize] = b"PCP_HMAC_AUTH_NONCE\0"; -pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: &[u8; 24usize] = b"PCP_HMAC_AUTH_SIGNATURE\0"; -pub const NCRYPT_PCP_HMAC_AUTH_TICKET: &[u8; 21usize] = b"PCP_HMAC_AUTH_TICKET\0"; -pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: &[u8; 21usize] = b"PCP_NO_DA_PROTECTION\0"; -pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: &[u8; 24usize] = b"PCP_TPM_MANUFACTURER_ID\0"; -pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: &[u8; 19usize] = b"PCP_TPM_FW_VERSION\0"; -pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: &[u8; 14usize] = b"PCP_TPM2BNAME\0"; -pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: &[u8; 16usize] = b"PCP_TPM_VERSION\0"; -pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: &[u8; 21usize] = b"PCP_RAW_POLICYDIGEST\0"; -pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: &[u8; 21usize] = b"PCP_KEY_CREATIONHASH\0"; -pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: &[u8; 23usize] = b"PCP_KEY_CREATIONTICKET\0"; -pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: &[u8; 24usize] = b"PCP_RSA_SCHEME_HASH_ALG\0"; -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: &[u8; 34usize] = +pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: &[u8; 24] = b"PCP_HMAC_AUTH_POLICYREF\0"; +pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: &[u8; 25] = b"PCP_HMAC_AUTH_POLICYINFO\0"; +pub const NCRYPT_PCP_HMAC_AUTH_NONCE: &[u8; 20] = b"PCP_HMAC_AUTH_NONCE\0"; +pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: &[u8; 24] = b"PCP_HMAC_AUTH_SIGNATURE\0"; +pub const NCRYPT_PCP_HMAC_AUTH_TICKET: &[u8; 21] = b"PCP_HMAC_AUTH_TICKET\0"; +pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: &[u8; 21] = b"PCP_NO_DA_PROTECTION\0"; +pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: &[u8; 24] = b"PCP_TPM_MANUFACTURER_ID\0"; +pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: &[u8; 19] = b"PCP_TPM_FW_VERSION\0"; +pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: &[u8; 14] = b"PCP_TPM2BNAME\0"; +pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: &[u8; 16] = b"PCP_TPM_VERSION\0"; +pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: &[u8; 21] = b"PCP_RAW_POLICYDIGEST\0"; +pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: &[u8; 21] = b"PCP_KEY_CREATIONHASH\0"; +pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: &[u8; 23] = b"PCP_KEY_CREATIONTICKET\0"; +pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: &[u8; 24] = b"PCP_RSA_SCHEME_HASH_ALG\0"; +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: &[u8; 34] = b"PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED\0"; -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: &[u8; 37usize] = +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: &[u8; 37] = b"PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY\0"; pub const IFX_RSA_KEYGEN_VUL_NOT_AFFECTED: u32 = 0; pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_1: u32 = 1; pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_2: u32 = 2; -pub const NCRYPT_PCP_SESSIONID_PROPERTY: &[u8; 14usize] = b"PCP_SESSIONID\0"; -pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: &[u8; 14usize] = b"PSS Salt Size\0"; +pub const NCRYPT_PCP_SESSIONID_PROPERTY: &[u8; 14] = b"PCP_SESSIONID\0"; +pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: &[u8; 14] = b"PSS Salt Size\0"; pub const NCRYPT_TPM_PSS_SALT_SIZE_UNKNOWN: u32 = 0; pub const NCRYPT_TPM_PSS_SALT_SIZE_MAXIMUM: u32 = 1; pub const NCRYPT_TPM_PSS_SALT_SIZE_HASHSIZE: u32 = 2; -pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: &[u8; 27usize] = - b"PCP_INTERMEDIATE_CA_EKCERT\0"; -pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: &[u8; 23usize] = b"PCP_PCRTABLE_ALGORITHM\0"; -pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: &[u8; 22usize] = b"PCP_SYMMETRIC_KEYBITS\0"; +pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: &[u8; 27] = b"PCP_INTERMEDIATE_CA_EKCERT\0"; +pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: &[u8; 23] = b"PCP_PCRTABLE_ALGORITHM\0"; +pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: &[u8; 22] = b"PCP_SYMMETRIC_KEYBITS\0"; pub const NCRYPT_TPM_PAD_PSS_IGNORE_SALT: u32 = 32; pub const NCRYPT_TPM12_PROVIDER: u32 = 65536; pub const NCRYPT_PCP_SIGNATURE_KEY: u32 = 1; @@ -15658,12 +15647,12 @@ pub const NCRYPT_PCP_GENERIC_KEY: u32 = 3; pub const NCRYPT_PCP_STORAGE_KEY: u32 = 4; pub const NCRYPT_PCP_IDENTITY_KEY: u32 = 8; pub const NCRYPT_PCP_HMACVERIFICATION_KEY: u32 = 16; -pub const NCRYPT_SCARD_NGC_KEY_NAME: &[u8; 20usize] = b"SmartCardNgcKeyName\0"; -pub const NCRYPT_INITIALIZATION_VECTOR: &[u8; 3usize] = b"IV\0"; -pub const NCRYPT_CHANGEPASSWORD_PROPERTY: &[u8; 19usize] = b"PCP_CHANGEPASSWORD\0"; -pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &[u8; 35usize] = +pub const NCRYPT_SCARD_NGC_KEY_NAME: &[u8; 20] = b"SmartCardNgcKeyName\0"; +pub const NCRYPT_INITIALIZATION_VECTOR: &[u8; 3] = b"IV\0"; +pub const NCRYPT_CHANGEPASSWORD_PROPERTY: &[u8; 19] = b"PCP_CHANGEPASSWORD\0"; +pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &[u8; 35] = b"PCP_ALTERNATE_KEY_STORAGE_LOCATION\0"; -pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: &[u8; 18usize] = b"Key Access Policy\0"; +pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: &[u8; 18] = b"Key Access Policy\0"; pub const NCRYPT_MAX_PROPERTY_NAME: u32 = 64; pub const NCRYPT_MAX_PROPERTY_DATA: u32 = 1048576; pub const NCRYPT_ALLOW_EXPORT_FLAG: u32 = 1; @@ -15684,283 +15673,279 @@ pub const NCRYPT_UI_PROTECT_KEY_FLAG: u32 = 1; pub const NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: u32 = 2; pub const NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: u32 = 4; pub const NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: u32 = 8; -pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: &[u8; 30usize] = +pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: &[u8; 30] = b"PinCacheFreeApplicationTicket\0"; -pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: &[u8; 14usize] = b"PinCacheFlags\0"; +pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: &[u8; 14] = b"PinCacheFlags\0"; pub const NCRYPT_PIN_CACHE_DISABLE_DPL_FLAG: u32 = 1; -pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: &[u8; 26usize] = - b"PinCacheApplicationTicket\0"; -pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: &[u8; 25usize] = - b"PinCacheApplicationImage\0"; -pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: &[u8; 26usize] = - b"PinCacheApplicationStatus\0"; -pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: &[u8; 12usize] = b"PinCachePin\0"; -pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: &[u8; 26usize] = - b"PinCacheIsGestureRequired\0"; +pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: &[u8; 26] = b"PinCacheApplicationTicket\0"; +pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: &[u8; 25] = b"PinCacheApplicationImage\0"; +pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: &[u8; 26] = b"PinCacheApplicationStatus\0"; +pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: &[u8; 12] = b"PinCachePin\0"; +pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: &[u8; 26] = b"PinCacheIsGestureRequired\0"; pub const NCRYPT_PIN_CACHE_REQUIRE_GESTURE_FLAG: u32 = 1; pub const NCRYPT_PIN_CACHE_PIN_BYTE_LENGTH: u32 = 90; pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_BYTE_LENGTH: u32 = 90; -pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: &[u8; 14usize] = b"PinCacheClear\0"; +pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: &[u8; 14] = b"PinCacheClear\0"; pub const NCRYPT_PIN_CACHE_CLEAR_FOR_CALLING_PROCESS_OPTION: u32 = 1; pub const NCRYPT_KEY_ACCESS_POLICY_VERSION: u32 = 1; pub const NCRYPT_ALLOW_SILENT_KEY_ACCESS: u32 = 1; pub const NCRYPT_CIPHER_KEY_BLOB_MAGIC: u32 = 1380470851; pub const NCRYPT_KDF_KEY_BLOB_MAGIC: u32 = 826688587; pub const NCRYPT_PROTECTED_KEY_BLOB_MAGIC: u32 = 1263817296; -pub const NCRYPT_CIPHER_KEY_BLOB: &[u8; 14usize] = b"CipherKeyBlob\0"; -pub const NCRYPT_KDF_KEY_BLOB: &[u8; 11usize] = b"KDFKeyBlob\0"; -pub const NCRYPT_PROTECTED_KEY_BLOB: &[u8; 17usize] = b"ProtectedKeyBlob\0"; -pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: &[u8; 23usize] = b"PcpTpmProtectedKeyBlob\0"; +pub const NCRYPT_CIPHER_KEY_BLOB: &[u8; 14] = b"CipherKeyBlob\0"; +pub const NCRYPT_KDF_KEY_BLOB: &[u8; 11] = b"KDFKeyBlob\0"; +pub const NCRYPT_PROTECTED_KEY_BLOB: &[u8; 17] = b"ProtectedKeyBlob\0"; +pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: &[u8; 23] = b"PcpTpmProtectedKeyBlob\0"; pub const NCRYPT_TPM_LOADABLE_KEY_BLOB_MAGIC: u32 = 1297371211; -pub const NCRYPT_PKCS7_ENVELOPE_BLOB: &[u8; 15usize] = b"PKCS7_ENVELOPE\0"; -pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: &[u8; 17usize] = b"PKCS8_PRIVATEKEY\0"; -pub const NCRYPT_OPAQUETRANSPORT_BLOB: &[u8; 16usize] = b"OpaqueTransport\0"; -pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: &[u8; 22usize] = b"ISOLATED_KEY_ENVELOPE\0"; -pub const szOID_RSA: &[u8; 15usize] = b"1.2.840.113549\0"; -pub const szOID_PKCS: &[u8; 17usize] = b"1.2.840.113549.1\0"; -pub const szOID_RSA_HASH: &[u8; 17usize] = b"1.2.840.113549.2\0"; -pub const szOID_RSA_ENCRYPT: &[u8; 17usize] = b"1.2.840.113549.3\0"; -pub const szOID_PKCS_1: &[u8; 19usize] = b"1.2.840.113549.1.1\0"; -pub const szOID_PKCS_2: &[u8; 19usize] = b"1.2.840.113549.1.2\0"; -pub const szOID_PKCS_3: &[u8; 19usize] = b"1.2.840.113549.1.3\0"; -pub const szOID_PKCS_4: &[u8; 19usize] = b"1.2.840.113549.1.4\0"; -pub const szOID_PKCS_5: &[u8; 19usize] = b"1.2.840.113549.1.5\0"; -pub const szOID_PKCS_6: &[u8; 19usize] = b"1.2.840.113549.1.6\0"; -pub const szOID_PKCS_7: &[u8; 19usize] = b"1.2.840.113549.1.7\0"; -pub const szOID_PKCS_8: &[u8; 19usize] = b"1.2.840.113549.1.8\0"; -pub const szOID_PKCS_9: &[u8; 19usize] = b"1.2.840.113549.1.9\0"; -pub const szOID_PKCS_10: &[u8; 20usize] = b"1.2.840.113549.1.10\0"; -pub const szOID_PKCS_12: &[u8; 20usize] = b"1.2.840.113549.1.12\0"; -pub const szOID_RSA_RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.1\0"; -pub const szOID_RSA_MD2RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.2\0"; -pub const szOID_RSA_MD4RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.3\0"; -pub const szOID_RSA_MD5RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.4\0"; -pub const szOID_RSA_SHA1RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.5\0"; -pub const szOID_RSA_SETOAEP_RSA: &[u8; 21usize] = b"1.2.840.113549.1.1.6\0"; -pub const szOID_RSAES_OAEP: &[u8; 21usize] = b"1.2.840.113549.1.1.7\0"; -pub const szOID_RSA_MGF1: &[u8; 21usize] = b"1.2.840.113549.1.1.8\0"; -pub const szOID_RSA_PSPECIFIED: &[u8; 21usize] = b"1.2.840.113549.1.1.9\0"; -pub const szOID_RSA_SSA_PSS: &[u8; 22usize] = b"1.2.840.113549.1.1.10\0"; -pub const szOID_RSA_SHA256RSA: &[u8; 22usize] = b"1.2.840.113549.1.1.11\0"; -pub const szOID_RSA_SHA384RSA: &[u8; 22usize] = b"1.2.840.113549.1.1.12\0"; -pub const szOID_RSA_SHA512RSA: &[u8; 22usize] = b"1.2.840.113549.1.1.13\0"; -pub const szOID_RSA_DH: &[u8; 21usize] = b"1.2.840.113549.1.3.1\0"; -pub const szOID_RSA_data: &[u8; 21usize] = b"1.2.840.113549.1.7.1\0"; -pub const szOID_RSA_signedData: &[u8; 21usize] = b"1.2.840.113549.1.7.2\0"; -pub const szOID_RSA_envelopedData: &[u8; 21usize] = b"1.2.840.113549.1.7.3\0"; -pub const szOID_RSA_signEnvData: &[u8; 21usize] = b"1.2.840.113549.1.7.4\0"; -pub const szOID_RSA_digestedData: &[u8; 21usize] = b"1.2.840.113549.1.7.5\0"; -pub const szOID_RSA_hashedData: &[u8; 21usize] = b"1.2.840.113549.1.7.5\0"; -pub const szOID_RSA_encryptedData: &[u8; 21usize] = b"1.2.840.113549.1.7.6\0"; -pub const szOID_RSA_emailAddr: &[u8; 21usize] = b"1.2.840.113549.1.9.1\0"; -pub const szOID_RSA_unstructName: &[u8; 21usize] = b"1.2.840.113549.1.9.2\0"; -pub const szOID_RSA_contentType: &[u8; 21usize] = b"1.2.840.113549.1.9.3\0"; -pub const szOID_RSA_messageDigest: &[u8; 21usize] = b"1.2.840.113549.1.9.4\0"; -pub const szOID_RSA_signingTime: &[u8; 21usize] = b"1.2.840.113549.1.9.5\0"; -pub const szOID_RSA_counterSign: &[u8; 21usize] = b"1.2.840.113549.1.9.6\0"; -pub const szOID_RSA_challengePwd: &[u8; 21usize] = b"1.2.840.113549.1.9.7\0"; -pub const szOID_RSA_unstructAddr: &[u8; 21usize] = b"1.2.840.113549.1.9.8\0"; -pub const szOID_RSA_extCertAttrs: &[u8; 21usize] = b"1.2.840.113549.1.9.9\0"; -pub const szOID_RSA_certExtensions: &[u8; 22usize] = b"1.2.840.113549.1.9.14\0"; -pub const szOID_RSA_SMIMECapabilities: &[u8; 22usize] = b"1.2.840.113549.1.9.15\0"; -pub const szOID_RSA_preferSignedData: &[u8; 24usize] = b"1.2.840.113549.1.9.15.1\0"; -pub const szOID_TIMESTAMP_TOKEN: &[u8; 26usize] = b"1.2.840.113549.1.9.16.1.4\0"; -pub const szOID_RFC3161_counterSign: &[u8; 22usize] = b"1.3.6.1.4.1.311.3.3.1\0"; -pub const szOID_RSA_SMIMEalg: &[u8; 24usize] = b"1.2.840.113549.1.9.16.3\0"; -pub const szOID_RSA_SMIMEalgESDH: &[u8; 26usize] = b"1.2.840.113549.1.9.16.3.5\0"; -pub const szOID_RSA_SMIMEalgCMS3DESwrap: &[u8; 26usize] = b"1.2.840.113549.1.9.16.3.6\0"; -pub const szOID_RSA_SMIMEalgCMSRC2wrap: &[u8; 26usize] = b"1.2.840.113549.1.9.16.3.7\0"; -pub const szOID_RSA_MD2: &[u8; 19usize] = b"1.2.840.113549.2.2\0"; -pub const szOID_RSA_MD4: &[u8; 19usize] = b"1.2.840.113549.2.4\0"; -pub const szOID_RSA_MD5: &[u8; 19usize] = b"1.2.840.113549.2.5\0"; -pub const szOID_RSA_RC2CBC: &[u8; 19usize] = b"1.2.840.113549.3.2\0"; -pub const szOID_RSA_RC4: &[u8; 19usize] = b"1.2.840.113549.3.4\0"; -pub const szOID_RSA_DES_EDE3_CBC: &[u8; 19usize] = b"1.2.840.113549.3.7\0"; -pub const szOID_RSA_RC5_CBCPad: &[u8; 19usize] = b"1.2.840.113549.3.9\0"; -pub const szOID_ANSI_X942: &[u8; 14usize] = b"1.2.840.10046\0"; -pub const szOID_ANSI_X942_DH: &[u8; 18usize] = b"1.2.840.10046.2.1\0"; -pub const szOID_X957: &[u8; 14usize] = b"1.2.840.10040\0"; -pub const szOID_X957_DSA: &[u8; 18usize] = b"1.2.840.10040.4.1\0"; -pub const szOID_X957_SHA1DSA: &[u8; 18usize] = b"1.2.840.10040.4.3\0"; -pub const szOID_ECC_PUBLIC_KEY: &[u8; 18usize] = b"1.2.840.10045.2.1\0"; -pub const szOID_ECC_CURVE_P256: &[u8; 20usize] = b"1.2.840.10045.3.1.7\0"; -pub const szOID_ECC_CURVE_P384: &[u8; 13usize] = b"1.3.132.0.34\0"; -pub const szOID_ECC_CURVE_P521: &[u8; 13usize] = b"1.3.132.0.35\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP160R1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.1\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP160T1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.2\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP192R1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.3\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP192T1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.4\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP224R1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.5\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP224T1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.6\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP256R1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.7\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP256T1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.8\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP320R1: &[u8; 21usize] = b"1.3.36.3.3.2.8.1.1.9\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP320T1: &[u8; 22usize] = b"1.3.36.3.3.2.8.1.1.10\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP384R1: &[u8; 22usize] = b"1.3.36.3.3.2.8.1.1.11\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP384T1: &[u8; 22usize] = b"1.3.36.3.3.2.8.1.1.12\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP512R1: &[u8; 22usize] = b"1.3.36.3.3.2.8.1.1.13\0"; -pub const szOID_ECC_CURVE_BRAINPOOLP512T1: &[u8; 22usize] = b"1.3.36.3.3.2.8.1.1.14\0"; -pub const szOID_ECC_CURVE_EC192WAPI: &[u8; 22usize] = b"1.2.156.11235.1.1.2.1\0"; -pub const szOID_CN_ECDSA_SHA256: &[u8; 20usize] = b"1.2.156.11235.1.1.1\0"; -pub const szOID_ECC_CURVE_NISTP192: &[u8; 20usize] = b"1.2.840.10045.3.1.1\0"; -pub const szOID_ECC_CURVE_NISTP224: &[u8; 13usize] = b"1.3.132.0.33\0"; -pub const szOID_ECC_CURVE_NISTP256: &[u8; 20usize] = b"1.2.840.10045.3.1.7\0"; -pub const szOID_ECC_CURVE_NISTP384: &[u8; 13usize] = b"1.3.132.0.34\0"; -pub const szOID_ECC_CURVE_NISTP521: &[u8; 13usize] = b"1.3.132.0.35\0"; -pub const szOID_ECC_CURVE_SECP160K1: &[u8; 12usize] = b"1.3.132.0.9\0"; -pub const szOID_ECC_CURVE_SECP160R1: &[u8; 12usize] = b"1.3.132.0.8\0"; -pub const szOID_ECC_CURVE_SECP160R2: &[u8; 13usize] = b"1.3.132.0.30\0"; -pub const szOID_ECC_CURVE_SECP192K1: &[u8; 13usize] = b"1.3.132.0.31\0"; -pub const szOID_ECC_CURVE_SECP192R1: &[u8; 20usize] = b"1.2.840.10045.3.1.1\0"; -pub const szOID_ECC_CURVE_SECP224K1: &[u8; 13usize] = b"1.3.132.0.32\0"; -pub const szOID_ECC_CURVE_SECP224R1: &[u8; 13usize] = b"1.3.132.0.33\0"; -pub const szOID_ECC_CURVE_SECP256K1: &[u8; 13usize] = b"1.3.132.0.10\0"; -pub const szOID_ECC_CURVE_SECP256R1: &[u8; 20usize] = b"1.2.840.10045.3.1.7\0"; -pub const szOID_ECC_CURVE_SECP384R1: &[u8; 13usize] = b"1.3.132.0.34\0"; -pub const szOID_ECC_CURVE_SECP521R1: &[u8; 13usize] = b"1.3.132.0.35\0"; -pub const szOID_ECC_CURVE_WTLS7: &[u8; 13usize] = b"1.3.132.0.30\0"; -pub const szOID_ECC_CURVE_WTLS9: &[u8; 14usize] = b"2.23.43.1.4.9\0"; -pub const szOID_ECC_CURVE_WTLS12: &[u8; 13usize] = b"1.3.132.0.33\0"; -pub const szOID_ECC_CURVE_X962P192V1: &[u8; 20usize] = b"1.2.840.10045.3.1.1\0"; -pub const szOID_ECC_CURVE_X962P192V2: &[u8; 20usize] = b"1.2.840.10045.3.1.2\0"; -pub const szOID_ECC_CURVE_X962P192V3: &[u8; 20usize] = b"1.2.840.10045.3.1.3\0"; -pub const szOID_ECC_CURVE_X962P239V1: &[u8; 20usize] = b"1.2.840.10045.3.1.4\0"; -pub const szOID_ECC_CURVE_X962P239V2: &[u8; 20usize] = b"1.2.840.10045.3.1.5\0"; -pub const szOID_ECC_CURVE_X962P239V3: &[u8; 20usize] = b"1.2.840.10045.3.1.6\0"; -pub const szOID_ECC_CURVE_X962P256V1: &[u8; 20usize] = b"1.2.840.10045.3.1.7\0"; -pub const szOID_ECDSA_SHA1: &[u8; 18usize] = b"1.2.840.10045.4.1\0"; -pub const szOID_ECDSA_SPECIFIED: &[u8; 18usize] = b"1.2.840.10045.4.3\0"; -pub const szOID_ECDSA_SHA256: &[u8; 20usize] = b"1.2.840.10045.4.3.2\0"; -pub const szOID_ECDSA_SHA384: &[u8; 20usize] = b"1.2.840.10045.4.3.3\0"; -pub const szOID_ECDSA_SHA512: &[u8; 20usize] = b"1.2.840.10045.4.3.4\0"; -pub const szOID_NIST_AES128_CBC: &[u8; 23usize] = b"2.16.840.1.101.3.4.1.2\0"; -pub const szOID_NIST_AES192_CBC: &[u8; 24usize] = b"2.16.840.1.101.3.4.1.22\0"; -pub const szOID_NIST_AES256_CBC: &[u8; 24usize] = b"2.16.840.1.101.3.4.1.42\0"; -pub const szOID_NIST_AES128_WRAP: &[u8; 23usize] = b"2.16.840.1.101.3.4.1.5\0"; -pub const szOID_NIST_AES192_WRAP: &[u8; 24usize] = b"2.16.840.1.101.3.4.1.25\0"; -pub const szOID_NIST_AES256_WRAP: &[u8; 24usize] = b"2.16.840.1.101.3.4.1.45\0"; -pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: &[u8; 22usize] = b"1.3.133.16.840.63.0.2\0"; -pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: &[u8; 15usize] = b"1.3.132.1.11.1\0"; -pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: &[u8; 15usize] = b"1.3.132.1.11.2\0"; -pub const szOID_DS: &[u8; 4usize] = b"2.5\0"; -pub const szOID_DSALG: &[u8; 6usize] = b"2.5.8\0"; -pub const szOID_DSALG_CRPT: &[u8; 8usize] = b"2.5.8.1\0"; -pub const szOID_DSALG_HASH: &[u8; 8usize] = b"2.5.8.2\0"; -pub const szOID_DSALG_SIGN: &[u8; 8usize] = b"2.5.8.3\0"; -pub const szOID_DSALG_RSA: &[u8; 10usize] = b"2.5.8.1.1\0"; -pub const szOID_OIW: &[u8; 7usize] = b"1.3.14\0"; -pub const szOID_OIWSEC: &[u8; 11usize] = b"1.3.14.3.2\0"; -pub const szOID_OIWSEC_md4RSA: &[u8; 13usize] = b"1.3.14.3.2.2\0"; -pub const szOID_OIWSEC_md5RSA: &[u8; 13usize] = b"1.3.14.3.2.3\0"; -pub const szOID_OIWSEC_md4RSA2: &[u8; 13usize] = b"1.3.14.3.2.4\0"; -pub const szOID_OIWSEC_desECB: &[u8; 13usize] = b"1.3.14.3.2.6\0"; -pub const szOID_OIWSEC_desCBC: &[u8; 13usize] = b"1.3.14.3.2.7\0"; -pub const szOID_OIWSEC_desOFB: &[u8; 13usize] = b"1.3.14.3.2.8\0"; -pub const szOID_OIWSEC_desCFB: &[u8; 13usize] = b"1.3.14.3.2.9\0"; -pub const szOID_OIWSEC_desMAC: &[u8; 14usize] = b"1.3.14.3.2.10\0"; -pub const szOID_OIWSEC_rsaSign: &[u8; 14usize] = b"1.3.14.3.2.11\0"; -pub const szOID_OIWSEC_dsa: &[u8; 14usize] = b"1.3.14.3.2.12\0"; -pub const szOID_OIWSEC_shaDSA: &[u8; 14usize] = b"1.3.14.3.2.13\0"; -pub const szOID_OIWSEC_mdc2RSA: &[u8; 14usize] = b"1.3.14.3.2.14\0"; -pub const szOID_OIWSEC_shaRSA: &[u8; 14usize] = b"1.3.14.3.2.15\0"; -pub const szOID_OIWSEC_dhCommMod: &[u8; 14usize] = b"1.3.14.3.2.16\0"; -pub const szOID_OIWSEC_desEDE: &[u8; 14usize] = b"1.3.14.3.2.17\0"; -pub const szOID_OIWSEC_sha: &[u8; 14usize] = b"1.3.14.3.2.18\0"; -pub const szOID_OIWSEC_mdc2: &[u8; 14usize] = b"1.3.14.3.2.19\0"; -pub const szOID_OIWSEC_dsaComm: &[u8; 14usize] = b"1.3.14.3.2.20\0"; -pub const szOID_OIWSEC_dsaCommSHA: &[u8; 14usize] = b"1.3.14.3.2.21\0"; -pub const szOID_OIWSEC_rsaXchg: &[u8; 14usize] = b"1.3.14.3.2.22\0"; -pub const szOID_OIWSEC_keyHashSeal: &[u8; 14usize] = b"1.3.14.3.2.23\0"; -pub const szOID_OIWSEC_md2RSASign: &[u8; 14usize] = b"1.3.14.3.2.24\0"; -pub const szOID_OIWSEC_md5RSASign: &[u8; 14usize] = b"1.3.14.3.2.25\0"; -pub const szOID_OIWSEC_sha1: &[u8; 14usize] = b"1.3.14.3.2.26\0"; -pub const szOID_OIWSEC_dsaSHA1: &[u8; 14usize] = b"1.3.14.3.2.27\0"; -pub const szOID_OIWSEC_dsaCommSHA1: &[u8; 14usize] = b"1.3.14.3.2.28\0"; -pub const szOID_OIWSEC_sha1RSASign: &[u8; 14usize] = b"1.3.14.3.2.29\0"; -pub const szOID_OIWDIR: &[u8; 11usize] = b"1.3.14.7.2\0"; -pub const szOID_OIWDIR_CRPT: &[u8; 13usize] = b"1.3.14.7.2.1\0"; -pub const szOID_OIWDIR_HASH: &[u8; 13usize] = b"1.3.14.7.2.2\0"; -pub const szOID_OIWDIR_SIGN: &[u8; 13usize] = b"1.3.14.7.2.3\0"; -pub const szOID_OIWDIR_md2: &[u8; 15usize] = b"1.3.14.7.2.2.1\0"; -pub const szOID_OIWDIR_md2RSA: &[u8; 15usize] = b"1.3.14.7.2.3.1\0"; -pub const szOID_INFOSEC: &[u8; 19usize] = b"2.16.840.1.101.2.1\0"; -pub const szOID_INFOSEC_sdnsSignature: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.1\0"; -pub const szOID_INFOSEC_mosaicSignature: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.2\0"; -pub const szOID_INFOSEC_sdnsConfidentiality: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.3\0"; -pub const szOID_INFOSEC_mosaicConfidentiality: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.4\0"; -pub const szOID_INFOSEC_sdnsIntegrity: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.5\0"; -pub const szOID_INFOSEC_mosaicIntegrity: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.6\0"; -pub const szOID_INFOSEC_sdnsTokenProtection: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.7\0"; -pub const szOID_INFOSEC_mosaicTokenProtection: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.8\0"; -pub const szOID_INFOSEC_sdnsKeyManagement: &[u8; 23usize] = b"2.16.840.1.101.2.1.1.9\0"; -pub const szOID_INFOSEC_mosaicKeyManagement: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.10\0"; -pub const szOID_INFOSEC_sdnsKMandSig: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.11\0"; -pub const szOID_INFOSEC_mosaicKMandSig: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.12\0"; -pub const szOID_INFOSEC_SuiteASignature: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.13\0"; -pub const szOID_INFOSEC_SuiteAConfidentiality: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.14\0"; -pub const szOID_INFOSEC_SuiteAIntegrity: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.15\0"; -pub const szOID_INFOSEC_SuiteATokenProtection: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.16\0"; -pub const szOID_INFOSEC_SuiteAKeyManagement: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.17\0"; -pub const szOID_INFOSEC_SuiteAKMandSig: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.18\0"; -pub const szOID_INFOSEC_mosaicUpdatedSig: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.19\0"; -pub const szOID_INFOSEC_mosaicKMandUpdSig: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.20\0"; -pub const szOID_INFOSEC_mosaicUpdatedInteg: &[u8; 24usize] = b"2.16.840.1.101.2.1.1.21\0"; -pub const szOID_NIST_sha256: &[u8; 23usize] = b"2.16.840.1.101.3.4.2.1\0"; -pub const szOID_NIST_sha384: &[u8; 23usize] = b"2.16.840.1.101.3.4.2.2\0"; -pub const szOID_NIST_sha512: &[u8; 23usize] = b"2.16.840.1.101.3.4.2.3\0"; -pub const szOID_COMMON_NAME: &[u8; 8usize] = b"2.5.4.3\0"; -pub const szOID_SUR_NAME: &[u8; 8usize] = b"2.5.4.4\0"; -pub const szOID_DEVICE_SERIAL_NUMBER: &[u8; 8usize] = b"2.5.4.5\0"; -pub const szOID_COUNTRY_NAME: &[u8; 8usize] = b"2.5.4.6\0"; -pub const szOID_LOCALITY_NAME: &[u8; 8usize] = b"2.5.4.7\0"; -pub const szOID_STATE_OR_PROVINCE_NAME: &[u8; 8usize] = b"2.5.4.8\0"; -pub const szOID_STREET_ADDRESS: &[u8; 8usize] = b"2.5.4.9\0"; -pub const szOID_ORGANIZATION_NAME: &[u8; 9usize] = b"2.5.4.10\0"; -pub const szOID_ORGANIZATIONAL_UNIT_NAME: &[u8; 9usize] = b"2.5.4.11\0"; -pub const szOID_TITLE: &[u8; 9usize] = b"2.5.4.12\0"; -pub const szOID_DESCRIPTION: &[u8; 9usize] = b"2.5.4.13\0"; -pub const szOID_SEARCH_GUIDE: &[u8; 9usize] = b"2.5.4.14\0"; -pub const szOID_BUSINESS_CATEGORY: &[u8; 9usize] = b"2.5.4.15\0"; -pub const szOID_POSTAL_ADDRESS: &[u8; 9usize] = b"2.5.4.16\0"; -pub const szOID_POSTAL_CODE: &[u8; 9usize] = b"2.5.4.17\0"; -pub const szOID_POST_OFFICE_BOX: &[u8; 9usize] = b"2.5.4.18\0"; -pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: &[u8; 9usize] = b"2.5.4.19\0"; -pub const szOID_TELEPHONE_NUMBER: &[u8; 9usize] = b"2.5.4.20\0"; -pub const szOID_TELEX_NUMBER: &[u8; 9usize] = b"2.5.4.21\0"; -pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: &[u8; 9usize] = b"2.5.4.22\0"; -pub const szOID_FACSIMILE_TELEPHONE_NUMBER: &[u8; 9usize] = b"2.5.4.23\0"; -pub const szOID_X21_ADDRESS: &[u8; 9usize] = b"2.5.4.24\0"; -pub const szOID_INTERNATIONAL_ISDN_NUMBER: &[u8; 9usize] = b"2.5.4.25\0"; -pub const szOID_REGISTERED_ADDRESS: &[u8; 9usize] = b"2.5.4.26\0"; -pub const szOID_DESTINATION_INDICATOR: &[u8; 9usize] = b"2.5.4.27\0"; -pub const szOID_PREFERRED_DELIVERY_METHOD: &[u8; 9usize] = b"2.5.4.28\0"; -pub const szOID_PRESENTATION_ADDRESS: &[u8; 9usize] = b"2.5.4.29\0"; -pub const szOID_SUPPORTED_APPLICATION_CONTEXT: &[u8; 9usize] = b"2.5.4.30\0"; -pub const szOID_MEMBER: &[u8; 9usize] = b"2.5.4.31\0"; -pub const szOID_OWNER: &[u8; 9usize] = b"2.5.4.32\0"; -pub const szOID_ROLE_OCCUPANT: &[u8; 9usize] = b"2.5.4.33\0"; -pub const szOID_SEE_ALSO: &[u8; 9usize] = b"2.5.4.34\0"; -pub const szOID_USER_PASSWORD: &[u8; 9usize] = b"2.5.4.35\0"; -pub const szOID_USER_CERTIFICATE: &[u8; 9usize] = b"2.5.4.36\0"; -pub const szOID_CA_CERTIFICATE: &[u8; 9usize] = b"2.5.4.37\0"; -pub const szOID_AUTHORITY_REVOCATION_LIST: &[u8; 9usize] = b"2.5.4.38\0"; -pub const szOID_CERTIFICATE_REVOCATION_LIST: &[u8; 9usize] = b"2.5.4.39\0"; -pub const szOID_CROSS_CERTIFICATE_PAIR: &[u8; 9usize] = b"2.5.4.40\0"; -pub const szOID_GIVEN_NAME: &[u8; 9usize] = b"2.5.4.42\0"; -pub const szOID_INITIALS: &[u8; 9usize] = b"2.5.4.43\0"; -pub const szOID_DN_QUALIFIER: &[u8; 9usize] = b"2.5.4.46\0"; -pub const szOID_DOMAIN_COMPONENT: &[u8; 27usize] = b"0.9.2342.19200300.100.1.25\0"; -pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: &[u8; 22usize] = b"1.2.840.113549.1.9.20\0"; -pub const szOID_PKCS_12_LOCAL_KEY_ID: &[u8; 22usize] = b"1.2.840.113549.1.9.21\0"; -pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: &[u8; 21usize] = b"1.3.6.1.4.1.311.17.1\0"; -pub const szOID_LOCAL_MACHINE_KEYSET: &[u8; 21usize] = b"1.3.6.1.4.1.311.17.2\0"; -pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: &[u8; 21usize] = b"1.3.6.1.4.1.311.17.3\0"; -pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: &[u8; 21usize] = +pub const NCRYPT_PKCS7_ENVELOPE_BLOB: &[u8; 15] = b"PKCS7_ENVELOPE\0"; +pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: &[u8; 17] = b"PKCS8_PRIVATEKEY\0"; +pub const NCRYPT_OPAQUETRANSPORT_BLOB: &[u8; 16] = b"OpaqueTransport\0"; +pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: &[u8; 22] = b"ISOLATED_KEY_ENVELOPE\0"; +pub const szOID_RSA: &[u8; 15] = b"1.2.840.113549\0"; +pub const szOID_PKCS: &[u8; 17] = b"1.2.840.113549.1\0"; +pub const szOID_RSA_HASH: &[u8; 17] = b"1.2.840.113549.2\0"; +pub const szOID_RSA_ENCRYPT: &[u8; 17] = b"1.2.840.113549.3\0"; +pub const szOID_PKCS_1: &[u8; 19] = b"1.2.840.113549.1.1\0"; +pub const szOID_PKCS_2: &[u8; 19] = b"1.2.840.113549.1.2\0"; +pub const szOID_PKCS_3: &[u8; 19] = b"1.2.840.113549.1.3\0"; +pub const szOID_PKCS_4: &[u8; 19] = b"1.2.840.113549.1.4\0"; +pub const szOID_PKCS_5: &[u8; 19] = b"1.2.840.113549.1.5\0"; +pub const szOID_PKCS_6: &[u8; 19] = b"1.2.840.113549.1.6\0"; +pub const szOID_PKCS_7: &[u8; 19] = b"1.2.840.113549.1.7\0"; +pub const szOID_PKCS_8: &[u8; 19] = b"1.2.840.113549.1.8\0"; +pub const szOID_PKCS_9: &[u8; 19] = b"1.2.840.113549.1.9\0"; +pub const szOID_PKCS_10: &[u8; 20] = b"1.2.840.113549.1.10\0"; +pub const szOID_PKCS_12: &[u8; 20] = b"1.2.840.113549.1.12\0"; +pub const szOID_RSA_RSA: &[u8; 21] = b"1.2.840.113549.1.1.1\0"; +pub const szOID_RSA_MD2RSA: &[u8; 21] = b"1.2.840.113549.1.1.2\0"; +pub const szOID_RSA_MD4RSA: &[u8; 21] = b"1.2.840.113549.1.1.3\0"; +pub const szOID_RSA_MD5RSA: &[u8; 21] = b"1.2.840.113549.1.1.4\0"; +pub const szOID_RSA_SHA1RSA: &[u8; 21] = b"1.2.840.113549.1.1.5\0"; +pub const szOID_RSA_SETOAEP_RSA: &[u8; 21] = b"1.2.840.113549.1.1.6\0"; +pub const szOID_RSAES_OAEP: &[u8; 21] = b"1.2.840.113549.1.1.7\0"; +pub const szOID_RSA_MGF1: &[u8; 21] = b"1.2.840.113549.1.1.8\0"; +pub const szOID_RSA_PSPECIFIED: &[u8; 21] = b"1.2.840.113549.1.1.9\0"; +pub const szOID_RSA_SSA_PSS: &[u8; 22] = b"1.2.840.113549.1.1.10\0"; +pub const szOID_RSA_SHA256RSA: &[u8; 22] = b"1.2.840.113549.1.1.11\0"; +pub const szOID_RSA_SHA384RSA: &[u8; 22] = b"1.2.840.113549.1.1.12\0"; +pub const szOID_RSA_SHA512RSA: &[u8; 22] = b"1.2.840.113549.1.1.13\0"; +pub const szOID_RSA_DH: &[u8; 21] = b"1.2.840.113549.1.3.1\0"; +pub const szOID_RSA_data: &[u8; 21] = b"1.2.840.113549.1.7.1\0"; +pub const szOID_RSA_signedData: &[u8; 21] = b"1.2.840.113549.1.7.2\0"; +pub const szOID_RSA_envelopedData: &[u8; 21] = b"1.2.840.113549.1.7.3\0"; +pub const szOID_RSA_signEnvData: &[u8; 21] = b"1.2.840.113549.1.7.4\0"; +pub const szOID_RSA_digestedData: &[u8; 21] = b"1.2.840.113549.1.7.5\0"; +pub const szOID_RSA_hashedData: &[u8; 21] = b"1.2.840.113549.1.7.5\0"; +pub const szOID_RSA_encryptedData: &[u8; 21] = b"1.2.840.113549.1.7.6\0"; +pub const szOID_RSA_emailAddr: &[u8; 21] = b"1.2.840.113549.1.9.1\0"; +pub const szOID_RSA_unstructName: &[u8; 21] = b"1.2.840.113549.1.9.2\0"; +pub const szOID_RSA_contentType: &[u8; 21] = b"1.2.840.113549.1.9.3\0"; +pub const szOID_RSA_messageDigest: &[u8; 21] = b"1.2.840.113549.1.9.4\0"; +pub const szOID_RSA_signingTime: &[u8; 21] = b"1.2.840.113549.1.9.5\0"; +pub const szOID_RSA_counterSign: &[u8; 21] = b"1.2.840.113549.1.9.6\0"; +pub const szOID_RSA_challengePwd: &[u8; 21] = b"1.2.840.113549.1.9.7\0"; +pub const szOID_RSA_unstructAddr: &[u8; 21] = b"1.2.840.113549.1.9.8\0"; +pub const szOID_RSA_extCertAttrs: &[u8; 21] = b"1.2.840.113549.1.9.9\0"; +pub const szOID_RSA_certExtensions: &[u8; 22] = b"1.2.840.113549.1.9.14\0"; +pub const szOID_RSA_SMIMECapabilities: &[u8; 22] = b"1.2.840.113549.1.9.15\0"; +pub const szOID_RSA_preferSignedData: &[u8; 24] = b"1.2.840.113549.1.9.15.1\0"; +pub const szOID_TIMESTAMP_TOKEN: &[u8; 26] = b"1.2.840.113549.1.9.16.1.4\0"; +pub const szOID_RFC3161_counterSign: &[u8; 22] = b"1.3.6.1.4.1.311.3.3.1\0"; +pub const szOID_RSA_SMIMEalg: &[u8; 24] = b"1.2.840.113549.1.9.16.3\0"; +pub const szOID_RSA_SMIMEalgESDH: &[u8; 26] = b"1.2.840.113549.1.9.16.3.5\0"; +pub const szOID_RSA_SMIMEalgCMS3DESwrap: &[u8; 26] = b"1.2.840.113549.1.9.16.3.6\0"; +pub const szOID_RSA_SMIMEalgCMSRC2wrap: &[u8; 26] = b"1.2.840.113549.1.9.16.3.7\0"; +pub const szOID_RSA_MD2: &[u8; 19] = b"1.2.840.113549.2.2\0"; +pub const szOID_RSA_MD4: &[u8; 19] = b"1.2.840.113549.2.4\0"; +pub const szOID_RSA_MD5: &[u8; 19] = b"1.2.840.113549.2.5\0"; +pub const szOID_RSA_RC2CBC: &[u8; 19] = b"1.2.840.113549.3.2\0"; +pub const szOID_RSA_RC4: &[u8; 19] = b"1.2.840.113549.3.4\0"; +pub const szOID_RSA_DES_EDE3_CBC: &[u8; 19] = b"1.2.840.113549.3.7\0"; +pub const szOID_RSA_RC5_CBCPad: &[u8; 19] = b"1.2.840.113549.3.9\0"; +pub const szOID_ANSI_X942: &[u8; 14] = b"1.2.840.10046\0"; +pub const szOID_ANSI_X942_DH: &[u8; 18] = b"1.2.840.10046.2.1\0"; +pub const szOID_X957: &[u8; 14] = b"1.2.840.10040\0"; +pub const szOID_X957_DSA: &[u8; 18] = b"1.2.840.10040.4.1\0"; +pub const szOID_X957_SHA1DSA: &[u8; 18] = b"1.2.840.10040.4.3\0"; +pub const szOID_ECC_PUBLIC_KEY: &[u8; 18] = b"1.2.840.10045.2.1\0"; +pub const szOID_ECC_CURVE_P256: &[u8; 20] = b"1.2.840.10045.3.1.7\0"; +pub const szOID_ECC_CURVE_P384: &[u8; 13] = b"1.3.132.0.34\0"; +pub const szOID_ECC_CURVE_P521: &[u8; 13] = b"1.3.132.0.35\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP160R1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.1\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP160T1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.2\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP192R1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.3\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP192T1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.4\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP224R1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.5\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP224T1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.6\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP256R1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.7\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP256T1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.8\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP320R1: &[u8; 21] = b"1.3.36.3.3.2.8.1.1.9\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP320T1: &[u8; 22] = b"1.3.36.3.3.2.8.1.1.10\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP384R1: &[u8; 22] = b"1.3.36.3.3.2.8.1.1.11\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP384T1: &[u8; 22] = b"1.3.36.3.3.2.8.1.1.12\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP512R1: &[u8; 22] = b"1.3.36.3.3.2.8.1.1.13\0"; +pub const szOID_ECC_CURVE_BRAINPOOLP512T1: &[u8; 22] = b"1.3.36.3.3.2.8.1.1.14\0"; +pub const szOID_ECC_CURVE_EC192WAPI: &[u8; 22] = b"1.2.156.11235.1.1.2.1\0"; +pub const szOID_CN_ECDSA_SHA256: &[u8; 20] = b"1.2.156.11235.1.1.1\0"; +pub const szOID_ECC_CURVE_NISTP192: &[u8; 20] = b"1.2.840.10045.3.1.1\0"; +pub const szOID_ECC_CURVE_NISTP224: &[u8; 13] = b"1.3.132.0.33\0"; +pub const szOID_ECC_CURVE_NISTP256: &[u8; 20] = b"1.2.840.10045.3.1.7\0"; +pub const szOID_ECC_CURVE_NISTP384: &[u8; 13] = b"1.3.132.0.34\0"; +pub const szOID_ECC_CURVE_NISTP521: &[u8; 13] = b"1.3.132.0.35\0"; +pub const szOID_ECC_CURVE_SECP160K1: &[u8; 12] = b"1.3.132.0.9\0"; +pub const szOID_ECC_CURVE_SECP160R1: &[u8; 12] = b"1.3.132.0.8\0"; +pub const szOID_ECC_CURVE_SECP160R2: &[u8; 13] = b"1.3.132.0.30\0"; +pub const szOID_ECC_CURVE_SECP192K1: &[u8; 13] = b"1.3.132.0.31\0"; +pub const szOID_ECC_CURVE_SECP192R1: &[u8; 20] = b"1.2.840.10045.3.1.1\0"; +pub const szOID_ECC_CURVE_SECP224K1: &[u8; 13] = b"1.3.132.0.32\0"; +pub const szOID_ECC_CURVE_SECP224R1: &[u8; 13] = b"1.3.132.0.33\0"; +pub const szOID_ECC_CURVE_SECP256K1: &[u8; 13] = b"1.3.132.0.10\0"; +pub const szOID_ECC_CURVE_SECP256R1: &[u8; 20] = b"1.2.840.10045.3.1.7\0"; +pub const szOID_ECC_CURVE_SECP384R1: &[u8; 13] = b"1.3.132.0.34\0"; +pub const szOID_ECC_CURVE_SECP521R1: &[u8; 13] = b"1.3.132.0.35\0"; +pub const szOID_ECC_CURVE_WTLS7: &[u8; 13] = b"1.3.132.0.30\0"; +pub const szOID_ECC_CURVE_WTLS9: &[u8; 14] = b"2.23.43.1.4.9\0"; +pub const szOID_ECC_CURVE_WTLS12: &[u8; 13] = b"1.3.132.0.33\0"; +pub const szOID_ECC_CURVE_X962P192V1: &[u8; 20] = b"1.2.840.10045.3.1.1\0"; +pub const szOID_ECC_CURVE_X962P192V2: &[u8; 20] = b"1.2.840.10045.3.1.2\0"; +pub const szOID_ECC_CURVE_X962P192V3: &[u8; 20] = b"1.2.840.10045.3.1.3\0"; +pub const szOID_ECC_CURVE_X962P239V1: &[u8; 20] = b"1.2.840.10045.3.1.4\0"; +pub const szOID_ECC_CURVE_X962P239V2: &[u8; 20] = b"1.2.840.10045.3.1.5\0"; +pub const szOID_ECC_CURVE_X962P239V3: &[u8; 20] = b"1.2.840.10045.3.1.6\0"; +pub const szOID_ECC_CURVE_X962P256V1: &[u8; 20] = b"1.2.840.10045.3.1.7\0"; +pub const szOID_ECDSA_SHA1: &[u8; 18] = b"1.2.840.10045.4.1\0"; +pub const szOID_ECDSA_SPECIFIED: &[u8; 18] = b"1.2.840.10045.4.3\0"; +pub const szOID_ECDSA_SHA256: &[u8; 20] = b"1.2.840.10045.4.3.2\0"; +pub const szOID_ECDSA_SHA384: &[u8; 20] = b"1.2.840.10045.4.3.3\0"; +pub const szOID_ECDSA_SHA512: &[u8; 20] = b"1.2.840.10045.4.3.4\0"; +pub const szOID_NIST_AES128_CBC: &[u8; 23] = b"2.16.840.1.101.3.4.1.2\0"; +pub const szOID_NIST_AES192_CBC: &[u8; 24] = b"2.16.840.1.101.3.4.1.22\0"; +pub const szOID_NIST_AES256_CBC: &[u8; 24] = b"2.16.840.1.101.3.4.1.42\0"; +pub const szOID_NIST_AES128_WRAP: &[u8; 23] = b"2.16.840.1.101.3.4.1.5\0"; +pub const szOID_NIST_AES192_WRAP: &[u8; 24] = b"2.16.840.1.101.3.4.1.25\0"; +pub const szOID_NIST_AES256_WRAP: &[u8; 24] = b"2.16.840.1.101.3.4.1.45\0"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: &[u8; 22] = b"1.3.133.16.840.63.0.2\0"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: &[u8; 15] = b"1.3.132.1.11.1\0"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: &[u8; 15] = b"1.3.132.1.11.2\0"; +pub const szOID_DS: &[u8; 4] = b"2.5\0"; +pub const szOID_DSALG: &[u8; 6] = b"2.5.8\0"; +pub const szOID_DSALG_CRPT: &[u8; 8] = b"2.5.8.1\0"; +pub const szOID_DSALG_HASH: &[u8; 8] = b"2.5.8.2\0"; +pub const szOID_DSALG_SIGN: &[u8; 8] = b"2.5.8.3\0"; +pub const szOID_DSALG_RSA: &[u8; 10] = b"2.5.8.1.1\0"; +pub const szOID_OIW: &[u8; 7] = b"1.3.14\0"; +pub const szOID_OIWSEC: &[u8; 11] = b"1.3.14.3.2\0"; +pub const szOID_OIWSEC_md4RSA: &[u8; 13] = b"1.3.14.3.2.2\0"; +pub const szOID_OIWSEC_md5RSA: &[u8; 13] = b"1.3.14.3.2.3\0"; +pub const szOID_OIWSEC_md4RSA2: &[u8; 13] = b"1.3.14.3.2.4\0"; +pub const szOID_OIWSEC_desECB: &[u8; 13] = b"1.3.14.3.2.6\0"; +pub const szOID_OIWSEC_desCBC: &[u8; 13] = b"1.3.14.3.2.7\0"; +pub const szOID_OIWSEC_desOFB: &[u8; 13] = b"1.3.14.3.2.8\0"; +pub const szOID_OIWSEC_desCFB: &[u8; 13] = b"1.3.14.3.2.9\0"; +pub const szOID_OIWSEC_desMAC: &[u8; 14] = b"1.3.14.3.2.10\0"; +pub const szOID_OIWSEC_rsaSign: &[u8; 14] = b"1.3.14.3.2.11\0"; +pub const szOID_OIWSEC_dsa: &[u8; 14] = b"1.3.14.3.2.12\0"; +pub const szOID_OIWSEC_shaDSA: &[u8; 14] = b"1.3.14.3.2.13\0"; +pub const szOID_OIWSEC_mdc2RSA: &[u8; 14] = b"1.3.14.3.2.14\0"; +pub const szOID_OIWSEC_shaRSA: &[u8; 14] = b"1.3.14.3.2.15\0"; +pub const szOID_OIWSEC_dhCommMod: &[u8; 14] = b"1.3.14.3.2.16\0"; +pub const szOID_OIWSEC_desEDE: &[u8; 14] = b"1.3.14.3.2.17\0"; +pub const szOID_OIWSEC_sha: &[u8; 14] = b"1.3.14.3.2.18\0"; +pub const szOID_OIWSEC_mdc2: &[u8; 14] = b"1.3.14.3.2.19\0"; +pub const szOID_OIWSEC_dsaComm: &[u8; 14] = b"1.3.14.3.2.20\0"; +pub const szOID_OIWSEC_dsaCommSHA: &[u8; 14] = b"1.3.14.3.2.21\0"; +pub const szOID_OIWSEC_rsaXchg: &[u8; 14] = b"1.3.14.3.2.22\0"; +pub const szOID_OIWSEC_keyHashSeal: &[u8; 14] = b"1.3.14.3.2.23\0"; +pub const szOID_OIWSEC_md2RSASign: &[u8; 14] = b"1.3.14.3.2.24\0"; +pub const szOID_OIWSEC_md5RSASign: &[u8; 14] = b"1.3.14.3.2.25\0"; +pub const szOID_OIWSEC_sha1: &[u8; 14] = b"1.3.14.3.2.26\0"; +pub const szOID_OIWSEC_dsaSHA1: &[u8; 14] = b"1.3.14.3.2.27\0"; +pub const szOID_OIWSEC_dsaCommSHA1: &[u8; 14] = b"1.3.14.3.2.28\0"; +pub const szOID_OIWSEC_sha1RSASign: &[u8; 14] = b"1.3.14.3.2.29\0"; +pub const szOID_OIWDIR: &[u8; 11] = b"1.3.14.7.2\0"; +pub const szOID_OIWDIR_CRPT: &[u8; 13] = b"1.3.14.7.2.1\0"; +pub const szOID_OIWDIR_HASH: &[u8; 13] = b"1.3.14.7.2.2\0"; +pub const szOID_OIWDIR_SIGN: &[u8; 13] = b"1.3.14.7.2.3\0"; +pub const szOID_OIWDIR_md2: &[u8; 15] = b"1.3.14.7.2.2.1\0"; +pub const szOID_OIWDIR_md2RSA: &[u8; 15] = b"1.3.14.7.2.3.1\0"; +pub const szOID_INFOSEC: &[u8; 19] = b"2.16.840.1.101.2.1\0"; +pub const szOID_INFOSEC_sdnsSignature: &[u8; 23] = b"2.16.840.1.101.2.1.1.1\0"; +pub const szOID_INFOSEC_mosaicSignature: &[u8; 23] = b"2.16.840.1.101.2.1.1.2\0"; +pub const szOID_INFOSEC_sdnsConfidentiality: &[u8; 23] = b"2.16.840.1.101.2.1.1.3\0"; +pub const szOID_INFOSEC_mosaicConfidentiality: &[u8; 23] = b"2.16.840.1.101.2.1.1.4\0"; +pub const szOID_INFOSEC_sdnsIntegrity: &[u8; 23] = b"2.16.840.1.101.2.1.1.5\0"; +pub const szOID_INFOSEC_mosaicIntegrity: &[u8; 23] = b"2.16.840.1.101.2.1.1.6\0"; +pub const szOID_INFOSEC_sdnsTokenProtection: &[u8; 23] = b"2.16.840.1.101.2.1.1.7\0"; +pub const szOID_INFOSEC_mosaicTokenProtection: &[u8; 23] = b"2.16.840.1.101.2.1.1.8\0"; +pub const szOID_INFOSEC_sdnsKeyManagement: &[u8; 23] = b"2.16.840.1.101.2.1.1.9\0"; +pub const szOID_INFOSEC_mosaicKeyManagement: &[u8; 24] = b"2.16.840.1.101.2.1.1.10\0"; +pub const szOID_INFOSEC_sdnsKMandSig: &[u8; 24] = b"2.16.840.1.101.2.1.1.11\0"; +pub const szOID_INFOSEC_mosaicKMandSig: &[u8; 24] = b"2.16.840.1.101.2.1.1.12\0"; +pub const szOID_INFOSEC_SuiteASignature: &[u8; 24] = b"2.16.840.1.101.2.1.1.13\0"; +pub const szOID_INFOSEC_SuiteAConfidentiality: &[u8; 24] = b"2.16.840.1.101.2.1.1.14\0"; +pub const szOID_INFOSEC_SuiteAIntegrity: &[u8; 24] = b"2.16.840.1.101.2.1.1.15\0"; +pub const szOID_INFOSEC_SuiteATokenProtection: &[u8; 24] = b"2.16.840.1.101.2.1.1.16\0"; +pub const szOID_INFOSEC_SuiteAKeyManagement: &[u8; 24] = b"2.16.840.1.101.2.1.1.17\0"; +pub const szOID_INFOSEC_SuiteAKMandSig: &[u8; 24] = b"2.16.840.1.101.2.1.1.18\0"; +pub const szOID_INFOSEC_mosaicUpdatedSig: &[u8; 24] = b"2.16.840.1.101.2.1.1.19\0"; +pub const szOID_INFOSEC_mosaicKMandUpdSig: &[u8; 24] = b"2.16.840.1.101.2.1.1.20\0"; +pub const szOID_INFOSEC_mosaicUpdatedInteg: &[u8; 24] = b"2.16.840.1.101.2.1.1.21\0"; +pub const szOID_NIST_sha256: &[u8; 23] = b"2.16.840.1.101.3.4.2.1\0"; +pub const szOID_NIST_sha384: &[u8; 23] = b"2.16.840.1.101.3.4.2.2\0"; +pub const szOID_NIST_sha512: &[u8; 23] = b"2.16.840.1.101.3.4.2.3\0"; +pub const szOID_COMMON_NAME: &[u8; 8] = b"2.5.4.3\0"; +pub const szOID_SUR_NAME: &[u8; 8] = b"2.5.4.4\0"; +pub const szOID_DEVICE_SERIAL_NUMBER: &[u8; 8] = b"2.5.4.5\0"; +pub const szOID_COUNTRY_NAME: &[u8; 8] = b"2.5.4.6\0"; +pub const szOID_LOCALITY_NAME: &[u8; 8] = b"2.5.4.7\0"; +pub const szOID_STATE_OR_PROVINCE_NAME: &[u8; 8] = b"2.5.4.8\0"; +pub const szOID_STREET_ADDRESS: &[u8; 8] = b"2.5.4.9\0"; +pub const szOID_ORGANIZATION_NAME: &[u8; 9] = b"2.5.4.10\0"; +pub const szOID_ORGANIZATIONAL_UNIT_NAME: &[u8; 9] = b"2.5.4.11\0"; +pub const szOID_TITLE: &[u8; 9] = b"2.5.4.12\0"; +pub const szOID_DESCRIPTION: &[u8; 9] = b"2.5.4.13\0"; +pub const szOID_SEARCH_GUIDE: &[u8; 9] = b"2.5.4.14\0"; +pub const szOID_BUSINESS_CATEGORY: &[u8; 9] = b"2.5.4.15\0"; +pub const szOID_POSTAL_ADDRESS: &[u8; 9] = b"2.5.4.16\0"; +pub const szOID_POSTAL_CODE: &[u8; 9] = b"2.5.4.17\0"; +pub const szOID_POST_OFFICE_BOX: &[u8; 9] = b"2.5.4.18\0"; +pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: &[u8; 9] = b"2.5.4.19\0"; +pub const szOID_TELEPHONE_NUMBER: &[u8; 9] = b"2.5.4.20\0"; +pub const szOID_TELEX_NUMBER: &[u8; 9] = b"2.5.4.21\0"; +pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: &[u8; 9] = b"2.5.4.22\0"; +pub const szOID_FACSIMILE_TELEPHONE_NUMBER: &[u8; 9] = b"2.5.4.23\0"; +pub const szOID_X21_ADDRESS: &[u8; 9] = b"2.5.4.24\0"; +pub const szOID_INTERNATIONAL_ISDN_NUMBER: &[u8; 9] = b"2.5.4.25\0"; +pub const szOID_REGISTERED_ADDRESS: &[u8; 9] = b"2.5.4.26\0"; +pub const szOID_DESTINATION_INDICATOR: &[u8; 9] = b"2.5.4.27\0"; +pub const szOID_PREFERRED_DELIVERY_METHOD: &[u8; 9] = b"2.5.4.28\0"; +pub const szOID_PRESENTATION_ADDRESS: &[u8; 9] = b"2.5.4.29\0"; +pub const szOID_SUPPORTED_APPLICATION_CONTEXT: &[u8; 9] = b"2.5.4.30\0"; +pub const szOID_MEMBER: &[u8; 9] = b"2.5.4.31\0"; +pub const szOID_OWNER: &[u8; 9] = b"2.5.4.32\0"; +pub const szOID_ROLE_OCCUPANT: &[u8; 9] = b"2.5.4.33\0"; +pub const szOID_SEE_ALSO: &[u8; 9] = b"2.5.4.34\0"; +pub const szOID_USER_PASSWORD: &[u8; 9] = b"2.5.4.35\0"; +pub const szOID_USER_CERTIFICATE: &[u8; 9] = b"2.5.4.36\0"; +pub const szOID_CA_CERTIFICATE: &[u8; 9] = b"2.5.4.37\0"; +pub const szOID_AUTHORITY_REVOCATION_LIST: &[u8; 9] = b"2.5.4.38\0"; +pub const szOID_CERTIFICATE_REVOCATION_LIST: &[u8; 9] = b"2.5.4.39\0"; +pub const szOID_CROSS_CERTIFICATE_PAIR: &[u8; 9] = b"2.5.4.40\0"; +pub const szOID_GIVEN_NAME: &[u8; 9] = b"2.5.4.42\0"; +pub const szOID_INITIALS: &[u8; 9] = b"2.5.4.43\0"; +pub const szOID_DN_QUALIFIER: &[u8; 9] = b"2.5.4.46\0"; +pub const szOID_DOMAIN_COMPONENT: &[u8; 27] = b"0.9.2342.19200300.100.1.25\0"; +pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: &[u8; 22] = b"1.2.840.113549.1.9.20\0"; +pub const szOID_PKCS_12_LOCAL_KEY_ID: &[u8; 22] = b"1.2.840.113549.1.9.21\0"; +pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: &[u8; 21] = b"1.3.6.1.4.1.311.17.1\0"; +pub const szOID_LOCAL_MACHINE_KEYSET: &[u8; 21] = b"1.3.6.1.4.1.311.17.2\0"; +pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: &[u8; 21] = b"1.3.6.1.4.1.311.17.3\0"; +pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: &[u8; 21] = b"1.3.6.1.4.1.311.17.4\0"; -pub const szOID_KEYID_RDN: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.7.1\0"; -pub const szOID_EV_RDN_LOCALE: &[u8; 25usize] = b"1.3.6.1.4.1.311.60.2.1.1\0"; -pub const szOID_EV_RDN_STATE_OR_PROVINCE: &[u8; 25usize] = b"1.3.6.1.4.1.311.60.2.1.2\0"; -pub const szOID_EV_RDN_COUNTRY: &[u8; 25usize] = b"1.3.6.1.4.1.311.60.2.1.3\0"; +pub const szOID_KEYID_RDN: &[u8; 23] = b"1.3.6.1.4.1.311.10.7.1\0"; +pub const szOID_EV_RDN_LOCALE: &[u8; 25] = b"1.3.6.1.4.1.311.60.2.1.1\0"; +pub const szOID_EV_RDN_STATE_OR_PROVINCE: &[u8; 25] = b"1.3.6.1.4.1.311.60.2.1.2\0"; +pub const szOID_EV_RDN_COUNTRY: &[u8; 25] = b"1.3.6.1.4.1.311.60.2.1.3\0"; pub const CERT_RDN_ANY_TYPE: u32 = 0; pub const CERT_RDN_ENCODED_BLOB: u32 = 1; pub const CERT_RDN_OCTET_STRING: u32 = 2; @@ -15987,9 +15972,9 @@ pub const CERT_RDN_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456; pub const CERT_RDN_DISABLE_CHECK_TYPE_FLAG: u32 = 1073741824; pub const CERT_RDN_DISABLE_IE4_UTF8_FLAG: u32 = 16777216; pub const CERT_RDN_ENABLE_PUNYCODE_FLAG: u32 = 33554432; -pub const CERT_RSA_PUBLIC_KEY_OBJID: &[u8; 21usize] = b"1.2.840.113549.1.1.1\0"; -pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: &[u8; 21usize] = b"1.2.840.113549.1.1.1\0"; -pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: &[u8; 21usize] = b"1.2.840.113549.1.1.1\0"; +pub const CERT_RSA_PUBLIC_KEY_OBJID: &[u8; 21] = b"1.2.840.113549.1.1.1\0"; +pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: &[u8; 21] = b"1.2.840.113549.1.1.1\0"; +pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: &[u8; 21] = b"1.2.840.113549.1.1.1\0"; pub const CRYPT_ECC_PRIVATE_KEY_INFO_v1: u32 = 1; pub const CERT_V1: u32 = 0; pub const CERT_V2: u32 = 1; @@ -16052,203 +16037,203 @@ pub const CRYPT_DECODE_ENABLE_PUNYCODE_FLAG: u32 = 33554432; pub const CRYPT_DECODE_ENABLE_UTF8PERCENT_FLAG: u32 = 67108864; pub const CRYPT_DECODE_ENABLE_IA5CONVERSION_FLAG: u32 = 100663296; pub const CRYPT_ENCODE_DECODE_NONE: u32 = 0; -pub const szOID_AUTHORITY_KEY_IDENTIFIER: &[u8; 9usize] = b"2.5.29.1\0"; -pub const szOID_KEY_ATTRIBUTES: &[u8; 9usize] = b"2.5.29.2\0"; -pub const szOID_CERT_POLICIES_95: &[u8; 9usize] = b"2.5.29.3\0"; -pub const szOID_KEY_USAGE_RESTRICTION: &[u8; 9usize] = b"2.5.29.4\0"; -pub const szOID_SUBJECT_ALT_NAME: &[u8; 9usize] = b"2.5.29.7\0"; -pub const szOID_ISSUER_ALT_NAME: &[u8; 9usize] = b"2.5.29.8\0"; -pub const szOID_BASIC_CONSTRAINTS: &[u8; 10usize] = b"2.5.29.10\0"; -pub const szOID_KEY_USAGE: &[u8; 10usize] = b"2.5.29.15\0"; -pub const szOID_PRIVATEKEY_USAGE_PERIOD: &[u8; 10usize] = b"2.5.29.16\0"; -pub const szOID_BASIC_CONSTRAINTS2: &[u8; 10usize] = b"2.5.29.19\0"; -pub const szOID_CERT_POLICIES: &[u8; 10usize] = b"2.5.29.32\0"; -pub const szOID_ANY_CERT_POLICY: &[u8; 12usize] = b"2.5.29.32.0\0"; -pub const szOID_INHIBIT_ANY_POLICY: &[u8; 10usize] = b"2.5.29.54\0"; -pub const szOID_AUTHORITY_KEY_IDENTIFIER2: &[u8; 10usize] = b"2.5.29.35\0"; -pub const szOID_SUBJECT_KEY_IDENTIFIER: &[u8; 10usize] = b"2.5.29.14\0"; -pub const szOID_SUBJECT_ALT_NAME2: &[u8; 10usize] = b"2.5.29.17\0"; -pub const szOID_ISSUER_ALT_NAME2: &[u8; 10usize] = b"2.5.29.18\0"; -pub const szOID_CRL_REASON_CODE: &[u8; 10usize] = b"2.5.29.21\0"; -pub const szOID_REASON_CODE_HOLD: &[u8; 10usize] = b"2.5.29.23\0"; -pub const szOID_CRL_DIST_POINTS: &[u8; 10usize] = b"2.5.29.31\0"; -pub const szOID_ENHANCED_KEY_USAGE: &[u8; 10usize] = b"2.5.29.37\0"; -pub const szOID_ANY_ENHANCED_KEY_USAGE: &[u8; 12usize] = b"2.5.29.37.0\0"; -pub const szOID_CRL_NUMBER: &[u8; 10usize] = b"2.5.29.20\0"; -pub const szOID_DELTA_CRL_INDICATOR: &[u8; 10usize] = b"2.5.29.27\0"; -pub const szOID_ISSUING_DIST_POINT: &[u8; 10usize] = b"2.5.29.28\0"; -pub const szOID_FRESHEST_CRL: &[u8; 10usize] = b"2.5.29.46\0"; -pub const szOID_NAME_CONSTRAINTS: &[u8; 10usize] = b"2.5.29.30\0"; -pub const szOID_POLICY_MAPPINGS: &[u8; 10usize] = b"2.5.29.33\0"; -pub const szOID_LEGACY_POLICY_MAPPINGS: &[u8; 9usize] = b"2.5.29.5\0"; -pub const szOID_POLICY_CONSTRAINTS: &[u8; 10usize] = b"2.5.29.36\0"; -pub const szOID_RENEWAL_CERTIFICATE: &[u8; 21usize] = b"1.3.6.1.4.1.311.13.1\0"; -pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: &[u8; 23usize] = b"1.3.6.1.4.1.311.13.2.1\0"; -pub const szOID_ENROLLMENT_CSP_PROVIDER: &[u8; 23usize] = b"1.3.6.1.4.1.311.13.2.2\0"; -pub const szOID_OS_VERSION: &[u8; 23usize] = b"1.3.6.1.4.1.311.13.2.3\0"; -pub const szOID_ENROLLMENT_AGENT: &[u8; 23usize] = b"1.3.6.1.4.1.311.20.2.1\0"; -pub const szOID_PKIX: &[u8; 14usize] = b"1.3.6.1.5.5.7\0"; -pub const szOID_PKIX_PE: &[u8; 16usize] = b"1.3.6.1.5.5.7.1\0"; -pub const szOID_AUTHORITY_INFO_ACCESS: &[u8; 18usize] = b"1.3.6.1.5.5.7.1.1\0"; -pub const szOID_SUBJECT_INFO_ACCESS: &[u8; 19usize] = b"1.3.6.1.5.5.7.1.11\0"; -pub const szOID_BIOMETRIC_EXT: &[u8; 18usize] = b"1.3.6.1.5.5.7.1.2\0"; -pub const szOID_QC_STATEMENTS_EXT: &[u8; 18usize] = b"1.3.6.1.5.5.7.1.3\0"; -pub const szOID_LOGOTYPE_EXT: &[u8; 19usize] = b"1.3.6.1.5.5.7.1.12\0"; -pub const szOID_TLS_FEATURES_EXT: &[u8; 19usize] = b"1.3.6.1.5.5.7.1.24\0"; -pub const szOID_CERT_EXTENSIONS: &[u8; 23usize] = b"1.3.6.1.4.1.311.2.1.14\0"; -pub const szOID_NEXT_UPDATE_LOCATION: &[u8; 21usize] = b"1.3.6.1.4.1.311.10.2\0"; -pub const szOID_REMOVE_CERTIFICATE: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.8.1\0"; -pub const szOID_CROSS_CERT_DIST_POINTS: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.9.1\0"; -pub const szOID_CTL: &[u8; 21usize] = b"1.3.6.1.4.1.311.10.1\0"; -pub const szOID_SORTED_CTL: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.1.1\0"; -pub const szOID_SERIALIZED: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.3.3.1\0"; -pub const szOID_NT_PRINCIPAL_NAME: &[u8; 23usize] = b"1.3.6.1.4.1.311.20.2.3\0"; -pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: &[u8; 23usize] = b"1.3.6.1.4.1.311.20.2.4\0"; -pub const szOID_PRODUCT_UPDATE: &[u8; 21usize] = b"1.3.6.1.4.1.311.31.1\0"; -pub const szOID_ANY_APPLICATION_POLICY: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.12.1\0"; -pub const szOID_AUTO_ENROLL_CTL_USAGE: &[u8; 21usize] = b"1.3.6.1.4.1.311.20.1\0"; -pub const szOID_ENROLL_CERTTYPE_EXTENSION: &[u8; 21usize] = b"1.3.6.1.4.1.311.20.2\0"; -pub const szOID_CERT_MANIFOLD: &[u8; 21usize] = b"1.3.6.1.4.1.311.20.3\0"; -pub const szOID_CERTSRV_CA_VERSION: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.1\0"; -pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.2\0"; -pub const szOID_CRL_VIRTUAL_BASE: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.3\0"; -pub const szOID_CRL_NEXT_PUBLISH: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.4\0"; -pub const szOID_KP_CA_EXCHANGE: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.5\0"; -pub const szOID_KP_PRIVACY_CA: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.36\0"; -pub const szOID_KP_KEY_RECOVERY_AGENT: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.6\0"; -pub const szOID_CERTIFICATE_TEMPLATE: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.7\0"; -pub const szOID_ENTERPRISE_OID_ROOT: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.8\0"; -pub const szOID_RDN_DUMMY_SIGNER: &[u8; 21usize] = b"1.3.6.1.4.1.311.21.9\0"; -pub const szOID_APPLICATION_CERT_POLICIES: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.10\0"; -pub const szOID_APPLICATION_POLICY_MAPPINGS: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.11\0"; -pub const szOID_APPLICATION_POLICY_CONSTRAINTS: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.12\0"; -pub const szOID_ARCHIVED_KEY_ATTR: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.13\0"; -pub const szOID_CRL_SELF_CDP: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.14\0"; -pub const szOID_REQUIRE_CERT_CHAIN_POLICY: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.15\0"; -pub const szOID_ARCHIVED_KEY_CERT_HASH: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.16\0"; -pub const szOID_ISSUED_CERT_HASH: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.17\0"; -pub const szOID_DS_EMAIL_REPLICATION: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.19\0"; -pub const szOID_REQUEST_CLIENT_INFO: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.20\0"; -pub const szOID_ENCRYPTED_KEY_HASH: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.21\0"; -pub const szOID_CERTSRV_CROSSCA_VERSION: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.22\0"; -pub const szOID_NTDS_REPLICATION: &[u8; 21usize] = b"1.3.6.1.4.1.311.25.1\0"; -pub const szOID_NTDS_CA_SECURITY_EXT: &[u8; 21usize] = b"1.3.6.1.4.1.311.25.2\0"; -pub const szOID_NTDS_OBJECTSID: &[u8; 23usize] = b"1.3.6.1.4.1.311.25.2.1\0"; -pub const szOID_SUBJECT_DIR_ATTRS: &[u8; 9usize] = b"2.5.29.9\0"; -pub const szOID_PKIX_KP: &[u8; 16usize] = b"1.3.6.1.5.5.7.3\0"; -pub const szOID_PKIX_KP_SERVER_AUTH: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.1\0"; -pub const szOID_PKIX_KP_CLIENT_AUTH: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.2\0"; -pub const szOID_PKIX_KP_CODE_SIGNING: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.3\0"; -pub const szOID_PKIX_KP_EMAIL_PROTECTION: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.4\0"; -pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.5\0"; -pub const szOID_PKIX_KP_IPSEC_TUNNEL: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.6\0"; -pub const szOID_PKIX_KP_IPSEC_USER: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.7\0"; -pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.8\0"; -pub const szOID_PKIX_KP_OCSP_SIGNING: &[u8; 18usize] = b"1.3.6.1.5.5.7.3.9\0"; -pub const szOID_PKIX_OCSP_NOCHECK: &[u8; 21usize] = b"1.3.6.1.5.5.7.48.1.5\0"; -pub const szOID_PKIX_OCSP_NONCE: &[u8; 21usize] = b"1.3.6.1.5.5.7.48.1.2\0"; -pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: &[u8; 18usize] = b"1.3.6.1.5.5.8.2.2\0"; -pub const szOID_PKINIT_KP_KDC: &[u8; 16usize] = b"1.3.6.1.5.2.3.5\0"; -pub const szOID_KP_CTL_USAGE_SIGNING: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.1\0"; -pub const szOID_KP_TIME_STAMP_SIGNING: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.2\0"; -pub const szOID_SERVER_GATED_CRYPTO: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.3\0"; -pub const szOID_SGC_NETSCAPE: &[u8; 22usize] = b"2.16.840.1.113730.4.1\0"; -pub const szOID_KP_EFS: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.4\0"; -pub const szOID_EFS_RECOVERY: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.3.4.1\0"; -pub const szOID_WHQL_CRYPTO: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.5\0"; -pub const szOID_ATTEST_WHQL_CRYPTO: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.3.5.1\0"; -pub const szOID_NT5_CRYPTO: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.6\0"; -pub const szOID_OEM_WHQL_CRYPTO: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.7\0"; -pub const szOID_EMBEDDED_NT_CRYPTO: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.8\0"; -pub const szOID_ROOT_LIST_SIGNER: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.3.9\0"; -pub const szOID_KP_QUALIFIED_SUBORDINATION: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.10\0"; -pub const szOID_KP_KEY_RECOVERY: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.11\0"; -pub const szOID_KP_DOCUMENT_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.12\0"; -pub const szOID_KP_LIFETIME_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.13\0"; -pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.14\0"; -pub const szOID_KP_SMART_DISPLAY: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.15\0"; -pub const szOID_KP_CSP_SIGNATURE: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.16\0"; -pub const szOID_KP_FLIGHT_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.27\0"; -pub const szOID_PLATFORM_MANIFEST_BINARY_ID: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.28\0"; -pub const szOID_DRM: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.5.1\0"; -pub const szOID_DRM_INDIVIDUALIZATION: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.5.2\0"; -pub const szOID_LICENSES: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.6.1\0"; -pub const szOID_LICENSE_SERVER: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.6.2\0"; -pub const szOID_KP_SMARTCARD_LOGON: &[u8; 23usize] = b"1.3.6.1.4.1.311.20.2.2\0"; -pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: &[u8; 23usize] = b"1.3.6.1.4.1.311.61.1.1\0"; -pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: &[u8; 23usize] = b"1.3.6.1.4.1.311.61.4.1\0"; -pub const szOID_REVOKED_LIST_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.19\0"; -pub const szOID_WINDOWS_KITS_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.20\0"; -pub const szOID_WINDOWS_RT_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.21\0"; -pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.22\0"; -pub const szOID_WINDOWS_TCB_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.23\0"; -pub const szOID_PROTECTED_PROCESS_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.24\0"; -pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.25\0"; -pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.26\0"; -pub const szOID_DISALLOWED_LIST: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.30\0"; -pub const szOID_PIN_RULES_SIGNER: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.31\0"; -pub const szOID_PIN_RULES_CTL: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.32\0"; -pub const szOID_PIN_RULES_EXT: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.33\0"; -pub const szOID_PIN_RULES_DOMAIN_NAME: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.34\0"; -pub const szOID_PIN_RULES_LOG_END_DATE_EXT: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.35\0"; -pub const szOID_IUM_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.37\0"; -pub const szOID_EV_WHQL_CRYPTO: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.39\0"; -pub const szOID_BIOMETRIC_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.41\0"; -pub const szOID_ENCLAVE_SIGNING: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.42\0"; -pub const szOID_SYNC_ROOT_CTL_EXT: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.50\0"; -pub const szOID_HPKP_DOMAIN_NAME_CTL: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.60\0"; -pub const szOID_HPKP_HEADER_VALUE_CTL: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.3.61\0"; -pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: &[u8; 23usize] = b"1.3.6.1.4.1.311.61.5.1\0"; -pub const szOID_WINDOWS_STORE_SIGNER: &[u8; 23usize] = b"1.3.6.1.4.1.311.76.3.1\0"; -pub const szOID_DYNAMIC_CODE_GEN_SIGNER: &[u8; 23usize] = b"1.3.6.1.4.1.311.76.5.1\0"; -pub const szOID_MICROSOFT_PUBLISHER_SIGNER: &[u8; 23usize] = b"1.3.6.1.4.1.311.76.8.1\0"; -pub const szOID_YESNO_TRUST_ATTR: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.4.1\0"; -pub const szOID_SITE_PIN_RULES_INDEX_ATTR: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.4.2\0"; -pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.4.3\0"; +pub const szOID_AUTHORITY_KEY_IDENTIFIER: &[u8; 9] = b"2.5.29.1\0"; +pub const szOID_KEY_ATTRIBUTES: &[u8; 9] = b"2.5.29.2\0"; +pub const szOID_CERT_POLICIES_95: &[u8; 9] = b"2.5.29.3\0"; +pub const szOID_KEY_USAGE_RESTRICTION: &[u8; 9] = b"2.5.29.4\0"; +pub const szOID_SUBJECT_ALT_NAME: &[u8; 9] = b"2.5.29.7\0"; +pub const szOID_ISSUER_ALT_NAME: &[u8; 9] = b"2.5.29.8\0"; +pub const szOID_BASIC_CONSTRAINTS: &[u8; 10] = b"2.5.29.10\0"; +pub const szOID_KEY_USAGE: &[u8; 10] = b"2.5.29.15\0"; +pub const szOID_PRIVATEKEY_USAGE_PERIOD: &[u8; 10] = b"2.5.29.16\0"; +pub const szOID_BASIC_CONSTRAINTS2: &[u8; 10] = b"2.5.29.19\0"; +pub const szOID_CERT_POLICIES: &[u8; 10] = b"2.5.29.32\0"; +pub const szOID_ANY_CERT_POLICY: &[u8; 12] = b"2.5.29.32.0\0"; +pub const szOID_INHIBIT_ANY_POLICY: &[u8; 10] = b"2.5.29.54\0"; +pub const szOID_AUTHORITY_KEY_IDENTIFIER2: &[u8; 10] = b"2.5.29.35\0"; +pub const szOID_SUBJECT_KEY_IDENTIFIER: &[u8; 10] = b"2.5.29.14\0"; +pub const szOID_SUBJECT_ALT_NAME2: &[u8; 10] = b"2.5.29.17\0"; +pub const szOID_ISSUER_ALT_NAME2: &[u8; 10] = b"2.5.29.18\0"; +pub const szOID_CRL_REASON_CODE: &[u8; 10] = b"2.5.29.21\0"; +pub const szOID_REASON_CODE_HOLD: &[u8; 10] = b"2.5.29.23\0"; +pub const szOID_CRL_DIST_POINTS: &[u8; 10] = b"2.5.29.31\0"; +pub const szOID_ENHANCED_KEY_USAGE: &[u8; 10] = b"2.5.29.37\0"; +pub const szOID_ANY_ENHANCED_KEY_USAGE: &[u8; 12] = b"2.5.29.37.0\0"; +pub const szOID_CRL_NUMBER: &[u8; 10] = b"2.5.29.20\0"; +pub const szOID_DELTA_CRL_INDICATOR: &[u8; 10] = b"2.5.29.27\0"; +pub const szOID_ISSUING_DIST_POINT: &[u8; 10] = b"2.5.29.28\0"; +pub const szOID_FRESHEST_CRL: &[u8; 10] = b"2.5.29.46\0"; +pub const szOID_NAME_CONSTRAINTS: &[u8; 10] = b"2.5.29.30\0"; +pub const szOID_POLICY_MAPPINGS: &[u8; 10] = b"2.5.29.33\0"; +pub const szOID_LEGACY_POLICY_MAPPINGS: &[u8; 9] = b"2.5.29.5\0"; +pub const szOID_POLICY_CONSTRAINTS: &[u8; 10] = b"2.5.29.36\0"; +pub const szOID_RENEWAL_CERTIFICATE: &[u8; 21] = b"1.3.6.1.4.1.311.13.1\0"; +pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: &[u8; 23] = b"1.3.6.1.4.1.311.13.2.1\0"; +pub const szOID_ENROLLMENT_CSP_PROVIDER: &[u8; 23] = b"1.3.6.1.4.1.311.13.2.2\0"; +pub const szOID_OS_VERSION: &[u8; 23] = b"1.3.6.1.4.1.311.13.2.3\0"; +pub const szOID_ENROLLMENT_AGENT: &[u8; 23] = b"1.3.6.1.4.1.311.20.2.1\0"; +pub const szOID_PKIX: &[u8; 14] = b"1.3.6.1.5.5.7\0"; +pub const szOID_PKIX_PE: &[u8; 16] = b"1.3.6.1.5.5.7.1\0"; +pub const szOID_AUTHORITY_INFO_ACCESS: &[u8; 18] = b"1.3.6.1.5.5.7.1.1\0"; +pub const szOID_SUBJECT_INFO_ACCESS: &[u8; 19] = b"1.3.6.1.5.5.7.1.11\0"; +pub const szOID_BIOMETRIC_EXT: &[u8; 18] = b"1.3.6.1.5.5.7.1.2\0"; +pub const szOID_QC_STATEMENTS_EXT: &[u8; 18] = b"1.3.6.1.5.5.7.1.3\0"; +pub const szOID_LOGOTYPE_EXT: &[u8; 19] = b"1.3.6.1.5.5.7.1.12\0"; +pub const szOID_TLS_FEATURES_EXT: &[u8; 19] = b"1.3.6.1.5.5.7.1.24\0"; +pub const szOID_CERT_EXTENSIONS: &[u8; 23] = b"1.3.6.1.4.1.311.2.1.14\0"; +pub const szOID_NEXT_UPDATE_LOCATION: &[u8; 21] = b"1.3.6.1.4.1.311.10.2\0"; +pub const szOID_REMOVE_CERTIFICATE: &[u8; 23] = b"1.3.6.1.4.1.311.10.8.1\0"; +pub const szOID_CROSS_CERT_DIST_POINTS: &[u8; 23] = b"1.3.6.1.4.1.311.10.9.1\0"; +pub const szOID_CTL: &[u8; 21] = b"1.3.6.1.4.1.311.10.1\0"; +pub const szOID_SORTED_CTL: &[u8; 23] = b"1.3.6.1.4.1.311.10.1.1\0"; +pub const szOID_SERIALIZED: &[u8; 25] = b"1.3.6.1.4.1.311.10.3.3.1\0"; +pub const szOID_NT_PRINCIPAL_NAME: &[u8; 23] = b"1.3.6.1.4.1.311.20.2.3\0"; +pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: &[u8; 23] = b"1.3.6.1.4.1.311.20.2.4\0"; +pub const szOID_PRODUCT_UPDATE: &[u8; 21] = b"1.3.6.1.4.1.311.31.1\0"; +pub const szOID_ANY_APPLICATION_POLICY: &[u8; 24] = b"1.3.6.1.4.1.311.10.12.1\0"; +pub const szOID_AUTO_ENROLL_CTL_USAGE: &[u8; 21] = b"1.3.6.1.4.1.311.20.1\0"; +pub const szOID_ENROLL_CERTTYPE_EXTENSION: &[u8; 21] = b"1.3.6.1.4.1.311.20.2\0"; +pub const szOID_CERT_MANIFOLD: &[u8; 21] = b"1.3.6.1.4.1.311.20.3\0"; +pub const szOID_CERTSRV_CA_VERSION: &[u8; 21] = b"1.3.6.1.4.1.311.21.1\0"; +pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: &[u8; 21] = b"1.3.6.1.4.1.311.21.2\0"; +pub const szOID_CRL_VIRTUAL_BASE: &[u8; 21] = b"1.3.6.1.4.1.311.21.3\0"; +pub const szOID_CRL_NEXT_PUBLISH: &[u8; 21] = b"1.3.6.1.4.1.311.21.4\0"; +pub const szOID_KP_CA_EXCHANGE: &[u8; 21] = b"1.3.6.1.4.1.311.21.5\0"; +pub const szOID_KP_PRIVACY_CA: &[u8; 22] = b"1.3.6.1.4.1.311.21.36\0"; +pub const szOID_KP_KEY_RECOVERY_AGENT: &[u8; 21] = b"1.3.6.1.4.1.311.21.6\0"; +pub const szOID_CERTIFICATE_TEMPLATE: &[u8; 21] = b"1.3.6.1.4.1.311.21.7\0"; +pub const szOID_ENTERPRISE_OID_ROOT: &[u8; 21] = b"1.3.6.1.4.1.311.21.8\0"; +pub const szOID_RDN_DUMMY_SIGNER: &[u8; 21] = b"1.3.6.1.4.1.311.21.9\0"; +pub const szOID_APPLICATION_CERT_POLICIES: &[u8; 22] = b"1.3.6.1.4.1.311.21.10\0"; +pub const szOID_APPLICATION_POLICY_MAPPINGS: &[u8; 22] = b"1.3.6.1.4.1.311.21.11\0"; +pub const szOID_APPLICATION_POLICY_CONSTRAINTS: &[u8; 22] = b"1.3.6.1.4.1.311.21.12\0"; +pub const szOID_ARCHIVED_KEY_ATTR: &[u8; 22] = b"1.3.6.1.4.1.311.21.13\0"; +pub const szOID_CRL_SELF_CDP: &[u8; 22] = b"1.3.6.1.4.1.311.21.14\0"; +pub const szOID_REQUIRE_CERT_CHAIN_POLICY: &[u8; 22] = b"1.3.6.1.4.1.311.21.15\0"; +pub const szOID_ARCHIVED_KEY_CERT_HASH: &[u8; 22] = b"1.3.6.1.4.1.311.21.16\0"; +pub const szOID_ISSUED_CERT_HASH: &[u8; 22] = b"1.3.6.1.4.1.311.21.17\0"; +pub const szOID_DS_EMAIL_REPLICATION: &[u8; 22] = b"1.3.6.1.4.1.311.21.19\0"; +pub const szOID_REQUEST_CLIENT_INFO: &[u8; 22] = b"1.3.6.1.4.1.311.21.20\0"; +pub const szOID_ENCRYPTED_KEY_HASH: &[u8; 22] = b"1.3.6.1.4.1.311.21.21\0"; +pub const szOID_CERTSRV_CROSSCA_VERSION: &[u8; 22] = b"1.3.6.1.4.1.311.21.22\0"; +pub const szOID_NTDS_REPLICATION: &[u8; 21] = b"1.3.6.1.4.1.311.25.1\0"; +pub const szOID_NTDS_CA_SECURITY_EXT: &[u8; 21] = b"1.3.6.1.4.1.311.25.2\0"; +pub const szOID_NTDS_OBJECTSID: &[u8; 23] = b"1.3.6.1.4.1.311.25.2.1\0"; +pub const szOID_SUBJECT_DIR_ATTRS: &[u8; 9] = b"2.5.29.9\0"; +pub const szOID_PKIX_KP: &[u8; 16] = b"1.3.6.1.5.5.7.3\0"; +pub const szOID_PKIX_KP_SERVER_AUTH: &[u8; 18] = b"1.3.6.1.5.5.7.3.1\0"; +pub const szOID_PKIX_KP_CLIENT_AUTH: &[u8; 18] = b"1.3.6.1.5.5.7.3.2\0"; +pub const szOID_PKIX_KP_CODE_SIGNING: &[u8; 18] = b"1.3.6.1.5.5.7.3.3\0"; +pub const szOID_PKIX_KP_EMAIL_PROTECTION: &[u8; 18] = b"1.3.6.1.5.5.7.3.4\0"; +pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: &[u8; 18] = b"1.3.6.1.5.5.7.3.5\0"; +pub const szOID_PKIX_KP_IPSEC_TUNNEL: &[u8; 18] = b"1.3.6.1.5.5.7.3.6\0"; +pub const szOID_PKIX_KP_IPSEC_USER: &[u8; 18] = b"1.3.6.1.5.5.7.3.7\0"; +pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: &[u8; 18] = b"1.3.6.1.5.5.7.3.8\0"; +pub const szOID_PKIX_KP_OCSP_SIGNING: &[u8; 18] = b"1.3.6.1.5.5.7.3.9\0"; +pub const szOID_PKIX_OCSP_NOCHECK: &[u8; 21] = b"1.3.6.1.5.5.7.48.1.5\0"; +pub const szOID_PKIX_OCSP_NONCE: &[u8; 21] = b"1.3.6.1.5.5.7.48.1.2\0"; +pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: &[u8; 18] = b"1.3.6.1.5.5.8.2.2\0"; +pub const szOID_PKINIT_KP_KDC: &[u8; 16] = b"1.3.6.1.5.2.3.5\0"; +pub const szOID_KP_CTL_USAGE_SIGNING: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.1\0"; +pub const szOID_KP_TIME_STAMP_SIGNING: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.2\0"; +pub const szOID_SERVER_GATED_CRYPTO: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.3\0"; +pub const szOID_SGC_NETSCAPE: &[u8; 22] = b"2.16.840.1.113730.4.1\0"; +pub const szOID_KP_EFS: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.4\0"; +pub const szOID_EFS_RECOVERY: &[u8; 25] = b"1.3.6.1.4.1.311.10.3.4.1\0"; +pub const szOID_WHQL_CRYPTO: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.5\0"; +pub const szOID_ATTEST_WHQL_CRYPTO: &[u8; 25] = b"1.3.6.1.4.1.311.10.3.5.1\0"; +pub const szOID_NT5_CRYPTO: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.6\0"; +pub const szOID_OEM_WHQL_CRYPTO: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.7\0"; +pub const szOID_EMBEDDED_NT_CRYPTO: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.8\0"; +pub const szOID_ROOT_LIST_SIGNER: &[u8; 23] = b"1.3.6.1.4.1.311.10.3.9\0"; +pub const szOID_KP_QUALIFIED_SUBORDINATION: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.10\0"; +pub const szOID_KP_KEY_RECOVERY: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.11\0"; +pub const szOID_KP_DOCUMENT_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.12\0"; +pub const szOID_KP_LIFETIME_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.13\0"; +pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.14\0"; +pub const szOID_KP_SMART_DISPLAY: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.15\0"; +pub const szOID_KP_CSP_SIGNATURE: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.16\0"; +pub const szOID_KP_FLIGHT_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.27\0"; +pub const szOID_PLATFORM_MANIFEST_BINARY_ID: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.28\0"; +pub const szOID_DRM: &[u8; 23] = b"1.3.6.1.4.1.311.10.5.1\0"; +pub const szOID_DRM_INDIVIDUALIZATION: &[u8; 23] = b"1.3.6.1.4.1.311.10.5.2\0"; +pub const szOID_LICENSES: &[u8; 23] = b"1.3.6.1.4.1.311.10.6.1\0"; +pub const szOID_LICENSE_SERVER: &[u8; 23] = b"1.3.6.1.4.1.311.10.6.2\0"; +pub const szOID_KP_SMARTCARD_LOGON: &[u8; 23] = b"1.3.6.1.4.1.311.20.2.2\0"; +pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: &[u8; 23] = b"1.3.6.1.4.1.311.61.1.1\0"; +pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: &[u8; 23] = b"1.3.6.1.4.1.311.61.4.1\0"; +pub const szOID_REVOKED_LIST_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.19\0"; +pub const szOID_WINDOWS_KITS_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.20\0"; +pub const szOID_WINDOWS_RT_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.21\0"; +pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.22\0"; +pub const szOID_WINDOWS_TCB_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.23\0"; +pub const szOID_PROTECTED_PROCESS_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.24\0"; +pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.25\0"; +pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.26\0"; +pub const szOID_DISALLOWED_LIST: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.30\0"; +pub const szOID_PIN_RULES_SIGNER: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.31\0"; +pub const szOID_PIN_RULES_CTL: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.32\0"; +pub const szOID_PIN_RULES_EXT: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.33\0"; +pub const szOID_PIN_RULES_DOMAIN_NAME: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.34\0"; +pub const szOID_PIN_RULES_LOG_END_DATE_EXT: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.35\0"; +pub const szOID_IUM_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.37\0"; +pub const szOID_EV_WHQL_CRYPTO: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.39\0"; +pub const szOID_BIOMETRIC_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.41\0"; +pub const szOID_ENCLAVE_SIGNING: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.42\0"; +pub const szOID_SYNC_ROOT_CTL_EXT: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.50\0"; +pub const szOID_HPKP_DOMAIN_NAME_CTL: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.60\0"; +pub const szOID_HPKP_HEADER_VALUE_CTL: &[u8; 24] = b"1.3.6.1.4.1.311.10.3.61\0"; +pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: &[u8; 23] = b"1.3.6.1.4.1.311.61.5.1\0"; +pub const szOID_WINDOWS_STORE_SIGNER: &[u8; 23] = b"1.3.6.1.4.1.311.76.3.1\0"; +pub const szOID_DYNAMIC_CODE_GEN_SIGNER: &[u8; 23] = b"1.3.6.1.4.1.311.76.5.1\0"; +pub const szOID_MICROSOFT_PUBLISHER_SIGNER: &[u8; 23] = b"1.3.6.1.4.1.311.76.8.1\0"; +pub const szOID_YESNO_TRUST_ATTR: &[u8; 23] = b"1.3.6.1.4.1.311.10.4.1\0"; +pub const szOID_SITE_PIN_RULES_INDEX_ATTR: &[u8; 23] = b"1.3.6.1.4.1.311.10.4.2\0"; +pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: &[u8; 23] = b"1.3.6.1.4.1.311.10.4.3\0"; pub const SITE_PIN_RULES_ALL_SUBDOMAINS_FLAG: u32 = 1; -pub const szOID_PKIX_POLICY_QUALIFIER_CPS: &[u8; 18usize] = b"1.3.6.1.5.5.7.2.1\0"; -pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: &[u8; 18usize] = b"1.3.6.1.5.5.7.2.2\0"; -pub const szOID_ROOT_PROGRAM_FLAGS: &[u8; 23usize] = b"1.3.6.1.4.1.311.60.1.1\0"; +pub const szOID_PKIX_POLICY_QUALIFIER_CPS: &[u8; 18] = b"1.3.6.1.5.5.7.2.1\0"; +pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: &[u8; 18] = b"1.3.6.1.5.5.7.2.2\0"; +pub const szOID_ROOT_PROGRAM_FLAGS: &[u8; 23] = b"1.3.6.1.4.1.311.60.1.1\0"; pub const CERT_ROOT_PROGRAM_FLAG_ORG: u32 = 128; pub const CERT_ROOT_PROGRAM_FLAG_LSC: u32 = 64; pub const CERT_ROOT_PROGRAM_FLAG_SUBJECT_LOGO: u32 = 32; pub const CERT_ROOT_PROGRAM_FLAG_OU: u32 = 16; pub const CERT_ROOT_PROGRAM_FLAG_ADDRESS: u32 = 8; -pub const szOID_CERT_POLICIES_95_QUALIFIER1: &[u8; 26usize] = b"2.16.840.1.113733.1.7.1.1\0"; -pub const szOID_RDN_TPM_MANUFACTURER: &[u8; 13usize] = b"2.23.133.2.1\0"; -pub const szOID_RDN_TPM_MODEL: &[u8; 13usize] = b"2.23.133.2.2\0"; -pub const szOID_RDN_TPM_VERSION: &[u8; 13usize] = b"2.23.133.2.3\0"; -pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: &[u8; 13usize] = b"2.23.133.2.4\0"; -pub const szOID_RDN_TCG_PLATFORM_MODEL: &[u8; 13usize] = b"2.23.133.2.5\0"; -pub const szOID_RDN_TCG_PLATFORM_VERSION: &[u8; 13usize] = b"2.23.133.2.6\0"; -pub const szOID_CT_CERT_SCTLIST: &[u8; 24usize] = b"1.3.6.1.4.1.11129.2.4.2\0"; -pub const szOID_ENROLL_EK_INFO: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.23\0"; -pub const szOID_ENROLL_AIK_INFO: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.39\0"; -pub const szOID_ENROLL_ATTESTATION_STATEMENT: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.24\0"; -pub const szOID_ENROLL_KSP_NAME: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.25\0"; -pub const szOID_ENROLL_EKPUB_CHALLENGE: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.26\0"; -pub const szOID_ENROLL_CAXCHGCERT_HASH: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.27\0"; -pub const szOID_ENROLL_ATTESTATION_CHALLENGE: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.28\0"; -pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.29\0"; -pub const szOID_KP_TPM_EK_CERTIFICATE: &[u8; 13usize] = b"2.23.133.8.1\0"; -pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: &[u8; 13usize] = b"2.23.133.8.2\0"; -pub const szOID_KP_TPM_AIK_CERTIFICATE: &[u8; 13usize] = b"2.23.133.8.3\0"; -pub const szOID_ENROLL_EKVERIFYKEY: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.30\0"; -pub const szOID_ENROLL_EKVERIFYCERT: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.31\0"; -pub const szOID_ENROLL_EKVERIFYCREDS: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.32\0"; -pub const szOID_ENROLL_SCEP_ERROR: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.33\0"; -pub const szOID_ENROLL_SCEP_SERVER_STATE: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.34\0"; -pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.35\0"; -pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.37\0"; -pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.38\0"; -pub const szOID_ENROLL_SCEP_SERVER_SECRET: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.40\0"; -pub const szOID_ENROLL_KEY_AFFINITY: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.41\0"; -pub const szOID_ENROLL_SCEP_SIGNER_HASH: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.42\0"; -pub const szOID_ENROLL_EK_CA_KEYID: &[u8; 22usize] = b"1.3.6.1.4.1.311.21.43\0"; -pub const szOID_ATTR_SUPPORTED_ALGORITHMS: &[u8; 9usize] = b"2.5.4.52\0"; -pub const szOID_ATTR_TPM_SPECIFICATION: &[u8; 14usize] = b"2.23.133.2.16\0"; -pub const szOID_ATTR_PLATFORM_SPECIFICATION: &[u8; 14usize] = b"2.23.133.2.17\0"; -pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: &[u8; 14usize] = b"2.23.133.2.18\0"; +pub const szOID_CERT_POLICIES_95_QUALIFIER1: &[u8; 26] = b"2.16.840.1.113733.1.7.1.1\0"; +pub const szOID_RDN_TPM_MANUFACTURER: &[u8; 13] = b"2.23.133.2.1\0"; +pub const szOID_RDN_TPM_MODEL: &[u8; 13] = b"2.23.133.2.2\0"; +pub const szOID_RDN_TPM_VERSION: &[u8; 13] = b"2.23.133.2.3\0"; +pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: &[u8; 13] = b"2.23.133.2.4\0"; +pub const szOID_RDN_TCG_PLATFORM_MODEL: &[u8; 13] = b"2.23.133.2.5\0"; +pub const szOID_RDN_TCG_PLATFORM_VERSION: &[u8; 13] = b"2.23.133.2.6\0"; +pub const szOID_CT_CERT_SCTLIST: &[u8; 24] = b"1.3.6.1.4.1.11129.2.4.2\0"; +pub const szOID_ENROLL_EK_INFO: &[u8; 22] = b"1.3.6.1.4.1.311.21.23\0"; +pub const szOID_ENROLL_AIK_INFO: &[u8; 22] = b"1.3.6.1.4.1.311.21.39\0"; +pub const szOID_ENROLL_ATTESTATION_STATEMENT: &[u8; 22] = b"1.3.6.1.4.1.311.21.24\0"; +pub const szOID_ENROLL_KSP_NAME: &[u8; 22] = b"1.3.6.1.4.1.311.21.25\0"; +pub const szOID_ENROLL_EKPUB_CHALLENGE: &[u8; 22] = b"1.3.6.1.4.1.311.21.26\0"; +pub const szOID_ENROLL_CAXCHGCERT_HASH: &[u8; 22] = b"1.3.6.1.4.1.311.21.27\0"; +pub const szOID_ENROLL_ATTESTATION_CHALLENGE: &[u8; 22] = b"1.3.6.1.4.1.311.21.28\0"; +pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: &[u8; 22] = b"1.3.6.1.4.1.311.21.29\0"; +pub const szOID_KP_TPM_EK_CERTIFICATE: &[u8; 13] = b"2.23.133.8.1\0"; +pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: &[u8; 13] = b"2.23.133.8.2\0"; +pub const szOID_KP_TPM_AIK_CERTIFICATE: &[u8; 13] = b"2.23.133.8.3\0"; +pub const szOID_ENROLL_EKVERIFYKEY: &[u8; 22] = b"1.3.6.1.4.1.311.21.30\0"; +pub const szOID_ENROLL_EKVERIFYCERT: &[u8; 22] = b"1.3.6.1.4.1.311.21.31\0"; +pub const szOID_ENROLL_EKVERIFYCREDS: &[u8; 22] = b"1.3.6.1.4.1.311.21.32\0"; +pub const szOID_ENROLL_SCEP_ERROR: &[u8; 22] = b"1.3.6.1.4.1.311.21.33\0"; +pub const szOID_ENROLL_SCEP_SERVER_STATE: &[u8; 22] = b"1.3.6.1.4.1.311.21.34\0"; +pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: &[u8; 22] = b"1.3.6.1.4.1.311.21.35\0"; +pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: &[u8; 22] = b"1.3.6.1.4.1.311.21.37\0"; +pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: &[u8; 22] = b"1.3.6.1.4.1.311.21.38\0"; +pub const szOID_ENROLL_SCEP_SERVER_SECRET: &[u8; 22] = b"1.3.6.1.4.1.311.21.40\0"; +pub const szOID_ENROLL_KEY_AFFINITY: &[u8; 22] = b"1.3.6.1.4.1.311.21.41\0"; +pub const szOID_ENROLL_SCEP_SIGNER_HASH: &[u8; 22] = b"1.3.6.1.4.1.311.21.42\0"; +pub const szOID_ENROLL_EK_CA_KEYID: &[u8; 22] = b"1.3.6.1.4.1.311.21.43\0"; +pub const szOID_ATTR_SUPPORTED_ALGORITHMS: &[u8; 9] = b"2.5.4.52\0"; +pub const szOID_ATTR_TPM_SPECIFICATION: &[u8; 14] = b"2.23.133.2.16\0"; +pub const szOID_ATTR_PLATFORM_SPECIFICATION: &[u8; 14] = b"2.23.133.2.17\0"; +pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: &[u8; 14] = b"2.23.133.2.18\0"; pub const CERT_UNICODE_RDN_ERR_INDEX_MASK: u32 = 1023; pub const CERT_UNICODE_RDN_ERR_INDEX_SHIFT: u32 = 22; pub const CERT_UNICODE_ATTR_ERR_INDEX_MASK: u32 = 63; @@ -16280,11 +16265,11 @@ pub const CERT_ALT_NAME_VALUE_ERR_INDEX_MASK: u32 = 65535; pub const CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT: u32 = 0; pub const CERT_CA_SUBJECT_FLAG: u32 = 128; pub const CERT_END_ENTITY_SUBJECT_FLAG: u32 = 64; -pub const szOID_PKIX_ACC_DESCR: &[u8; 17usize] = b"1.3.6.1.5.5.7.48\0"; -pub const szOID_PKIX_OCSP: &[u8; 19usize] = b"1.3.6.1.5.5.7.48.1\0"; -pub const szOID_PKIX_CA_ISSUERS: &[u8; 19usize] = b"1.3.6.1.5.5.7.48.2\0"; -pub const szOID_PKIX_TIME_STAMPING: &[u8; 19usize] = b"1.3.6.1.5.5.7.48.3\0"; -pub const szOID_PKIX_CA_REPOSITORY: &[u8; 19usize] = b"1.3.6.1.5.5.7.48.5\0"; +pub const szOID_PKIX_ACC_DESCR: &[u8; 17] = b"1.3.6.1.5.5.7.48\0"; +pub const szOID_PKIX_OCSP: &[u8; 19] = b"1.3.6.1.5.5.7.48.1\0"; +pub const szOID_PKIX_CA_ISSUERS: &[u8; 19] = b"1.3.6.1.5.5.7.48.2\0"; +pub const szOID_PKIX_TIME_STAMPING: &[u8; 19] = b"1.3.6.1.5.5.7.48.3\0"; +pub const szOID_PKIX_CA_REPOSITORY: &[u8; 19] = b"1.3.6.1.5.5.7.48.5\0"; pub const CRL_REASON_UNSPECIFIED: u32 = 0; pub const CRL_REASON_KEY_COMPROMISE: u32 = 1; pub const CRL_REASON_CA_COMPROMISE: u32 = 2; @@ -16330,31 +16315,31 @@ pub const CRYPT_RC2_40BIT_VERSION: u32 = 160; pub const CRYPT_RC2_56BIT_VERSION: u32 = 52; pub const CRYPT_RC2_64BIT_VERSION: u32 = 120; pub const CRYPT_RC2_128BIT_VERSION: u32 = 58; -pub const szOID_QC_EU_COMPLIANCE: &[u8; 15usize] = b"0.4.0.1862.1.1\0"; -pub const szOID_QC_SSCD: &[u8; 15usize] = b"0.4.0.1862.1.4\0"; +pub const szOID_QC_EU_COMPLIANCE: &[u8; 15] = b"0.4.0.1862.1.1\0"; +pub const szOID_QC_SSCD: &[u8; 15] = b"0.4.0.1862.1.4\0"; pub const PKCS_RSA_SSA_PSS_TRAILER_FIELD_BC: u32 = 1; -pub const szOID_VERISIGN_PRIVATE_6_9: &[u8; 24usize] = b"2.16.840.1.113733.1.6.9\0"; -pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: &[u8; 25usize] = b"2.16.840.1.113733.1.6.11\0"; -pub const szOID_VERISIGN_BITSTRING_6_13: &[u8; 25usize] = b"2.16.840.1.113733.1.6.13\0"; -pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: &[u8; 24usize] = b"2.16.840.1.113733.1.8.1\0"; -pub const szOIDVerisign_MessageType: &[u8; 24usize] = b"2.16.840.1.113733.1.9.2\0"; -pub const szOIDVerisign_PkiStatus: &[u8; 24usize] = b"2.16.840.1.113733.1.9.3\0"; -pub const szOIDVerisign_FailInfo: &[u8; 24usize] = b"2.16.840.1.113733.1.9.4\0"; -pub const szOIDVerisign_SenderNonce: &[u8; 24usize] = b"2.16.840.1.113733.1.9.5\0"; -pub const szOIDVerisign_RecipientNonce: &[u8; 24usize] = b"2.16.840.1.113733.1.9.6\0"; -pub const szOIDVerisign_TransactionID: &[u8; 24usize] = b"2.16.840.1.113733.1.9.7\0"; -pub const szOID_NETSCAPE: &[u8; 18usize] = b"2.16.840.1.113730\0"; -pub const szOID_NETSCAPE_CERT_EXTENSION: &[u8; 20usize] = b"2.16.840.1.113730.1\0"; -pub const szOID_NETSCAPE_CERT_TYPE: &[u8; 22usize] = b"2.16.840.1.113730.1.1\0"; -pub const szOID_NETSCAPE_BASE_URL: &[u8; 22usize] = b"2.16.840.1.113730.1.2\0"; -pub const szOID_NETSCAPE_REVOCATION_URL: &[u8; 22usize] = b"2.16.840.1.113730.1.3\0"; -pub const szOID_NETSCAPE_CA_REVOCATION_URL: &[u8; 22usize] = b"2.16.840.1.113730.1.4\0"; -pub const szOID_NETSCAPE_CERT_RENEWAL_URL: &[u8; 22usize] = b"2.16.840.1.113730.1.7\0"; -pub const szOID_NETSCAPE_CA_POLICY_URL: &[u8; 22usize] = b"2.16.840.1.113730.1.8\0"; -pub const szOID_NETSCAPE_SSL_SERVER_NAME: &[u8; 23usize] = b"2.16.840.1.113730.1.12\0"; -pub const szOID_NETSCAPE_COMMENT: &[u8; 23usize] = b"2.16.840.1.113730.1.13\0"; -pub const szOID_NETSCAPE_DATA_TYPE: &[u8; 20usize] = b"2.16.840.1.113730.2\0"; -pub const szOID_NETSCAPE_CERT_SEQUENCE: &[u8; 22usize] = b"2.16.840.1.113730.2.5\0"; +pub const szOID_VERISIGN_PRIVATE_6_9: &[u8; 24] = b"2.16.840.1.113733.1.6.9\0"; +pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: &[u8; 25] = b"2.16.840.1.113733.1.6.11\0"; +pub const szOID_VERISIGN_BITSTRING_6_13: &[u8; 25] = b"2.16.840.1.113733.1.6.13\0"; +pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: &[u8; 24] = b"2.16.840.1.113733.1.8.1\0"; +pub const szOIDVerisign_MessageType: &[u8; 24] = b"2.16.840.1.113733.1.9.2\0"; +pub const szOIDVerisign_PkiStatus: &[u8; 24] = b"2.16.840.1.113733.1.9.3\0"; +pub const szOIDVerisign_FailInfo: &[u8; 24] = b"2.16.840.1.113733.1.9.4\0"; +pub const szOIDVerisign_SenderNonce: &[u8; 24] = b"2.16.840.1.113733.1.9.5\0"; +pub const szOIDVerisign_RecipientNonce: &[u8; 24] = b"2.16.840.1.113733.1.9.6\0"; +pub const szOIDVerisign_TransactionID: &[u8; 24] = b"2.16.840.1.113733.1.9.7\0"; +pub const szOID_NETSCAPE: &[u8; 18] = b"2.16.840.1.113730\0"; +pub const szOID_NETSCAPE_CERT_EXTENSION: &[u8; 20] = b"2.16.840.1.113730.1\0"; +pub const szOID_NETSCAPE_CERT_TYPE: &[u8; 22] = b"2.16.840.1.113730.1.1\0"; +pub const szOID_NETSCAPE_BASE_URL: &[u8; 22] = b"2.16.840.1.113730.1.2\0"; +pub const szOID_NETSCAPE_REVOCATION_URL: &[u8; 22] = b"2.16.840.1.113730.1.3\0"; +pub const szOID_NETSCAPE_CA_REVOCATION_URL: &[u8; 22] = b"2.16.840.1.113730.1.4\0"; +pub const szOID_NETSCAPE_CERT_RENEWAL_URL: &[u8; 22] = b"2.16.840.1.113730.1.7\0"; +pub const szOID_NETSCAPE_CA_POLICY_URL: &[u8; 22] = b"2.16.840.1.113730.1.8\0"; +pub const szOID_NETSCAPE_SSL_SERVER_NAME: &[u8; 23] = b"2.16.840.1.113730.1.12\0"; +pub const szOID_NETSCAPE_COMMENT: &[u8; 23] = b"2.16.840.1.113730.1.13\0"; +pub const szOID_NETSCAPE_DATA_TYPE: &[u8; 20] = b"2.16.840.1.113730.2\0"; +pub const szOID_NETSCAPE_CERT_SEQUENCE: &[u8; 22] = b"2.16.840.1.113730.2.5\0"; pub const NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE: u32 = 128; pub const NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE: u32 = 64; pub const NETSCAPE_SMIME_CERT_TYPE: u32 = 32; @@ -16362,31 +16347,31 @@ pub const NETSCAPE_SIGN_CERT_TYPE: u32 = 16; pub const NETSCAPE_SSL_CA_CERT_TYPE: u32 = 4; pub const NETSCAPE_SMIME_CA_CERT_TYPE: u32 = 2; pub const NETSCAPE_SIGN_CA_CERT_TYPE: u32 = 1; -pub const szOID_CT_PKI_DATA: &[u8; 19usize] = b"1.3.6.1.5.5.7.12.2\0"; -pub const szOID_CT_PKI_RESPONSE: &[u8; 19usize] = b"1.3.6.1.5.5.7.12.3\0"; -pub const szOID_PKIX_NO_SIGNATURE: &[u8; 18usize] = b"1.3.6.1.5.5.7.6.2\0"; -pub const szOID_CMC: &[u8; 16usize] = b"1.3.6.1.5.5.7.7\0"; -pub const szOID_CMC_STATUS_INFO: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.1\0"; -pub const szOID_CMC_IDENTIFICATION: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.2\0"; -pub const szOID_CMC_IDENTITY_PROOF: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.3\0"; -pub const szOID_CMC_DATA_RETURN: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.4\0"; -pub const szOID_CMC_TRANSACTION_ID: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.5\0"; -pub const szOID_CMC_SENDER_NONCE: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.6\0"; -pub const szOID_CMC_RECIPIENT_NONCE: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.7\0"; -pub const szOID_CMC_ADD_EXTENSIONS: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.8\0"; -pub const szOID_CMC_ENCRYPTED_POP: &[u8; 18usize] = b"1.3.6.1.5.5.7.7.9\0"; -pub const szOID_CMC_DECRYPTED_POP: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.10\0"; -pub const szOID_CMC_LRA_POP_WITNESS: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.11\0"; -pub const szOID_CMC_GET_CERT: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.15\0"; -pub const szOID_CMC_GET_CRL: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.16\0"; -pub const szOID_CMC_REVOKE_REQUEST: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.17\0"; -pub const szOID_CMC_REG_INFO: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.18\0"; -pub const szOID_CMC_RESPONSE_INFO: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.19\0"; -pub const szOID_CMC_QUERY_PENDING: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.21\0"; -pub const szOID_CMC_ID_POP_LINK_RANDOM: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.22\0"; -pub const szOID_CMC_ID_POP_LINK_WITNESS: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.23\0"; -pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: &[u8; 19usize] = b"1.3.6.1.5.5.7.7.24\0"; -pub const szOID_CMC_ADD_ATTRIBUTES: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.10.1\0"; +pub const szOID_CT_PKI_DATA: &[u8; 19] = b"1.3.6.1.5.5.7.12.2\0"; +pub const szOID_CT_PKI_RESPONSE: &[u8; 19] = b"1.3.6.1.5.5.7.12.3\0"; +pub const szOID_PKIX_NO_SIGNATURE: &[u8; 18] = b"1.3.6.1.5.5.7.6.2\0"; +pub const szOID_CMC: &[u8; 16] = b"1.3.6.1.5.5.7.7\0"; +pub const szOID_CMC_STATUS_INFO: &[u8; 18] = b"1.3.6.1.5.5.7.7.1\0"; +pub const szOID_CMC_IDENTIFICATION: &[u8; 18] = b"1.3.6.1.5.5.7.7.2\0"; +pub const szOID_CMC_IDENTITY_PROOF: &[u8; 18] = b"1.3.6.1.5.5.7.7.3\0"; +pub const szOID_CMC_DATA_RETURN: &[u8; 18] = b"1.3.6.1.5.5.7.7.4\0"; +pub const szOID_CMC_TRANSACTION_ID: &[u8; 18] = b"1.3.6.1.5.5.7.7.5\0"; +pub const szOID_CMC_SENDER_NONCE: &[u8; 18] = b"1.3.6.1.5.5.7.7.6\0"; +pub const szOID_CMC_RECIPIENT_NONCE: &[u8; 18] = b"1.3.6.1.5.5.7.7.7\0"; +pub const szOID_CMC_ADD_EXTENSIONS: &[u8; 18] = b"1.3.6.1.5.5.7.7.8\0"; +pub const szOID_CMC_ENCRYPTED_POP: &[u8; 18] = b"1.3.6.1.5.5.7.7.9\0"; +pub const szOID_CMC_DECRYPTED_POP: &[u8; 19] = b"1.3.6.1.5.5.7.7.10\0"; +pub const szOID_CMC_LRA_POP_WITNESS: &[u8; 19] = b"1.3.6.1.5.5.7.7.11\0"; +pub const szOID_CMC_GET_CERT: &[u8; 19] = b"1.3.6.1.5.5.7.7.15\0"; +pub const szOID_CMC_GET_CRL: &[u8; 19] = b"1.3.6.1.5.5.7.7.16\0"; +pub const szOID_CMC_REVOKE_REQUEST: &[u8; 19] = b"1.3.6.1.5.5.7.7.17\0"; +pub const szOID_CMC_REG_INFO: &[u8; 19] = b"1.3.6.1.5.5.7.7.18\0"; +pub const szOID_CMC_RESPONSE_INFO: &[u8; 19] = b"1.3.6.1.5.5.7.7.19\0"; +pub const szOID_CMC_QUERY_PENDING: &[u8; 19] = b"1.3.6.1.5.5.7.7.21\0"; +pub const szOID_CMC_ID_POP_LINK_RANDOM: &[u8; 19] = b"1.3.6.1.5.5.7.7.22\0"; +pub const szOID_CMC_ID_POP_LINK_WITNESS: &[u8; 19] = b"1.3.6.1.5.5.7.7.23\0"; +pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: &[u8; 19] = b"1.3.6.1.5.5.7.7.24\0"; +pub const szOID_CMC_ADD_ATTRIBUTES: &[u8; 24] = b"1.3.6.1.4.1.311.10.10.1\0"; pub const CMC_TAGGED_CERT_REQUEST_CHOICE: u32 = 1; pub const CMC_OTHER_INFO_NO_CHOICE: u32 = 0; pub const CMC_OTHER_INFO_FAIL_CHOICE: u32 = 1; @@ -16416,8 +16401,8 @@ pub const CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE: u32 = 1; pub const CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE: u32 = 2; pub const CERT_LOGOTYPE_DIRECT_INFO_CHOICE: u32 = 1; pub const CERT_LOGOTYPE_INDIRECT_INFO_CHOICE: u32 = 2; -pub const szOID_LOYALTY_OTHER_LOGOTYPE: &[u8; 19usize] = b"1.3.6.1.5.5.7.20.1\0"; -pub const szOID_BACKGROUND_OTHER_LOGOTYPE: &[u8; 19usize] = b"1.3.6.1.5.5.7.20.2\0"; +pub const szOID_LOYALTY_OTHER_LOGOTYPE: &[u8; 19] = b"1.3.6.1.5.5.7.20.1\0"; +pub const szOID_BACKGROUND_OTHER_LOGOTYPE: &[u8; 19] = b"1.3.6.1.5.5.7.20.2\0"; pub const CERT_BIOMETRIC_PREDEFINED_DATA_CHOICE: u32 = 1; pub const CERT_BIOMETRIC_OID_DATA_CHOICE: u32 = 2; pub const CERT_BIOMETRIC_PICTURE_TYPE: u32 = 0; @@ -16429,30 +16414,30 @@ pub const OCSP_INTERNAL_ERROR_RESPONSE: u32 = 2; pub const OCSP_TRY_LATER_RESPONSE: u32 = 3; pub const OCSP_SIG_REQUIRED_RESPONSE: u32 = 5; pub const OCSP_UNAUTHORIZED_RESPONSE: u32 = 6; -pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: &[u8; 21usize] = b"1.3.6.1.5.5.7.48.1.1\0"; +pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: &[u8; 21] = b"1.3.6.1.5.5.7.48.1.1\0"; pub const OCSP_BASIC_GOOD_CERT_STATUS: u32 = 0; pub const OCSP_BASIC_REVOKED_CERT_STATUS: u32 = 1; pub const OCSP_BASIC_UNKNOWN_CERT_STATUS: u32 = 2; pub const OCSP_BASIC_RESPONSE_V1: u32 = 0; pub const OCSP_BASIC_BY_NAME_RESPONDER_ID: u32 = 1; pub const OCSP_BASIC_BY_KEY_RESPONDER_ID: u32 = 2; -pub const CRYPT_OID_ENCODE_OBJECT_FUNC: &[u8; 21usize] = b"CryptDllEncodeObject\0"; -pub const CRYPT_OID_DECODE_OBJECT_FUNC: &[u8; 21usize] = b"CryptDllDecodeObject\0"; -pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: &[u8; 23usize] = b"CryptDllEncodeObjectEx\0"; -pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: &[u8; 23usize] = b"CryptDllDecodeObjectEx\0"; -pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: &[u8; 24usize] = b"CryptDllCreateCOMObject\0"; -pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: &[u8; 24usize] = b"CertDllVerifyRevocation\0"; -pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: &[u8; 22usize] = b"CertDllVerifyCTLUsage\0"; -pub const CRYPT_OID_FORMAT_OBJECT_FUNC: &[u8; 21usize] = b"CryptDllFormatObject\0"; -pub const CRYPT_OID_FIND_OID_INFO_FUNC: &[u8; 20usize] = b"CryptDllFindOIDInfo\0"; -pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: &[u8; 26usize] = b"CryptDllFindLocalizedName\0"; -pub const CRYPT_OID_REGPATH: &[u8; 36usize] = b"Software\\Microsoft\\Cryptography\\OID\0"; -pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: &[u8; 14usize] = b"EncodingType \0"; -pub const CRYPT_OID_REG_DLL_VALUE_NAME: &[u8; 4usize] = b"Dll\0"; -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: &[u8; 9usize] = b"FuncName\0"; -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: &[u8; 9usize] = b"FuncName\0"; -pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: &[u8; 11usize] = b"CryptFlags\0"; -pub const CRYPT_DEFAULT_OID: &[u8; 8usize] = b"DEFAULT\0"; +pub const CRYPT_OID_ENCODE_OBJECT_FUNC: &[u8; 21] = b"CryptDllEncodeObject\0"; +pub const CRYPT_OID_DECODE_OBJECT_FUNC: &[u8; 21] = b"CryptDllDecodeObject\0"; +pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: &[u8; 23] = b"CryptDllEncodeObjectEx\0"; +pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: &[u8; 23] = b"CryptDllDecodeObjectEx\0"; +pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: &[u8; 24] = b"CryptDllCreateCOMObject\0"; +pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: &[u8; 24] = b"CertDllVerifyRevocation\0"; +pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: &[u8; 22] = b"CertDllVerifyCTLUsage\0"; +pub const CRYPT_OID_FORMAT_OBJECT_FUNC: &[u8; 21] = b"CryptDllFormatObject\0"; +pub const CRYPT_OID_FIND_OID_INFO_FUNC: &[u8; 20] = b"CryptDllFindOIDInfo\0"; +pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: &[u8; 26] = b"CryptDllFindLocalizedName\0"; +pub const CRYPT_OID_REGPATH: &[u8; 36] = b"Software\\Microsoft\\Cryptography\\OID\0"; +pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: &[u8; 14] = b"EncodingType \0"; +pub const CRYPT_OID_REG_DLL_VALUE_NAME: &[u8; 4] = b"Dll\0"; +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: &[u8; 9] = b"FuncName\0"; +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: &[u8; 9] = b"FuncName\0"; +pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: &[u8; 11] = b"CryptFlags\0"; +pub const CRYPT_DEFAULT_OID: &[u8; 8] = b"DEFAULT\0"; pub const CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG: u32 = 1; pub const CRYPT_GET_INSTALLED_OID_FUNC_FLAG: u32 = 1; pub const CRYPT_REGISTER_FIRST_INDEX: u32 = 0; @@ -16460,17 +16445,14 @@ pub const CRYPT_REGISTER_LAST_INDEX: u32 = 4294967295; pub const CRYPT_MATCH_ANY_ENCODING_TYPE: u32 = 4294967295; pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295; pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294; -pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: &[u8; 27usize] = - b"CryptOIDInfoHashParameters\0"; -pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: &[u8; 26usize] = b"CryptOIDInfoECCParameters\0"; -pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: &[u8; 27usize] = - b"CryptOIDInfoMgf1Parameters\0"; -pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: &[u8; 19usize] = b"CryptOIDInfoNoSign\0"; -pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: &[u8; 27usize] = - b"CryptOIDInfoOAEPParameters\0"; -pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: &[u8; 30usize] = +pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: &[u8; 27] = b"CryptOIDInfoHashParameters\0"; +pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: &[u8; 26] = b"CryptOIDInfoECCParameters\0"; +pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: &[u8; 27] = b"CryptOIDInfoMgf1Parameters\0"; +pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: &[u8; 19] = b"CryptOIDInfoNoSign\0"; +pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: &[u8; 27] = b"CryptOIDInfoOAEPParameters\0"; +pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: &[u8; 30] = b"CryptOIDInfoECCWrapParameters\0"; -pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: &[u8; 25usize] = b"CryptOIDInfoNoParameters\0"; +pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: &[u8; 25] = b"CryptOIDInfoNoParameters\0"; pub const CRYPT_HASH_ALG_OID_GROUP_ID: u32 = 1; pub const CRYPT_ENCRYPT_ALG_OID_GROUP_ID: u32 = 2; pub const CRYPT_PUBKEY_ALG_OID_GROUP_ID: u32 = 3; @@ -16505,26 +16487,26 @@ pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: u32 = 268369920; pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: u32 = 16; pub const CRYPT_INSTALL_OID_INFO_BEFORE_FLAG: u32 = 1; pub const CRYPT_LOCALIZED_NAME_ENCODING_TYPE: u32 = 0; -pub const CRYPT_LOCALIZED_NAME_OID: &[u8; 15usize] = b"LocalizedNames\0"; -pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: &[u8; 6usize] = b"ECDSA\0"; +pub const CRYPT_LOCALIZED_NAME_OID: &[u8; 15] = b"LocalizedNames\0"; +pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: &[u8; 6] = b"ECDSA\0"; pub const CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE: u32 = 1; pub const CERT_STRONG_SIGN_OID_INFO_CHOICE: u32 = 2; pub const CERT_STRONG_SIGN_ENABLE_CRL_CHECK: u32 = 1; pub const CERT_STRONG_SIGN_ENABLE_OCSP_CHECK: u32 = 2; -pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: &[u8; 22usize] = b"1.3.6.1.4.1.311.72.1.\0"; -pub const szOID_CERT_STRONG_SIGN_OS_1: &[u8; 23usize] = b"1.3.6.1.4.1.311.72.1.1\0"; -pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: &[u8; 23usize] = b"1.3.6.1.4.1.311.72.1.1\0"; -pub const szOID_CERT_STRONG_KEY_OS_PREFIX: &[u8; 22usize] = b"1.3.6.1.4.1.311.72.2.\0"; -pub const szOID_CERT_STRONG_KEY_OS_1: &[u8; 23usize] = b"1.3.6.1.4.1.311.72.2.1\0"; -pub const szOID_CERT_STRONG_KEY_OS_CURRENT: &[u8; 23usize] = b"1.3.6.1.4.1.311.72.2.1\0"; -pub const szOID_PKCS_7_DATA: &[u8; 21usize] = b"1.2.840.113549.1.7.1\0"; -pub const szOID_PKCS_7_SIGNED: &[u8; 21usize] = b"1.2.840.113549.1.7.2\0"; -pub const szOID_PKCS_7_ENVELOPED: &[u8; 21usize] = b"1.2.840.113549.1.7.3\0"; -pub const szOID_PKCS_7_SIGNEDANDENVELOPED: &[u8; 21usize] = b"1.2.840.113549.1.7.4\0"; -pub const szOID_PKCS_7_DIGESTED: &[u8; 21usize] = b"1.2.840.113549.1.7.5\0"; -pub const szOID_PKCS_7_ENCRYPTED: &[u8; 21usize] = b"1.2.840.113549.1.7.6\0"; -pub const szOID_PKCS_9_CONTENT_TYPE: &[u8; 21usize] = b"1.2.840.113549.1.9.3\0"; -pub const szOID_PKCS_9_MESSAGE_DIGEST: &[u8; 21usize] = b"1.2.840.113549.1.9.4\0"; +pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: &[u8; 22] = b"1.3.6.1.4.1.311.72.1.\0"; +pub const szOID_CERT_STRONG_SIGN_OS_1: &[u8; 23] = b"1.3.6.1.4.1.311.72.1.1\0"; +pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: &[u8; 23] = b"1.3.6.1.4.1.311.72.1.1\0"; +pub const szOID_CERT_STRONG_KEY_OS_PREFIX: &[u8; 22] = b"1.3.6.1.4.1.311.72.2.\0"; +pub const szOID_CERT_STRONG_KEY_OS_1: &[u8; 23] = b"1.3.6.1.4.1.311.72.2.1\0"; +pub const szOID_CERT_STRONG_KEY_OS_CURRENT: &[u8; 23] = b"1.3.6.1.4.1.311.72.2.1\0"; +pub const szOID_PKCS_7_DATA: &[u8; 21] = b"1.2.840.113549.1.7.1\0"; +pub const szOID_PKCS_7_SIGNED: &[u8; 21] = b"1.2.840.113549.1.7.2\0"; +pub const szOID_PKCS_7_ENVELOPED: &[u8; 21] = b"1.2.840.113549.1.7.3\0"; +pub const szOID_PKCS_7_SIGNEDANDENVELOPED: &[u8; 21] = b"1.2.840.113549.1.7.4\0"; +pub const szOID_PKCS_7_DIGESTED: &[u8; 21] = b"1.2.840.113549.1.7.5\0"; +pub const szOID_PKCS_7_ENCRYPTED: &[u8; 21] = b"1.2.840.113549.1.7.6\0"; +pub const szOID_PKCS_9_CONTENT_TYPE: &[u8; 21] = b"1.2.840.113549.1.9.3\0"; +pub const szOID_PKCS_9_MESSAGE_DIGEST: &[u8; 21] = b"1.2.840.113549.1.9.4\0"; pub const CMSG_DATA: u32 = 1; pub const CMSG_SIGNED: u32 = 2; pub const CMSG_ENVELOPED: u32 = 3; @@ -16644,46 +16626,45 @@ pub const CMSG_VERIFY_SIGNER_CERT: u32 = 2; pub const CMSG_VERIFY_SIGNER_CHAIN: u32 = 3; pub const CMSG_VERIFY_SIGNER_NULL: u32 = 4; pub const CMSG_VERIFY_COUNTER_SIGN_ENABLE_STRONG_FLAG: u32 = 1; -pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: &[u8; 25usize] = b"CryptMsgDllGenEncryptKey\0"; -pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: &[u8; 28usize] = b"CryptMsgDllExportEncryptKey\0"; -pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: &[u8; 28usize] = b"CryptMsgDllImportEncryptKey\0"; +pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: &[u8; 25] = b"CryptMsgDllGenEncryptKey\0"; +pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: &[u8; 28] = b"CryptMsgDllExportEncryptKey\0"; +pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: &[u8; 28] = b"CryptMsgDllImportEncryptKey\0"; pub const CMSG_CONTENT_ENCRYPT_PAD_ENCODED_LEN_FLAG: u32 = 1; pub const CMSG_CONTENT_ENCRYPT_FREE_PARA_FLAG: u32 = 1; pub const CMSG_CONTENT_ENCRYPT_FREE_OBJID_FLAG: u32 = 2; pub const CMSG_CONTENT_ENCRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768; -pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 32usize] = - b"CryptMsgDllGenContentEncryptKey\0"; -pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 32usize] = +pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 32] = b"CryptMsgDllGenContentEncryptKey\0"; +pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 32] = b"CryptMsgDllGenContentEncryptKey\0"; -pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 35usize] = +pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 35] = b"CryptMsgDllCNGGenContentEncryptKey\0"; pub const CMSG_KEY_TRANS_ENCRYPT_FREE_PARA_FLAG: u32 = 1; pub const CMSG_KEY_TRANS_ENCRYPT_FREE_OBJID_FLAG: u32 = 2; -pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: &[u8; 26usize] = b"CryptMsgDllExportKeyTrans\0"; -pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: &[u8; 26usize] = b"CryptMsgDllExportKeyTrans\0"; -pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: &[u8; 29usize] = b"CryptMsgDllCNGExportKeyTrans\0"; +pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: &[u8; 26] = b"CryptMsgDllExportKeyTrans\0"; +pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: &[u8; 26] = b"CryptMsgDllExportKeyTrans\0"; +pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: &[u8; 29] = b"CryptMsgDllCNGExportKeyTrans\0"; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PARA_FLAG: u32 = 1; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_MATERIAL_FLAG: u32 = 2; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_ALG_FLAG: u32 = 4; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_PARA_FLAG: u32 = 8; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_BITS_FLAG: u32 = 16; pub const CMSG_KEY_AGREE_ENCRYPT_FREE_OBJID_FLAG: u32 = 32; -pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: &[u8; 26usize] = b"CryptMsgDllExportKeyAgree\0"; -pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: &[u8; 26usize] = b"CryptMsgDllExportKeyAgree\0"; -pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: &[u8; 29usize] = b"CryptMsgDllCNGExportKeyAgree\0"; +pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: &[u8; 26] = b"CryptMsgDllExportKeyAgree\0"; +pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: &[u8; 26] = b"CryptMsgDllExportKeyAgree\0"; +pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: &[u8; 29] = b"CryptMsgDllCNGExportKeyAgree\0"; pub const CMSG_MAIL_LIST_ENCRYPT_FREE_PARA_FLAG: u32 = 1; pub const CMSG_MAIL_LIST_ENCRYPT_FREE_OBJID_FLAG: u32 = 2; -pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: &[u8; 26usize] = b"CryptMsgDllExportMailList\0"; -pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: &[u8; 26usize] = b"CryptMsgDllExportMailList\0"; -pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: &[u8; 26usize] = b"CryptMsgDllImportKeyTrans\0"; -pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: &[u8; 26usize] = b"CryptMsgDllImportKeyTrans\0"; -pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: &[u8; 26usize] = b"CryptMsgDllImportKeyAgree\0"; -pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: &[u8; 26usize] = b"CryptMsgDllImportKeyAgree\0"; -pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: &[u8; 26usize] = b"CryptMsgDllImportMailList\0"; -pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: &[u8; 26usize] = b"CryptMsgDllImportMailList\0"; -pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: &[u8; 29usize] = b"CryptMsgDllCNGImportKeyTrans\0"; -pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: &[u8; 29usize] = b"CryptMsgDllCNGImportKeyAgree\0"; -pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 38usize] = +pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: &[u8; 26] = b"CryptMsgDllExportMailList\0"; +pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: &[u8; 26] = b"CryptMsgDllExportMailList\0"; +pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: &[u8; 26] = b"CryptMsgDllImportKeyTrans\0"; +pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: &[u8; 26] = b"CryptMsgDllImportKeyTrans\0"; +pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: &[u8; 26] = b"CryptMsgDllImportKeyAgree\0"; +pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: &[u8; 26] = b"CryptMsgDllImportKeyAgree\0"; +pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: &[u8; 26] = b"CryptMsgDllImportMailList\0"; +pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: &[u8; 26] = b"CryptMsgDllImportMailList\0"; +pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: &[u8; 29] = b"CryptMsgDllCNGImportKeyTrans\0"; +pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: &[u8; 29] = b"CryptMsgDllCNGImportKeyAgree\0"; +pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: &[u8; 38] = b"CryptMsgDllCNGImportContentEncryptKey\0"; pub const CERT_KEY_PROV_HANDLE_PROP_ID: u32 = 1; pub const CERT_KEY_PROV_INFO_PROP_ID: u32 = 2; @@ -16784,45 +16765,43 @@ pub const CERT_FIRST_RESERVED_PROP_ID: u32 = 128; pub const CERT_LAST_RESERVED_PROP_ID: u32 = 32767; pub const CERT_FIRST_USER_PROP_ID: u32 = 32768; pub const CERT_LAST_USER_PROP_ID: u32 = 65535; -pub const szOID_CERT_PROP_ID_PREFIX: &[u8; 23usize] = b"1.3.6.1.4.1.311.10.11.\0"; -pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.11.20\0"; -pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: &[u8; 25usize] = +pub const szOID_CERT_PROP_ID_PREFIX: &[u8; 23] = b"1.3.6.1.4.1.311.10.11.\0"; +pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: &[u8; 25] = b"1.3.6.1.4.1.311.10.11.20\0"; +pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: &[u8; 25] = b"1.3.6.1.4.1.311.10.11.28\0"; -pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.11.29\0"; -pub const szOID_CERT_MD5_HASH_PROP_ID: &[u8; 24usize] = b"1.3.6.1.4.1.311.10.11.4\0"; -pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.11.15\0"; -pub const szOID_DISALLOWED_HASH: &[u8; 25usize] = b"1.3.6.1.4.1.311.10.11.15\0"; -pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: &[u8; 26usize] = b"1.3.6.1.4.1.311.10.11.104\0"; +pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: &[u8; 25] = b"1.3.6.1.4.1.311.10.11.29\0"; +pub const szOID_CERT_MD5_HASH_PROP_ID: &[u8; 24] = b"1.3.6.1.4.1.311.10.11.4\0"; +pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: &[u8; 25] = b"1.3.6.1.4.1.311.10.11.15\0"; +pub const szOID_DISALLOWED_HASH: &[u8; 25] = b"1.3.6.1.4.1.311.10.11.15\0"; +pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: &[u8; 26] = b"1.3.6.1.4.1.311.10.11.104\0"; pub const CERT_ACCESS_STATE_WRITE_PERSIST_FLAG: u32 = 1; pub const CERT_ACCESS_STATE_SYSTEM_STORE_FLAG: u32 = 2; pub const CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG: u32 = 4; pub const CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG: u32 = 8; pub const CERT_ACCESS_STATE_SHARED_USER_FLAG: u32 = 16; -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: &[u8; 23usize] = - b"1.3.6.1.4.1.311.60.3.1\0"; -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: &[u8; 23usize] = - b"1.3.6.1.4.1.311.60.3.2\0"; -pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: &[u8; 23usize] = b"1.3.6.1.4.1.311.60.3.3\0"; +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: &[u8; 23] = b"1.3.6.1.4.1.311.60.3.1\0"; +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: &[u8; 23] = b"1.3.6.1.4.1.311.60.3.2\0"; +pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: &[u8; 23] = b"1.3.6.1.4.1.311.60.3.3\0"; pub const CERT_SET_KEY_PROV_HANDLE_PROP_ID: u32 = 1; pub const CERT_SET_KEY_CONTEXT_PROP_ID: u32 = 1; pub const CERT_NCRYPT_KEY_SPEC: u32 = 4294967295; -pub const sz_CERT_STORE_PROV_MEMORY: &[u8; 7usize] = b"Memory\0"; -pub const sz_CERT_STORE_PROV_FILENAME_W: &[u8; 5usize] = b"File\0"; -pub const sz_CERT_STORE_PROV_FILENAME: &[u8; 5usize] = b"File\0"; -pub const sz_CERT_STORE_PROV_SYSTEM_W: &[u8; 7usize] = b"System\0"; -pub const sz_CERT_STORE_PROV_SYSTEM: &[u8; 7usize] = b"System\0"; -pub const sz_CERT_STORE_PROV_PKCS7: &[u8; 6usize] = b"PKCS7\0"; -pub const sz_CERT_STORE_PROV_PKCS12: &[u8; 7usize] = b"PKCS12\0"; -pub const sz_CERT_STORE_PROV_SERIALIZED: &[u8; 11usize] = b"Serialized\0"; -pub const sz_CERT_STORE_PROV_COLLECTION: &[u8; 11usize] = b"Collection\0"; -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: &[u8; 15usize] = b"SystemRegistry\0"; -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: &[u8; 15usize] = b"SystemRegistry\0"; -pub const sz_CERT_STORE_PROV_PHYSICAL_W: &[u8; 9usize] = b"Physical\0"; -pub const sz_CERT_STORE_PROV_PHYSICAL: &[u8; 9usize] = b"Physical\0"; -pub const sz_CERT_STORE_PROV_SMART_CARD_W: &[u8; 10usize] = b"SmartCard\0"; -pub const sz_CERT_STORE_PROV_SMART_CARD: &[u8; 10usize] = b"SmartCard\0"; -pub const sz_CERT_STORE_PROV_LDAP_W: &[u8; 5usize] = b"Ldap\0"; -pub const sz_CERT_STORE_PROV_LDAP: &[u8; 5usize] = b"Ldap\0"; +pub const sz_CERT_STORE_PROV_MEMORY: &[u8; 7] = b"Memory\0"; +pub const sz_CERT_STORE_PROV_FILENAME_W: &[u8; 5] = b"File\0"; +pub const sz_CERT_STORE_PROV_FILENAME: &[u8; 5] = b"File\0"; +pub const sz_CERT_STORE_PROV_SYSTEM_W: &[u8; 7] = b"System\0"; +pub const sz_CERT_STORE_PROV_SYSTEM: &[u8; 7] = b"System\0"; +pub const sz_CERT_STORE_PROV_PKCS7: &[u8; 6] = b"PKCS7\0"; +pub const sz_CERT_STORE_PROV_PKCS12: &[u8; 7] = b"PKCS12\0"; +pub const sz_CERT_STORE_PROV_SERIALIZED: &[u8; 11] = b"Serialized\0"; +pub const sz_CERT_STORE_PROV_COLLECTION: &[u8; 11] = b"Collection\0"; +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: &[u8; 15] = b"SystemRegistry\0"; +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: &[u8; 15] = b"SystemRegistry\0"; +pub const sz_CERT_STORE_PROV_PHYSICAL_W: &[u8; 9] = b"Physical\0"; +pub const sz_CERT_STORE_PROV_PHYSICAL: &[u8; 9] = b"Physical\0"; +pub const sz_CERT_STORE_PROV_SMART_CARD_W: &[u8; 10] = b"SmartCard\0"; +pub const sz_CERT_STORE_PROV_SMART_CARD: &[u8; 10] = b"SmartCard\0"; +pub const sz_CERT_STORE_PROV_LDAP_W: &[u8; 5] = b"Ldap\0"; +pub const sz_CERT_STORE_PROV_LDAP: &[u8; 5] = b"Ldap\0"; pub const CERT_STORE_SIGNATURE_FLAG: u32 = 1; pub const CERT_STORE_TIME_VALIDITY_FLAG: u32 = 2; pub const CERT_STORE_REVOCATION_FLAG: u32 = 4; @@ -16869,14 +16848,14 @@ pub const CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY: u32 = 458752; pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY: u32 = 524288; pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE: u32 = 589824; pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_WCOS: u32 = 655360; -pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: &[u8; 47usize] = +pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: &[u8; 47] = b"Software\\Policies\\Microsoft\\SystemCertificates\0"; -pub const CERT_EFSBLOB_REGPATH: &[u8; 51usize] = +pub const CERT_EFSBLOB_REGPATH: &[u8; 51] = b"Software\\Policies\\Microsoft\\SystemCertificates\\EFS\0"; -pub const CERT_EFSBLOB_VALUE_NAME: &[u8; 8usize] = b"EFSBlob\0"; -pub const CERT_PROT_ROOT_FLAGS_REGPATH: &[u8; 67usize] = +pub const CERT_EFSBLOB_VALUE_NAME: &[u8; 8] = b"EFSBlob\0"; +pub const CERT_PROT_ROOT_FLAGS_REGPATH: &[u8; 67] = b"Software\\Policies\\Microsoft\\SystemCertificates\\Root\\ProtectedRoots\0"; -pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: &[u8; 6usize] = b"Flags\0"; +pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: &[u8; 6] = b"Flags\0"; pub const CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG: u32 = 1; pub const CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG: u32 = 2; pub const CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG: u32 = 4; @@ -16885,74 +16864,71 @@ pub const CERT_PROT_ROOT_ONLY_LM_GPT_FLAG: u32 = 8; pub const CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG: u32 = 16; pub const CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG: u32 = 32; pub const CERT_PROT_ROOT_DISABLE_PEER_TRUST: u32 = 65536; -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: &[u8; 11usize] = b"PeerUsages\0"; -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: &[u8; 11usize] = b"PeerUsages\0"; -pub const CERT_PROT_ROOT_PEER_USAGES_DEFAULT_A: &[u8; 60usize] = - b"1.3.6.1.5.5.7.3.2\01.3.6.1.5.5.7.3.4\01.3.6.1.4.1.311.10.3.4\0\0"; -pub const CERT_TRUST_PUB_SAFER_GROUP_POLICY_REGPATH: &[u8; 70usize] = +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: &[u8; 11] = b"PeerUsages\0"; +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: &[u8; 11] = b"PeerUsages\0"; +pub const CERT_PROT_ROOT_PEER_USAGES_DEFAULT_A: &[u8; 60] = + b"1.3.6.1.5.5.7.3.2\x001.3.6.1.5.5.7.3.4\x001.3.6.1.4.1.311.10.3.4\0\0"; +pub const CERT_TRUST_PUB_SAFER_GROUP_POLICY_REGPATH: &[u8; 70] = b"Software\\Policies\\Microsoft\\SystemCertificates\\TrustedPublisher\\Safer\0"; -pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: &[u8; 38usize] = +pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: &[u8; 38] = b"Software\\Microsoft\\SystemCertificates\0"; -pub const CERT_TRUST_PUB_SAFER_LOCAL_MACHINE_REGPATH: &[u8; 61usize] = +pub const CERT_TRUST_PUB_SAFER_LOCAL_MACHINE_REGPATH: &[u8; 61] = b"Software\\Microsoft\\SystemCertificates\\TrustedPublisher\\Safer\0"; -pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: &[u8; 18usize] = b"AuthenticodeFlags\0"; +pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: &[u8; 18] = b"AuthenticodeFlags\0"; pub const CERT_TRUST_PUB_ALLOW_TRUST_MASK: u32 = 3; pub const CERT_TRUST_PUB_ALLOW_END_USER_TRUST: u32 = 0; pub const CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST: u32 = 1; pub const CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST: u32 = 2; pub const CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG: u32 = 256; pub const CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG: u32 = 512; -pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: &[u8; 73usize] = +pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: &[u8; 73] = b"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents\0"; -pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: &[u8; 15usize] = b"RootAutoUpdate\0"; -pub const CERT_DISABLE_ROOT_AUTO_UPDATE_REGPATH: &[u8; 56usize] = +pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: &[u8; 15] = b"RootAutoUpdate\0"; +pub const CERT_DISABLE_ROOT_AUTO_UPDATE_REGPATH: &[u8; 56] = b"Software\\Policies\\Microsoft\\SystemCertificates\\AuthRoot\0"; -pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: &[u8; 22usize] = b"DisableRootAutoUpdate\0"; -pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: &[u8; 31usize] = +pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: &[u8; 22] = b"DisableRootAutoUpdate\0"; +pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: &[u8; 31] = b"EnableDisallowedCertAutoUpdate\0"; -pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: &[u8; 26usize] = - b"DisablePinRulesAutoUpdate\0"; -pub const CERT_AUTO_UPDATE_LOCAL_MACHINE_REGPATH: &[u8; 58usize] = +pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: &[u8; 26] = b"DisablePinRulesAutoUpdate\0"; +pub const CERT_AUTO_UPDATE_LOCAL_MACHINE_REGPATH: &[u8; 58] = b"Software\\Microsoft\\SystemCertificates\\AuthRoot\\AutoUpdate\0"; -pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &[u8; 11usize] = b"RootDirUrl\0"; -pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: &[u8; 15usize] = b"SyncFromDirUrl\0"; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_LOCAL_MACHINE_REGPATH: &[u8; 58usize] = +pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &[u8; 11] = b"RootDirUrl\0"; +pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: &[u8; 15] = b"SyncFromDirUrl\0"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_LOCAL_MACHINE_REGPATH: &[u8; 58] = b"Software\\Microsoft\\SystemCertificates\\AuthRoot\\AutoUpdate\0"; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &[u8; 11usize] = b"RootDirUrl\0"; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 14usize] = - b"SyncDeltaTime\0"; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: &[u8; 6usize] = b"Flags\0"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &[u8; 11] = b"RootDirUrl\0"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 14] = b"SyncDeltaTime\0"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: &[u8; 6] = b"Flags\0"; pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG: u32 = 1; pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG: u32 = 2; pub const CERT_AUTO_UPDATE_DISABLE_RANDOM_QUERY_STRING_FLAG: u32 = 4; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 13usize] = b"LastSyncTime\0"; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 11usize] = b"EncodedCtl\0"; -pub const CERT_AUTH_ROOT_CTL_FILENAME: &[u8; 13usize] = b"authroot.stl\0"; -pub const CERT_AUTH_ROOT_CTL_FILENAME_A: &[u8; 13usize] = b"authroot.stl\0"; -pub const CERT_AUTH_ROOT_CAB_FILENAME: &[u8; 16usize] = b"authrootstl.cab\0"; -pub const CERT_AUTH_ROOT_SEQ_FILENAME: &[u8; 16usize] = b"authrootseq.txt\0"; -pub const CERT_AUTH_ROOT_CERT_EXT: &[u8; 5usize] = b".crt\0"; -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 28usize] = +pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 13] = b"LastSyncTime\0"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 11] = b"EncodedCtl\0"; +pub const CERT_AUTH_ROOT_CTL_FILENAME: &[u8; 13] = b"authroot.stl\0"; +pub const CERT_AUTH_ROOT_CTL_FILENAME_A: &[u8; 13] = b"authroot.stl\0"; +pub const CERT_AUTH_ROOT_CAB_FILENAME: &[u8; 16] = b"authrootstl.cab\0"; +pub const CERT_AUTH_ROOT_SEQ_FILENAME: &[u8; 16] = b"authrootseq.txt\0"; +pub const CERT_AUTH_ROOT_CERT_EXT: &[u8; 5] = b".crt\0"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 28] = b"DisallowedCertSyncDeltaTime\0"; -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 27usize] = +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 27] = b"DisallowedCertLastSyncTime\0"; -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 25usize] = +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 25] = b"DisallowedCertEncodedCtl\0"; -pub const CERT_DISALLOWED_CERT_CTL_FILENAME: &[u8; 19usize] = b"disallowedcert.stl\0"; -pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: &[u8; 19usize] = b"disallowedcert.stl\0"; -pub const CERT_DISALLOWED_CERT_CAB_FILENAME: &[u8; 22usize] = b"disallowedcertstl.cab\0"; -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: &[u8; 28usize] = +pub const CERT_DISALLOWED_CERT_CTL_FILENAME: &[u8; 19] = b"disallowedcert.stl\0"; +pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: &[u8; 19] = b"disallowedcert.stl\0"; +pub const CERT_DISALLOWED_CERT_CAB_FILENAME: &[u8; 22] = b"disallowedcertstl.cab\0"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: &[u8; 28] = b"DisallowedCert_AutoUpdate_1\0"; -pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 22usize] = +pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &[u8; 22] = b"PinRulesSyncDeltaTime\0"; -pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 21usize] = +pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &[u8; 21] = b"PinRulesLastSyncTime\0"; -pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 19usize] = - b"PinRulesEncodedCtl\0"; -pub const CERT_PIN_RULES_CTL_FILENAME: &[u8; 13usize] = b"pinrules.stl\0"; -pub const CERT_PIN_RULES_CTL_FILENAME_A: &[u8; 13usize] = b"pinrules.stl\0"; -pub const CERT_PIN_RULES_CAB_FILENAME: &[u8; 16usize] = b"pinrulesstl.cab\0"; -pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: &[u8; 22usize] = b"PinRules_AutoUpdate_1\0"; +pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &[u8; 19] = b"PinRulesEncodedCtl\0"; +pub const CERT_PIN_RULES_CTL_FILENAME: &[u8; 13] = b"pinrules.stl\0"; +pub const CERT_PIN_RULES_CTL_FILENAME_A: &[u8; 13] = b"pinrules.stl\0"; +pub const CERT_PIN_RULES_CAB_FILENAME: &[u8; 16] = b"pinrulesstl.cab\0"; +pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: &[u8; 22] = b"PinRules_AutoUpdate_1\0"; pub const CERT_REGISTRY_STORE_REMOTE_FLAG: u32 = 65536; pub const CERT_REGISTRY_STORE_SERIALIZED_FLAG: u32 = 131072; pub const CERT_REGISTRY_STORE_CLIENT_GPT_FLAG: u32 = 2147483648; @@ -16960,14 +16936,14 @@ pub const CERT_REGISTRY_STORE_LM_GPT_FLAG: u32 = 16777216; pub const CERT_REGISTRY_STORE_ROAMING_FLAG: u32 = 262144; pub const CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG: u32 = 524288; pub const CERT_REGISTRY_STORE_EXTERNAL_FLAG: u32 = 1048576; -pub const CERT_IE_DIRTY_FLAGS_REGPATH: &[u8; 45usize] = +pub const CERT_IE_DIRTY_FLAGS_REGPATH: &[u8; 45] = b"Software\\Microsoft\\Cryptography\\IEDirtyFlags\0"; pub const CERT_FILE_STORE_COMMIT_ENABLE_FLAG: u32 = 65536; pub const CERT_LDAP_STORE_SIGN_FLAG: u32 = 65536; pub const CERT_LDAP_STORE_AREC_EXCLUSIVE_FLAG: u32 = 131072; pub const CERT_LDAP_STORE_OPENED_FLAG: u32 = 262144; pub const CERT_LDAP_STORE_UNBIND_FLAG: u32 = 524288; -pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: &[u8; 21usize] = b"CertDllOpenStoreProv\0"; +pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: &[u8; 21] = b"CertDllOpenStoreProv\0"; pub const CERT_STORE_PROV_EXTERNAL_FLAG: u32 = 1; pub const CERT_STORE_PROV_DELETED_FLAG: u32 = 2; pub const CERT_STORE_PROV_NO_PERSIST_FLAG: u32 = 4; @@ -17131,26 +17107,23 @@ pub const CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG: u32 = 2; pub const CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG: u32 = 4; pub const CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG: u32 = 8; pub const CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG: u32 = 1; -pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: &[u8; 9usize] = b".Default\0"; -pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: &[u8; 13usize] = b".GroupPolicy\0"; -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: &[u8; 14usize] = b".LocalMachine\0"; -pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: &[u8; 17usize] = b".UserCertificate\0"; -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: &[u8; 25usize] = +pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: &[u8; 9] = b".Default\0"; +pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: &[u8; 13] = b".GroupPolicy\0"; +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: &[u8; 14] = b".LocalMachine\0"; +pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: &[u8; 17] = b".UserCertificate\0"; +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: &[u8; 25] = b".LocalMachineGroupPolicy\0"; -pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: &[u8; 12usize] = b".Enterprise\0"; -pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: &[u8; 10usize] = b".AuthRoot\0"; -pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: &[u8; 11usize] = b".SmartCard\0"; -pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: &[u8; 27usize] = b"CertDllOpenSystemStoreProv\0"; -pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: &[u8; 27usize] = b"CertDllRegisterSystemStore\0"; -pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: &[u8; 29usize] = - b"CertDllUnregisterSystemStore\0"; -pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: &[u8; 23usize] = b"CertDllEnumSystemStore\0"; -pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: &[u8; 29usize] = - b"CertDllRegisterPhysicalStore\0"; -pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: &[u8; 31usize] = - b"CertDllUnregisterPhysicalStore\0"; -pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: &[u8; 25usize] = b"CertDllEnumPhysicalStore\0"; -pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: &[u8; 20usize] = b"SystemStoreLocation\0"; +pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: &[u8; 12] = b".Enterprise\0"; +pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: &[u8; 10] = b".AuthRoot\0"; +pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: &[u8; 11] = b".SmartCard\0"; +pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: &[u8; 27] = b"CertDllOpenSystemStoreProv\0"; +pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: &[u8; 27] = b"CertDllRegisterSystemStore\0"; +pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: &[u8; 29] = b"CertDllUnregisterSystemStore\0"; +pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: &[u8; 23] = b"CertDllEnumSystemStore\0"; +pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: &[u8; 29] = b"CertDllRegisterPhysicalStore\0"; +pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: &[u8; 31] = b"CertDllUnregisterPhysicalStore\0"; +pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: &[u8; 25] = b"CertDllEnumPhysicalStore\0"; +pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: &[u8; 20] = b"SystemStoreLocation\0"; pub const CMSG_TRUSTED_SIGNER_FLAG: u32 = 1; pub const CMSG_SIGNER_ONLY_FLAG: u32 = 2; pub const CMSG_USE_SIGNER_INDEX_FLAG: u32 = 4; @@ -17183,24 +17156,21 @@ pub const CRYPT_VERIFY_CERT_SIGN_DISABLE_MD2_MD4_FLAG: u32 = 1; pub const CRYPT_VERIFY_CERT_SIGN_SET_STRONG_PROPERTIES_FLAG: u32 = 2; pub const CRYPT_VERIFY_CERT_SIGN_RETURN_STRONG_PROPERTIES_FLAG: u32 = 4; pub const CRYPT_VERIFY_CERT_SIGN_CHECK_WEAK_HASH_FLAG: u32 = 8; -pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: &[u8; 42usize] = +pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: &[u8; 42] = b"CryptDllExtractEncodedSignatureParameters\0"; -pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: &[u8; 26usize] = b"CryptDllSignAndEncodeHash\0"; -pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: &[u8; 31usize] = - b"CryptDllVerifyEncodedSignature\0"; +pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: &[u8; 26] = b"CryptDllSignAndEncodeHash\0"; +pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: &[u8; 31] = b"CryptDllVerifyEncodedSignature\0"; pub const CRYPT_DEFAULT_CONTEXT_AUTO_RELEASE_FLAG: u32 = 1; pub const CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG: u32 = 2; pub const CRYPT_DEFAULT_CONTEXT_CERT_SIGN_OID: u32 = 1; pub const CRYPT_DEFAULT_CONTEXT_MULTI_CERT_SIGN_OID: u32 = 2; -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: &[u8; 30usize] = - b"CryptDllExportPublicKeyInfoEx\0"; -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: &[u8; 31usize] = +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: &[u8; 30] = b"CryptDllExportPublicKeyInfoEx\0"; +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: &[u8; 31] = b"CryptDllExportPublicKeyInfoEx2\0"; -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: &[u8; 47usize] = +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: &[u8; 47] = b"CryptDllExportPublicKeyInfoFromBCryptKeyHandle\0"; -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: &[u8; 30usize] = - b"CryptDllImportPublicKeyInfoEx\0"; -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: &[u8; 31usize] = +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: &[u8; 30] = b"CryptDllImportPublicKeyInfoEx\0"; +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: &[u8; 31] = b"CryptDllImportPublicKeyInfoEx2\0"; pub const CRYPT_ACQUIRE_CACHE_FLAG: u32 = 1; pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: u32 = 2; @@ -17215,10 +17185,8 @@ pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: u32 = 262144; pub const CRYPT_FIND_USER_KEYSET_FLAG: u32 = 1; pub const CRYPT_FIND_MACHINE_KEYSET_FLAG: u32 = 2; pub const CRYPT_FIND_SILENT_KEYSET_FLAG: u32 = 64; -pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: &[u8; 31usize] = - b"CryptDllImportPrivateKeyInfoEx\0"; -pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: &[u8; 31usize] = - b"CryptDllExportPrivateKeyInfoEx\0"; +pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: &[u8; 31] = b"CryptDllImportPrivateKeyInfoEx\0"; +pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: &[u8; 31] = b"CryptDllExportPrivateKeyInfoEx\0"; pub const CRYPT_DELETE_KEYSET: u32 = 16; pub const CERT_SIMPLE_NAME_STR: u32 = 1; pub const CERT_OID_NAME_STR: u32 = 2; @@ -17292,12 +17260,10 @@ pub const CERT_QUERY_FORMAT_FLAG_BINARY: u32 = 2; pub const CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED: u32 = 4; pub const CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED: u32 = 8; pub const CERT_QUERY_FORMAT_FLAG_ALL: u32 = 14; -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: &[u8; 31usize] = - b"SchemeDllRetrieveEncodedObject\0"; -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: &[u8; 32usize] = +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: &[u8; 31] = b"SchemeDllRetrieveEncodedObject\0"; +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: &[u8; 32] = b"SchemeDllRetrieveEncodedObjectW\0"; -pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: &[u8; 30usize] = - b"ContextDllCreateObjectContext\0"; +pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: &[u8; 30] = b"ContextDllCreateObjectContext\0"; pub const CRYPT_RETRIEVE_MULTIPLE_OBJECTS: u32 = 1; pub const CRYPT_CACHE_ONLY_RETRIEVAL: u32 = 2; pub const CRYPT_WIRE_ONLY_RETRIEVAL: u32 = 4; @@ -17344,76 +17310,70 @@ pub const CRYPT_GET_URL_FROM_PROPERTY: u32 = 1; pub const CRYPT_GET_URL_FROM_EXTENSION: u32 = 2; pub const CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE: u32 = 4; pub const CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE: u32 = 8; -pub const URL_OID_GET_OBJECT_URL_FUNC: &[u8; 19usize] = b"UrlDllGetObjectUrl\0"; -pub const TIME_VALID_OID_GET_OBJECT_FUNC: &[u8; 22usize] = b"TimeValidDllGetObject\0"; -pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: &[u8; 24usize] = b"TimeValidDllFlushObject\0"; +pub const URL_OID_GET_OBJECT_URL_FUNC: &[u8; 19] = b"UrlDllGetObjectUrl\0"; +pub const TIME_VALID_OID_GET_OBJECT_FUNC: &[u8; 22] = b"TimeValidDllGetObject\0"; +pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: &[u8; 24] = b"TimeValidDllFlushObject\0"; pub const CERT_CREATE_SELFSIGN_NO_SIGN: u32 = 1; pub const CERT_CREATE_SELFSIGN_NO_KEY_INFO: u32 = 2; pub const CRYPT_KEYID_MACHINE_FLAG: u32 = 32; pub const CRYPT_KEYID_ALLOC_FLAG: u32 = 32768; pub const CRYPT_KEYID_DELETE_FLAG: u32 = 16; pub const CRYPT_KEYID_SET_NEW_FLAG: u32 = 8192; -pub const CERT_CHAIN_CONFIG_REGPATH : & [u8 ; 94usize] = b"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config\0" ; -pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &[u8; 25usize] = +pub const CERT_CHAIN_CONFIG_REGPATH : & [u8 ; 94] = b"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config\0" ; +pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &[u8; 25] = b"MaxUrlRetrievalByteCount\0"; pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 104857600; -pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: &[u8; 25usize] = - b"ChainCacheResyncFiletime\0"; -pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: &[u8; 33usize] = +pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: &[u8; 25] = b"ChainCacheResyncFiletime\0"; +pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: &[u8; 33] = b"DisableMandatoryBasicConstraints\0"; -pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: &[u8; 25usize] = +pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: &[u8; 25] = b"DisableCANameConstraints\0"; -pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: &[u8; 37usize] = +pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: &[u8; 37] = b"DisableUnsupportedCriticalExtensions\0"; -pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: &[u8; 21usize] = - b"MaxAIAUrlCountInCert\0"; +pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: &[u8; 21] = b"MaxAIAUrlCountInCert\0"; pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT: u32 = 5; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: &[u8; 32usize] = +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: &[u8; 32] = b"MaxAIAUrlRetrievalCountPerChain\0"; pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT: u32 = 3; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &[u8; 28usize] = +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &[u8; 28] = b"MaxAIAUrlRetrievalByteCount\0"; pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 100000; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: &[u8; 28usize] = +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: &[u8; 28] = b"MaxAIAUrlRetrievalCertCount\0"; pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT: u32 = 10; -pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: &[u8; 20usize] = b"OcspValiditySeconds\0"; +pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: &[u8; 20] = b"OcspValiditySeconds\0"; pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_DEFAULT: u32 = 43200; -pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: &[u8; 19usize] = b"DisableSerialChain\0"; -pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: &[u8; 23usize] = - b"SerialChainLogFileName\0"; -pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: &[u8; 23usize] = - b"DisableSyncWithSslTime\0"; -pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: &[u8; 28usize] = +pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: &[u8; 19] = b"DisableSerialChain\0"; +pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: &[u8; 23] = b"SerialChainLogFileName\0"; +pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: &[u8; 23] = b"DisableSyncWithSslTime\0"; +pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: &[u8; 28] = b"MaxSslTimeUpdatedEventCount\0"; pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DEFAULT: u32 = 5; pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DISABLE: u32 = 4294967295; -pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: &[u8; 24usize] = +pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: &[u8; 24] = b"SslHandshakeLogFileName\0"; -pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: &[u8; 25usize] = +pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: &[u8; 25] = b"EnableWeakSignatureFlags\0"; pub const CERT_CHAIN_ENABLE_MD2_MD4_FLAG: u32 = 1; pub const CERT_CHAIN_ENABLE_WEAK_RSA_ROOT_FLAG: u32 = 2; pub const CERT_CHAIN_ENABLE_WEAK_LOGGING_FLAG: u32 = 4; pub const CERT_CHAIN_ENABLE_ONLY_WEAK_LOGGING_FLAG: u32 = 8; -pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: &[u8; 22usize] = - b"MinRsaPubKeyBitLength\0"; +pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: &[u8; 22] = b"MinRsaPubKeyBitLength\0"; pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DEFAULT: u32 = 1023; pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295; -pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: &[u8; 18usize] = b"WeakRsaPubKeyTime\0"; -pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: &[u8; 20usize] = b"WeakSignatureLogDir\0"; -pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: &[u8; 8usize] = b"Default\0"; -pub const CERT_CHAIN_WEAK_PREFIX_NAME: &[u8; 5usize] = b"Weak\0"; -pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: &[u8; 11usize] = b"ThirdParty\0"; -pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: &[u8; 4usize] = b"All\0"; -pub const CERT_CHAIN_WEAK_FLAGS_NAME: &[u8; 6usize] = b"Flags\0"; -pub const CERT_CHAIN_WEAK_HYGIENE_NAME: &[u8; 8usize] = b"Hygiene\0"; -pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: &[u8; 10usize] = b"AfterTime\0"; -pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: &[u8; 18usize] = b"FileHashAfterTime\0"; -pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: &[u8; 23usize] = - b"TimestampHashAfterTime\0"; -pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: &[u8; 13usize] = b"MinBitLength\0"; -pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: &[u8; 12usize] = b"Sha256Allow\0"; +pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: &[u8; 18] = b"WeakRsaPubKeyTime\0"; +pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: &[u8; 20] = b"WeakSignatureLogDir\0"; +pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: &[u8; 8] = b"Default\0"; +pub const CERT_CHAIN_WEAK_PREFIX_NAME: &[u8; 5] = b"Weak\0"; +pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: &[u8; 11] = b"ThirdParty\0"; +pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: &[u8; 4] = b"All\0"; +pub const CERT_CHAIN_WEAK_FLAGS_NAME: &[u8; 6] = b"Flags\0"; +pub const CERT_CHAIN_WEAK_HYGIENE_NAME: &[u8; 8] = b"Hygiene\0"; +pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: &[u8; 10] = b"AfterTime\0"; +pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: &[u8; 18] = b"FileHashAfterTime\0"; +pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: &[u8; 23] = b"TimestampHashAfterTime\0"; +pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: &[u8; 13] = b"MinBitLength\0"; +pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: &[u8; 12] = b"Sha256Allow\0"; pub const CERT_CHAIN_MIN_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295; pub const CERT_CHAIN_ENABLE_WEAK_SETTINGS_FLAG: u32 = 2147483648; pub const CERT_CHAIN_DISABLE_ECC_PARA_FLAG: u32 = 16; @@ -17449,138 +17409,136 @@ pub const CERT_CHAIN_AUTO_PINRULE_INFO: u32 = 5; pub const CERT_CHAIN_AUTO_NETWORK_INFO: u32 = 6; pub const CERT_CHAIN_AUTO_SERIAL_LOCAL_MACHINE: u32 = 7; pub const CERT_CHAIN_AUTO_HPKP_RULE_INFO: u32 = 8; -pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: &[u8; 10usize] = b"AutoFlags\0"; +pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: &[u8; 10] = b"AutoFlags\0"; pub const CERT_CHAIN_AUTO_FLUSH_DISABLE_FLAG: u32 = 1; pub const CERT_CHAIN_AUTO_LOG_CREATE_FLAG: u32 = 2; pub const CERT_CHAIN_AUTO_LOG_FREE_FLAG: u32 = 4; pub const CERT_CHAIN_AUTO_LOG_FLUSH_FLAG: u32 = 8; pub const CERT_CHAIN_AUTO_LOG_FLAGS: u32 = 14; -pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: &[u8; 27usize] = +pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: &[u8; 27] = b"AutoFlushFirstDeltaSeconds\0"; pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_DEFAULT: u32 = 300; -pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: &[u8; 26usize] = +pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: &[u8; 26] = b"AutoFlushNextDeltaSeconds\0"; pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_DEFAULT: u32 = 1800; -pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: &[u8; 16usize] = b"AutoLogFileName\0"; -pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: &[u8; 32usize] = +pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: &[u8; 16] = b"AutoLogFileName\0"; +pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: &[u8; 32] = b"DisableAutoFlushProcessNameList\0"; -pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: &[u8; 30usize] = +pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: &[u8; 30] = b"SrvOcspRespMinValiditySeconds\0"; pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_DEFAULT: u32 = 600; -pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; 43usize] = +pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; 43] = b"SrvOcspRespUrlRetrievalTimeoutMilliseconds\0"; pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_DEFAULT: u32 = 15000; -pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 38usize] = +pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 38] = b"SrvOcspRespMaxBeforeNextUpdateSeconds\0"; pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 14400; -pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 38usize] = +pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 38] = b"SrvOcspRespMinBeforeNextUpdateSeconds\0"; pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 120; -pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 37usize] = +pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 37] = b"SrvOcspRespMinAfterNextUpdateSeconds\0"; pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 60; -pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &[u8; 34usize] = +pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &[u8; 34] = b"SrvOcspRespMinSyncCertFileSeconds\0"; pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 5; -pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &[u8; 34usize] = +pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &[u8; 34] = b"SrvOcspRespMaxSyncCertFileSeconds\0"; pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 3600; -pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: &[u8; 33usize] = +pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: &[u8; 33] = b"CryptnetMaxCachedOcspPerCrlCount\0"; pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT: u32 = 500; pub const CRYPTNET_OCSP_AFTER_CRL_DISABLE: u32 = 4294967295; -pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: &[u8; 34usize] = +pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: &[u8; 34] = b"CryptnetDefaultFlushExemptSeconds\0"; pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_DEFAULT: u32 = 2419200; -pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 33usize] = +pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 33] = b"CryptnetPreFetchMinMaxAgeSeconds\0"; pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_DEFAULT: u32 = 3600; -pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 33usize] = +pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 33] = b"CryptnetPreFetchMaxMaxAgeSeconds\0"; pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_DEFAULT: u32 = 1209600; -pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: &[u8; 45usize] = +pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: &[u8; 45] = b"CryptnetPreFetchMinOcspValidityPeriodSeconds\0"; pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_DEFAULT: u32 = 1209600; -pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: &[u8; 44usize] = +pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: &[u8; 44] = b"CryptnetPreFetchAfterPublishPreFetchDivisor\0"; pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10; -pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &[u8; 48usize] = +pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &[u8; 48] = b"CryptnetPreFetchBeforeNextUpdatePreFetchDivisor\0"; pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 20; -pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: - &[u8; 51usize] = b"CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds\0"; +pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &[u8; 51] = + b"CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds\0"; pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_DEFAULT: u32 = 3600; pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: - &[u8; 61usize] = b"CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor\0"; + &[u8; 61] = b"CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor\0"; pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10; -pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: - &[u8; 56usize] = b"CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds\0"; +pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &[u8; 56] = + b"CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds\0"; pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_DEFAULT: u32 = 14400; -pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: - &[u8; 56usize] = b"CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds\0"; +pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &[u8; 56] = + b"CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds\0"; pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_DEFAULT: u32 = 1800; -pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &[u8; - 54usize] = b"CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds\0"; +pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &[u8; 54] = + b"CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds\0"; pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_DEFAULT: u32 = 1800; -pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: &[u8; 37usize] = +pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: &[u8; 37] = b"CryptnetPreFetchTriggerPeriodSeconds\0"; pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_DEFAULT: u32 = 600; pub const CRYPTNET_PRE_FETCH_TRIGGER_DISABLE: u32 = 4294967295; -pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: &[u8; 45usize] = +pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: &[u8; 45] = b"CryptnetPreFetchScanAfterTriggerDelaySeconds\0"; pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT: u32 = 60; -pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: &[u8; 40usize] = +pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: &[u8; 40] = b"CryptnetPreFetchRetrievalTimeoutSeconds\0"; pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_DEFAULT: u32 = 300; -pub const CRYPTNET_CRL_PRE_FETCH_CONFIG_REGPATH : & [u8 ; 106usize] = b"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config\\CrlPreFetch\0" ; -pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: &[u8; 16usize] = - b"ProcessNameList\0"; -pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: &[u8; 16usize] = b"PreFetchUrlList\0"; -pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: &[u8; 25usize] = +pub const CRYPTNET_CRL_PRE_FETCH_CONFIG_REGPATH : & [u8 ; 106] = b"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config\\CrlPreFetch\0" ; +pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: &[u8; 16] = b"ProcessNameList\0"; +pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: &[u8; 16] = b"PreFetchUrlList\0"; +pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: &[u8; 25] = b"DisableInformationEvents\0"; -pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: &[u8; 12usize] = b"LogFileName\0"; -pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: &[u8; 15usize] = b"TimeoutSeconds\0"; +pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: &[u8; 12] = b"LogFileName\0"; +pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: &[u8; 15] = b"TimeoutSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_DEFAULT: u32 = 300; -pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 14usize] = b"MaxAgeSeconds\0"; +pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: &[u8; 14] = b"MaxAgeSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_DEFAULT: u32 = 7200; pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_MIN: u32 = 300; -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 31usize] = +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 31] = b"PublishBeforeNextUpdateSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 3600; -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: &[u8; 29usize] = +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: &[u8; 29] = b"PublishRandomIntervalSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_DEFAULT: u32 = 300; -pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 27usize] = +pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 27] = b"MinBeforeNextUpdateSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 300; -pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 26usize] = +pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &[u8; 26] = b"MinAfterNextUpdateSeconds\0"; pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_DEFAULT: u32 = 300; -pub const CERT_GROUP_POLICY_CHAIN_CONFIG_REGPATH: &[u8; 66usize] = +pub const CERT_GROUP_POLICY_CHAIN_CONFIG_REGPATH: &[u8; 66] = b"Software\\Policies\\Microsoft\\SystemCertificates\\ChainEngine\\Config\0"; -pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; 37usize] = +pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; 37] = b"ChainUrlRetrievalTimeoutMilliseconds\0"; pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_DEFAULT: u32 = 15000; -pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; - 52usize] = b"ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds\0"; +pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &[u8; 52] = + b"ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds\0"; pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_DEFAULT: u32 = 20000; -pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: &[u8; 22usize] = b"EnableInetUnknownAuth\0"; -pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: &[u8; 16usize] = b"EnableInetLocal\0"; -pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: &[u8; 19usize] = b"AllowFileUrlScheme\0"; -pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: &[u8; 26usize] = b"DisableLDAPSignAndEncrypt\0"; -pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: &[u8; 35usize] = +pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: &[u8; 22] = b"EnableInetUnknownAuth\0"; +pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: &[u8; 16] = b"EnableInetLocal\0"; +pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: &[u8; 19] = b"AllowFileUrlScheme\0"; +pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: &[u8; 26] = b"DisableLDAPSignAndEncrypt\0"; +pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: &[u8; 35] = b"CryptnetCachedOcspSwitchToCrlCount\0"; pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT: u32 = 50; pub const CRYPTNET_CRL_BEFORE_OCSP_ENABLE: u32 = 4294967295; -pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: &[u8; 23usize] = - b"DisableAIAUrlRetrieval\0"; -pub const CERT_CHAIN_OPTIONS_VALUE_NAME: &[u8; 8usize] = b"Options\0"; +pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: &[u8; 23] = b"DisableAIAUrlRetrieval\0"; +pub const CERT_CHAIN_OPTIONS_VALUE_NAME: &[u8; 8] = b"Options\0"; pub const CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL: u32 = 2; pub const CERT_CHAIN_OPTION_ENABLE_SIA_URL_RETRIEVAL: u32 = 4; -pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: &[u8; 31usize] = +pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: &[u8; 31] = b"CrossCertDownloadIntervalHours\0"; pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_DEFAULT: u32 = 168; -pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: &[u8; 27usize] = +pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: &[u8; 27] = b"CRLValidityExtensionPeriod\0"; pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT: u32 = 12; pub const CERT_CHAIN_CACHE_END_CERT: u32 = 1; @@ -17686,7 +17644,7 @@ pub const CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG: u32 = 16384; pub const CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG: u32 = 8192; pub const CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG: u32 = 4096; pub const CERT_CHAIN_POLICY_IGNORE_WEAK_SIGNATURE_FLAG: u32 = 134217728; -pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: &[u8; 36usize] = +pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: &[u8; 36] = b"CertDllVerifyCertificateChainPolicy\0"; pub const AUTHTYPE_CLIENT: u32 = 1; pub const AUTHTYPE_SERVER: u32 = 2; @@ -17733,15 +17691,15 @@ pub const CRYPT_STRING_HASHDATA: u32 = 268435456; pub const CRYPT_STRING_STRICT: u32 = 536870912; pub const CRYPT_STRING_NOCRLF: u32 = 1073741824; pub const CRYPT_STRING_NOCR: u32 = 2147483648; -pub const szOID_PKCS_12_PbeIds: &[u8; 22usize] = b"1.2.840.113549.1.12.1\0"; -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: &[u8; 24usize] = b"1.2.840.113549.1.12.1.1\0"; -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: &[u8; 24usize] = b"1.2.840.113549.1.12.1.2\0"; -pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: &[u8; 24usize] = b"1.2.840.113549.1.12.1.3\0"; -pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: &[u8; 24usize] = b"1.2.840.113549.1.12.1.4\0"; -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: &[u8; 24usize] = b"1.2.840.113549.1.12.1.5\0"; -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: &[u8; 24usize] = b"1.2.840.113549.1.12.1.6\0"; -pub const szOID_PKCS_5_PBKDF2: &[u8; 22usize] = b"1.2.840.113549.1.5.12\0"; -pub const szOID_PKCS_5_PBES2: &[u8; 22usize] = b"1.2.840.113549.1.5.13\0"; +pub const szOID_PKCS_12_PbeIds: &[u8; 22] = b"1.2.840.113549.1.12.1\0"; +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: &[u8; 24] = b"1.2.840.113549.1.12.1.1\0"; +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: &[u8; 24] = b"1.2.840.113549.1.12.1.2\0"; +pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: &[u8; 24] = b"1.2.840.113549.1.12.1.3\0"; +pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: &[u8; 24] = b"1.2.840.113549.1.12.1.4\0"; +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: &[u8; 24] = b"1.2.840.113549.1.12.1.5\0"; +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: &[u8; 24] = b"1.2.840.113549.1.12.1.6\0"; +pub const szOID_PKCS_5_PBKDF2: &[u8; 22] = b"1.2.840.113549.1.5.12\0"; +pub const szOID_PKCS_5_PBES2: &[u8; 22] = b"1.2.840.113549.1.5.13\0"; pub const PKCS12_IMPORT_SILENT: u32 = 64; pub const CRYPT_USER_KEYSET: u32 = 4096; pub const PKCS12_PREFER_CNG_KSP: u32 = 256; @@ -17753,8 +17711,8 @@ pub const PKCS12_NO_PERSIST_KEY: u32 = 32768; pub const PKCS12_VIRTUAL_ISOLATION_KEY: u32 = 65536; pub const PKCS12_IMPORT_RESERVED_MASK: u32 = 4294901760; pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_TYPE: u32 = 0; -pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: &[u8; 12usize] = b"PfxProvider\0"; -pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: &[u8; 13usize] = b"PfxContainer\0"; +pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: &[u8; 12] = b"PfxProvider\0"; +pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: &[u8; 13] = b"PfxContainer\0"; pub const REPORT_NO_PRIVATE_KEY: u32 = 1; pub const REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY: u32 = 2; pub const EXPORT_PRIVATE_KEYS: u32 = 4; @@ -17767,14 +17725,13 @@ pub const PKCS12_ENCRYPT_CERTIFICATES: u32 = 512; pub const PKCS12_EXPORT_ECC_CURVE_PARAMETERS: u32 = 4096; pub const PKCS12_EXPORT_ECC_CURVE_OID: u32 = 8192; pub const PKCS12_EXPORT_RESERVED_MASK: u32 = 4294901760; -pub const PKCS12_PBKDF2_ID_HMAC_SHA1: &[u8; 19usize] = b"1.2.840.113549.2.7\0"; -pub const PKCS12_PBKDF2_ID_HMAC_SHA256: &[u8; 19usize] = b"1.2.840.113549.2.9\0"; -pub const PKCS12_PBKDF2_ID_HMAC_SHA384: &[u8; 20usize] = b"1.2.840.113549.2.10\0"; -pub const PKCS12_PBKDF2_ID_HMAC_SHA512: &[u8; 20usize] = b"1.2.840.113549.2.11\0"; -pub const PKCS12_PBES2_ALG_AES256_SHA256: &[u8; 14usize] = b"AES256-SHA256\0"; -pub const PKCS12_CONFIG_REGPATH: &[u8; 46usize] = - b"Software\\Microsoft\\Windows\\CurrentVersion\\PFX\0"; -pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: &[u8; 20usize] = b"EncryptCertificates\0"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA1: &[u8; 19] = b"1.2.840.113549.2.7\0"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA256: &[u8; 19] = b"1.2.840.113549.2.9\0"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA384: &[u8; 20] = b"1.2.840.113549.2.10\0"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA512: &[u8; 20] = b"1.2.840.113549.2.11\0"; +pub const PKCS12_PBES2_ALG_AES256_SHA256: &[u8; 14] = b"AES256-SHA256\0"; +pub const PKCS12_CONFIG_REGPATH: &[u8; 46] = b"Software\\Microsoft\\Windows\\CurrentVersion\\PFX\0"; +pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: &[u8; 20] = b"EncryptCertificates\0"; pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_READ_FLAG: u32 = 1; pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_WRITE_FLAG: u32 = 2; pub const CERT_SERVER_OCSP_RESPONSE_ASYNC_FLAG: u32 = 1; @@ -17826,10 +17783,10 @@ pub const CRYPT_OBJECT_LOCATOR_SPN_NAME_TYPE: u32 = 1; pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_NAME_TYPE: u32 = 32; pub const CRYPT_OBJECT_LOCATOR_FIRST_RESERVED_USER_NAME_TYPE: u32 = 33; pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_USER_NAME_TYPE: u32 = 65535; -pub const SSL_OBJECT_LOCATOR_PFX_FUNC: &[u8; 30usize] = b"SslObjectLocatorInitializePfx\0"; -pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: &[u8; 37usize] = +pub const SSL_OBJECT_LOCATOR_PFX_FUNC: &[u8; 30] = b"SslObjectLocatorInitializePfx\0"; +pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: &[u8; 37] = b"SslObjectLocatorInitializeIssuerList\0"; -pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: &[u8; 47usize] = +pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: &[u8; 47] = b"SslObjectLocatorInitializeCertValidationConfig\0"; pub const CRYPT_OBJECT_LOCATOR_RELEASE_SYSTEM_SHUTDOWN: u32 = 1; pub const CRYPT_OBJECT_LOCATOR_RELEASE_SERVICE_STOP: u32 = 2; @@ -17837,7 +17794,7 @@ pub const CRYPT_OBJECT_LOCATOR_RELEASE_PROCESS_EXIT: u32 = 3; pub const CRYPT_OBJECT_LOCATOR_RELEASE_DLL_UNLOAD: u32 = 4; pub const CERT_FILE_HASH_USE_TYPE: u32 = 1; pub const CERT_TIMESTAMP_HASH_USE_TYPE: u32 = 2; -pub const szFORCE_KEY_PROTECTION: &[u8; 19usize] = b"ForceKeyProtection\0"; +pub const szFORCE_KEY_PROTECTION: &[u8; 19] = b"ForceKeyProtection\0"; pub const dwFORCE_KEY_PROTECTION_DISABLED: u32 = 0; pub const dwFORCE_KEY_PROTECTION_USER_SELECT: u32 = 1; pub const dwFORCE_KEY_PROTECTION_HIGH: u32 = 2; @@ -18136,9 +18093,9 @@ pub const ERROR_HISTORY_DIRECTORY_ENTRY_DEFAULT_COUNT: u32 = 8; pub const DEVICEDUMP_STRUCTURE_VERSION_V1: u32 = 1; pub const DEVICEDUMP_MAX_IDSTRING: u32 = 32; pub const MAX_FW_BUCKET_ID_LENGTH: u32 = 132; -pub const STORAGE_CRASH_TELEMETRY_REGKEY: &[u8; 81usize] = +pub const STORAGE_CRASH_TELEMETRY_REGKEY: &[u8; 81] = b"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\CrashControl\\StorageTelemetry\0"; -pub const STORAGE_DEVICE_TELEMETRY_REGKEY: &[u8; 76usize] = +pub const STORAGE_DEVICE_TELEMETRY_REGKEY: &[u8; 76] = b"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Storage\\StorageTelemetry\0"; pub const DDUMP_FLAG_DATA_READ_FROM_DEVICE: u32 = 1; pub const FW_ISSUEID_NO_ISSUE: u32 = 0; @@ -18147,8 +18104,8 @@ pub const TC_PUBLIC_DEVICEDUMP_CONTENT_SMART: u32 = 1; pub const TC_PUBLIC_DEVICEDUMP_CONTENT_GPLOG: u32 = 2; pub const TC_PUBLIC_DEVICEDUMP_CONTENT_GPLOG_MAX: u32 = 16; pub const TC_DEVICEDUMP_SUBSECTION_DESC_LENGTH: u32 = 16; -pub const TC_PUBLIC_DATA_TYPE_ATAGP: &[u8; 14usize] = b"ATAGPLogPages\0"; -pub const TC_PUBLIC_DATA_TYPE_ATASMART: &[u8; 14usize] = b"ATASMARTPages\0"; +pub const TC_PUBLIC_DATA_TYPE_ATAGP: &[u8; 14] = b"ATAGPLogPages\0"; +pub const TC_PUBLIC_DATA_TYPE_ATASMART: &[u8; 14] = b"ATASMARTPages\0"; pub const CDB_SIZE: u32 = 16; pub const TELEMETRY_COMMAND_SIZE: u32 = 16; pub const DEVICEDUMP_CAP_PRIVATE_SECTION: u32 = 1; @@ -19157,11 +19114,11 @@ pub const PRINTER_NOTIFY_CATEGORY_ALL: u32 = 4096; pub const PRINTER_NOTIFY_CATEGORY_3D: u32 = 8192; pub const PRINTER_NOTIFY_OPTIONS_REFRESH: u32 = 1; pub const PRINTER_NOTIFY_INFO_DISCARDED: u32 = 1; -pub const BIDI_ACTION_ENUM_SCHEMA: &[u8; 11usize] = b"EnumSchema\0"; -pub const BIDI_ACTION_GET: &[u8; 4usize] = b"Get\0"; -pub const BIDI_ACTION_SET: &[u8; 4usize] = b"Set\0"; -pub const BIDI_ACTION_GET_ALL: &[u8; 7usize] = b"GetAll\0"; -pub const BIDI_ACTION_GET_WITH_ARGUMENT: &[u8; 16usize] = b"GetWithArgument\0"; +pub const BIDI_ACTION_ENUM_SCHEMA: &[u8; 11] = b"EnumSchema\0"; +pub const BIDI_ACTION_GET: &[u8; 4] = b"Get\0"; +pub const BIDI_ACTION_SET: &[u8; 4] = b"Set\0"; +pub const BIDI_ACTION_GET_ALL: &[u8; 7] = b"GetAll\0"; +pub const BIDI_ACTION_GET_WITH_ARGUMENT: &[u8; 16] = b"GetWithArgument\0"; pub const BIDI_ACCESS_ADMINISTRATOR: u32 = 1; pub const BIDI_ACCESS_USER: u32 = 2; pub const ERROR_BIDI_STATUS_OK: u32 = 0; @@ -19245,7 +19202,7 @@ pub const IPDFP_COPY_ALL_FILES: u32 = 1; pub const UPDP_SILENT_UPLOAD: u32 = 1; pub const UPDP_UPLOAD_ALWAYS: u32 = 2; pub const UPDP_CHECK_DRIVERSTORE: u32 = 4; -pub const MS_PRINT_JOB_OUTPUT_FILE: &[u8; 21usize] = b"MsPrintJobOutputFile\0"; +pub const MS_PRINT_JOB_OUTPUT_FILE: &[u8; 21] = b"MsPrintJobOutputFile\0"; pub const _MAX_ITOSTR_BASE16_COUNT: u32 = 9; pub const _MAX_ITOSTR_BASE10_COUNT: u32 = 12; pub const _MAX_ITOSTR_BASE8_COUNT: u32 = 12; @@ -19298,7 +19255,7 @@ pub const _MAX_DIR: u32 = 256; pub const _MAX_FNAME: u32 = 256; pub const _MAX_EXT: u32 = 256; pub const _MAX_ENV: u32 = 32767; -pub const _CRT_INTERNAL_COMBASE_SYMBOL_PREFIX: &[u8; 1usize] = b"\0"; +pub const _CRT_INTERNAL_COMBASE_SYMBOL_PREFIX: &[u8; 1] = b"\0"; pub const COM_RIGHTS_EXECUTE: u32 = 1; pub const COM_RIGHTS_EXECUTE_LOCAL: u32 = 2; pub const COM_RIGHTS_EXECUTE_REMOTE: u32 = 4; @@ -19916,27 +19873,27 @@ pub const SYMBOL_FONTTYPE: u32 = 524288; pub const WM_CHOOSEFONT_GETLOGFONT: u32 = 1025; pub const WM_CHOOSEFONT_SETLOGFONT: u32 = 1125; pub const WM_CHOOSEFONT_SETFLAGS: u32 = 1126; -pub const LBSELCHSTRINGA: &[u8; 27usize] = b"commdlg_LBSelChangedNotify\0"; -pub const SHAREVISTRINGA: &[u8; 23usize] = b"commdlg_ShareViolation\0"; -pub const FILEOKSTRINGA: &[u8; 19usize] = b"commdlg_FileNameOK\0"; -pub const COLOROKSTRINGA: &[u8; 16usize] = b"commdlg_ColorOK\0"; -pub const SETRGBSTRINGA: &[u8; 20usize] = b"commdlg_SetRGBColor\0"; -pub const HELPMSGSTRINGA: &[u8; 13usize] = b"commdlg_help\0"; -pub const FINDMSGSTRINGA: &[u8; 20usize] = b"commdlg_FindReplace\0"; -pub const LBSELCHSTRINGW: &[u8; 27usize] = b"commdlg_LBSelChangedNotify\0"; -pub const SHAREVISTRINGW: &[u8; 23usize] = b"commdlg_ShareViolation\0"; -pub const FILEOKSTRINGW: &[u8; 19usize] = b"commdlg_FileNameOK\0"; -pub const COLOROKSTRINGW: &[u8; 16usize] = b"commdlg_ColorOK\0"; -pub const SETRGBSTRINGW: &[u8; 20usize] = b"commdlg_SetRGBColor\0"; -pub const HELPMSGSTRINGW: &[u8; 13usize] = b"commdlg_help\0"; -pub const FINDMSGSTRINGW: &[u8; 20usize] = b"commdlg_FindReplace\0"; -pub const LBSELCHSTRING: &[u8; 27usize] = b"commdlg_LBSelChangedNotify\0"; -pub const SHAREVISTRING: &[u8; 23usize] = b"commdlg_ShareViolation\0"; -pub const FILEOKSTRING: &[u8; 19usize] = b"commdlg_FileNameOK\0"; -pub const COLOROKSTRING: &[u8; 16usize] = b"commdlg_ColorOK\0"; -pub const SETRGBSTRING: &[u8; 20usize] = b"commdlg_SetRGBColor\0"; -pub const HELPMSGSTRING: &[u8; 13usize] = b"commdlg_help\0"; -pub const FINDMSGSTRING: &[u8; 20usize] = b"commdlg_FindReplace\0"; +pub const LBSELCHSTRINGA: &[u8; 27] = b"commdlg_LBSelChangedNotify\0"; +pub const SHAREVISTRINGA: &[u8; 23] = b"commdlg_ShareViolation\0"; +pub const FILEOKSTRINGA: &[u8; 19] = b"commdlg_FileNameOK\0"; +pub const COLOROKSTRINGA: &[u8; 16] = b"commdlg_ColorOK\0"; +pub const SETRGBSTRINGA: &[u8; 20] = b"commdlg_SetRGBColor\0"; +pub const HELPMSGSTRINGA: &[u8; 13] = b"commdlg_help\0"; +pub const FINDMSGSTRINGA: &[u8; 20] = b"commdlg_FindReplace\0"; +pub const LBSELCHSTRINGW: &[u8; 27] = b"commdlg_LBSelChangedNotify\0"; +pub const SHAREVISTRINGW: &[u8; 23] = b"commdlg_ShareViolation\0"; +pub const FILEOKSTRINGW: &[u8; 19] = b"commdlg_FileNameOK\0"; +pub const COLOROKSTRINGW: &[u8; 16] = b"commdlg_ColorOK\0"; +pub const SETRGBSTRINGW: &[u8; 20] = b"commdlg_SetRGBColor\0"; +pub const HELPMSGSTRINGW: &[u8; 13] = b"commdlg_help\0"; +pub const FINDMSGSTRINGW: &[u8; 20] = b"commdlg_FindReplace\0"; +pub const LBSELCHSTRING: &[u8; 27] = b"commdlg_LBSelChangedNotify\0"; +pub const SHAREVISTRING: &[u8; 23] = b"commdlg_ShareViolation\0"; +pub const FILEOKSTRING: &[u8; 19] = b"commdlg_FileNameOK\0"; +pub const COLOROKSTRING: &[u8; 16] = b"commdlg_ColorOK\0"; +pub const SETRGBSTRING: &[u8; 20] = b"commdlg_SetRGBColor\0"; +pub const HELPMSGSTRING: &[u8; 13] = b"commdlg_help\0"; +pub const FINDMSGSTRING: &[u8; 20] = b"commdlg_FindReplace\0"; pub const CD_LBSELNOITEMS: i32 = -1; pub const CD_LBSELCHANGE: u32 = 0; pub const CD_LBSELSUB: u32 = 1; @@ -20002,14 +19959,14 @@ pub const PSD_ENABLEPAGEPAINTHOOK: u32 = 262144; pub const PSD_DISABLEPAGEPAINTING: u32 = 524288; pub const PSD_NONETWORKBUTTON: u32 = 2097152; pub const _STRALIGN_USE_SECURE_CRT: u32 = 1; -pub const SERVICES_ACTIVE_DATABASEW: &[u8; 15usize] = b"ServicesActive\0"; -pub const SERVICES_FAILED_DATABASEW: &[u8; 15usize] = b"ServicesFailed\0"; -pub const SERVICES_ACTIVE_DATABASEA: &[u8; 15usize] = b"ServicesActive\0"; -pub const SERVICES_FAILED_DATABASEA: &[u8; 15usize] = b"ServicesFailed\0"; +pub const SERVICES_ACTIVE_DATABASEW: &[u8; 15] = b"ServicesActive\0"; +pub const SERVICES_FAILED_DATABASEW: &[u8; 15] = b"ServicesFailed\0"; +pub const SERVICES_ACTIVE_DATABASEA: &[u8; 15] = b"ServicesActive\0"; +pub const SERVICES_FAILED_DATABASEA: &[u8; 15] = b"ServicesFailed\0"; pub const SC_GROUP_IDENTIFIERW: u8 = 43u8; pub const SC_GROUP_IDENTIFIERA: u8 = 43u8; -pub const SERVICES_ACTIVE_DATABASE: &[u8; 15usize] = b"ServicesActive\0"; -pub const SERVICES_FAILED_DATABASE: &[u8; 15usize] = b"ServicesFailed\0"; +pub const SERVICES_ACTIVE_DATABASE: &[u8; 15] = b"ServicesActive\0"; +pub const SERVICES_FAILED_DATABASE: &[u8; 15] = b"ServicesFailed\0"; pub const SC_GROUP_IDENTIFIER: u8 = 43u8; pub const SERVICE_NO_CHANGE: u32 = 4294967295; pub const SERVICE_ACTIVE: u32 = 1; @@ -20169,8 +20126,8 @@ pub const SERVICE_LAUNCH_PROTECTED_WINDOWS_LIGHT: u32 = 2; pub const SERVICE_LAUNCH_PROTECTED_ANTIMALWARE_LIGHT: u32 = 3; pub const SERVICE_TRIGGER_ACTION_SERVICE_START: u32 = 1; pub const SERVICE_TRIGGER_ACTION_SERVICE_STOP: u32 = 2; -pub const SERVICE_TRIGGER_STARTED_ARGUMENT: &[u8; 15usize] = b"TriggerStarted\0"; -pub const SC_AGGREGATE_STORAGE_KEY: &[u8; 57usize] = +pub const SERVICE_TRIGGER_STARTED_ARGUMENT: &[u8; 15] = b"TriggerStarted\0"; +pub const SC_AGGREGATE_STORAGE_KEY: &[u8; 57] = b"System\\CurrentControlSet\\Control\\ServiceAggregatedEvents\0"; pub const DIALOPTION_BILLING: u32 = 64; pub const DIALOPTION_QUIET: u32 = 128; @@ -20539,6 +20496,7 @@ pub const LC_OPT_CORE_READONLY: u64 = 1152921556146454528; pub const LC_OPT_MEMORYINFO_VALID: u64 = 144115192370823168; pub const LC_OPT_MEMORYINFO_FLAG_32BIT: u64 = 144115200960757760; pub const LC_OPT_MEMORYINFO_FLAG_PAE: u64 = 144115205255725056; +pub const LC_OPT_MEMORYINFO_ARCH: u64 = 144115265385267200; pub const LC_OPT_MEMORYINFO_OS_VERSION_MINOR: u64 = 144115209550692352; pub const LC_OPT_MEMORYINFO_OS_VERSION_MAJOR: u64 = 144115213845659648; pub const LC_OPT_MEMORYINFO_OS_DTB: u64 = 144115218140626944; @@ -20569,9 +20527,6 @@ pub const LC_OPT_FPGA_ALGO_SYNCHRONOUS: u64 = 216173353344434176; pub const LC_OPT_FPGA_CFGSPACE_XILINX: u64 = 216173357639401472; pub const LC_OPT_FPGA_TLP_READ_CB_WITHINFO: u64 = 216173400589074432; pub const LC_OPT_FPGA_TLP_READ_CB_FILTERCPL: u64 = 216173404884041728; -pub const LC_OPT_FPGA_TLP_READ_CB_BACKGROUND_THREAD: u64 = 216173409179009024; -pub const LC_CMD_FPGA_WRITE_TLP: u64 = 1103806595072; -pub const LC_CMD_FPGA_LISTEN_TLP: u64 = 1108101562368; pub const LC_CMD_FPGA_PCIECFGSPACE: u64 = 1112396529664; pub const LC_CMD_FPGA_CFGREGPCIE: u64 = 1116691496960; pub const LC_CMD_FPGA_CFGREGCFG: u64 = 1120986464256; @@ -20585,7 +20540,15 @@ pub const LC_CMD_FPGA_CFGSPACE_SHADOW_WR: u64 = 1155346202624; pub const LC_CMD_FPGA_TLP_WRITE_SINGLE: u64 = 1168231104512; pub const LC_CMD_FPGA_TLP_WRITE_MULTIPLE: u64 = 1172526071808; pub const LC_CMD_FPGA_TLP_TOSTRING: u64 = 1176821039104; -pub const LC_CMD_FPGA_TLP_READ_FUNCTION_CALLBACK: u64 = 1181116006400; +pub const LC_CMD_FPGA_TLP_CONTEXT: u64 = 2305844194624667648; +pub const LC_CMD_FPGA_TLP_CONTEXT_RD: u64 = 2305844224689438720; +pub const LC_CMD_FPGA_TLP_FUNCTION_CALLBACK: u64 = 2305844198919634944; +pub const LC_CMD_FPGA_TLP_FUNCTION_CALLBACK_RD: u64 = 2305844228984406016; +pub const LC_CMD_FPGA_BAR_CONTEXT: u64 = 2305844246164275200; +pub const LC_CMD_FPGA_BAR_CONTEXT_RD: u64 = 2305844250459242496; +pub const LC_CMD_FPGA_BAR_FUNCTION_CALLBACK: u64 = 2305844254754209792; +pub const LC_CMD_FPGA_BAR_FUNCTION_CALLBACK_RD: u64 = 2305844259049177088; +pub const LC_CMD_FPGA_BAR_INFO: u64 = 1254130450432; pub const LC_CMD_FILE_DUMPHEADER_GET: u64 = 2203318222848; pub const LC_CMD_STATISTICS_GET: u64 = 4611687117939015680; pub const LC_CMD_MEMMAP_GET: u64 = 4611688217450643456; @@ -20599,6 +20562,8 @@ pub const LC_CMD_AGENT_VFS_READ: i64 = -9223372019674906624; pub const LC_CMD_AGENT_VFS_WRITE: i64 = -9223372015379939328; pub const LC_CMD_AGENT_VFS_OPT_GET: i64 = -9223372011084972032; pub const LC_CMD_AGENT_VFS_OPT_SET: i64 = -9223372006790004736; +pub const LC_CMD_AGENT_VFS_INITIALIZE: i64 = -9223372002495037440; +pub const LC_CMD_AGENT_VFS_CONSOLE: i64 = -9223371998200070144; pub const LC_CMD_AGENT_VFS_REQ_VERSION: u32 = 4276944897; pub const LC_CMD_AGENT_VFS_RSP_VERSION: u32 = 4277010433; pub const LC_STATISTICS_VERSION: u32 = 3785424898; @@ -20652,6 +20617,7 @@ extern "C" { extern "C" { pub fn _abnormal_termination() -> ::std::os::raw::c_int; } +pub type __gnuc_va_list = __builtin_va_list; pub type ULONG = ::std::os::raw::c_ulong; pub type PULONG = *mut ULONG; pub type USHORT = ::std::os::raw::c_ushort; @@ -247031,12 +246997,7 @@ extern "C" { _Alignment: usize, ) -> *mut ::std::os::raw::c_void; } -extern "C" { - pub fn __threadid() -> ::std::os::raw::c_ulong; -} -extern "C" { - pub fn __threadhandle() -> usize; -} +pub type max_align_t = f64; pub type _CoreCrtSecureSearchSortCompareFunction = ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, @@ -327816,6 +327777,13 @@ fn bindgen_test_layout_tdLC_MEMMAP_ENTRY() { } pub type LC_MEMMAP_ENTRY = tdLC_MEMMAP_ENTRY; pub type PLC_MEMMAP_ENTRY = *mut tdLC_MEMMAP_ENTRY; +pub const tdLC_ARCH_TP_LC_ARCH_NA: tdLC_ARCH_TP = 0; +pub const tdLC_ARCH_TP_LC_ARCH_X86: tdLC_ARCH_TP = 1; +pub const tdLC_ARCH_TP_LC_ARCH_X86PAE: tdLC_ARCH_TP = 2; +pub const tdLC_ARCH_TP_LC_ARCH_X64: tdLC_ARCH_TP = 3; +pub const tdLC_ARCH_TP_LC_ARCH_ARM64: tdLC_ARCH_TP = 4; +pub type tdLC_ARCH_TP = ::std::os::raw::c_int; +pub use self::tdLC_ARCH_TP as LC_ARCH_TP; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct tdLC_TLP { @@ -327870,52 +327838,285 @@ fn bindgen_test_layout_tdLC_TLP() { } pub type LC_TLP = tdLC_TLP; pub type PLC_TLP = *mut tdLC_TLP; -pub type PLC_TLP_READ_FUNCTION_CALLBACK = ::std::option::Option< +pub type PLC_TLP_FUNCTION_CALLBACK = ::std::option::Option< unsafe extern "C" fn(ctx: PVOID, cbTlp: DWORD, pbTlp: PBYTE, cbInfo: DWORD, szInfo: LPSTR), >; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct tdLC_TLP_CALLBACK { - pub ctx: PVOID, - pub pfn: PLC_TLP_READ_FUNCTION_CALLBACK, +pub struct tdLC_BAR { + pub fValid: BOOL, + pub fIO: BOOL, + pub f64Bit: BOOL, + pub fPrefetchable: BOOL, + pub _Filler: [DWORD; 3usize], + pub iBar: DWORD, + pub pa: QWORD, + pub cb: QWORD, } #[test] -fn bindgen_test_layout_tdLC_TLP_CALLBACK() { - const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); +fn bindgen_test_layout_tdLC_BAR() { + const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( - ::std::mem::size_of::(), + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(tdLC_BAR)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(tdLC_BAR)) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fValid) as usize - ptr as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(fValid) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fIO) as usize - ptr as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(fIO) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).f64Bit) as usize - ptr as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(f64Bit) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fPrefetchable) as usize - ptr as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(fPrefetchable) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr)._Filler) as usize - ptr as usize }, 16usize, - concat!("Size of: ", stringify!(tdLC_TLP_CALLBACK)) + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(_Filler) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).iBar) as usize - ptr as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(iBar) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).pa) as usize - ptr as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(pa) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).cb) as usize - ptr as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR), + "::", + stringify!(cb) + ) + ); +} +pub type LC_BAR = tdLC_BAR; +pub type PLC_BAR = *mut tdLC_BAR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct tdLC_BAR_REQUEST { + pub ctx: PVOID, + pub pBar: PLC_BAR, + pub bTag: BYTE, + pub bFirstBE: BYTE, + pub bLastBE: BYTE, + pub _Filler: BYTE, + pub f64_: BOOL, + pub fRead: BOOL, + pub fReadReply: BOOL, + pub fWrite: BOOL, + pub cbData: DWORD, + pub oData: QWORD, + pub pbData: [BYTE; 4096usize], +} +#[test] +fn bindgen_test_layout_tdLC_BAR_REQUEST() { + const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); + let ptr = UNINIT.as_ptr(); + assert_eq!( + ::std::mem::size_of::(), + 4144usize, + concat!("Size of: ", stringify!(tdLC_BAR_REQUEST)) ); assert_eq!( - ::std::mem::align_of::(), + ::std::mem::align_of::(), 8usize, - concat!("Alignment of ", stringify!(tdLC_TLP_CALLBACK)) + concat!("Alignment of ", stringify!(tdLC_BAR_REQUEST)) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).ctx) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", - stringify!(tdLC_TLP_CALLBACK), + stringify!(tdLC_BAR_REQUEST), "::", stringify!(ctx) ) ); assert_eq!( - unsafe { ::std::ptr::addr_of!((*ptr).pfn) as usize - ptr as usize }, + unsafe { ::std::ptr::addr_of!((*ptr).pBar) as usize - ptr as usize }, 8usize, concat!( "Offset of field: ", - stringify!(tdLC_TLP_CALLBACK), + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(pBar) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).bTag) as usize - ptr as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(bTag) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).bFirstBE) as usize - ptr as usize }, + 17usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(bFirstBE) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).bLastBE) as usize - ptr as usize }, + 18usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(bLastBE) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr)._Filler) as usize - ptr as usize }, + 19usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(_Filler) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).f64_) as usize - ptr as usize }, + 20usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(f64_) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fRead) as usize - ptr as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(fRead) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fReadReply) as usize - ptr as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(fReadReply) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).fWrite) as usize - ptr as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(fWrite) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).cbData) as usize - ptr as usize }, + 36usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), "::", - stringify!(pfn) + stringify!(cbData) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).oData) as usize - ptr as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(oData) + ) + ); + assert_eq!( + unsafe { ::std::ptr::addr_of!((*ptr).pbData) as usize - ptr as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(tdLC_BAR_REQUEST), + "::", + stringify!(pbData) ) ); } -pub type LC_TLP_CALLBACK = tdLC_TLP_CALLBACK; -pub type PLC_TLP_CALLBACK = *mut tdLC_TLP_CALLBACK; +pub type LC_BAR_REQUEST = tdLC_BAR_REQUEST; +pub type PLC_BAR_REQUEST = *mut tdLC_BAR_REQUEST; +pub type PLC_BAR_FUNCTION_CALLBACK = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __crt_locale_data {