diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Security/Cryptography')
5 files changed, 0 insertions, 14244 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs deleted file mode 100644 index 8120407..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs +++ /dev/null @@ -1,217 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminAcquireContext(phcatadmin : *mut isize, pgsubsystem : *const ::windows_sys::core::GUID, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminAcquireContext2(phcatadmin : *mut isize, pgsubsystem : *const ::windows_sys::core::GUID, pwszhashalgorithm : ::windows_sys::core::PCWSTR, pstronghashpolicy : *const super:: CERT_STRONG_SIGN_PARA, dwflags : u32) -> super::super::super::Foundation:: BOOL); -::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminAddCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pwszselectbasename : ::windows_sys::core::PCWSTR, dwflags : u32) -> isize); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle(hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin : isize, hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL); -::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminEnumCatalogFromHash(hcatadmin : isize, pbhash : *const u8, cbhash : u32, dwflags : u32, phprevcatinfo : *mut isize) -> isize); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminPauseServiceForBackup(dwflags : u32, fresume : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseCatalogContext(hcatadmin : isize, hcatinfo : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseContext(hcatadmin : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminRemoveCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminResolveCatalogPath(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATAllocSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFClose(pcdf : *mut CRYPTCATCDF) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumAttributes(pcdf : *mut CRYPTCATCDF, pmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFEnumCatAttributes(pcdf : *mut CRYPTCATCDF, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumMembers(pcdf : *mut CRYPTCATCDF, pprevmember : *mut CRYPTCATMEMBER, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFOpen(pwszfilepath : ::windows_sys::core::PCWSTR, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCatalogInfoFromContext(hcatinfo : isize, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATClose(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateAttr(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATEnumerateCatAttr(hcatalog : super::super::super::Foundation:: HANDLE, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateMember(hcatalog : super::super::super::Foundation:: HANDLE, pprevmember : *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATFreeSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER) -> ()); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATGetCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATHandleFromStore(pcatstore : *mut CRYPTCATSTORE) -> super::super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATOpen(pwszfilename : ::windows_sys::core::PCWSTR, fdwopenflags : CRYPTCAT_OPEN_FLAGS, hprov : usize, dwpublicversion : CRYPTCAT_VERSION, dwencodingtype : u32) -> super::super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPersistStore(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATPutAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pwszreferencetag : ::windows_sys::core::PCWSTR, dwattrtypeandaction : u32, cbdata : u32, pbdata : *mut u8) -> *mut CRYPTCATATTRIBUTE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPutCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR, dwattrtypeandaction : u32, cbdata : u32, pbdata : *mut u8) -> *mut CRYPTCATATTRIBUTE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATPutMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszfilename : ::windows_sys::core::PCWSTR, pwszreferencetag : ::windows_sys::core::PCWSTR, pgsubjecttype : *mut ::windows_sys::core::GUID, dwcertversion : u32, cbsipindirectdata : u32, pbsipindirectdata : *mut u8) -> *mut CRYPTCATMEMBER); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATStoreFromHandle(hcatalog : super::super::super::Foundation:: HANDLE) -> *mut CRYPTCATSTORE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsCatalogFile(hfile : super::super::super::Foundation:: HANDLE, pwszfilename : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: BOOL); -pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32; -pub const CRYPTCAT_ADDCATALOG_NONE: u32 = 0u32; -pub const CRYPTCAT_ATTR_AUTHENTICATED: u32 = 268435456u32; -pub const CRYPTCAT_ATTR_DATAASCII: u32 = 65536u32; -pub const CRYPTCAT_ATTR_DATABASE64: u32 = 131072u32; -pub const CRYPTCAT_ATTR_DATAREPLACE: u32 = 262144u32; -pub const CRYPTCAT_ATTR_NAMEASCII: u32 = 1u32; -pub const CRYPTCAT_ATTR_NAMEOBJID: u32 = 2u32; -pub const CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY: u32 = 16777216u32; -pub const CRYPTCAT_ATTR_UNAUTHENTICATED: u32 = 536870912u32; -pub const CRYPTCAT_E_AREA_ATTRIBUTE: u32 = 131072u32; -pub const CRYPTCAT_E_AREA_HEADER: u32 = 0u32; -pub const CRYPTCAT_E_AREA_MEMBER: u32 = 65536u32; -pub const CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES: u32 = 131074u32; -pub const CRYPTCAT_E_CDF_ATTR_TYPECOMBO: u32 = 131076u32; -pub const CRYPTCAT_E_CDF_BAD_GUID_CONV: u32 = 131073u32; -pub const CRYPTCAT_E_CDF_DUPLICATE: u32 = 2u32; -pub const CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND: u32 = 65540u32; -pub const CRYPTCAT_E_CDF_MEMBER_FILE_PATH: u32 = 65537u32; -pub const CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA: u32 = 65538u32; -pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32; -pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32; -pub const CRYPTCAT_FILEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAT"); -pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32; -pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32; -pub const CRYPTCAT_OPEN_ALWAYS: CRYPTCAT_OPEN_FLAGS = 2u32; -pub const CRYPTCAT_OPEN_CREATENEW: CRYPTCAT_OPEN_FLAGS = 1u32; -pub const CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 65536u32; -pub const CRYPTCAT_OPEN_EXISTING: CRYPTCAT_OPEN_FLAGS = 4u32; -pub const CRYPTCAT_OPEN_FLAGS_MASK: CRYPTCAT_OPEN_FLAGS = 4294901760u32; -pub const CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 131072u32; -pub const CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG: CRYPTCAT_OPEN_FLAGS = 536870912u32; -pub const CRYPTCAT_OPEN_SORTED: CRYPTCAT_OPEN_FLAGS = 1073741824u32; -pub const CRYPTCAT_OPEN_VERIFYSIGHASH: CRYPTCAT_OPEN_FLAGS = 268435456u32; -pub const CRYPTCAT_VERSION_1: CRYPTCAT_VERSION = 256u32; -pub const CRYPTCAT_VERSION_2: CRYPTCAT_VERSION = 512u32; -pub const szOID_CATALOG_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.1"); -pub const szOID_CATALOG_LIST_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.2"); -pub const szOID_CATALOG_LIST_MEMBER2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.3"); -pub type CRYPTCAT_OPEN_FLAGS = u32; -pub type CRYPTCAT_VERSION = u32; -#[repr(C)] -pub struct CATALOG_INFO { - pub cbStruct: u32, - pub wszCatalogFile: [u16; 260], -} -impl ::core::marker::Copy for CATALOG_INFO {} -impl ::core::clone::Clone for CATALOG_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTCATATTRIBUTE { - pub cbStruct: u32, - pub pwszReferenceTag: ::windows_sys::core::PWSTR, - pub dwAttrTypeAndAction: u32, - pub cbValue: u32, - pub pbValue: *mut u8, - pub dwReserved: u32, -} -impl ::core::marker::Copy for CRYPTCATATTRIBUTE {} -impl ::core::clone::Clone for CRYPTCATATTRIBUTE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTCATCDF { - pub cbStruct: u32, - pub hFile: super::super::super::Foundation::HANDLE, - pub dwCurFilePos: u32, - pub dwLastMemberOffset: u32, - pub fEOF: super::super::super::Foundation::BOOL, - pub pwszResultDir: ::windows_sys::core::PWSTR, - pub hCATStore: super::super::super::Foundation::HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTCATCDF {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTCATCDF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -pub struct CRYPTCATMEMBER { - pub cbStruct: u32, - pub pwszReferenceTag: ::windows_sys::core::PWSTR, - pub pwszFileName: ::windows_sys::core::PWSTR, - pub gSubjectType: ::windows_sys::core::GUID, - pub fdwMemberFlags: u32, - pub pIndirectData: *mut super::Sip::SIP_INDIRECT_DATA, - pub dwCertVersion: u32, - pub dwReserved: u32, - pub hReserved: super::super::super::Foundation::HANDLE, - pub sEncodedIndirectData: super::CRYPT_INTEGER_BLOB, - pub sEncodedMemberInfo: super::CRYPT_INTEGER_BLOB, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -impl ::core::marker::Copy for CRYPTCATMEMBER {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -impl ::core::clone::Clone for CRYPTCATMEMBER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTCATSTORE { - pub cbStruct: u32, - pub dwPublicVersion: u32, - pub pwszP7File: ::windows_sys::core::PWSTR, - pub hProv: usize, - pub dwEncodingType: u32, - pub fdwStoreFlags: CRYPTCAT_OPEN_FLAGS, - pub hReserved: super::super::super::Foundation::HANDLE, - pub hAttrs: super::super::super::Foundation::HANDLE, - pub hCryptMsg: *mut ::core::ffi::c_void, - pub hSorted: super::super::super::Foundation::HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTCATSTORE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTCATSTORE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -pub struct MS_ADDINFO_CATALOGMEMBER { - pub cbStruct: u32, - pub pStore: *mut CRYPTCATSTORE, - pub pMember: *mut CRYPTCATMEMBER, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -impl ::core::marker::Copy for MS_ADDINFO_CATALOGMEMBER {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] -impl ::core::clone::Clone for MS_ADDINFO_CATALOGMEMBER { - fn clone(&self) -> Self { - *self - } -} -pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs deleted file mode 100644 index 7a6612a..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ /dev/null @@ -1,2494 +0,0 @@ -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupClose(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupEnd(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupFree(pv : *mut ::core::ffi::c_void) -> ()); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetBackupLogsW(hbc : *const ::core::ffi::c_void, ppwszzbackuplogfiles : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetDatabaseNamesW(hbc : *const ::core::ffi::c_void, ppwszzattachmentinformation : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetDynamicFileListW(hbc : *const ::core::ffi::c_void, ppwszzfilelist : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupOpenFileW(hbc : *mut ::core::ffi::c_void, pwszattachmentname : ::windows_sys::core::PCWSTR, cbreadhintsize : u32, plifilesize : *mut i64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupPrepareW(pwszservername : ::windows_sys::core::PCWSTR, grbitjet : u32, dwbackupflags : CSBACKUP_TYPE, phbc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupRead(hbc : *mut ::core::ffi::c_void, pvbuffer : *mut ::core::ffi::c_void, cbbuffer : u32, pcbread : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupTruncateLogs(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("certadm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSrvIsServerOnlineW(pwszservername : ::windows_sys::core::PCWSTR, pfserveronline : *mut super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreEnd(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreGetDatabaseLocationsW(hbc : *const ::core::ffi::c_void, ppwszzdatabaselocationlist : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestorePrepareW(pwszservername : ::windows_sys::core::PCWSTR, dwrestoreflags : u32, phbc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreRegisterComplete(hbc : *mut ::core::ffi::c_void, hrrestorestate : ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreRegisterThroughFile(hbc : *mut ::core::ffi::c_void, pwszcheckpointfilepath : ::windows_sys::core::PCWSTR, pwszlogpath : ::windows_sys::core::PCWSTR, rgrstmap : *mut CSEDB_RSTMAPW, crstmap : i32, pwszbackuplogpath : ::windows_sys::core::PCWSTR, genlow : u32, genhigh : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreRegisterW(hbc : *mut ::core::ffi::c_void, pwszcheckpointfilepath : ::windows_sys::core::PCWSTR, pwszlogpath : ::windows_sys::core::PCWSTR, rgrstmap : *mut CSEDB_RSTMAPW, crstmap : i32, pwszbackuplogpath : ::windows_sys::core::PCWSTR, genlow : u32, genhigh : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("certadm.dll" "system" fn CertSrvServerControlW(pwszservername : ::windows_sys::core::PCWSTR, dwcontrolflags : u32, pcbout : *mut u32, ppbout : *mut *mut u8) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstAcquirePrivateKey(pcert : *const super:: CERT_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] fn PstGetCertificateChain(pcert : *const super:: CERT_CONTEXT, ptrustedissuers : *const super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx, ppcertchaincontext : *mut *mut super:: CERT_CHAIN_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstGetCertificates(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, bisclient : super::super::super::Foundation:: BOOL, pdwcertchaincontextcount : *mut u32, ppcertchaincontexts : *mut *mut *mut super:: CERT_CHAIN_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] fn PstGetTrustAnchors(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] fn PstGetTrustAnchorsEx(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, pcertcontext : *const super:: CERT_CONTEXT, pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstGetUserNameForCertificate(pcertcontext : *const super:: CERT_CONTEXT, username : *mut super::super::super::Foundation:: UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] fn PstMapCertificate(pcert : *const super:: CERT_CONTEXT, ptokeninformationtype : *mut super::super::Authentication::Identity:: LSA_TOKEN_INFORMATION_TYPE, pptokeninformation : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstValidate(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, bisclient : super::super::super::Foundation:: BOOL, prequestedissuancepolicy : *const super:: CERT_USAGE_MATCH, phadditionalcertstore : *const super:: HCERTSTORE, pcert : *const super:: CERT_CONTEXT, pprovguid : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: NTSTATUS); -pub type IAlternativeName = *mut ::core::ffi::c_void; -pub type IAlternativeNames = *mut ::core::ffi::c_void; -pub type IBinaryConverter = *mut ::core::ffi::c_void; -pub type IBinaryConverter2 = *mut ::core::ffi::c_void; -pub type ICEnroll = *mut ::core::ffi::c_void; -pub type ICEnroll2 = *mut ::core::ffi::c_void; -pub type ICEnroll3 = *mut ::core::ffi::c_void; -pub type ICEnroll4 = *mut ::core::ffi::c_void; -pub type ICertAdmin = *mut ::core::ffi::c_void; -pub type ICertAdmin2 = *mut ::core::ffi::c_void; -pub type ICertConfig = *mut ::core::ffi::c_void; -pub type ICertConfig2 = *mut ::core::ffi::c_void; -pub type ICertEncodeAltName = *mut ::core::ffi::c_void; -pub type ICertEncodeAltName2 = *mut ::core::ffi::c_void; -pub type ICertEncodeBitString = *mut ::core::ffi::c_void; -pub type ICertEncodeBitString2 = *mut ::core::ffi::c_void; -pub type ICertEncodeCRLDistInfo = *mut ::core::ffi::c_void; -pub type ICertEncodeCRLDistInfo2 = *mut ::core::ffi::c_void; -pub type ICertEncodeDateArray = *mut ::core::ffi::c_void; -pub type ICertEncodeDateArray2 = *mut ::core::ffi::c_void; -pub type ICertEncodeLongArray = *mut ::core::ffi::c_void; -pub type ICertEncodeLongArray2 = *mut ::core::ffi::c_void; -pub type ICertEncodeStringArray = *mut ::core::ffi::c_void; -pub type ICertEncodeStringArray2 = *mut ::core::ffi::c_void; -pub type ICertExit = *mut ::core::ffi::c_void; -pub type ICertExit2 = *mut ::core::ffi::c_void; -pub type ICertGetConfig = *mut ::core::ffi::c_void; -pub type ICertManageModule = *mut ::core::ffi::c_void; -pub type ICertPolicy = *mut ::core::ffi::c_void; -pub type ICertPolicy2 = *mut ::core::ffi::c_void; -pub type ICertProperties = *mut ::core::ffi::c_void; -pub type ICertProperty = *mut ::core::ffi::c_void; -pub type ICertPropertyArchived = *mut ::core::ffi::c_void; -pub type ICertPropertyArchivedKeyHash = *mut ::core::ffi::c_void; -pub type ICertPropertyAutoEnroll = *mut ::core::ffi::c_void; -pub type ICertPropertyBackedUp = *mut ::core::ffi::c_void; -pub type ICertPropertyDescription = *mut ::core::ffi::c_void; -pub type ICertPropertyEnrollment = *mut ::core::ffi::c_void; -pub type ICertPropertyEnrollmentPolicyServer = *mut ::core::ffi::c_void; -pub type ICertPropertyFriendlyName = *mut ::core::ffi::c_void; -pub type ICertPropertyKeyProvInfo = *mut ::core::ffi::c_void; -pub type ICertPropertyRenewal = *mut ::core::ffi::c_void; -pub type ICertPropertyRequestOriginator = *mut ::core::ffi::c_void; -pub type ICertPropertySHA1Hash = *mut ::core::ffi::c_void; -pub type ICertRequest = *mut ::core::ffi::c_void; -pub type ICertRequest2 = *mut ::core::ffi::c_void; -pub type ICertRequest3 = *mut ::core::ffi::c_void; -pub type ICertRequestD = *mut ::core::ffi::c_void; -pub type ICertRequestD2 = *mut ::core::ffi::c_void; -pub type ICertServerExit = *mut ::core::ffi::c_void; -pub type ICertServerPolicy = *mut ::core::ffi::c_void; -pub type ICertView = *mut ::core::ffi::c_void; -pub type ICertView2 = *mut ::core::ffi::c_void; -pub type ICertificateAttestationChallenge = *mut ::core::ffi::c_void; -pub type ICertificateAttestationChallenge2 = *mut ::core::ffi::c_void; -pub type ICertificatePolicies = *mut ::core::ffi::c_void; -pub type ICertificatePolicy = *mut ::core::ffi::c_void; -pub type ICertificationAuthorities = *mut ::core::ffi::c_void; -pub type ICertificationAuthority = *mut ::core::ffi::c_void; -pub type ICryptAttribute = *mut ::core::ffi::c_void; -pub type ICryptAttributes = *mut ::core::ffi::c_void; -pub type ICspAlgorithm = *mut ::core::ffi::c_void; -pub type ICspAlgorithms = *mut ::core::ffi::c_void; -pub type ICspInformation = *mut ::core::ffi::c_void; -pub type ICspInformations = *mut ::core::ffi::c_void; -pub type ICspStatus = *mut ::core::ffi::c_void; -pub type ICspStatuses = *mut ::core::ffi::c_void; -pub type IEnroll = *mut ::core::ffi::c_void; -pub type IEnroll2 = *mut ::core::ffi::c_void; -pub type IEnroll4 = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWATTRIBUTE = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWCOLUMN = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWEXTENSION = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWROW = *mut ::core::ffi::c_void; -pub type INDESPolicy = *mut ::core::ffi::c_void; -pub type IOCSPAdmin = *mut ::core::ffi::c_void; -pub type IOCSPCAConfiguration = *mut ::core::ffi::c_void; -pub type IOCSPCAConfigurationCollection = *mut ::core::ffi::c_void; -pub type IOCSPProperty = *mut ::core::ffi::c_void; -pub type IOCSPPropertyCollection = *mut ::core::ffi::c_void; -pub type IObjectId = *mut ::core::ffi::c_void; -pub type IObjectIds = *mut ::core::ffi::c_void; -pub type IPolicyQualifier = *mut ::core::ffi::c_void; -pub type IPolicyQualifiers = *mut ::core::ffi::c_void; -pub type ISignerCertificate = *mut ::core::ffi::c_void; -pub type ISignerCertificates = *mut ::core::ffi::c_void; -pub type ISmimeCapabilities = *mut ::core::ffi::c_void; -pub type ISmimeCapability = *mut ::core::ffi::c_void; -pub type IX500DistinguishedName = *mut ::core::ffi::c_void; -pub type IX509Attribute = *mut ::core::ffi::c_void; -pub type IX509AttributeArchiveKey = *mut ::core::ffi::c_void; -pub type IX509AttributeArchiveKeyHash = *mut ::core::ffi::c_void; -pub type IX509AttributeClientId = *mut ::core::ffi::c_void; -pub type IX509AttributeCspProvider = *mut ::core::ffi::c_void; -pub type IX509AttributeExtensions = *mut ::core::ffi::c_void; -pub type IX509AttributeOSVersion = *mut ::core::ffi::c_void; -pub type IX509AttributeRenewalCertificate = *mut ::core::ffi::c_void; -pub type IX509Attributes = *mut ::core::ffi::c_void; -pub type IX509CertificateRequest = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCertificate = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCertificate2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCmc = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCmc2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V3 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V4 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs7 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs7V2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationList = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationListEntries = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationListEntry = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplate = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplateWritable = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplates = *mut ::core::ffi::c_void; -pub type IX509EndorsementKey = *mut ::core::ffi::c_void; -pub type IX509Enrollment = *mut ::core::ffi::c_void; -pub type IX509Enrollment2 = *mut ::core::ffi::c_void; -pub type IX509EnrollmentHelper = *mut ::core::ffi::c_void; -pub type IX509EnrollmentPolicyServer = *mut ::core::ffi::c_void; -pub type IX509EnrollmentStatus = *mut ::core::ffi::c_void; -pub type IX509EnrollmentWebClassFactory = *mut ::core::ffi::c_void; -pub type IX509Extension = *mut ::core::ffi::c_void; -pub type IX509ExtensionAlternativeNames = *mut ::core::ffi::c_void; -pub type IX509ExtensionAuthorityKeyIdentifier = *mut ::core::ffi::c_void; -pub type IX509ExtensionBasicConstraints = *mut ::core::ffi::c_void; -pub type IX509ExtensionCertificatePolicies = *mut ::core::ffi::c_void; -pub type IX509ExtensionEnhancedKeyUsage = *mut ::core::ffi::c_void; -pub type IX509ExtensionKeyUsage = *mut ::core::ffi::c_void; -pub type IX509ExtensionMSApplicationPolicies = *mut ::core::ffi::c_void; -pub type IX509ExtensionSmimeCapabilities = *mut ::core::ffi::c_void; -pub type IX509ExtensionSubjectKeyIdentifier = *mut ::core::ffi::c_void; -pub type IX509ExtensionTemplate = *mut ::core::ffi::c_void; -pub type IX509ExtensionTemplateName = *mut ::core::ffi::c_void; -pub type IX509Extensions = *mut ::core::ffi::c_void; -pub type IX509MachineEnrollmentFactory = *mut ::core::ffi::c_void; -pub type IX509NameValuePair = *mut ::core::ffi::c_void; -pub type IX509NameValuePairs = *mut ::core::ffi::c_void; -pub type IX509PolicyServerListManager = *mut ::core::ffi::c_void; -pub type IX509PolicyServerUrl = *mut ::core::ffi::c_void; -pub type IX509PrivateKey = *mut ::core::ffi::c_void; -pub type IX509PrivateKey2 = *mut ::core::ffi::c_void; -pub type IX509PublicKey = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollment = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollment2 = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollmentHelper = *mut ::core::ffi::c_void; -pub type IX509SignatureInformation = *mut ::core::ffi::c_void; -pub const AlgorithmFlagsNone: AlgorithmFlags = 0i32; -pub const AlgorithmFlagsWrap: AlgorithmFlags = 1i32; -pub const AllowNoOutstandingRequest: InstallResponseRestrictionFlags = 1i32; -pub const AllowNone: InstallResponseRestrictionFlags = 0i32; -pub const AllowUntrustedCertificate: InstallResponseRestrictionFlags = 2i32; -pub const AllowUntrustedRoot: InstallResponseRestrictionFlags = 4i32; -pub const AllowedKeySignature: Pkcs10AllowedSignatureTypes = 1i32; -pub const AllowedNullSignature: Pkcs10AllowedSignatureTypes = 2i32; -pub const CAIF_DSENTRY: u32 = 1u32; -pub const CAIF_LOCAL: u32 = 8u32; -pub const CAIF_REGISTRY: u32 = 4u32; -pub const CAIF_REGISTRYPARENT: u32 = 16u32; -pub const CAIF_SHAREDFOLDERENTRY: u32 = 2u32; -pub const CAPATHLENGTH_INFINITE: u32 = 4294967295u32; -pub const CAPropCertificate: EnrollmentCAProperty = 7i32; -pub const CAPropCertificateTypes: EnrollmentCAProperty = 6i32; -pub const CAPropCommonName: EnrollmentCAProperty = 1i32; -pub const CAPropDNSName: EnrollmentCAProperty = 5i32; -pub const CAPropDescription: EnrollmentCAProperty = 8i32; -pub const CAPropDistinguishedName: EnrollmentCAProperty = 2i32; -pub const CAPropRenewalOnly: EnrollmentCAProperty = 12i32; -pub const CAPropSanitizedName: EnrollmentCAProperty = 3i32; -pub const CAPropSanitizedShortName: EnrollmentCAProperty = 4i32; -pub const CAPropSecurity: EnrollmentCAProperty = 11i32; -pub const CAPropSiteName: EnrollmentCAProperty = 10i32; -pub const CAPropWebServers: EnrollmentCAProperty = 9i32; -pub const CA_ACCESS_ADMIN: CERTADMIN_GET_ROLES_FLAGS = 1u32; -pub const CA_ACCESS_AUDITOR: CERTADMIN_GET_ROLES_FLAGS = 4u32; -pub const CA_ACCESS_ENROLL: CERTADMIN_GET_ROLES_FLAGS = 512u32; -pub const CA_ACCESS_MASKROLES: u32 = 255u32; -pub const CA_ACCESS_OFFICER: CERTADMIN_GET_ROLES_FLAGS = 2u32; -pub const CA_ACCESS_OPERATOR: CERTADMIN_GET_ROLES_FLAGS = 8u32; -pub const CA_ACCESS_READ: CERTADMIN_GET_ROLES_FLAGS = 256u32; -pub const CA_CRL_BASE: u32 = 1u32; -pub const CA_CRL_DELTA: u32 = 2u32; -pub const CA_CRL_REPUBLISH: u32 = 16u32; -pub const CA_DISP_ERROR: u32 = 1u32; -pub const CA_DISP_INCOMPLETE: u32 = 0u32; -pub const CA_DISP_INVALID: u32 = 4u32; -pub const CA_DISP_REVOKED: u32 = 2u32; -pub const CA_DISP_UNDER_SUBMISSION: u32 = 5u32; -pub const CA_DISP_VALID: u32 = 3u32; -pub const CAlternativeName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2013_217d_11da_b2a4_000e7bbb2b09); -pub const CAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2014_217d_11da_b2a4_000e7bbb2b09); -pub const CBinaryConverter: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2002_217d_11da_b2a4_000e7bbb2b09); -pub const CCLOCKSKEWMINUTESDEFAULT: u32 = 10u32; -pub const CC_DEFAULTCONFIG: CERT_GET_CONFIG_FLAGS = 0i32; -pub const CC_FIRSTCONFIG: CERT_GET_CONFIG_FLAGS = 2i32; -pub const CC_LOCALACTIVECONFIG: CERT_GET_CONFIG_FLAGS = 4i32; -pub const CC_LOCALCONFIG: CERT_GET_CONFIG_FLAGS = 3i32; -pub const CC_UIPICKCONFIG: CERT_GET_CONFIG_FLAGS = 1i32; -pub const CC_UIPICKCONFIGSKIPLOCALCA: CERT_GET_CONFIG_FLAGS = 5i32; -pub const CCertAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37eabaf0_7fb6_11d0_8817_00a0c903b83c); -pub const CCertConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x372fce38_4324_11d0_8810_00a0c903b83c); -pub const CCertEncodeAltName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1cfc4cda_1271_11d1_9bd4_00c04fb683fa); -pub const CCertEncodeBitString: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6d6b3cd8_1278_11d1_9bd4_00c04fb683fa); -pub const CCertEncodeCRLDistInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01fa60a0_bbff_11d0_8825_00a0c903b83c); -pub const CCertEncodeDateArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x301f77b0_a470_11d0_8821_00a0c903b83c); -pub const CCertEncodeLongArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4e0680a0_a0a2_11d0_8821_00a0c903b83c); -pub const CCertEncodeStringArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x19a76fe0_7494_11d0_8816_00a0c903b83c); -pub const CCertGetConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6cc49b0_ce17_11d0_8833_00a0c903b83c); -pub const CCertProperties: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202f_217d_11da_b2a4_000e7bbb2b09); -pub const CCertProperty: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202e_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyArchived: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2037_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyArchivedKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203b_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyAutoEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2032_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyBackedUp: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2038_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyDescription: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2031_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2039_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyEnrollmentPolicyServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e204c_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyFriendlyName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2030_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyKeyProvInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2036_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyRenewal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203a_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertyRequestOriginator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2033_217d_11da_b2a4_000e7bbb2b09); -pub const CCertPropertySHA1Hash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2034_217d_11da_b2a4_000e7bbb2b09); -pub const CCertRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98aff3f0_5524_11d0_8812_00a0c903b83c); -pub const CCertServerExit: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4c4a5e40_732c_11d0_8816_00a0c903b83c); -pub const CCertServerPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa000926_ffbe_11cf_8800_00a0c903b83c); -pub const CCertView: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa12d0f7a_1e84_11d1_9bd6_00c04fb683fa); -pub const CCertificateAttestationChallenge: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1362ada1_eb60_456a_b6e1_118050db741b); -pub const CCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201f_217d_11da_b2a4_000e7bbb2b09); -pub const CCertificatePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201e_217d_11da_b2a4_000e7bbb2b09); -pub const CCryptAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202c_217d_11da_b2a4_000e7bbb2b09); -pub const CCryptAttributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202d_217d_11da_b2a4_000e7bbb2b09); -pub const CCspInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2007_217d_11da_b2a4_000e7bbb2b09); -pub const CCspInformations: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2008_217d_11da_b2a4_000e7bbb2b09); -pub const CCspStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2009_217d_11da_b2a4_000e7bbb2b09); -pub const CDR_EXPIRED: CERT_DELETE_ROW_FLAGS = 1i32; -pub const CDR_REQUEST_LAST_CHANGED: CERT_DELETE_ROW_FLAGS = 2i32; -pub const CERTENROLL_INDEX_BASE: u32 = 0u32; -pub const CERT_ALT_NAME_DIRECTORY_NAME: CERT_ALT_NAME = 5i32; -pub const CERT_ALT_NAME_DNS_NAME: CERT_ALT_NAME = 3i32; -pub const CERT_ALT_NAME_IP_ADDRESS: CERT_ALT_NAME = 8i32; -pub const CERT_ALT_NAME_OTHER_NAME: CERT_ALT_NAME = 1i32; -pub const CERT_ALT_NAME_REGISTERED_ID: CERT_ALT_NAME = 9i32; -pub const CERT_ALT_NAME_RFC822_NAME: CERT_ALT_NAME = 2i32; -pub const CERT_ALT_NAME_URL: CERT_ALT_NAME = 7i32; -pub const CEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43f8f289_7a20_11d0_8f06_00c04fc295e1); -pub const CEnroll2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x127698e4_e730_4e5c_a2b1_21490a70c8a1); -pub const CMM_READONLY: u32 = 2u32; -pub const CMM_REFRESHONLY: u32 = 1u32; -pub const CObjectId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2000_217d_11da_b2a4_000e7bbb2b09); -pub const CObjectIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2001_217d_11da_b2a4_000e7bbb2b09); -pub const CPF_BADURL_ERROR: u32 = 32u32; -pub const CPF_BASE: u32 = 1u32; -pub const CPF_CASTORE_ERROR: u32 = 16u32; -pub const CPF_COMPLETE: u32 = 4u32; -pub const CPF_DELTA: u32 = 2u32; -pub const CPF_FILE_ERROR: u32 = 512u32; -pub const CPF_FTP_ERROR: u32 = 1024u32; -pub const CPF_HTTP_ERROR: u32 = 2048u32; -pub const CPF_LDAP_ERROR: u32 = 256u32; -pub const CPF_MANUAL: u32 = 64u32; -pub const CPF_POSTPONED_BASE_FILE_ERROR: u32 = 8192u32; -pub const CPF_POSTPONED_BASE_LDAP_ERROR: u32 = 4096u32; -pub const CPF_SHADOW: u32 = 8u32; -pub const CPF_SIGNATURE_ERROR: u32 = 128u32; -pub const CPolicyQualifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201c_217d_11da_b2a4_000e7bbb2b09); -pub const CPolicyQualifiers: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201d_217d_11da_b2a4_000e7bbb2b09); -pub const CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT: u32 = 65536u32; -pub const CRLF_BUILD_ROOTCA_CRLENTRIES_BASEDONKEY: u32 = 2097152u32; -pub const CRLF_CRLNUMBER_CRITICAL: u32 = 4u32; -pub const CRLF_DELETE_EXPIRED_CRLS: u32 = 2u32; -pub const CRLF_DELTA_USE_OLDEST_UNEXPIRED_BASE: u32 = 1u32; -pub const CRLF_DISABLE_CHAIN_VERIFICATION: u32 = 1048576u32; -pub const CRLF_DISABLE_RDN_REORDER: u32 = 2048u32; -pub const CRLF_DISABLE_ROOT_CROSS_CERTS: u32 = 4096u32; -pub const CRLF_ENFORCE_ENROLLMENT_AGENT: u32 = 1024u32; -pub const CRLF_IGNORE_CROSS_CERT_TRUST_ERROR: u32 = 256u32; -pub const CRLF_IGNORE_INVALID_POLICIES: u32 = 16u32; -pub const CRLF_IGNORE_UNKNOWN_CMC_ATTRIBUTES: u32 = 128u32; -pub const CRLF_LOG_FULL_RESPONSE: u32 = 8192u32; -pub const CRLF_PRESERVE_EXPIRED_CA_CERTS: u32 = 262144u32; -pub const CRLF_PRESERVE_REVOKED_CA_CERTS: u32 = 524288u32; -pub const CRLF_PUBLISH_EXPIRED_CERT_CRLS: u32 = 512u32; -pub const CRLF_REBUILD_MODIFIED_SUBJECT_ONLY: u32 = 32u32; -pub const CRLF_REVCHECK_IGNORE_NOREVCHECK: u32 = 131072u32; -pub const CRLF_REVCHECK_IGNORE_OFFLINE: u32 = 8u32; -pub const CRLF_SAVE_FAILED_CERTS: u32 = 64u32; -pub const CRLF_USE_CROSS_CERT_TEMPLATE: u32 = 32768u32; -pub const CRLF_USE_XCHG_CERT_TEMPLATE: u32 = 16384u32; -pub const CRYPT_ENUM_ALL_PROVIDERS: u32 = 1u32; -pub const CR_DISP_DENIED: CR_DISP = 2u32; -pub const CR_DISP_ERROR: CR_DISP = 1u32; -pub const CR_DISP_INCOMPLETE: CR_DISP = 0u32; -pub const CR_DISP_ISSUED: CR_DISP = 3u32; -pub const CR_DISP_ISSUED_OUT_OF_BAND: CR_DISP = 4u32; -pub const CR_DISP_REVOKED: u32 = 6u32; -pub const CR_DISP_UNDER_SUBMISSION: CR_DISP = 5u32; -pub const CR_FLG_CACROSSCERT: u32 = 128u32; -pub const CR_FLG_CAXCHGCERT: u32 = 8u32; -pub const CR_FLG_CHALLENGEPENDING: u32 = 1024u32; -pub const CR_FLG_CHALLENGESATISFIED: u32 = 2048u32; -pub const CR_FLG_DEFINEDCACERT: u32 = 512u32; -pub const CR_FLG_ENFORCEUTF8: u32 = 256u32; -pub const CR_FLG_ENROLLONBEHALFOF: u32 = 16u32; -pub const CR_FLG_FORCETELETEX: u32 = 1u32; -pub const CR_FLG_FORCEUTF8: u32 = 4u32; -pub const CR_FLG_PUBLISHERROR: u32 = 2147483648u32; -pub const CR_FLG_RENEWAL: u32 = 2u32; -pub const CR_FLG_SUBJECTUNMODIFIED: u32 = 32u32; -pub const CR_FLG_TRUSTEKCERT: u32 = 8192u32; -pub const CR_FLG_TRUSTEKKEY: u32 = 16384u32; -pub const CR_FLG_TRUSTONUSE: u32 = 4096u32; -pub const CR_FLG_VALIDENCRYPTEDKEYHASH: u32 = 64u32; -pub const CR_GEMT_DEFAULT: u32 = 0u32; -pub const CR_GEMT_HRESULT_STRING: u32 = 1u32; -pub const CR_GEMT_HTTP_ERROR: u32 = 2u32; -pub const CR_IN_BASE64: CERT_IMPORT_FLAGS = 1i32; -pub const CR_IN_BASE64HEADER: CERT_IMPORT_FLAGS = 0i32; -pub const CR_IN_BINARY: CERT_IMPORT_FLAGS = 2i32; -pub const CR_IN_CERTIFICATETRANSPARENCY: u32 = 67108864u32; -pub const CR_IN_CHALLENGERESPONSE: u32 = 1280u32; -pub const CR_IN_CLIENTIDNONE: u32 = 4194304u32; -pub const CR_IN_CMC: u32 = 1024u32; -pub const CR_IN_CONNECTONLY: u32 = 8388608u32; -pub const CR_IN_CRLS: u32 = 524288u32; -pub const CR_IN_ENCODEANY: u32 = 255u32; -pub const CR_IN_ENCODEMASK: u32 = 255u32; -pub const CR_IN_FORMATANY: u32 = 0u32; -pub const CR_IN_FORMATMASK: u32 = 65280u32; -pub const CR_IN_FULLRESPONSE: u32 = 262144u32; -pub const CR_IN_HTTP: u32 = 196608u32; -pub const CR_IN_KEYGEN: u32 = 512u32; -pub const CR_IN_MACHINE: u32 = 1048576u32; -pub const CR_IN_PKCS10: u32 = 256u32; -pub const CR_IN_PKCS7: u32 = 768u32; -pub const CR_IN_RETURNCHALLENGE: u32 = 16777216u32; -pub const CR_IN_ROBO: u32 = 2097152u32; -pub const CR_IN_RPC: u32 = 131072u32; -pub const CR_IN_SCEP: u32 = 65536u32; -pub const CR_IN_SCEPPOST: u32 = 33554432u32; -pub const CR_IN_SIGNEDCERTIFICATETIMESTAMPLIST: u32 = 1536u32; -pub const CR_OUT_BASE64: CERT_REQUEST_OUT_TYPE = 1i32; -pub const CR_OUT_BASE64HEADER: CERT_REQUEST_OUT_TYPE = 0i32; -pub const CR_OUT_BASE64REQUESTHEADER: u32 = 3u32; -pub const CR_OUT_BASE64X509CRLHEADER: u32 = 9u32; -pub const CR_OUT_BINARY: CERT_REQUEST_OUT_TYPE = 2i32; -pub const CR_OUT_CHAIN: u32 = 256u32; -pub const CR_OUT_CRLS: u32 = 512u32; -pub const CR_OUT_ENCODEMASK: u32 = 255u32; -pub const CR_OUT_HEX: u32 = 4u32; -pub const CR_OUT_HEXADDR: u32 = 10u32; -pub const CR_OUT_HEXASCII: u32 = 5u32; -pub const CR_OUT_HEXASCIIADDR: u32 = 11u32; -pub const CR_OUT_HEXRAW: u32 = 12u32; -pub const CR_OUT_NOCR: u32 = 2147483648u32; -pub const CR_OUT_NOCRLF: u32 = 1073741824u32; -pub const CR_PROP_ADVANCEDSERVER: u32 = 28u32; -pub const CR_PROP_BASECRL: u32 = 17u32; -pub const CR_PROP_BASECRLPUBLISHSTATUS: u32 = 30u32; -pub const CR_PROP_CABACKWARDCROSSCERT: u32 = 36u32; -pub const CR_PROP_CABACKWARDCROSSCERTSTATE: u32 = 38u32; -pub const CR_PROP_CACERTSTATE: u32 = 19u32; -pub const CR_PROP_CACERTSTATUSCODE: u32 = 34u32; -pub const CR_PROP_CACERTVERSION: u32 = 39u32; -pub const CR_PROP_CAFORWARDCROSSCERT: u32 = 35u32; -pub const CR_PROP_CAFORWARDCROSSCERTSTATE: u32 = 37u32; -pub const CR_PROP_CANAME: u32 = 6u32; -pub const CR_PROP_CAPROPIDMAX: u32 = 21u32; -pub const CR_PROP_CASIGCERT: u32 = 12u32; -pub const CR_PROP_CASIGCERTCHAIN: u32 = 13u32; -pub const CR_PROP_CASIGCERTCOUNT: u32 = 11u32; -pub const CR_PROP_CASIGCERTCRLCHAIN: u32 = 32u32; -pub const CR_PROP_CATYPE: u32 = 10u32; -pub const CR_PROP_CAXCHGCERT: u32 = 15u32; -pub const CR_PROP_CAXCHGCERTCHAIN: u32 = 16u32; -pub const CR_PROP_CAXCHGCERTCOUNT: u32 = 14u32; -pub const CR_PROP_CAXCHGCERTCRLCHAIN: u32 = 33u32; -pub const CR_PROP_CERTAIAOCSPURLS: u32 = 43u32; -pub const CR_PROP_CERTAIAURLS: u32 = 42u32; -pub const CR_PROP_CERTCDPURLS: u32 = 41u32; -pub const CR_PROP_CRLSTATE: u32 = 20u32; -pub const CR_PROP_DELTACRL: u32 = 18u32; -pub const CR_PROP_DELTACRLPUBLISHSTATUS: u32 = 31u32; -pub const CR_PROP_DNSNAME: u32 = 22u32; -pub const CR_PROP_EXITCOUNT: u32 = 3u32; -pub const CR_PROP_EXITDESCRIPTION: u32 = 4u32; -pub const CR_PROP_FILEVERSION: u32 = 1u32; -pub const CR_PROP_KRACERT: u32 = 26u32; -pub const CR_PROP_KRACERTCOUNT: u32 = 25u32; -pub const CR_PROP_KRACERTSTATE: u32 = 27u32; -pub const CR_PROP_KRACERTUSEDCOUNT: u32 = 24u32; -pub const CR_PROP_LOCALENAME: u32 = 44u32; -pub const CR_PROP_NONE: u32 = 0u32; -pub const CR_PROP_PARENTCA: u32 = 9u32; -pub const CR_PROP_POLICYDESCRIPTION: u32 = 5u32; -pub const CR_PROP_PRODUCTVERSION: u32 = 2u32; -pub const CR_PROP_ROLESEPARATIONENABLED: u32 = 23u32; -pub const CR_PROP_SANITIZEDCANAME: u32 = 7u32; -pub const CR_PROP_SANITIZEDCASHORTNAME: u32 = 40u32; -pub const CR_PROP_SCEPMAX: u32 = 1002u32; -pub const CR_PROP_SCEPMIN: u32 = 1000u32; -pub const CR_PROP_SCEPSERVERCAPABILITIES: u32 = 1001u32; -pub const CR_PROP_SCEPSERVERCERTS: u32 = 1000u32; -pub const CR_PROP_SCEPSERVERCERTSCHAIN: u32 = 1002u32; -pub const CR_PROP_SHAREDFOLDER: u32 = 8u32; -pub const CR_PROP_SUBJECTTEMPLATE_OIDS: u32 = 45u32; -pub const CR_PROP_TEMPLATES: u32 = 29u32; -pub const CSBACKUP_DISABLE_INCREMENTAL: u32 = 4294967295u32; -pub const CSBACKUP_TYPE_FULL: CSBACKUP_TYPE = 1u32; -pub const CSBACKUP_TYPE_LOGS_ONLY: CSBACKUP_TYPE = 2u32; -pub const CSBACKUP_TYPE_MASK: u32 = 3u32; -pub const CSBFT_DATABASE_DIRECTORY: u32 = 64u32; -pub const CSBFT_DIRECTORY: u32 = 128u32; -pub const CSBFT_LOG_DIRECTORY: u32 = 32u32; -pub const CSCONTROL_RESTART: u64 = 3u64; -pub const CSCONTROL_SHUTDOWN: u64 = 1u64; -pub const CSCONTROL_SUSPEND: u64 = 2u64; -pub const CSRESTORE_TYPE_CATCHUP: u32 = 4u32; -pub const CSRESTORE_TYPE_FULL: u32 = 1u32; -pub const CSRESTORE_TYPE_MASK: u32 = 5u32; -pub const CSRESTORE_TYPE_ONLINE: u32 = 2u32; -pub const CSURL_ADDTOCERTCDP: u32 = 2u32; -pub const CSURL_ADDTOCERTOCSP: u32 = 32u32; -pub const CSURL_ADDTOCRLCDP: u32 = 8u32; -pub const CSURL_ADDTOFRESHESTCRL: u32 = 4u32; -pub const CSURL_ADDTOIDP: u32 = 128u32; -pub const CSURL_PUBLISHRETRY: u32 = 16u32; -pub const CSURL_SERVERPUBLISH: u32 = 1u32; -pub const CSURL_SERVERPUBLISHDELTA: u32 = 64u32; -pub const CSVER_MAJOR: u32 = 7u32; -pub const CSVER_MAJOR_LONGHORN: u32 = 3u32; -pub const CSVER_MAJOR_THRESHOLD: u32 = 7u32; -pub const CSVER_MAJOR_WHISTLER: u32 = 2u32; -pub const CSVER_MAJOR_WIN2K: u32 = 1u32; -pub const CSVER_MAJOR_WIN7: u32 = 4u32; -pub const CSVER_MAJOR_WIN8: u32 = 5u32; -pub const CSVER_MAJOR_WINBLUE: u32 = 6u32; -pub const CSVER_MINOR: u32 = 1u32; -pub const CSVER_MINOR_LONGHORN_BETA1: u32 = 1u32; -pub const CSVER_MINOR_THRESHOLD: u32 = 1u32; -pub const CSVER_MINOR_WHISTLER_BETA2: u32 = 1u32; -pub const CSVER_MINOR_WHISTLER_BETA3: u32 = 2u32; -pub const CSVER_MINOR_WIN2K: u32 = 1u32; -pub const CSVER_MINOR_WIN7: u32 = 1u32; -pub const CSVER_MINOR_WIN8: u32 = 1u32; -pub const CSVER_MINOR_WINBLUE: u32 = 1u32; -pub const CSignerCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203d_217d_11da_b2a4_000e7bbb2b09); -pub const CSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201a_217d_11da_b2a4_000e7bbb2b09); -pub const CSmimeCapability: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2019_217d_11da_b2a4_000e7bbb2b09); -pub const CVIEWAGEMINUTESDEFAULT: u32 = 16u32; -pub const CVRC_COLUMN_MASK: CVRC_COLUMN = 4095i32; -pub const CVRC_COLUMN_RESULT: CVRC_COLUMN = 1i32; -pub const CVRC_COLUMN_SCHEMA: CVRC_COLUMN = 0i32; -pub const CVRC_COLUMN_VALUE: CVRC_COLUMN = 2i32; -pub const CVRC_TABLE_ATTRIBUTES: CVRC_TABLE = 16384i32; -pub const CVRC_TABLE_CRL: CVRC_TABLE = 20480i32; -pub const CVRC_TABLE_EXTENSIONS: CVRC_TABLE = 12288i32; -pub const CVRC_TABLE_MASK: u32 = 61440u32; -pub const CVRC_TABLE_REQCERT: CVRC_TABLE = 0i32; -pub const CVRC_TABLE_SHIFT: u32 = 12u32; -pub const CVR_SEEK_EQ: CERT_VIEW_SEEK_OPERATOR_FLAGS = 1i32; -pub const CVR_SEEK_GE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 8i32; -pub const CVR_SEEK_GT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 16i32; -pub const CVR_SEEK_LE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 4i32; -pub const CVR_SEEK_LT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 2i32; -pub const CVR_SEEK_MASK: u32 = 255u32; -pub const CVR_SEEK_NODELTA: u32 = 4096u32; -pub const CVR_SEEK_NONE: u32 = 0u32; -pub const CVR_SORT_ASCEND: u32 = 1u32; -pub const CVR_SORT_DESCEND: u32 = 2u32; -pub const CVR_SORT_NONE: u32 = 0u32; -pub const CV_COLUMN_ATTRIBUTE_DEFAULT: i32 = -5i32; -pub const CV_COLUMN_CRL_DEFAULT: i32 = -6i32; -pub const CV_COLUMN_EXTENSION_DEFAULT: i32 = -4i32; -pub const CV_COLUMN_LOG_DEFAULT: CERT_VIEW_COLUMN_INDEX = -2i32; -pub const CV_COLUMN_LOG_FAILED_DEFAULT: CERT_VIEW_COLUMN_INDEX = -3i32; -pub const CV_COLUMN_LOG_REVOKED_DEFAULT: i32 = -7i32; -pub const CV_COLUMN_QUEUE_DEFAULT: CERT_VIEW_COLUMN_INDEX = -1i32; -pub const CV_OUT_BASE64: ENUM_CERT_COLUMN_VALUE_FLAGS = 1i32; -pub const CV_OUT_BASE64HEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 0i32; -pub const CV_OUT_BASE64REQUESTHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 3i32; -pub const CV_OUT_BASE64X509CRLHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 9i32; -pub const CV_OUT_BINARY: ENUM_CERT_COLUMN_VALUE_FLAGS = 2i32; -pub const CV_OUT_ENCODEMASK: u32 = 255u32; -pub const CV_OUT_HEX: ENUM_CERT_COLUMN_VALUE_FLAGS = 4i32; -pub const CV_OUT_HEXADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 10i32; -pub const CV_OUT_HEXASCII: ENUM_CERT_COLUMN_VALUE_FLAGS = 5i32; -pub const CV_OUT_HEXASCIIADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 11i32; -pub const CV_OUT_HEXRAW: u32 = 12u32; -pub const CV_OUT_NOCR: u32 = 2147483648u32; -pub const CV_OUT_NOCRLF: u32 = 1073741824u32; -pub const CX500DistinguishedName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2003_217d_11da_b2a4_000e7bbb2b09); -pub const CX509Attribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2022_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeArchiveKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2027_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeArchiveKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2028_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeClientId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2025_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeCspProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202b_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2024_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeOSVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202a_217d_11da_b2a4_000e7bbb2b09); -pub const CX509AttributeRenewalCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2026_217d_11da_b2a4_000e7bbb2b09); -pub const CX509Attributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2023_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRequestCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2043_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRequestCmc: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2045_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRequestPkcs10: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2042_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRequestPkcs7: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2044_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRevocationList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2060_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRevocationListEntries: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205f_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateRevocationListEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205e_217d_11da_b2a4_000e7bbb2b09); -pub const CX509CertificateTemplateADWritable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8336e323_2e6a_4a04_937c_548f681839b3); -pub const CX509EndorsementKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11a25a1d_b9a3_4edd_af83_3b59adbed361); -pub const CX509Enrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2046_217d_11da_b2a4_000e7bbb2b09); -pub const CX509EnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2050_217d_11da_b2a4_000e7bbb2b09); -pub const CX509EnrollmentPolicyActiveDirectory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39027_217f_11da_b2a4_000e7bbb2b09); -pub const CX509EnrollmentPolicyWebService: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39028_217f_11da_b2a4_000e7bbb2b09); -pub const CX509EnrollmentWebClassFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2049_217d_11da_b2a4_000e7bbb2b09); -pub const CX509Extension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200d_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2015_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionAuthorityKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2018_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionBasicConstraints: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2016_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2020_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionEnhancedKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2010_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200f_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionMSApplicationPolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2021_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201b_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionSubjectKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2017_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2012_217d_11da_b2a4_000e7bbb2b09); -pub const CX509ExtensionTemplateName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2011_217d_11da_b2a4_000e7bbb2b09); -pub const CX509Extensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200e_217d_11da_b2a4_000e7bbb2b09); -pub const CX509MachineEnrollmentFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2051_217d_11da_b2a4_000e7bbb2b09); -pub const CX509NameValuePair: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203f_217d_11da_b2a4_000e7bbb2b09); -pub const CX509PolicyServerListManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39029_217f_11da_b2a4_000e7bbb2b09); -pub const CX509PolicyServerUrl: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f3902a_217f_11da_b2a4_000e7bbb2b09); -pub const CX509PrivateKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200c_217d_11da_b2a4_000e7bbb2b09); -pub const CX509PublicKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200b_217d_11da_b2a4_000e7bbb2b09); -pub const CX509SCEPEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2061_217d_11da_b2a4_000e7bbb2b09); -pub const CX509SCEPEnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2062_217d_11da_b2a4_000e7bbb2b09); -pub const ClientIdAutoEnroll: RequestClientInfoClientId = 6i32; -pub const ClientIdAutoEnroll2003: RequestClientInfoClientId = 2i32; -pub const ClientIdCertReq: RequestClientInfoClientId = 9i32; -pub const ClientIdCertReq2003: RequestClientInfoClientId = 4i32; -pub const ClientIdDefaultRequest: RequestClientInfoClientId = 5i32; -pub const ClientIdEOBO: RequestClientInfoClientId = 8i32; -pub const ClientIdNone: RequestClientInfoClientId = 0i32; -pub const ClientIdRequestWizard: RequestClientInfoClientId = 7i32; -pub const ClientIdTest: RequestClientInfoClientId = 10i32; -pub const ClientIdUserStart: RequestClientInfoClientId = 1000i32; -pub const ClientIdWinRT: RequestClientInfoClientId = 11i32; -pub const ClientIdWizard2003: RequestClientInfoClientId = 3i32; -pub const ClientIdXEnroll2003: RequestClientInfoClientId = 1i32; -pub const CommitFlagDeleteTemplate: CommitTemplateFlags = 4i32; -pub const CommitFlagSaveTemplateGenerateOID: CommitTemplateFlags = 1i32; -pub const CommitFlagSaveTemplateOverwrite: CommitTemplateFlags = 3i32; -pub const CommitFlagSaveTemplateUseCurrentOID: CommitTemplateFlags = 2i32; -pub const ContextAdministratorForceMachine: X509CertificateEnrollmentContext = 3i32; -pub const ContextMachine: X509CertificateEnrollmentContext = 2i32; -pub const ContextNone: X509CertificateEnrollmentContext = 0i32; -pub const ContextUser: X509CertificateEnrollmentContext = 1i32; -pub const DBFLAGS_CHECKPOINTDEPTH60MB: u32 = 32u32; -pub const DBFLAGS_CIRCULARLOGGING: u32 = 4u32; -pub const DBFLAGS_CREATEIFNEEDED: u32 = 2u32; -pub const DBFLAGS_DISABLESNAPSHOTBACKUP: u32 = 1024u32; -pub const DBFLAGS_ENABLEVOLATILEREQUESTS: u32 = 2048u32; -pub const DBFLAGS_LAZYFLUSH: u32 = 8u32; -pub const DBFLAGS_LOGBUFFERSHUGE: u32 = 128u32; -pub const DBFLAGS_LOGBUFFERSLARGE: u32 = 64u32; -pub const DBFLAGS_LOGFILESIZE16MB: u32 = 256u32; -pub const DBFLAGS_MAXCACHESIZEX100: u32 = 16u32; -pub const DBFLAGS_MULTITHREADTRANSACTIONS: u32 = 512u32; -pub const DBFLAGS_READONLY: u32 = 1u32; -pub const DBG_CERTSRV: u32 = 1u32; -pub const DBSESSIONCOUNTDEFAULT: u32 = 100u32; -pub const DB_DISP_ACTIVE: u32 = 8u32; -pub const DB_DISP_CA_CERT: u32 = 15u32; -pub const DB_DISP_CA_CERT_CHAIN: u32 = 16u32; -pub const DB_DISP_DENIED: u32 = 31u32; -pub const DB_DISP_ERROR: u32 = 30u32; -pub const DB_DISP_FOREIGN: u32 = 12u32; -pub const DB_DISP_ISSUED: u32 = 20u32; -pub const DB_DISP_KRA_CERT: u32 = 17u32; -pub const DB_DISP_LOG_FAILED_MIN: u32 = 30u32; -pub const DB_DISP_LOG_MIN: u32 = 20u32; -pub const DB_DISP_PENDING: u32 = 9u32; -pub const DB_DISP_QUEUE_MAX: u32 = 9u32; -pub const DB_DISP_REVOKED: u32 = 21u32; -pub const DefaultNone: EnrollmentPolicyServerPropertyFlags = 0i32; -pub const DefaultPolicyServer: EnrollmentPolicyServerPropertyFlags = 1i32; -pub const DelayRetryLong: DelayRetryAction = 3i32; -pub const DelayRetryNone: DelayRetryAction = 1i32; -pub const DelayRetryPastSuccess: DelayRetryAction = 5i32; -pub const DelayRetryShort: DelayRetryAction = 2i32; -pub const DelayRetrySuccess: DelayRetryAction = 4i32; -pub const DelayRetryUnknown: DelayRetryAction = 0i32; -pub const DisableGroupPolicyList: EnrollmentPolicyFlags = 2i32; -pub const DisableUserServerList: EnrollmentPolicyFlags = 4i32; -pub const DisplayNo: EnrollmentDisplayStatus = 0i32; -pub const DisplayYes: EnrollmentDisplayStatus = 1i32; -pub const EANR_SUPPRESS_IA5CONVERSION: u32 = 2147483648u32; -pub const EAN_NAMEOBJECTID: u32 = 2147483648u32; -pub const EDITF_ADDOLDCERTTYPE: u32 = 16u32; -pub const EDITF_ADDOLDKEYUSAGE: u32 = 8u32; -pub const EDITF_ATTRIBUTECA: u32 = 512u32; -pub const EDITF_ATTRIBUTEEKU: u32 = 32768u32; -pub const EDITF_ATTRIBUTEENDDATE: u32 = 32u32; -pub const EDITF_ATTRIBUTESUBJECTALTNAME2: u32 = 262144u32; -pub const EDITF_AUDITCERTTEMPLATELOAD: u32 = 2097152u32; -pub const EDITF_BASICCONSTRAINTSCA: u32 = 128u32; -pub const EDITF_BASICCONSTRAINTSCRITICAL: u32 = 64u32; -pub const EDITF_DISABLEEXTENSIONLIST: u32 = 4u32; -pub const EDITF_DISABLELDAPPACKAGELIST: u32 = 8388608u32; -pub const EDITF_DISABLEOLDOSCNUPN: u32 = 4194304u32; -pub const EDITF_EMAILOPTIONAL: u32 = 131072u32; -pub const EDITF_ENABLEAKICRITICAL: u32 = 8192u32; -pub const EDITF_ENABLEAKIISSUERNAME: u32 = 2048u32; -pub const EDITF_ENABLEAKIISSUERSERIAL: u32 = 4096u32; -pub const EDITF_ENABLEAKIKEYID: u32 = 256u32; -pub const EDITF_ENABLECHASECLIENTDC: u32 = 1048576u32; -pub const EDITF_ENABLEDEFAULTSMIME: u32 = 65536u32; -pub const EDITF_ENABLEKEYENCIPHERMENTCACERT: u32 = 134217728u32; -pub const EDITF_ENABLELDAPREFERRALS: u32 = 524288u32; -pub const EDITF_ENABLEOCSPREVNOCHECK: u32 = 33554432u32; -pub const EDITF_ENABLERENEWONBEHALFOF: u32 = 67108864u32; -pub const EDITF_ENABLEREQUESTEXTENSIONS: u32 = 1u32; -pub const EDITF_ENABLEUPNMAP: u32 = 16777216u32; -pub const EDITF_IGNOREREQUESTERGROUP: u32 = 1024u32; -pub const EDITF_REQUESTEXTENSIONLIST: u32 = 2u32; -pub const EDITF_SERVERUPGRADED: u32 = 16384u32; -pub const ENUMEXT_OBJECTID: u32 = 1u32; -pub const ENUM_ENTERPRISE_ROOTCA: ENUM_CATYPES = 0i32; -pub const ENUM_ENTERPRISE_SUBCA: ENUM_CATYPES = 1i32; -pub const ENUM_STANDALONE_ROOTCA: ENUM_CATYPES = 3i32; -pub const ENUM_STANDALONE_SUBCA: ENUM_CATYPES = 4i32; -pub const ENUM_UNKNOWN_CA: ENUM_CATYPES = 5i32; -pub const EXITEVENT_CERTDENIED: CERT_EXIT_EVENT_MASK = 4u32; -pub const EXITEVENT_CERTIMPORTED: u32 = 512u32; -pub const EXITEVENT_CERTISSUED: CERT_EXIT_EVENT_MASK = 1u32; -pub const EXITEVENT_CERTPENDING: CERT_EXIT_EVENT_MASK = 2u32; -pub const EXITEVENT_CERTRETRIEVEPENDING: CERT_EXIT_EVENT_MASK = 16u32; -pub const EXITEVENT_CERTREVOKED: CERT_EXIT_EVENT_MASK = 8u32; -pub const EXITEVENT_CRLISSUED: CERT_EXIT_EVENT_MASK = 32u32; -pub const EXITEVENT_INVALID: u32 = 0u32; -pub const EXITEVENT_SHUTDOWN: CERT_EXIT_EVENT_MASK = 64u32; -pub const EXITEVENT_STARTUP: u32 = 128u32; -pub const EXITPUB_ACTIVEDIRECTORY: u32 = 2u32; -pub const EXITPUB_DEFAULT_ENTERPRISE: u32 = 2u32; -pub const EXITPUB_DEFAULT_STANDALONE: u32 = 1u32; -pub const EXITPUB_FILE: u32 = 1u32; -pub const EXITPUB_REMOVEOLDCERTS: u32 = 16u32; -pub const EXTENSION_CRITICAL_FLAG: u32 = 1u32; -pub const EXTENSION_DELETE_FLAG: u32 = 4u32; -pub const EXTENSION_DISABLE_FLAG: u32 = 2u32; -pub const EXTENSION_ORIGIN_ADMIN: u32 = 196608u32; -pub const EXTENSION_ORIGIN_CACERT: u32 = 589824u32; -pub const EXTENSION_ORIGIN_CMC: u32 = 524288u32; -pub const EXTENSION_ORIGIN_IMPORTEDCERT: u32 = 393216u32; -pub const EXTENSION_ORIGIN_MASK: u32 = 983040u32; -pub const EXTENSION_ORIGIN_PKCS7: u32 = 458752u32; -pub const EXTENSION_ORIGIN_POLICY: u32 = 131072u32; -pub const EXTENSION_ORIGIN_RENEWALCERT: u32 = 327680u32; -pub const EXTENSION_ORIGIN_REQUEST: u32 = 65536u32; -pub const EXTENSION_ORIGIN_SERVER: u32 = 262144u32; -pub const EXTENSION_POLICY_MASK: u32 = 65535u32; -pub const EnrollDenied: EnrollmentEnrollStatus = 256i32; -pub const EnrollError: EnrollmentEnrollStatus = 16i32; -pub const EnrollPended: EnrollmentEnrollStatus = 2i32; -pub const EnrollPrompt: WebEnrollmentFlags = 1i32; -pub const EnrollSkipped: EnrollmentEnrollStatus = 64i32; -pub const EnrollUIDeferredEnrollmentRequired: EnrollmentEnrollStatus = 4i32; -pub const EnrollUnknown: EnrollmentEnrollStatus = 32i32; -pub const Enrolled: EnrollmentEnrollStatus = 1i32; -pub const EnrollmentAddOCSPNoCheck: X509CertificateTemplateEnrollmentFlag = 4096i32; -pub const EnrollmentAddTemplateName: X509CertificateTemplateEnrollmentFlag = 512i32; -pub const EnrollmentAllowEnrollOnBehalfOf: X509CertificateTemplateEnrollmentFlag = 2048i32; -pub const EnrollmentAutoEnrollment: X509CertificateTemplateEnrollmentFlag = 32i32; -pub const EnrollmentAutoEnrollmentCheckUserDSCertificate: X509CertificateTemplateEnrollmentFlag = 16i32; -pub const EnrollmentCertificateIssuancePoliciesFromRequest: X509CertificateTemplateEnrollmentFlag = 131072i32; -pub const EnrollmentDomainAuthenticationNotRequired: X509CertificateTemplateEnrollmentFlag = 128i32; -pub const EnrollmentIncludeBasicConstraintsForEECerts: X509CertificateTemplateEnrollmentFlag = 32768i32; -pub const EnrollmentIncludeSymmetricAlgorithms: X509CertificateTemplateEnrollmentFlag = 1i32; -pub const EnrollmentNoRevocationInfoInCerts: X509CertificateTemplateEnrollmentFlag = 16384i32; -pub const EnrollmentPendAllRequests: X509CertificateTemplateEnrollmentFlag = 2i32; -pub const EnrollmentPreviousApprovalKeyBasedValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 65536i32; -pub const EnrollmentPreviousApprovalValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 64i32; -pub const EnrollmentPublishToDS: X509CertificateTemplateEnrollmentFlag = 8i32; -pub const EnrollmentPublishToKRAContainer: X509CertificateTemplateEnrollmentFlag = 4i32; -pub const EnrollmentRemoveInvalidCertificateFromPersonalStore: X509CertificateTemplateEnrollmentFlag = 1024i32; -pub const EnrollmentReuseKeyOnFullSmartCard: X509CertificateTemplateEnrollmentFlag = 8192i32; -pub const EnrollmentSkipAutoRenewal: X509CertificateTemplateEnrollmentFlag = 262144i32; -pub const EnrollmentUserInteractionRequired: X509CertificateTemplateEnrollmentFlag = 256i32; -pub const ExportCAs: X509EnrollmentPolicyExportFlags = 4i32; -pub const ExportOIDs: X509EnrollmentPolicyExportFlags = 2i32; -pub const ExportTemplates: X509EnrollmentPolicyExportFlags = 1i32; -pub const FR_PROP_ATTESTATIONCHALLENGE: FULL_RESPONSE_PROPERTY_ID = 20i32; -pub const FR_PROP_ATTESTATIONPROVIDERNAME: FULL_RESPONSE_PROPERTY_ID = 21i32; -pub const FR_PROP_BODYPARTSTRING: FULL_RESPONSE_PROPERTY_ID = 3i32; -pub const FR_PROP_CAEXCHANGECERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 17i32; -pub const FR_PROP_CAEXCHANGECERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 18i32; -pub const FR_PROP_CAEXCHANGECERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 19i32; -pub const FR_PROP_CAEXCHANGECERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 16i32; -pub const FR_PROP_CLAIMCHALLENGE: u32 = 22u32; -pub const FR_PROP_ENCRYPTEDKEYHASH: FULL_RESPONSE_PROPERTY_ID = 14i32; -pub const FR_PROP_FAILINFO: FULL_RESPONSE_PROPERTY_ID = 7i32; -pub const FR_PROP_FULLRESPONSE: FULL_RESPONSE_PROPERTY_ID = 1i32; -pub const FR_PROP_FULLRESPONSENOPKCS7: FULL_RESPONSE_PROPERTY_ID = 15i32; -pub const FR_PROP_ISSUEDCERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 11i32; -pub const FR_PROP_ISSUEDCERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 12i32; -pub const FR_PROP_ISSUEDCERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 13i32; -pub const FR_PROP_ISSUEDCERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 10i32; -pub const FR_PROP_NONE: FULL_RESPONSE_PROPERTY_ID = 0i32; -pub const FR_PROP_OTHERINFOCHOICE: FULL_RESPONSE_PROPERTY_ID = 6i32; -pub const FR_PROP_PENDINFOTIME: FULL_RESPONSE_PROPERTY_ID = 9i32; -pub const FR_PROP_PENDINFOTOKEN: FULL_RESPONSE_PROPERTY_ID = 8i32; -pub const FR_PROP_STATUS: FULL_RESPONSE_PROPERTY_ID = 4i32; -pub const FR_PROP_STATUSINFOCOUNT: FULL_RESPONSE_PROPERTY_ID = 2i32; -pub const FR_PROP_STATUSSTRING: FULL_RESPONSE_PROPERTY_ID = 5i32; -pub const GeneralCA: X509CertificateTemplateGeneralFlag = 128i32; -pub const GeneralCrossCA: X509CertificateTemplateGeneralFlag = 2048i32; -pub const GeneralDefault: X509CertificateTemplateGeneralFlag = 65536i32; -pub const GeneralDonotPersist: X509CertificateTemplateGeneralFlag = 4096i32; -pub const GeneralMachineType: X509CertificateTemplateGeneralFlag = 64i32; -pub const GeneralModified: X509CertificateTemplateGeneralFlag = 131072i32; -pub const ICF_ALLOWFOREIGN: u32 = 65536u32; -pub const ICF_EXISTINGROW: u32 = 131072u32; -pub const IF_ENABLEADMINASAUDITOR: u32 = 4096u32; -pub const IF_ENABLEEXITKEYRETRIEVAL: u32 = 2048u32; -pub const IF_ENFORCEENCRYPTICERTADMIN: u32 = 1024u32; -pub const IF_ENFORCEENCRYPTICERTREQUEST: u32 = 512u32; -pub const IF_LOCKICERTREQUEST: u32 = 1u32; -pub const IF_NOLOCALICERTADMIN: u32 = 32u32; -pub const IF_NOLOCALICERTADMINBACKUP: u32 = 128u32; -pub const IF_NOLOCALICERTREQUEST: u32 = 4u32; -pub const IF_NOREMOTEICERTADMIN: u32 = 16u32; -pub const IF_NOREMOTEICERTADMINBACKUP: u32 = 64u32; -pub const IF_NOREMOTEICERTREQUEST: u32 = 2u32; -pub const IF_NORPCICERTREQUEST: u32 = 8u32; -pub const IF_NOSNAPSHOTBACKUP: u32 = 256u32; -pub const IKF_OVERWRITE: u32 = 65536u32; -pub const ISSCERT_DEFAULT_DS: u32 = 256u32; -pub const ISSCERT_DEFAULT_NODS: u32 = 256u32; -pub const ISSCERT_ENABLE: u32 = 256u32; -pub const ISSCERT_FILEURL_OLD: u32 = 8u32; -pub const ISSCERT_FTPURL_OLD: u32 = 4u32; -pub const ISSCERT_HTTPURL_OLD: u32 = 2u32; -pub const ISSCERT_LDAPURL_OLD: u32 = 1u32; -pub const ISSCERT_URLMASK_OLD: u32 = 255u32; -pub const ImportExportable: ImportPFXFlags = 16i32; -pub const ImportExportableEncrypted: ImportPFXFlags = 32i32; -pub const ImportForceOverwrite: ImportPFXFlags = 2i32; -pub const ImportInstallCertificate: ImportPFXFlags = 512i32; -pub const ImportInstallChain: ImportPFXFlags = 1024i32; -pub const ImportInstallChainAndRoot: ImportPFXFlags = 2048i32; -pub const ImportMachineContext: ImportPFXFlags = 1i32; -pub const ImportNoUserProtected: ImportPFXFlags = 64i32; -pub const ImportNone: ImportPFXFlags = 0i32; -pub const ImportSaveProperties: ImportPFXFlags = 8i32; -pub const ImportSilent: ImportPFXFlags = 4i32; -pub const ImportUserProtected: ImportPFXFlags = 128i32; -pub const ImportUserProtectedHigh: ImportPFXFlags = 256i32; -pub const InheritDefault: X509RequestInheritOptions = 0i32; -pub const InheritExtensionsFlag: X509RequestInheritOptions = 256i32; -pub const InheritKeyMask: X509RequestInheritOptions = 15i32; -pub const InheritNewDefaultKey: X509RequestInheritOptions = 1i32; -pub const InheritNewSimilarKey: X509RequestInheritOptions = 2i32; -pub const InheritNone: X509RequestInheritOptions = 16i32; -pub const InheritPrivateKey: X509RequestInheritOptions = 3i32; -pub const InheritPublicKey: X509RequestInheritOptions = 4i32; -pub const InheritRenewalCertificateFlag: X509RequestInheritOptions = 32i32; -pub const InheritReserved80000000: X509RequestInheritOptions = -2147483648i32; -pub const InheritSubjectAltNameFlag: X509RequestInheritOptions = 512i32; -pub const InheritSubjectFlag: X509RequestInheritOptions = 128i32; -pub const InheritTemplateFlag: X509RequestInheritOptions = 64i32; -pub const InheritValidityPeriodFlag: X509RequestInheritOptions = 1024i32; -pub const KRAF_DISABLEUSEDEFAULTPROVIDER: u32 = 8u32; -pub const KRAF_ENABLEARCHIVEALL: u32 = 4u32; -pub const KRAF_ENABLEFOREIGN: u32 = 1u32; -pub const KRAF_SAVEBADREQUESTKEY: u32 = 2u32; -pub const KRA_DISP_EXPIRED: u32 = 0u32; -pub const KRA_DISP_INVALID: u32 = 4u32; -pub const KRA_DISP_NOTFOUND: u32 = 1u32; -pub const KRA_DISP_NOTLOADED: u32 = 6u32; -pub const KRA_DISP_REVOKED: u32 = 2u32; -pub const KRA_DISP_UNTRUSTED: u32 = 5u32; -pub const KRA_DISP_VALID: u32 = 3u32; -pub const KR_ENABLE_MACHINE: u32 = 1u32; -pub const KR_ENABLE_USER: u32 = 2u32; -pub const LDAPF_SIGNDISABLE: u32 = 2u32; -pub const LDAPF_SSLENABLE: u32 = 1u32; -pub const LevelInnermost: InnerRequestLevel = 0i32; -pub const LevelNext: InnerRequestLevel = 1i32; -pub const LevelSafe: WebSecurityLevel = 1i32; -pub const LevelUnsafe: WebSecurityLevel = 0i32; -pub const LoadOptionCacheOnly: X509EnrollmentPolicyLoadOption = 1i32; -pub const LoadOptionDefault: X509EnrollmentPolicyLoadOption = 0i32; -pub const LoadOptionRegisterForADChanges: X509EnrollmentPolicyLoadOption = 4i32; -pub const LoadOptionReload: X509EnrollmentPolicyLoadOption = 2i32; -pub const OCSPAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3f73511_92c9_47cb_8ff2_8d891a7c4de4); -pub const OCSPPropertyCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf935a528_ba8a_4dd9_ba79_f283275cb2de); -pub const OCSP_RF_REJECT_SIGNED_REQUESTS: OCSPRequestFlag = 1i32; -pub const OCSP_SF_ALLOW_NONCE_EXTENSION: OCSPSigningFlag = 256i32; -pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTOENROLLMENT: OCSPSigningFlag = 512i32; -pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTORENEWAL: OCSPSigningFlag = 4i32; -pub const OCSP_SF_AUTODISCOVER_SIGNINGCERT: OCSPSigningFlag = 16i32; -pub const OCSP_SF_FORCE_SIGNINGCERT_ISSUER_ISCA: OCSPSigningFlag = 8i32; -pub const OCSP_SF_MANUAL_ASSIGN_SIGNINGCERT: OCSPSigningFlag = 32i32; -pub const OCSP_SF_RESPONDER_ID_KEYHASH: OCSPSigningFlag = 64i32; -pub const OCSP_SF_RESPONDER_ID_NAME: OCSPSigningFlag = 128i32; -pub const OCSP_SF_SILENT: OCSPSigningFlag = 1i32; -pub const OCSP_SF_USE_CACERT: OCSPSigningFlag = 2i32; -pub const PFXExportChainNoRoot: PFXExportOptions = 1i32; -pub const PFXExportChainWithRoot: PFXExportOptions = 2i32; -pub const PFXExportEEOnly: PFXExportOptions = 0i32; -pub const PROCFLG_ENFORCEGOODKEYS: u32 = 1u32; -pub const PROCFLG_NONE: u32 = 0u32; -pub const PROPCALLER_ADMIN: u32 = 1024u32; -pub const PROPCALLER_EXIT: u32 = 768u32; -pub const PROPCALLER_MASK: u32 = 3840u32; -pub const PROPCALLER_POLICY: u32 = 512u32; -pub const PROPCALLER_REQUEST: u32 = 1280u32; -pub const PROPCALLER_SERVER: u32 = 256u32; -pub const PROPFLAGS_INDEXED: u32 = 65536u32; -pub const PROPTYPE_BINARY: CERT_PROPERTY_TYPE = 3i32; -pub const PROPTYPE_DATE: CERT_PROPERTY_TYPE = 2i32; -pub const PROPTYPE_LONG: CERT_PROPERTY_TYPE = 1i32; -pub const PROPTYPE_MASK: u32 = 255u32; -pub const PROPTYPE_STRING: CERT_PROPERTY_TYPE = 4i32; -pub const PolicyQualifierTypeFlags: PolicyQualifierType = 3i32; -pub const PolicyQualifierTypeUnknown: PolicyQualifierType = 0i32; -pub const PolicyQualifierTypeUrl: PolicyQualifierType = 1i32; -pub const PolicyQualifierTypeUserNotice: PolicyQualifierType = 2i32; -pub const PrivateKeyAttestMask: X509CertificateTemplatePrivateKeyFlag = 12288i32; -pub const PrivateKeyAttestNone: X509CertificateTemplatePrivateKeyFlag = 0i32; -pub const PrivateKeyAttestPreferred: X509CertificateTemplatePrivateKeyFlag = 4096i32; -pub const PrivateKeyAttestRequired: X509CertificateTemplatePrivateKeyFlag = 8192i32; -pub const PrivateKeyAttestWithoutPolicy: X509CertificateTemplatePrivateKeyFlag = 16384i32; -pub const PrivateKeyClientVersionMask: X509CertificateTemplatePrivateKeyFlag = 251658240i32; -pub const PrivateKeyClientVersionShift: X509CertificateTemplatePrivateKeyFlag = 24i32; -pub const PrivateKeyEKTrustOnUse: X509CertificateTemplatePrivateKeyFlag = 512i32; -pub const PrivateKeyEKValidateCert: X509CertificateTemplatePrivateKeyFlag = 1024i32; -pub const PrivateKeyEKValidateKey: X509CertificateTemplatePrivateKeyFlag = 2048i32; -pub const PrivateKeyExportable: X509CertificateTemplatePrivateKeyFlag = 16i32; -pub const PrivateKeyHelloKspKey: X509CertificateTemplatePrivateKeyFlag = 1048576i32; -pub const PrivateKeyHelloLogonKey: X509CertificateTemplatePrivateKeyFlag = 2097152i32; -pub const PrivateKeyRequireAlternateSignatureAlgorithm: X509CertificateTemplatePrivateKeyFlag = 64i32; -pub const PrivateKeyRequireArchival: X509CertificateTemplatePrivateKeyFlag = 1i32; -pub const PrivateKeyRequireSameKeyRenewal: X509CertificateTemplatePrivateKeyFlag = 128i32; -pub const PrivateKeyRequireStrongKeyProtection: X509CertificateTemplatePrivateKeyFlag = 32i32; -pub const PrivateKeyServerVersionMask: X509CertificateTemplatePrivateKeyFlag = 983040i32; -pub const PrivateKeyServerVersionShift: X509CertificateTemplatePrivateKeyFlag = 16i32; -pub const PrivateKeyUseLegacyProvider: X509CertificateTemplatePrivateKeyFlag = 256i32; -pub const PsFriendlyName: PolicyServerUrlPropertyID = 1i32; -pub const PsPolicyID: PolicyServerUrlPropertyID = 0i32; -pub const PsfAllowUnTrustedCA: PolicyServerUrlFlags = 32i32; -pub const PsfAutoEnrollmentEnabled: PolicyServerUrlFlags = 16i32; -pub const PsfLocationGroupPolicy: PolicyServerUrlFlags = 1i32; -pub const PsfLocationRegistry: PolicyServerUrlFlags = 2i32; -pub const PsfNone: PolicyServerUrlFlags = 0i32; -pub const PsfUseClientId: PolicyServerUrlFlags = 4i32; -pub const REQDISP_DEFAULT_ENTERPRISE: u32 = 1u32; -pub const REQDISP_DENY: u32 = 2u32; -pub const REQDISP_ISSUE: u32 = 1u32; -pub const REQDISP_MASK: u32 = 255u32; -pub const REQDISP_PENDING: u32 = 0u32; -pub const REQDISP_PENDINGFIRST: u32 = 256u32; -pub const REQDISP_USEREQUESTATTRIBUTE: u32 = 3u32; -pub const REVEXT_ASPENABLE: u32 = 512u32; -pub const REVEXT_CDPENABLE: u32 = 256u32; -pub const REVEXT_CDPFILEURL_OLD: u32 = 8u32; -pub const REVEXT_CDPFTPURL_OLD: u32 = 4u32; -pub const REVEXT_CDPHTTPURL_OLD: u32 = 2u32; -pub const REVEXT_CDPLDAPURL_OLD: u32 = 1u32; -pub const REVEXT_CDPURLMASK_OLD: u32 = 255u32; -pub const REVEXT_DEFAULT_DS: u32 = 256u32; -pub const REVEXT_DEFAULT_NODS: u32 = 256u32; -pub const SCEPDispositionFailure: X509SCEPDisposition = 2i32; -pub const SCEPDispositionPending: X509SCEPDisposition = 3i32; -pub const SCEPDispositionPendingChallenge: X509SCEPDisposition = 11i32; -pub const SCEPDispositionSuccess: X509SCEPDisposition = 0i32; -pub const SCEPDispositionUnknown: X509SCEPDisposition = -1i32; -pub const SCEPFailBadAlgorithm: X509SCEPFailInfo = 0i32; -pub const SCEPFailBadCertId: X509SCEPFailInfo = 4i32; -pub const SCEPFailBadMessageCheck: X509SCEPFailInfo = 1i32; -pub const SCEPFailBadRequest: X509SCEPFailInfo = 2i32; -pub const SCEPFailBadTime: X509SCEPFailInfo = 3i32; -pub const SCEPFailUnknown: X509SCEPFailInfo = -1i32; -pub const SCEPMessageCertResponse: X509SCEPMessageType = 3i32; -pub const SCEPMessageClaimChallengeAnswer: X509SCEPMessageType = 41i32; -pub const SCEPMessageGetCRL: X509SCEPMessageType = 22i32; -pub const SCEPMessageGetCert: X509SCEPMessageType = 21i32; -pub const SCEPMessageGetCertInitial: X509SCEPMessageType = 20i32; -pub const SCEPMessagePKCSRequest: X509SCEPMessageType = 19i32; -pub const SCEPMessageUnknown: X509SCEPMessageType = -1i32; -pub const SCEPProcessDefault: X509SCEPProcessMessageFlags = 0i32; -pub const SCEPProcessSkipCertInstall: X509SCEPProcessMessageFlags = 1i32; -pub const SETUP_ATTEMPT_VROOT_CREATE: u32 = 128u32; -pub const SETUP_CLIENT_FLAG: u32 = 2u32; -pub const SETUP_CREATEDB_FLAG: u32 = 64u32; -pub const SETUP_DCOM_SECURITY_UPDATED_FLAG: u32 = 8192u32; -pub const SETUP_DENIED_FLAG: u32 = 32u32; -pub const SETUP_FORCECRL_FLAG: u32 = 256u32; -pub const SETUP_ONLINE_FLAG: u32 = 16u32; -pub const SETUP_REQUEST_FLAG: u32 = 8u32; -pub const SETUP_SECURITY_CHANGED: u32 = 4096u32; -pub const SETUP_SERVER_FLAG: u32 = 1u32; -pub const SETUP_SERVER_IS_UP_TO_DATE_FLAG: u32 = 16384u32; -pub const SETUP_SERVER_UPGRADED_FLAG: u32 = 1024u32; -pub const SETUP_SUSPEND_FLAG: u32 = 4u32; -pub const SETUP_UPDATE_CAOBJECT_SVRTYPE: u32 = 512u32; -pub const SETUP_W2K_SECURITY_NOT_UPGRADED_FLAG: u32 = 2048u32; -pub const SKIHashCapiSha1: KeyIdentifierHashAlgorithm = 2i32; -pub const SKIHashDefault: KeyIdentifierHashAlgorithm = 0i32; -pub const SKIHashHPKP: KeyIdentifierHashAlgorithm = 5i32; -pub const SKIHashSha1: KeyIdentifierHashAlgorithm = 1i32; -pub const SKIHashSha256: KeyIdentifierHashAlgorithm = 3i32; -pub const SelectedNo: EnrollmentSelectionStatus = 0i32; -pub const SelectedYes: EnrollmentSelectionStatus = 1i32; -pub const SubjectAlternativeNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 65536i32; -pub const SubjectAlternativeNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 134217728i32; -pub const SubjectAlternativeNameRequireDirectoryGUID: X509CertificateTemplateSubjectNameFlag = 16777216i32; -pub const SubjectAlternativeNameRequireDomainDNS: X509CertificateTemplateSubjectNameFlag = 4194304i32; -pub const SubjectAlternativeNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 67108864i32; -pub const SubjectAlternativeNameRequireSPN: X509CertificateTemplateSubjectNameFlag = 8388608i32; -pub const SubjectAlternativeNameRequireUPN: X509CertificateTemplateSubjectNameFlag = 33554432i32; -pub const SubjectNameAndAlternativeNameOldCertSupplies: X509CertificateTemplateSubjectNameFlag = 8i32; -pub const SubjectNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 1i32; -pub const SubjectNameRequireCommonName: X509CertificateTemplateSubjectNameFlag = 1073741824i32; -pub const SubjectNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 268435456i32; -pub const SubjectNameRequireDirectoryPath: X509CertificateTemplateSubjectNameFlag = -2147483648i32; -pub const SubjectNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 536870912i32; -pub const TP_MACHINEPOLICY: u32 = 1u32; -pub const TemplatePropAsymmetricAlgorithm: EnrollmentTemplateProperty = 18i32; -pub const TemplatePropCertificatePolicies: EnrollmentTemplateProperty = 16i32; -pub const TemplatePropCommonName: EnrollmentTemplateProperty = 1i32; -pub const TemplatePropCryptoProviders: EnrollmentTemplateProperty = 4i32; -pub const TemplatePropDescription: EnrollmentTemplateProperty = 6i32; -pub const TemplatePropEKUs: EnrollmentTemplateProperty = 3i32; -pub const TemplatePropEnrollmentFlags: EnrollmentTemplateProperty = 24i32; -pub const TemplatePropExtensions: EnrollmentTemplateProperty = 29i32; -pub const TemplatePropFriendlyName: EnrollmentTemplateProperty = 2i32; -pub const TemplatePropGeneralFlags: EnrollmentTemplateProperty = 27i32; -pub const TemplatePropHashAlgorithm: EnrollmentTemplateProperty = 22i32; -pub const TemplatePropKeySecurityDescriptor: EnrollmentTemplateProperty = 19i32; -pub const TemplatePropKeySpec: EnrollmentTemplateProperty = 7i32; -pub const TemplatePropKeyUsage: EnrollmentTemplateProperty = 23i32; -pub const TemplatePropMajorRevision: EnrollmentTemplateProperty = 5i32; -pub const TemplatePropMinimumKeySize: EnrollmentTemplateProperty = 11i32; -pub const TemplatePropMinorRevision: EnrollmentTemplateProperty = 9i32; -pub const TemplatePropOID: EnrollmentTemplateProperty = 12i32; -pub const TemplatePropPrivateKeyFlags: EnrollmentTemplateProperty = 26i32; -pub const TemplatePropRACertificatePolicies: EnrollmentTemplateProperty = 14i32; -pub const TemplatePropRAEKUs: EnrollmentTemplateProperty = 15i32; -pub const TemplatePropRASignatureCount: EnrollmentTemplateProperty = 10i32; -pub const TemplatePropRenewalPeriod: EnrollmentTemplateProperty = 31i32; -pub const TemplatePropSchemaVersion: EnrollmentTemplateProperty = 8i32; -pub const TemplatePropSecurityDescriptor: EnrollmentTemplateProperty = 28i32; -pub const TemplatePropSubjectNameFlags: EnrollmentTemplateProperty = 25i32; -pub const TemplatePropSupersede: EnrollmentTemplateProperty = 13i32; -pub const TemplatePropSymmetricAlgorithm: EnrollmentTemplateProperty = 20i32; -pub const TemplatePropSymmetricKeyLength: EnrollmentTemplateProperty = 21i32; -pub const TemplatePropV1ApplicationPolicy: EnrollmentTemplateProperty = 17i32; -pub const TemplatePropValidityPeriod: EnrollmentTemplateProperty = 30i32; -pub const TypeAny: X509RequestType = 0i32; -pub const TypeCertificate: X509RequestType = 4i32; -pub const TypeCmc: X509RequestType = 3i32; -pub const TypePkcs10: X509RequestType = 1i32; -pub const TypePkcs7: X509RequestType = 2i32; -pub const VR_INSTANT_BAD: u32 = 2u32; -pub const VR_INSTANT_OK: u32 = 1u32; -pub const VR_PENDING: u32 = 0u32; -pub const VerifyAllowUI: X509PrivateKeyVerify = 4i32; -pub const VerifyNone: X509PrivateKeyVerify = 0i32; -pub const VerifySilent: X509PrivateKeyVerify = 1i32; -pub const VerifySmartCardNone: X509PrivateKeyVerify = 2i32; -pub const VerifySmartCardSilent: X509PrivateKeyVerify = 3i32; -pub const X509AuthAnonymous: X509EnrollmentAuthFlags = 1i32; -pub const X509AuthCertificate: X509EnrollmentAuthFlags = 8i32; -pub const X509AuthKerberos: X509EnrollmentAuthFlags = 2i32; -pub const X509AuthNone: X509EnrollmentAuthFlags = 0i32; -pub const X509AuthUsername: X509EnrollmentAuthFlags = 4i32; -pub const XCN_AT_KEYEXCHANGE: X509KeySpec = 1i32; -pub const XCN_AT_NONE: X509KeySpec = 0i32; -pub const XCN_AT_SIGNATURE: X509KeySpec = 2i32; -pub const XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: AlgorithmType = 3i32; -pub const XCN_BCRYPT_CIPHER_INTERFACE: AlgorithmType = 1i32; -pub const XCN_BCRYPT_HASH_INTERFACE: AlgorithmType = 2i32; -pub const XCN_BCRYPT_KEY_DERIVATION_INTERFACE: AlgorithmType = 7i32; -pub const XCN_BCRYPT_RNG_INTERFACE: AlgorithmType = 6i32; -pub const XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE: AlgorithmType = 4i32; -pub const XCN_BCRYPT_SIGNATURE_INTERFACE: AlgorithmType = 5i32; -pub const XCN_BCRYPT_UNKNOWN_INTERFACE: AlgorithmType = 0i32; -pub const XCN_CERT_ACCESS_STATE_PROP_ID: CERTENROLL_PROPERTYID = 14i32; -pub const XCN_CERT_AIA_URL_RETRIEVED_PROP_ID: CERTENROLL_PROPERTYID = 67i32; -pub const XCN_CERT_ALT_NAME_DIRECTORY_NAME: AlternativeNameType = 5i32; -pub const XCN_CERT_ALT_NAME_DNS_NAME: AlternativeNameType = 3i32; -pub const XCN_CERT_ALT_NAME_EDI_PARTY_NAME: AlternativeNameType = 6i32; -pub const XCN_CERT_ALT_NAME_GUID: AlternativeNameType = 10i32; -pub const XCN_CERT_ALT_NAME_IP_ADDRESS: AlternativeNameType = 8i32; -pub const XCN_CERT_ALT_NAME_OTHER_NAME: AlternativeNameType = 1i32; -pub const XCN_CERT_ALT_NAME_REGISTERED_ID: AlternativeNameType = 9i32; -pub const XCN_CERT_ALT_NAME_RFC822_NAME: AlternativeNameType = 2i32; -pub const XCN_CERT_ALT_NAME_UNKNOWN: AlternativeNameType = 0i32; -pub const XCN_CERT_ALT_NAME_URL: AlternativeNameType = 7i32; -pub const XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME: AlternativeNameType = 11i32; -pub const XCN_CERT_ALT_NAME_X400_ADDRESS: AlternativeNameType = 4i32; -pub const XCN_CERT_ARCHIVED_KEY_HASH_PROP_ID: CERTENROLL_PROPERTYID = 65i32; -pub const XCN_CERT_ARCHIVED_PROP_ID: CERTENROLL_PROPERTYID = 19i32; -pub const XCN_CERT_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 68i32; -pub const XCN_CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 98i32; -pub const XCN_CERT_AUTO_ENROLL_PROP_ID: CERTENROLL_PROPERTYID = 21i32; -pub const XCN_CERT_AUTO_ENROLL_RETRY_PROP_ID: CERTENROLL_PROPERTYID = 66i32; -pub const XCN_CERT_BACKED_UP_PROP_ID: CERTENROLL_PROPERTYID = 69i32; -pub const XCN_CERT_CA_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 82i32; -pub const XCN_CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 81i32; -pub const XCN_CERT_CEP_PROP_ID: CERTENROLL_PROPERTYID = 87i32; -pub const XCN_CERT_CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 127i32; -pub const XCN_CERT_CLR_DELETE_KEY_PROP_ID: CERTENROLL_PROPERTYID = 125i32; -pub const XCN_CERT_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32; -pub const XCN_CERT_CROSS_CERT_DIST_POINTS_PROP_ID: CERTENROLL_PROPERTYID = 23i32; -pub const XCN_CERT_CTL_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32; -pub const XCN_CERT_DATA_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 16i32; -pub const XCN_CERT_DATE_STAMP_PROP_ID: CERTENROLL_PROPERTYID = 27i32; -pub const XCN_CERT_DECIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 32768i32; -pub const XCN_CERT_DESCRIPTION_PROP_ID: CERTENROLL_PROPERTYID = 13i32; -pub const XCN_CERT_DIGITAL_SIGNATURE_KEY_USAGE: X509KeyUsageFlags = 128i32; -pub const XCN_CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 122i32; -pub const XCN_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 104i32; -pub const XCN_CERT_EFS_PROP_ID: CERTENROLL_PROPERTYID = 17i32; -pub const XCN_CERT_ENCIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 1i32; -pub const XCN_CERT_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32; -pub const XCN_CERT_ENROLLMENT_PROP_ID: CERTENROLL_PROPERTYID = 26i32; -pub const XCN_CERT_EXTENDED_ERROR_INFO_PROP_ID: CERTENROLL_PROPERTYID = 30i32; -pub const XCN_CERT_FIRST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 129i32; -pub const XCN_CERT_FIRST_USER_PROP_ID: CERTENROLL_PROPERTYID = 32768i32; -pub const XCN_CERT_FORTEZZA_DATA_PROP_ID: CERTENROLL_PROPERTYID = 18i32; -pub const XCN_CERT_FRIENDLY_NAME_PROP_ID: CERTENROLL_PROPERTYID = 11i32; -pub const XCN_CERT_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32; -pub const XCN_CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 79i32; -pub const XCN_CERT_HCRYPTPROV_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 100i32; -pub const XCN_CERT_IE30_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 7i32; -pub const XCN_CERT_ISOLATED_KEY_PROP_ID: CERTENROLL_PROPERTYID = 118i32; -pub const XCN_CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 96i32; -pub const XCN_CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 95i32; -pub const XCN_CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 24i32; -pub const XCN_CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 94i32; -pub const XCN_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 28i32; -pub const XCN_CERT_KEY_AGREEMENT_KEY_USAGE: X509KeyUsageFlags = 8i32; -pub const XCN_CERT_KEY_CERT_SIGN_KEY_USAGE: X509KeyUsageFlags = 4i32; -pub const XCN_CERT_KEY_CLASSIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 120i32; -pub const XCN_CERT_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 5i32; -pub const XCN_CERT_KEY_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 32i32; -pub const XCN_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_PROPERTYID = 20i32; -pub const XCN_CERT_KEY_PROV_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 1i32; -pub const XCN_CERT_KEY_PROV_INFO_PROP_ID: CERTENROLL_PROPERTYID = 2i32; -pub const XCN_CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: CERTENROLL_PROPERTYID = 103i32; -pub const XCN_CERT_KEY_SPEC_PROP_ID: CERTENROLL_PROPERTYID = 6i32; -pub const XCN_CERT_LAST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 32767i32; -pub const XCN_CERT_LAST_USER_PROP_ID: CERTENROLL_PROPERTYID = 65535i32; -pub const XCN_CERT_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 4i32; -pub const XCN_CERT_NAME_STR_AMBIGUOUS_SEPARATOR_FLAGS: X500NameFlags = 1275068416i32; -pub const XCN_CERT_NAME_STR_COMMA_FLAG: X500NameFlags = 67108864i32; -pub const XCN_CERT_NAME_STR_CRLF_FLAG: X500NameFlags = 134217728i32; -pub const XCN_CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: X500NameFlags = 65536i32; -pub const XCN_CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: X500NameFlags = 1048576i32; -pub const XCN_CERT_NAME_STR_DS_ESCAPED: X500NameFlags = 8388608i32; -pub const XCN_CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: X500NameFlags = 2097152i32; -pub const XCN_CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: X500NameFlags = 131072i32; -pub const XCN_CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: X500NameFlags = 262144i32; -pub const XCN_CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: X500NameFlags = 524288i32; -pub const XCN_CERT_NAME_STR_FORWARD_FLAG: X500NameFlags = 16777216i32; -pub const XCN_CERT_NAME_STR_NONE: X500NameFlags = 0i32; -pub const XCN_CERT_NAME_STR_NO_PLUS_FLAG: X500NameFlags = 536870912i32; -pub const XCN_CERT_NAME_STR_NO_QUOTING_FLAG: X500NameFlags = 268435456i32; -pub const XCN_CERT_NAME_STR_REVERSE_FLAG: X500NameFlags = 33554432i32; -pub const XCN_CERT_NAME_STR_SEMICOLON_FLAG: X500NameFlags = 1073741824i32; -pub const XCN_CERT_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 78i32; -pub const XCN_CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 99i32; -pub const XCN_CERT_NEW_KEY_PROP_ID: CERTENROLL_PROPERTYID = 74i32; -pub const XCN_CERT_NEXT_UPDATE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 10i32; -pub const XCN_CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: CERTENROLL_PROPERTYID = 123i32; -pub const XCN_CERT_NON_REPUDIATION_KEY_USAGE: X509KeyUsageFlags = 64i32; -pub const XCN_CERT_NOT_BEFORE_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 126i32; -pub const XCN_CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: CERTENROLL_PROPERTYID = 77i32; -pub const XCN_CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 97i32; -pub const XCN_CERT_NO_KEY_USAGE: X509KeyUsageFlags = 0i32; -pub const XCN_CERT_OCSP_CACHE_PREFIX_PROP_ID: CERTENROLL_PROPERTYID = 75i32; -pub const XCN_CERT_OCSP_RESPONSE_PROP_ID: CERTENROLL_PROPERTYID = 70i32; -pub const XCN_CERT_OFFLINE_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32; -pub const XCN_CERT_OID_NAME_STR: X500NameFlags = 2i32; -pub const XCN_CERT_PIN_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 124i32; -pub const XCN_CERT_PUBKEY_ALG_PARA_PROP_ID: CERTENROLL_PROPERTYID = 22i32; -pub const XCN_CERT_PUBKEY_HASH_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 8i32; -pub const XCN_CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 93i32; -pub const XCN_CERT_PVK_FILE_PROP_ID: CERTENROLL_PROPERTYID = 12i32; -pub const XCN_CERT_RENEWAL_PROP_ID: CERTENROLL_PROPERTYID = 64i32; -pub const XCN_CERT_REQUEST_ORIGINATOR_PROP_ID: CERTENROLL_PROPERTYID = 71i32; -pub const XCN_CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 83i32; -pub const XCN_CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 105i32; -pub const XCN_CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: CERTENROLL_PROPERTYID = 84i32; -pub const XCN_CERT_SCARD_PIN_ID_PROP_ID: CERTENROLL_PROPERTYID = 90i32; -pub const XCN_CERT_SCARD_PIN_INFO_PROP_ID: CERTENROLL_PROPERTYID = 91i32; -pub const XCN_CERT_SCEP_CA_CERT_PROP_ID: CERTENROLL_PROPERTYID = 111i32; -pub const XCN_CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 114i32; -pub const XCN_CERT_SCEP_FLAGS_PROP_ID: CERTENROLL_PROPERTYID = 115i32; -pub const XCN_CERT_SCEP_GUID_PROP_ID: CERTENROLL_PROPERTYID = 116i32; -pub const XCN_CERT_SCEP_NONCE_PROP_ID: CERTENROLL_PROPERTYID = 113i32; -pub const XCN_CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: CERTENROLL_PROPERTYID = 110i32; -pub const XCN_CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: CERTENROLL_PROPERTYID = 109i32; -pub const XCN_CERT_SCEP_SERVER_CERTS_PROP_ID: CERTENROLL_PROPERTYID = 108i32; -pub const XCN_CERT_SCEP_SIGNER_CERT_PROP_ID: CERTENROLL_PROPERTYID = 112i32; -pub const XCN_CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: CERTENROLL_PROPERTYID = 102i32; -pub const XCN_CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 117i32; -pub const XCN_CERT_SERIAL_CHAIN_PROP_ID: CERTENROLL_PROPERTYID = 119i32; -pub const XCN_CERT_SHA1_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32; -pub const XCN_CERT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 107i32; -pub const XCN_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_PROPERTYID = 15i32; -pub const XCN_CERT_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 89i32; -pub const XCN_CERT_SIMPLE_NAME_STR: X500NameFlags = 1i32; -pub const XCN_CERT_SMART_CARD_DATA_PROP_ID: CERTENROLL_PROPERTYID = 16i32; -pub const XCN_CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: CERTENROLL_PROPERTYID = 106i32; -pub const XCN_CERT_SMART_CARD_READER_PROP_ID: CERTENROLL_PROPERTYID = 101i32; -pub const XCN_CERT_SMART_CARD_ROOT_INFO_PROP_ID: CERTENROLL_PROPERTYID = 76i32; -pub const XCN_CERT_SOURCE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 72i32; -pub const XCN_CERT_SOURCE_URL_PROP_ID: CERTENROLL_PROPERTYID = 73i32; -pub const XCN_CERT_STORE_LOCALIZED_NAME_PROP_ID: CERTENROLL_PROPERTYID = 4096i32; -pub const XCN_CERT_SUBJECT_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 86i32; -pub const XCN_CERT_SUBJECT_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 80i32; -pub const XCN_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 29i32; -pub const XCN_CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 85i32; -pub const XCN_CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 25i32; -pub const XCN_CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 92i32; -pub const XCN_CERT_X500_NAME_STR: X500NameFlags = 3i32; -pub const XCN_CERT_XML_NAME_STR: X500NameFlags = 4i32; -pub const XCN_CRL_REASON_AA_COMPROMISE: CRLRevocationReason = 10i32; -pub const XCN_CRL_REASON_AFFILIATION_CHANGED: CRLRevocationReason = 3i32; -pub const XCN_CRL_REASON_CA_COMPROMISE: CRLRevocationReason = 2i32; -pub const XCN_CRL_REASON_CERTIFICATE_HOLD: CRLRevocationReason = 6i32; -pub const XCN_CRL_REASON_CESSATION_OF_OPERATION: CRLRevocationReason = 5i32; -pub const XCN_CRL_REASON_KEY_COMPROMISE: CRLRevocationReason = 1i32; -pub const XCN_CRL_REASON_PRIVILEGE_WITHDRAWN: CRLRevocationReason = 9i32; -pub const XCN_CRL_REASON_REMOVE_FROM_CRL: CRLRevocationReason = 8i32; -pub const XCN_CRL_REASON_SUPERSEDED: CRLRevocationReason = 4i32; -pub const XCN_CRL_REASON_UNSPECIFIED: CRLRevocationReason = 0i32; -pub const XCN_CRYPT_ANY_GROUP_ID: ObjectIdGroupId = 0i32; -pub const XCN_CRYPT_ENCRYPT_ALG_OID_GROUP_ID: ObjectIdGroupId = 2i32; -pub const XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID: ObjectIdGroupId = 7i32; -pub const XCN_CRYPT_EXT_OR_ATTR_OID_GROUP_ID: ObjectIdGroupId = 6i32; -pub const XCN_CRYPT_FIRST_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32; -pub const XCN_CRYPT_GROUP_ID_MASK: ObjectIdGroupId = 65535i32; -pub const XCN_CRYPT_HASH_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32; -pub const XCN_CRYPT_KDF_OID_GROUP_ID: ObjectIdGroupId = 10i32; -pub const XCN_CRYPT_KEY_LENGTH_MASK: ObjectIdGroupId = 268369920i32; -pub const XCN_CRYPT_LAST_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32; -pub const XCN_CRYPT_LAST_OID_GROUP_ID: ObjectIdGroupId = 10i32; -pub const XCN_CRYPT_OID_DISABLE_SEARCH_DS_FLAG: ObjectIdGroupId = -2147483648i32; -pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: ObjectIdGroupId = 268369920i32; -pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: ObjectIdGroupId = 16i32; -pub const XCN_CRYPT_OID_INFO_PUBKEY_ANY: ObjectIdPublicKeyFlags = 0i32; -pub const XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: ObjectIdPublicKeyFlags = 1073741824i32; -pub const XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: ObjectIdPublicKeyFlags = -2147483648i32; -pub const XCN_CRYPT_OID_PREFER_CNG_ALGID_FLAG: ObjectIdGroupId = 1073741824i32; -pub const XCN_CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: X509KeyParametersExportType = 536870912i32; -pub const XCN_CRYPT_OID_USE_CURVE_NONE: X509KeyParametersExportType = 0i32; -pub const XCN_CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: X509KeyParametersExportType = 268435456i32; -pub const XCN_CRYPT_POLICY_OID_GROUP_ID: ObjectIdGroupId = 8i32; -pub const XCN_CRYPT_PUBKEY_ALG_OID_GROUP_ID: ObjectIdGroupId = 3i32; -pub const XCN_CRYPT_RDN_ATTR_OID_GROUP_ID: ObjectIdGroupId = 5i32; -pub const XCN_CRYPT_SIGN_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32; -pub const XCN_CRYPT_STRING_ANY: EncodingType = 7i32; -pub const XCN_CRYPT_STRING_BASE64: EncodingType = 1i32; -pub const XCN_CRYPT_STRING_BASE64HEADER: EncodingType = 0i32; -pub const XCN_CRYPT_STRING_BASE64REQUESTHEADER: EncodingType = 3i32; -pub const XCN_CRYPT_STRING_BASE64URI: EncodingType = 13i32; -pub const XCN_CRYPT_STRING_BASE64X509CRLHEADER: EncodingType = 9i32; -pub const XCN_CRYPT_STRING_BASE64_ANY: EncodingType = 6i32; -pub const XCN_CRYPT_STRING_BINARY: EncodingType = 2i32; -pub const XCN_CRYPT_STRING_CHAIN: EncodingType = 256i32; -pub const XCN_CRYPT_STRING_ENCODEMASK: EncodingType = 255i32; -pub const XCN_CRYPT_STRING_HASHDATA: EncodingType = 268435456i32; -pub const XCN_CRYPT_STRING_HEX: EncodingType = 4i32; -pub const XCN_CRYPT_STRING_HEXADDR: EncodingType = 10i32; -pub const XCN_CRYPT_STRING_HEXASCII: EncodingType = 5i32; -pub const XCN_CRYPT_STRING_HEXASCIIADDR: EncodingType = 11i32; -pub const XCN_CRYPT_STRING_HEXRAW: EncodingType = 12i32; -pub const XCN_CRYPT_STRING_HEX_ANY: EncodingType = 8i32; -pub const XCN_CRYPT_STRING_NOCR: EncodingType = -2147483648i32; -pub const XCN_CRYPT_STRING_NOCRLF: EncodingType = 1073741824i32; -pub const XCN_CRYPT_STRING_PERCENTESCAPE: EncodingType = 134217728i32; -pub const XCN_CRYPT_STRING_STRICT: EncodingType = 536870912i32; -pub const XCN_CRYPT_STRING_TEXT: EncodingType = 512i32; -pub const XCN_CRYPT_TEMPLATE_OID_GROUP_ID: ObjectIdGroupId = 9i32; -pub const XCN_NCRYPT_ALLOW_ALL_USAGES: X509PrivateKeyUsageFlags = 16777215i32; -pub const XCN_NCRYPT_ALLOW_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 4i32; -pub const XCN_NCRYPT_ALLOW_DECRYPT_FLAG: X509PrivateKeyUsageFlags = 1i32; -pub const XCN_NCRYPT_ALLOW_EXPORT_FLAG: X509PrivateKeyExportFlags = 1i32; -pub const XCN_NCRYPT_ALLOW_EXPORT_NONE: X509PrivateKeyExportFlags = 0i32; -pub const XCN_NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: X509PrivateKeyUsageFlags = 4i32; -pub const XCN_NCRYPT_ALLOW_KEY_IMPORT_FLAG: X509PrivateKeyUsageFlags = 8i32; -pub const XCN_NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 8i32; -pub const XCN_NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: X509PrivateKeyExportFlags = 2i32; -pub const XCN_NCRYPT_ALLOW_SIGNING_FLAG: X509PrivateKeyUsageFlags = 2i32; -pub const XCN_NCRYPT_ALLOW_USAGES_NONE: X509PrivateKeyUsageFlags = 0i32; -pub const XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION: AlgorithmOperationFlags = 28i32; -pub const XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: AlgorithmOperationFlags = 4i32; -pub const XCN_NCRYPT_CIPHER_OPERATION: AlgorithmOperationFlags = 1i32; -pub const XCN_NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: KeyAttestationClaimType = 3i32; -pub const XCN_NCRYPT_CLAIM_AUTHORITY_ONLY: KeyAttestationClaimType = 1i32; -pub const XCN_NCRYPT_CLAIM_NONE: KeyAttestationClaimType = 0i32; -pub const XCN_NCRYPT_CLAIM_SUBJECT_ONLY: KeyAttestationClaimType = 2i32; -pub const XCN_NCRYPT_CLAIM_UNKNOWN: KeyAttestationClaimType = 4096i32; -pub const XCN_NCRYPT_EXACT_MATCH_OPERATION: AlgorithmOperationFlags = 8388608i32; -pub const XCN_NCRYPT_HASH_OPERATION: AlgorithmOperationFlags = 2i32; -pub const XCN_NCRYPT_KEY_DERIVATION_OPERATION: AlgorithmOperationFlags = 64i32; -pub const XCN_NCRYPT_NO_OPERATION: AlgorithmOperationFlags = 0i32; -pub const XCN_NCRYPT_PCP_ENCRYPTION_KEY: X509HardwareKeyUsageFlags = 2i32; -pub const XCN_NCRYPT_PCP_GENERIC_KEY: X509HardwareKeyUsageFlags = 3i32; -pub const XCN_NCRYPT_PCP_IDENTITY_KEY: X509HardwareKeyUsageFlags = 8i32; -pub const XCN_NCRYPT_PCP_NONE: X509HardwareKeyUsageFlags = 0i32; -pub const XCN_NCRYPT_PCP_SIGNATURE_KEY: X509HardwareKeyUsageFlags = 1i32; -pub const XCN_NCRYPT_PCP_STORAGE_KEY: X509HardwareKeyUsageFlags = 4i32; -pub const XCN_NCRYPT_PREFERENCE_MASK_OPERATION: AlgorithmOperationFlags = 14680064i32; -pub const XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION: AlgorithmOperationFlags = 4194304i32; -pub const XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION: AlgorithmOperationFlags = 2097152i32; -pub const XCN_NCRYPT_RNG_OPERATION: AlgorithmOperationFlags = 32i32; -pub const XCN_NCRYPT_SECRET_AGREEMENT_OPERATION: AlgorithmOperationFlags = 8i32; -pub const XCN_NCRYPT_SIGNATURE_OPERATION: AlgorithmOperationFlags = 16i32; -pub const XCN_NCRYPT_TPM12_PROVIDER: X509HardwareKeyUsageFlags = 65536i32; -pub const XCN_NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: X509PrivateKeyProtection = 8i32; -pub const XCN_NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: X509PrivateKeyProtection = 4i32; -pub const XCN_NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: X509PrivateKeyProtection = 2i32; -pub const XCN_NCRYPT_UI_NO_PROTECTION_FLAG: X509PrivateKeyProtection = 0i32; -pub const XCN_NCRYPT_UI_PROTECT_KEY_FLAG: X509PrivateKeyProtection = 1i32; -pub const XCN_OIDVerisign_FailInfo: CERTENROLL_OBJECTID = 431i32; -pub const XCN_OIDVerisign_MessageType: CERTENROLL_OBJECTID = 429i32; -pub const XCN_OIDVerisign_PkiStatus: CERTENROLL_OBJECTID = 430i32; -pub const XCN_OIDVerisign_RecipientNonce: CERTENROLL_OBJECTID = 433i32; -pub const XCN_OIDVerisign_SenderNonce: CERTENROLL_OBJECTID = 432i32; -pub const XCN_OIDVerisign_TransactionID: CERTENROLL_OBJECTID = 434i32; -pub const XCN_OID_ANSI_X942: CERTENROLL_OBJECTID = 53i32; -pub const XCN_OID_ANSI_X942_DH: CERTENROLL_OBJECTID = 54i32; -pub const XCN_OID_ANY_APPLICATION_POLICY: CERTENROLL_OBJECTID = 216i32; -pub const XCN_OID_ANY_CERT_POLICY: CERTENROLL_OBJECTID = 180i32; -pub const XCN_OID_ANY_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 352i32; -pub const XCN_OID_APPLICATION_CERT_POLICIES: CERTENROLL_OBJECTID = 229i32; -pub const XCN_OID_APPLICATION_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 231i32; -pub const XCN_OID_APPLICATION_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 230i32; -pub const XCN_OID_ARCHIVED_KEY_ATTR: CERTENROLL_OBJECTID = 232i32; -pub const XCN_OID_ARCHIVED_KEY_CERT_HASH: CERTENROLL_OBJECTID = 235i32; -pub const XCN_OID_ATTR_SUPPORTED_ALGORITHMS: CERTENROLL_OBJECTID = 355i32; -pub const XCN_OID_ATTR_TPM_SECURITY_ASSERTIONS: CERTENROLL_OBJECTID = 356i32; -pub const XCN_OID_ATTR_TPM_SPECIFICATION: CERTENROLL_OBJECTID = 357i32; -pub const XCN_OID_AUTHORITY_INFO_ACCESS: CERTENROLL_OBJECTID = 204i32; -pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 169i32; -pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER2: CERTENROLL_OBJECTID = 181i32; -pub const XCN_OID_AUTHORITY_REVOCATION_LIST: CERTENROLL_OBJECTID = 156i32; -pub const XCN_OID_AUTO_ENROLL_CTL_USAGE: CERTENROLL_OBJECTID = 217i32; -pub const XCN_OID_BACKGROUND_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 327i32; -pub const XCN_OID_BASIC_CONSTRAINTS: CERTENROLL_OBJECTID = 175i32; -pub const XCN_OID_BASIC_CONSTRAINTS2: CERTENROLL_OBJECTID = 178i32; -pub const XCN_OID_BIOMETRIC_EXT: CERTENROLL_OBJECTID = 205i32; -pub const XCN_OID_BUSINESS_CATEGORY: CERTENROLL_OBJECTID = 133i32; -pub const XCN_OID_CA_CERTIFICATE: CERTENROLL_OBJECTID = 155i32; -pub const XCN_OID_CERTIFICATE_REVOCATION_LIST: CERTENROLL_OBJECTID = 157i32; -pub const XCN_OID_CERTIFICATE_TEMPLATE: CERTENROLL_OBJECTID = 226i32; -pub const XCN_OID_CERTSRV_CA_VERSION: CERTENROLL_OBJECTID = 220i32; -pub const XCN_OID_CERTSRV_CROSSCA_VERSION: CERTENROLL_OBJECTID = 240i32; -pub const XCN_OID_CERTSRV_PREVIOUS_CERT_HASH: CERTENROLL_OBJECTID = 221i32; -pub const XCN_OID_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_OBJECTID = 358i32; -pub const XCN_OID_CERT_EXTENSIONS: CERTENROLL_OBJECTID = 207i32; -pub const XCN_OID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 339i32; -pub const XCN_OID_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_OBJECTID = 338i32; -pub const XCN_OID_CERT_MANIFOLD: CERTENROLL_OBJECTID = 219i32; -pub const XCN_OID_CERT_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 341i32; -pub const XCN_OID_CERT_POLICIES: CERTENROLL_OBJECTID = 179i32; -pub const XCN_OID_CERT_POLICIES_95: CERTENROLL_OBJECTID = 171i32; -pub const XCN_OID_CERT_POLICIES_95_QUALIFIER1: CERTENROLL_OBJECTID = 281i32; -pub const XCN_OID_CERT_PROP_ID_PREFIX: CERTENROLL_OBJECTID = 337i32; -pub const XCN_OID_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_OBJECTID = 359i32; -pub const XCN_OID_CERT_STRONG_KEY_OS_1: CERTENROLL_OBJECTID = 360i32; -pub const XCN_OID_CERT_STRONG_KEY_OS_CURRENT: CERTENROLL_OBJECTID = 361i32; -pub const XCN_OID_CERT_STRONG_KEY_OS_PREFIX: CERTENROLL_OBJECTID = 362i32; -pub const XCN_OID_CERT_STRONG_SIGN_OS_1: CERTENROLL_OBJECTID = 363i32; -pub const XCN_OID_CERT_STRONG_SIGN_OS_CURRENT: CERTENROLL_OBJECTID = 364i32; -pub const XCN_OID_CERT_STRONG_SIGN_OS_PREFIX: CERTENROLL_OBJECTID = 365i32; -pub const XCN_OID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 340i32; -pub const XCN_OID_CMC: CERTENROLL_OBJECTID = 304i32; -pub const XCN_OID_CMC_ADD_ATTRIBUTES: CERTENROLL_OBJECTID = 325i32; -pub const XCN_OID_CMC_ADD_EXTENSIONS: CERTENROLL_OBJECTID = 312i32; -pub const XCN_OID_CMC_DATA_RETURN: CERTENROLL_OBJECTID = 308i32; -pub const XCN_OID_CMC_DECRYPTED_POP: CERTENROLL_OBJECTID = 314i32; -pub const XCN_OID_CMC_ENCRYPTED_POP: CERTENROLL_OBJECTID = 313i32; -pub const XCN_OID_CMC_GET_CERT: CERTENROLL_OBJECTID = 316i32; -pub const XCN_OID_CMC_GET_CRL: CERTENROLL_OBJECTID = 317i32; -pub const XCN_OID_CMC_IDENTIFICATION: CERTENROLL_OBJECTID = 306i32; -pub const XCN_OID_CMC_IDENTITY_PROOF: CERTENROLL_OBJECTID = 307i32; -pub const XCN_OID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: CERTENROLL_OBJECTID = 324i32; -pub const XCN_OID_CMC_ID_POP_LINK_RANDOM: CERTENROLL_OBJECTID = 322i32; -pub const XCN_OID_CMC_ID_POP_LINK_WITNESS: CERTENROLL_OBJECTID = 323i32; -pub const XCN_OID_CMC_LRA_POP_WITNESS: CERTENROLL_OBJECTID = 315i32; -pub const XCN_OID_CMC_QUERY_PENDING: CERTENROLL_OBJECTID = 321i32; -pub const XCN_OID_CMC_RECIPIENT_NONCE: CERTENROLL_OBJECTID = 311i32; -pub const XCN_OID_CMC_REG_INFO: CERTENROLL_OBJECTID = 319i32; -pub const XCN_OID_CMC_RESPONSE_INFO: CERTENROLL_OBJECTID = 320i32; -pub const XCN_OID_CMC_REVOKE_REQUEST: CERTENROLL_OBJECTID = 318i32; -pub const XCN_OID_CMC_SENDER_NONCE: CERTENROLL_OBJECTID = 310i32; -pub const XCN_OID_CMC_STATUS_INFO: CERTENROLL_OBJECTID = 305i32; -pub const XCN_OID_CMC_TRANSACTION_ID: CERTENROLL_OBJECTID = 309i32; -pub const XCN_OID_COMMON_NAME: CERTENROLL_OBJECTID = 121i32; -pub const XCN_OID_COUNTRY_NAME: CERTENROLL_OBJECTID = 124i32; -pub const XCN_OID_CRL_DIST_POINTS: CERTENROLL_OBJECTID = 187i32; -pub const XCN_OID_CRL_NEXT_PUBLISH: CERTENROLL_OBJECTID = 223i32; -pub const XCN_OID_CRL_NUMBER: CERTENROLL_OBJECTID = 189i32; -pub const XCN_OID_CRL_REASON_CODE: CERTENROLL_OBJECTID = 185i32; -pub const XCN_OID_CRL_SELF_CDP: CERTENROLL_OBJECTID = 233i32; -pub const XCN_OID_CRL_VIRTUAL_BASE: CERTENROLL_OBJECTID = 222i32; -pub const XCN_OID_CROSS_CERTIFICATE_PAIR: CERTENROLL_OBJECTID = 158i32; -pub const XCN_OID_CROSS_CERT_DIST_POINTS: CERTENROLL_OBJECTID = 210i32; -pub const XCN_OID_CTL: CERTENROLL_OBJECTID = 211i32; -pub const XCN_OID_CT_PKI_DATA: CERTENROLL_OBJECTID = 301i32; -pub const XCN_OID_CT_PKI_RESPONSE: CERTENROLL_OBJECTID = 302i32; -pub const XCN_OID_DELTA_CRL_INDICATOR: CERTENROLL_OBJECTID = 190i32; -pub const XCN_OID_DESCRIPTION: CERTENROLL_OBJECTID = 131i32; -pub const XCN_OID_DESTINATION_INDICATOR: CERTENROLL_OBJECTID = 145i32; -pub const XCN_OID_DEVICE_SERIAL_NUMBER: CERTENROLL_OBJECTID = 123i32; -pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA1_KDF: CERTENROLL_OBJECTID = 366i32; -pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA256_KDF: CERTENROLL_OBJECTID = 367i32; -pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA384_KDF: CERTENROLL_OBJECTID = 368i32; -pub const XCN_OID_DISALLOWED_HASH: CERTENROLL_OBJECTID = 369i32; -pub const XCN_OID_DISALLOWED_LIST: CERTENROLL_OBJECTID = 370i32; -pub const XCN_OID_DN_QUALIFIER: CERTENROLL_OBJECTID = 161i32; -pub const XCN_OID_DOMAIN_COMPONENT: CERTENROLL_OBJECTID = 162i32; -pub const XCN_OID_DRM: CERTENROLL_OBJECTID = 273i32; -pub const XCN_OID_DRM_INDIVIDUALIZATION: CERTENROLL_OBJECTID = 274i32; -pub const XCN_OID_DS: CERTENROLL_OBJECTID = 58i32; -pub const XCN_OID_DSALG: CERTENROLL_OBJECTID = 59i32; -pub const XCN_OID_DSALG_CRPT: CERTENROLL_OBJECTID = 60i32; -pub const XCN_OID_DSALG_HASH: CERTENROLL_OBJECTID = 61i32; -pub const XCN_OID_DSALG_RSA: CERTENROLL_OBJECTID = 63i32; -pub const XCN_OID_DSALG_SIGN: CERTENROLL_OBJECTID = 62i32; -pub const XCN_OID_DS_EMAIL_REPLICATION: CERTENROLL_OBJECTID = 237i32; -pub const XCN_OID_ECC_CURVE_P256: CERTENROLL_OBJECTID = 371i32; -pub const XCN_OID_ECC_CURVE_P384: CERTENROLL_OBJECTID = 372i32; -pub const XCN_OID_ECC_CURVE_P521: CERTENROLL_OBJECTID = 373i32; -pub const XCN_OID_ECC_PUBLIC_KEY: CERTENROLL_OBJECTID = 349i32; -pub const XCN_OID_ECDSA_SHA1: CERTENROLL_OBJECTID = 350i32; -pub const XCN_OID_ECDSA_SHA256: CERTENROLL_OBJECTID = 374i32; -pub const XCN_OID_ECDSA_SHA384: CERTENROLL_OBJECTID = 375i32; -pub const XCN_OID_ECDSA_SHA512: CERTENROLL_OBJECTID = 376i32; -pub const XCN_OID_ECDSA_SPECIFIED: CERTENROLL_OBJECTID = 351i32; -pub const XCN_OID_EFS_RECOVERY: CERTENROLL_OBJECTID = 260i32; -pub const XCN_OID_EMBEDDED_NT_CRYPTO: CERTENROLL_OBJECTID = 264i32; -pub const XCN_OID_ENCRYPTED_KEY_HASH: CERTENROLL_OBJECTID = 239i32; -pub const XCN_OID_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 188i32; -pub const XCN_OID_ENROLLMENT_AGENT: CERTENROLL_OBJECTID = 201i32; -pub const XCN_OID_ENROLLMENT_CSP_PROVIDER: CERTENROLL_OBJECTID = 199i32; -pub const XCN_OID_ENROLLMENT_NAME_VALUE_PAIR: CERTENROLL_OBJECTID = 198i32; -pub const XCN_OID_ENROLL_ATTESTATION_CHALLENGE: CERTENROLL_OBJECTID = 435i32; -pub const XCN_OID_ENROLL_ATTESTATION_STATEMENT: CERTENROLL_OBJECTID = 436i32; -pub const XCN_OID_ENROLL_CAXCHGCERT_HASH: CERTENROLL_OBJECTID = 377i32; -pub const XCN_OID_ENROLL_CERTTYPE_EXTENSION: CERTENROLL_OBJECTID = 218i32; -pub const XCN_OID_ENROLL_EKPUB_CHALLENGE: CERTENROLL_OBJECTID = 379i32; -pub const XCN_OID_ENROLL_EKVERIFYCERT: CERTENROLL_OBJECTID = 380i32; -pub const XCN_OID_ENROLL_EKVERIFYCREDS: CERTENROLL_OBJECTID = 381i32; -pub const XCN_OID_ENROLL_EKVERIFYKEY: CERTENROLL_OBJECTID = 382i32; -pub const XCN_OID_ENROLL_EK_INFO: CERTENROLL_OBJECTID = 378i32; -pub const XCN_OID_ENROLL_ENCRYPTION_ALGORITHM: CERTENROLL_OBJECTID = 437i32; -pub const XCN_OID_ENROLL_KSP_NAME: CERTENROLL_OBJECTID = 438i32; -pub const XCN_OID_ENROLL_SCEP_ERROR: CERTENROLL_OBJECTID = 428i32; -pub const XCN_OID_ENTERPRISE_OID_ROOT: CERTENROLL_OBJECTID = 227i32; -pub const XCN_OID_EV_RDN_COUNTRY: CERTENROLL_OBJECTID = 383i32; -pub const XCN_OID_EV_RDN_LOCALE: CERTENROLL_OBJECTID = 384i32; -pub const XCN_OID_EV_RDN_STATE_OR_PROVINCE: CERTENROLL_OBJECTID = 385i32; -pub const XCN_OID_FACSIMILE_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 141i32; -pub const XCN_OID_FRESHEST_CRL: CERTENROLL_OBJECTID = 192i32; -pub const XCN_OID_GIVEN_NAME: CERTENROLL_OBJECTID = 159i32; -pub const XCN_OID_INFOSEC: CERTENROLL_OBJECTID = 99i32; -pub const XCN_OID_INFOSEC_SuiteAConfidentiality: CERTENROLL_OBJECTID = 113i32; -pub const XCN_OID_INFOSEC_SuiteAIntegrity: CERTENROLL_OBJECTID = 114i32; -pub const XCN_OID_INFOSEC_SuiteAKMandSig: CERTENROLL_OBJECTID = 117i32; -pub const XCN_OID_INFOSEC_SuiteAKeyManagement: CERTENROLL_OBJECTID = 116i32; -pub const XCN_OID_INFOSEC_SuiteASignature: CERTENROLL_OBJECTID = 112i32; -pub const XCN_OID_INFOSEC_SuiteATokenProtection: CERTENROLL_OBJECTID = 115i32; -pub const XCN_OID_INFOSEC_mosaicConfidentiality: CERTENROLL_OBJECTID = 103i32; -pub const XCN_OID_INFOSEC_mosaicIntegrity: CERTENROLL_OBJECTID = 105i32; -pub const XCN_OID_INFOSEC_mosaicKMandSig: CERTENROLL_OBJECTID = 111i32; -pub const XCN_OID_INFOSEC_mosaicKMandUpdSig: CERTENROLL_OBJECTID = 119i32; -pub const XCN_OID_INFOSEC_mosaicKeyManagement: CERTENROLL_OBJECTID = 109i32; -pub const XCN_OID_INFOSEC_mosaicSignature: CERTENROLL_OBJECTID = 101i32; -pub const XCN_OID_INFOSEC_mosaicTokenProtection: CERTENROLL_OBJECTID = 107i32; -pub const XCN_OID_INFOSEC_mosaicUpdatedInteg: CERTENROLL_OBJECTID = 120i32; -pub const XCN_OID_INFOSEC_mosaicUpdatedSig: CERTENROLL_OBJECTID = 118i32; -pub const XCN_OID_INFOSEC_sdnsConfidentiality: CERTENROLL_OBJECTID = 102i32; -pub const XCN_OID_INFOSEC_sdnsIntegrity: CERTENROLL_OBJECTID = 104i32; -pub const XCN_OID_INFOSEC_sdnsKMandSig: CERTENROLL_OBJECTID = 110i32; -pub const XCN_OID_INFOSEC_sdnsKeyManagement: CERTENROLL_OBJECTID = 108i32; -pub const XCN_OID_INFOSEC_sdnsSignature: CERTENROLL_OBJECTID = 100i32; -pub const XCN_OID_INFOSEC_sdnsTokenProtection: CERTENROLL_OBJECTID = 106i32; -pub const XCN_OID_INHIBIT_ANY_POLICY: CERTENROLL_OBJECTID = 386i32; -pub const XCN_OID_INITIALS: CERTENROLL_OBJECTID = 160i32; -pub const XCN_OID_INTERNATIONALIZED_EMAIL_ADDRESS: CERTENROLL_OBJECTID = 387i32; -pub const XCN_OID_INTERNATIONAL_ISDN_NUMBER: CERTENROLL_OBJECTID = 143i32; -pub const XCN_OID_IPSEC_KP_IKE_INTERMEDIATE: CERTENROLL_OBJECTID = 254i32; -pub const XCN_OID_ISSUED_CERT_HASH: CERTENROLL_OBJECTID = 236i32; -pub const XCN_OID_ISSUER_ALT_NAME: CERTENROLL_OBJECTID = 174i32; -pub const XCN_OID_ISSUER_ALT_NAME2: CERTENROLL_OBJECTID = 184i32; -pub const XCN_OID_ISSUING_DIST_POINT: CERTENROLL_OBJECTID = 191i32; -pub const XCN_OID_KEYID_RDN: CERTENROLL_OBJECTID = 168i32; -pub const XCN_OID_KEY_ATTRIBUTES: CERTENROLL_OBJECTID = 170i32; -pub const XCN_OID_KEY_USAGE: CERTENROLL_OBJECTID = 176i32; -pub const XCN_OID_KEY_USAGE_RESTRICTION: CERTENROLL_OBJECTID = 172i32; -pub const XCN_OID_KP_CA_EXCHANGE: CERTENROLL_OBJECTID = 224i32; -pub const XCN_OID_KP_CSP_SIGNATURE: CERTENROLL_OBJECTID = 272i32; -pub const XCN_OID_KP_CTL_USAGE_SIGNING: CERTENROLL_OBJECTID = 255i32; -pub const XCN_OID_KP_DOCUMENT_SIGNING: CERTENROLL_OBJECTID = 268i32; -pub const XCN_OID_KP_EFS: CERTENROLL_OBJECTID = 259i32; -pub const XCN_OID_KP_KERNEL_MODE_CODE_SIGNING: CERTENROLL_OBJECTID = 388i32; -pub const XCN_OID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: CERTENROLL_OBJECTID = 389i32; -pub const XCN_OID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: CERTENROLL_OBJECTID = 390i32; -pub const XCN_OID_KP_KEY_RECOVERY: CERTENROLL_OBJECTID = 267i32; -pub const XCN_OID_KP_KEY_RECOVERY_AGENT: CERTENROLL_OBJECTID = 225i32; -pub const XCN_OID_KP_LIFETIME_SIGNING: CERTENROLL_OBJECTID = 269i32; -pub const XCN_OID_KP_MOBILE_DEVICE_SOFTWARE: CERTENROLL_OBJECTID = 270i32; -pub const XCN_OID_KP_QUALIFIED_SUBORDINATION: CERTENROLL_OBJECTID = 266i32; -pub const XCN_OID_KP_SMARTCARD_LOGON: CERTENROLL_OBJECTID = 277i32; -pub const XCN_OID_KP_SMART_DISPLAY: CERTENROLL_OBJECTID = 271i32; -pub const XCN_OID_KP_TIME_STAMP_SIGNING: CERTENROLL_OBJECTID = 256i32; -pub const XCN_OID_KP_TPM_AIK_CERTIFICATE: CERTENROLL_OBJECTID = 391i32; -pub const XCN_OID_KP_TPM_EK_CERTIFICATE: CERTENROLL_OBJECTID = 392i32; -pub const XCN_OID_KP_TPM_PLATFORM_CERTIFICATE: CERTENROLL_OBJECTID = 393i32; -pub const XCN_OID_LEGACY_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 195i32; -pub const XCN_OID_LICENSES: CERTENROLL_OBJECTID = 275i32; -pub const XCN_OID_LICENSE_SERVER: CERTENROLL_OBJECTID = 276i32; -pub const XCN_OID_LOCALITY_NAME: CERTENROLL_OBJECTID = 125i32; -pub const XCN_OID_LOCAL_MACHINE_KEYSET: CERTENROLL_OBJECTID = 166i32; -pub const XCN_OID_LOGOTYPE_EXT: CERTENROLL_OBJECTID = 206i32; -pub const XCN_OID_LOYALTY_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 326i32; -pub const XCN_OID_MEMBER: CERTENROLL_OBJECTID = 149i32; -pub const XCN_OID_NAME_CONSTRAINTS: CERTENROLL_OBJECTID = 193i32; -pub const XCN_OID_NETSCAPE: CERTENROLL_OBJECTID = 289i32; -pub const XCN_OID_NETSCAPE_BASE_URL: CERTENROLL_OBJECTID = 292i32; -pub const XCN_OID_NETSCAPE_CA_POLICY_URL: CERTENROLL_OBJECTID = 296i32; -pub const XCN_OID_NETSCAPE_CA_REVOCATION_URL: CERTENROLL_OBJECTID = 294i32; -pub const XCN_OID_NETSCAPE_CERT_EXTENSION: CERTENROLL_OBJECTID = 290i32; -pub const XCN_OID_NETSCAPE_CERT_RENEWAL_URL: CERTENROLL_OBJECTID = 295i32; -pub const XCN_OID_NETSCAPE_CERT_SEQUENCE: CERTENROLL_OBJECTID = 300i32; -pub const XCN_OID_NETSCAPE_CERT_TYPE: CERTENROLL_OBJECTID = 291i32; -pub const XCN_OID_NETSCAPE_COMMENT: CERTENROLL_OBJECTID = 298i32; -pub const XCN_OID_NETSCAPE_DATA_TYPE: CERTENROLL_OBJECTID = 299i32; -pub const XCN_OID_NETSCAPE_REVOCATION_URL: CERTENROLL_OBJECTID = 293i32; -pub const XCN_OID_NETSCAPE_SSL_SERVER_NAME: CERTENROLL_OBJECTID = 297i32; -pub const XCN_OID_NEXT_UPDATE_LOCATION: CERTENROLL_OBJECTID = 208i32; -pub const XCN_OID_NIST_AES128_CBC: CERTENROLL_OBJECTID = 394i32; -pub const XCN_OID_NIST_AES128_WRAP: CERTENROLL_OBJECTID = 395i32; -pub const XCN_OID_NIST_AES192_CBC: CERTENROLL_OBJECTID = 396i32; -pub const XCN_OID_NIST_AES192_WRAP: CERTENROLL_OBJECTID = 397i32; -pub const XCN_OID_NIST_AES256_CBC: CERTENROLL_OBJECTID = 398i32; -pub const XCN_OID_NIST_AES256_WRAP: CERTENROLL_OBJECTID = 399i32; -pub const XCN_OID_NIST_sha256: CERTENROLL_OBJECTID = 345i32; -pub const XCN_OID_NIST_sha384: CERTENROLL_OBJECTID = 346i32; -pub const XCN_OID_NIST_sha512: CERTENROLL_OBJECTID = 347i32; -pub const XCN_OID_NONE: CERTENROLL_OBJECTID = 0i32; -pub const XCN_OID_NT5_CRYPTO: CERTENROLL_OBJECTID = 262i32; -pub const XCN_OID_NTDS_REPLICATION: CERTENROLL_OBJECTID = 241i32; -pub const XCN_OID_NT_PRINCIPAL_NAME: CERTENROLL_OBJECTID = 214i32; -pub const XCN_OID_OEM_WHQL_CRYPTO: CERTENROLL_OBJECTID = 263i32; -pub const XCN_OID_OIW: CERTENROLL_OBJECTID = 64i32; -pub const XCN_OID_OIWDIR: CERTENROLL_OBJECTID = 93i32; -pub const XCN_OID_OIWDIR_CRPT: CERTENROLL_OBJECTID = 94i32; -pub const XCN_OID_OIWDIR_HASH: CERTENROLL_OBJECTID = 95i32; -pub const XCN_OID_OIWDIR_SIGN: CERTENROLL_OBJECTID = 96i32; -pub const XCN_OID_OIWDIR_md2: CERTENROLL_OBJECTID = 97i32; -pub const XCN_OID_OIWDIR_md2RSA: CERTENROLL_OBJECTID = 98i32; -pub const XCN_OID_OIWSEC: CERTENROLL_OBJECTID = 65i32; -pub const XCN_OID_OIWSEC_desCBC: CERTENROLL_OBJECTID = 70i32; -pub const XCN_OID_OIWSEC_desCFB: CERTENROLL_OBJECTID = 72i32; -pub const XCN_OID_OIWSEC_desECB: CERTENROLL_OBJECTID = 69i32; -pub const XCN_OID_OIWSEC_desEDE: CERTENROLL_OBJECTID = 80i32; -pub const XCN_OID_OIWSEC_desMAC: CERTENROLL_OBJECTID = 73i32; -pub const XCN_OID_OIWSEC_desOFB: CERTENROLL_OBJECTID = 71i32; -pub const XCN_OID_OIWSEC_dhCommMod: CERTENROLL_OBJECTID = 79i32; -pub const XCN_OID_OIWSEC_dsa: CERTENROLL_OBJECTID = 75i32; -pub const XCN_OID_OIWSEC_dsaComm: CERTENROLL_OBJECTID = 83i32; -pub const XCN_OID_OIWSEC_dsaCommSHA: CERTENROLL_OBJECTID = 84i32; -pub const XCN_OID_OIWSEC_dsaCommSHA1: CERTENROLL_OBJECTID = 91i32; -pub const XCN_OID_OIWSEC_dsaSHA1: CERTENROLL_OBJECTID = 90i32; -pub const XCN_OID_OIWSEC_keyHashSeal: CERTENROLL_OBJECTID = 86i32; -pub const XCN_OID_OIWSEC_md2RSASign: CERTENROLL_OBJECTID = 87i32; -pub const XCN_OID_OIWSEC_md4RSA: CERTENROLL_OBJECTID = 66i32; -pub const XCN_OID_OIWSEC_md4RSA2: CERTENROLL_OBJECTID = 68i32; -pub const XCN_OID_OIWSEC_md5RSA: CERTENROLL_OBJECTID = 67i32; -pub const XCN_OID_OIWSEC_md5RSASign: CERTENROLL_OBJECTID = 88i32; -pub const XCN_OID_OIWSEC_mdc2: CERTENROLL_OBJECTID = 82i32; -pub const XCN_OID_OIWSEC_mdc2RSA: CERTENROLL_OBJECTID = 77i32; -pub const XCN_OID_OIWSEC_rsaSign: CERTENROLL_OBJECTID = 74i32; -pub const XCN_OID_OIWSEC_rsaXchg: CERTENROLL_OBJECTID = 85i32; -pub const XCN_OID_OIWSEC_sha: CERTENROLL_OBJECTID = 81i32; -pub const XCN_OID_OIWSEC_sha1: CERTENROLL_OBJECTID = 89i32; -pub const XCN_OID_OIWSEC_sha1RSASign: CERTENROLL_OBJECTID = 92i32; -pub const XCN_OID_OIWSEC_shaDSA: CERTENROLL_OBJECTID = 76i32; -pub const XCN_OID_OIWSEC_shaRSA: CERTENROLL_OBJECTID = 78i32; -pub const XCN_OID_ORGANIZATIONAL_UNIT_NAME: CERTENROLL_OBJECTID = 129i32; -pub const XCN_OID_ORGANIZATION_NAME: CERTENROLL_OBJECTID = 128i32; -pub const XCN_OID_OS_VERSION: CERTENROLL_OBJECTID = 200i32; -pub const XCN_OID_OWNER: CERTENROLL_OBJECTID = 150i32; -pub const XCN_OID_PHYSICAL_DELIVERY_OFFICE_NAME: CERTENROLL_OBJECTID = 137i32; -pub const XCN_OID_PKCS: CERTENROLL_OBJECTID = 2i32; -pub const XCN_OID_PKCS_1: CERTENROLL_OBJECTID = 5i32; -pub const XCN_OID_PKCS_10: CERTENROLL_OBJECTID = 14i32; -pub const XCN_OID_PKCS_12: CERTENROLL_OBJECTID = 15i32; -pub const XCN_OID_PKCS_12_EXTENDED_ATTRIBUTES: CERTENROLL_OBJECTID = 167i32; -pub const XCN_OID_PKCS_12_FRIENDLY_NAME_ATTR: CERTENROLL_OBJECTID = 163i32; -pub const XCN_OID_PKCS_12_KEY_PROVIDER_NAME_ATTR: CERTENROLL_OBJECTID = 165i32; -pub const XCN_OID_PKCS_12_LOCAL_KEY_ID: CERTENROLL_OBJECTID = 164i32; -pub const XCN_OID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: CERTENROLL_OBJECTID = 407i32; -pub const XCN_OID_PKCS_12_PbeIds: CERTENROLL_OBJECTID = 400i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC2: CERTENROLL_OBJECTID = 401i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC4: CERTENROLL_OBJECTID = 402i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And2KeyTripleDES: CERTENROLL_OBJECTID = 403i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And3KeyTripleDES: CERTENROLL_OBJECTID = 404i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC2: CERTENROLL_OBJECTID = 405i32; -pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC4: CERTENROLL_OBJECTID = 406i32; -pub const XCN_OID_PKCS_2: CERTENROLL_OBJECTID = 6i32; -pub const XCN_OID_PKCS_3: CERTENROLL_OBJECTID = 7i32; -pub const XCN_OID_PKCS_4: CERTENROLL_OBJECTID = 8i32; -pub const XCN_OID_PKCS_5: CERTENROLL_OBJECTID = 9i32; -pub const XCN_OID_PKCS_6: CERTENROLL_OBJECTID = 10i32; -pub const XCN_OID_PKCS_7: CERTENROLL_OBJECTID = 11i32; -pub const XCN_OID_PKCS_7_DATA: CERTENROLL_OBJECTID = 329i32; -pub const XCN_OID_PKCS_7_DIGESTED: CERTENROLL_OBJECTID = 333i32; -pub const XCN_OID_PKCS_7_ENCRYPTED: CERTENROLL_OBJECTID = 334i32; -pub const XCN_OID_PKCS_7_ENVELOPED: CERTENROLL_OBJECTID = 331i32; -pub const XCN_OID_PKCS_7_SIGNED: CERTENROLL_OBJECTID = 330i32; -pub const XCN_OID_PKCS_7_SIGNEDANDENVELOPED: CERTENROLL_OBJECTID = 332i32; -pub const XCN_OID_PKCS_8: CERTENROLL_OBJECTID = 12i32; -pub const XCN_OID_PKCS_9: CERTENROLL_OBJECTID = 13i32; -pub const XCN_OID_PKCS_9_CONTENT_TYPE: CERTENROLL_OBJECTID = 335i32; -pub const XCN_OID_PKCS_9_MESSAGE_DIGEST: CERTENROLL_OBJECTID = 336i32; -pub const XCN_OID_PKINIT_KP_KDC: CERTENROLL_OBJECTID = 408i32; -pub const XCN_OID_PKIX: CERTENROLL_OBJECTID = 202i32; -pub const XCN_OID_PKIX_ACC_DESCR: CERTENROLL_OBJECTID = 282i32; -pub const XCN_OID_PKIX_CA_ISSUERS: CERTENROLL_OBJECTID = 284i32; -pub const XCN_OID_PKIX_CA_REPOSITORY: CERTENROLL_OBJECTID = 409i32; -pub const XCN_OID_PKIX_KP: CERTENROLL_OBJECTID = 243i32; -pub const XCN_OID_PKIX_KP_CLIENT_AUTH: CERTENROLL_OBJECTID = 245i32; -pub const XCN_OID_PKIX_KP_CODE_SIGNING: CERTENROLL_OBJECTID = 246i32; -pub const XCN_OID_PKIX_KP_EMAIL_PROTECTION: CERTENROLL_OBJECTID = 247i32; -pub const XCN_OID_PKIX_KP_IPSEC_END_SYSTEM: CERTENROLL_OBJECTID = 248i32; -pub const XCN_OID_PKIX_KP_IPSEC_TUNNEL: CERTENROLL_OBJECTID = 249i32; -pub const XCN_OID_PKIX_KP_IPSEC_USER: CERTENROLL_OBJECTID = 250i32; -pub const XCN_OID_PKIX_KP_OCSP_SIGNING: CERTENROLL_OBJECTID = 252i32; -pub const XCN_OID_PKIX_KP_SERVER_AUTH: CERTENROLL_OBJECTID = 244i32; -pub const XCN_OID_PKIX_KP_TIMESTAMP_SIGNING: CERTENROLL_OBJECTID = 251i32; -pub const XCN_OID_PKIX_NO_SIGNATURE: CERTENROLL_OBJECTID = 303i32; -pub const XCN_OID_PKIX_OCSP: CERTENROLL_OBJECTID = 283i32; -pub const XCN_OID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: CERTENROLL_OBJECTID = 328i32; -pub const XCN_OID_PKIX_OCSP_NOCHECK: CERTENROLL_OBJECTID = 253i32; -pub const XCN_OID_PKIX_OCSP_NONCE: CERTENROLL_OBJECTID = 410i32; -pub const XCN_OID_PKIX_PE: CERTENROLL_OBJECTID = 203i32; -pub const XCN_OID_PKIX_POLICY_QUALIFIER_CPS: CERTENROLL_OBJECTID = 279i32; -pub const XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE: CERTENROLL_OBJECTID = 280i32; -pub const XCN_OID_PKIX_TIME_STAMPING: CERTENROLL_OBJECTID = 411i32; -pub const XCN_OID_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 196i32; -pub const XCN_OID_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 194i32; -pub const XCN_OID_POSTAL_ADDRESS: CERTENROLL_OBJECTID = 134i32; -pub const XCN_OID_POSTAL_CODE: CERTENROLL_OBJECTID = 135i32; -pub const XCN_OID_POST_OFFICE_BOX: CERTENROLL_OBJECTID = 136i32; -pub const XCN_OID_PREFERRED_DELIVERY_METHOD: CERTENROLL_OBJECTID = 146i32; -pub const XCN_OID_PRESENTATION_ADDRESS: CERTENROLL_OBJECTID = 147i32; -pub const XCN_OID_PRIVATEKEY_USAGE_PERIOD: CERTENROLL_OBJECTID = 177i32; -pub const XCN_OID_PRODUCT_UPDATE: CERTENROLL_OBJECTID = 215i32; -pub const XCN_OID_QC_EU_COMPLIANCE: CERTENROLL_OBJECTID = 412i32; -pub const XCN_OID_QC_SSCD: CERTENROLL_OBJECTID = 413i32; -pub const XCN_OID_QC_STATEMENTS_EXT: CERTENROLL_OBJECTID = 414i32; -pub const XCN_OID_RDN_DUMMY_SIGNER: CERTENROLL_OBJECTID = 228i32; -pub const XCN_OID_RDN_TPM_MANUFACTURER: CERTENROLL_OBJECTID = 415i32; -pub const XCN_OID_RDN_TPM_MODEL: CERTENROLL_OBJECTID = 416i32; -pub const XCN_OID_RDN_TPM_VERSION: CERTENROLL_OBJECTID = 417i32; -pub const XCN_OID_REASON_CODE_HOLD: CERTENROLL_OBJECTID = 186i32; -pub const XCN_OID_REGISTERED_ADDRESS: CERTENROLL_OBJECTID = 144i32; -pub const XCN_OID_REMOVE_CERTIFICATE: CERTENROLL_OBJECTID = 209i32; -pub const XCN_OID_RENEWAL_CERTIFICATE: CERTENROLL_OBJECTID = 197i32; -pub const XCN_OID_REQUEST_CLIENT_INFO: CERTENROLL_OBJECTID = 238i32; -pub const XCN_OID_REQUIRE_CERT_CHAIN_POLICY: CERTENROLL_OBJECTID = 234i32; -pub const XCN_OID_REVOKED_LIST_SIGNER: CERTENROLL_OBJECTID = 418i32; -pub const XCN_OID_RFC3161_counterSign: CERTENROLL_OBJECTID = 419i32; -pub const XCN_OID_ROLE_OCCUPANT: CERTENROLL_OBJECTID = 151i32; -pub const XCN_OID_ROOT_LIST_SIGNER: CERTENROLL_OBJECTID = 265i32; -pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: CERTENROLL_OBJECTID = 420i32; -pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: CERTENROLL_OBJECTID = 421i32; -pub const XCN_OID_ROOT_PROGRAM_FLAGS: CERTENROLL_OBJECTID = 422i32; -pub const XCN_OID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: CERTENROLL_OBJECTID = 423i32; -pub const XCN_OID_RSA: CERTENROLL_OBJECTID = 1i32; -pub const XCN_OID_RSAES_OAEP: CERTENROLL_OBJECTID = 425i32; -pub const XCN_OID_RSA_DES_EDE3_CBC: CERTENROLL_OBJECTID = 51i32; -pub const XCN_OID_RSA_DH: CERTENROLL_OBJECTID = 22i32; -pub const XCN_OID_RSA_ENCRYPT: CERTENROLL_OBJECTID = 4i32; -pub const XCN_OID_RSA_HASH: CERTENROLL_OBJECTID = 3i32; -pub const XCN_OID_RSA_MD2: CERTENROLL_OBJECTID = 46i32; -pub const XCN_OID_RSA_MD2RSA: CERTENROLL_OBJECTID = 17i32; -pub const XCN_OID_RSA_MD4: CERTENROLL_OBJECTID = 47i32; -pub const XCN_OID_RSA_MD4RSA: CERTENROLL_OBJECTID = 18i32; -pub const XCN_OID_RSA_MD5: CERTENROLL_OBJECTID = 48i32; -pub const XCN_OID_RSA_MD5RSA: CERTENROLL_OBJECTID = 19i32; -pub const XCN_OID_RSA_MGF1: CERTENROLL_OBJECTID = 348i32; -pub const XCN_OID_RSA_PSPECIFIED: CERTENROLL_OBJECTID = 424i32; -pub const XCN_OID_RSA_RC2CBC: CERTENROLL_OBJECTID = 49i32; -pub const XCN_OID_RSA_RC4: CERTENROLL_OBJECTID = 50i32; -pub const XCN_OID_RSA_RC5_CBCPad: CERTENROLL_OBJECTID = 52i32; -pub const XCN_OID_RSA_RSA: CERTENROLL_OBJECTID = 16i32; -pub const XCN_OID_RSA_SETOAEP_RSA: CERTENROLL_OBJECTID = 21i32; -pub const XCN_OID_RSA_SHA1RSA: CERTENROLL_OBJECTID = 20i32; -pub const XCN_OID_RSA_SHA256RSA: CERTENROLL_OBJECTID = 342i32; -pub const XCN_OID_RSA_SHA384RSA: CERTENROLL_OBJECTID = 343i32; -pub const XCN_OID_RSA_SHA512RSA: CERTENROLL_OBJECTID = 344i32; -pub const XCN_OID_RSA_SMIMECapabilities: CERTENROLL_OBJECTID = 40i32; -pub const XCN_OID_RSA_SMIMEalg: CERTENROLL_OBJECTID = 42i32; -pub const XCN_OID_RSA_SMIMEalgCMS3DESwrap: CERTENROLL_OBJECTID = 44i32; -pub const XCN_OID_RSA_SMIMEalgCMSRC2wrap: CERTENROLL_OBJECTID = 45i32; -pub const XCN_OID_RSA_SMIMEalgESDH: CERTENROLL_OBJECTID = 43i32; -pub const XCN_OID_RSA_SSA_PSS: CERTENROLL_OBJECTID = 353i32; -pub const XCN_OID_RSA_certExtensions: CERTENROLL_OBJECTID = 39i32; -pub const XCN_OID_RSA_challengePwd: CERTENROLL_OBJECTID = 36i32; -pub const XCN_OID_RSA_contentType: CERTENROLL_OBJECTID = 32i32; -pub const XCN_OID_RSA_counterSign: CERTENROLL_OBJECTID = 35i32; -pub const XCN_OID_RSA_data: CERTENROLL_OBJECTID = 23i32; -pub const XCN_OID_RSA_digestedData: CERTENROLL_OBJECTID = 27i32; -pub const XCN_OID_RSA_emailAddr: CERTENROLL_OBJECTID = 30i32; -pub const XCN_OID_RSA_encryptedData: CERTENROLL_OBJECTID = 29i32; -pub const XCN_OID_RSA_envelopedData: CERTENROLL_OBJECTID = 25i32; -pub const XCN_OID_RSA_extCertAttrs: CERTENROLL_OBJECTID = 38i32; -pub const XCN_OID_RSA_hashedData: CERTENROLL_OBJECTID = 28i32; -pub const XCN_OID_RSA_messageDigest: CERTENROLL_OBJECTID = 33i32; -pub const XCN_OID_RSA_preferSignedData: CERTENROLL_OBJECTID = 41i32; -pub const XCN_OID_RSA_signEnvData: CERTENROLL_OBJECTID = 26i32; -pub const XCN_OID_RSA_signedData: CERTENROLL_OBJECTID = 24i32; -pub const XCN_OID_RSA_signingTime: CERTENROLL_OBJECTID = 34i32; -pub const XCN_OID_RSA_unstructAddr: CERTENROLL_OBJECTID = 37i32; -pub const XCN_OID_RSA_unstructName: CERTENROLL_OBJECTID = 31i32; -pub const XCN_OID_SEARCH_GUIDE: CERTENROLL_OBJECTID = 132i32; -pub const XCN_OID_SEE_ALSO: CERTENROLL_OBJECTID = 152i32; -pub const XCN_OID_SERIALIZED: CERTENROLL_OBJECTID = 213i32; -pub const XCN_OID_SERVER_GATED_CRYPTO: CERTENROLL_OBJECTID = 257i32; -pub const XCN_OID_SGC_NETSCAPE: CERTENROLL_OBJECTID = 258i32; -pub const XCN_OID_SORTED_CTL: CERTENROLL_OBJECTID = 212i32; -pub const XCN_OID_STATE_OR_PROVINCE_NAME: CERTENROLL_OBJECTID = 126i32; -pub const XCN_OID_STREET_ADDRESS: CERTENROLL_OBJECTID = 127i32; -pub const XCN_OID_SUBJECT_ALT_NAME: CERTENROLL_OBJECTID = 173i32; -pub const XCN_OID_SUBJECT_ALT_NAME2: CERTENROLL_OBJECTID = 183i32; -pub const XCN_OID_SUBJECT_DIR_ATTRS: CERTENROLL_OBJECTID = 242i32; -pub const XCN_OID_SUBJECT_INFO_ACCESS: CERTENROLL_OBJECTID = 426i32; -pub const XCN_OID_SUBJECT_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 182i32; -pub const XCN_OID_SUPPORTED_APPLICATION_CONTEXT: CERTENROLL_OBJECTID = 148i32; -pub const XCN_OID_SUR_NAME: CERTENROLL_OBJECTID = 122i32; -pub const XCN_OID_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 138i32; -pub const XCN_OID_TELETEXT_TERMINAL_IDENTIFIER: CERTENROLL_OBJECTID = 140i32; -pub const XCN_OID_TELEX_NUMBER: CERTENROLL_OBJECTID = 139i32; -pub const XCN_OID_TIMESTAMP_TOKEN: CERTENROLL_OBJECTID = 427i32; -pub const XCN_OID_TITLE: CERTENROLL_OBJECTID = 130i32; -pub const XCN_OID_USER_CERTIFICATE: CERTENROLL_OBJECTID = 154i32; -pub const XCN_OID_USER_PASSWORD: CERTENROLL_OBJECTID = 153i32; -pub const XCN_OID_VERISIGN_BITSTRING_6_13: CERTENROLL_OBJECTID = 287i32; -pub const XCN_OID_VERISIGN_ISS_STRONG_CRYPTO: CERTENROLL_OBJECTID = 288i32; -pub const XCN_OID_VERISIGN_ONSITE_JURISDICTION_HASH: CERTENROLL_OBJECTID = 286i32; -pub const XCN_OID_VERISIGN_PRIVATE_6_9: CERTENROLL_OBJECTID = 285i32; -pub const XCN_OID_WHQL_CRYPTO: CERTENROLL_OBJECTID = 261i32; -pub const XCN_OID_X21_ADDRESS: CERTENROLL_OBJECTID = 142i32; -pub const XCN_OID_X957: CERTENROLL_OBJECTID = 55i32; -pub const XCN_OID_X957_DSA: CERTENROLL_OBJECTID = 56i32; -pub const XCN_OID_X957_SHA1DSA: CERTENROLL_OBJECTID = 57i32; -pub const XCN_OID_YESNO_TRUST_ATTR: CERTENROLL_OBJECTID = 278i32; -pub const XCN_PROPERTYID_NONE: CERTENROLL_PROPERTYID = 0i32; -pub const XCN_PROV_DH_SCHANNEL: X509ProviderType = 18i32; -pub const XCN_PROV_DSS: X509ProviderType = 3i32; -pub const XCN_PROV_DSS_DH: X509ProviderType = 13i32; -pub const XCN_PROV_EC_ECDSA_FULL: X509ProviderType = 16i32; -pub const XCN_PROV_EC_ECDSA_SIG: X509ProviderType = 14i32; -pub const XCN_PROV_EC_ECNRA_FULL: X509ProviderType = 17i32; -pub const XCN_PROV_EC_ECNRA_SIG: X509ProviderType = 15i32; -pub const XCN_PROV_FORTEZZA: X509ProviderType = 4i32; -pub const XCN_PROV_INTEL_SEC: X509ProviderType = 22i32; -pub const XCN_PROV_MS_EXCHANGE: X509ProviderType = 5i32; -pub const XCN_PROV_NONE: X509ProviderType = 0i32; -pub const XCN_PROV_REPLACE_OWF: X509ProviderType = 23i32; -pub const XCN_PROV_RNG: X509ProviderType = 21i32; -pub const XCN_PROV_RSA_AES: X509ProviderType = 24i32; -pub const XCN_PROV_RSA_FULL: X509ProviderType = 1i32; -pub const XCN_PROV_RSA_SCHANNEL: X509ProviderType = 12i32; -pub const XCN_PROV_RSA_SIG: X509ProviderType = 2i32; -pub const XCN_PROV_SPYRUS_LYNKS: X509ProviderType = 20i32; -pub const XCN_PROV_SSL: X509ProviderType = 6i32; -pub const XECI_AUTOENROLL: u32 = 2u32; -pub const XECI_CERTREQ: u32 = 4u32; -pub const XECI_DISABLE: u32 = 0u32; -pub const XECI_REQWIZARD: u32 = 3u32; -pub const XECI_XENROLL: u32 = 1u32; -pub const XECP_STRING_PROPERTY: u32 = 1u32; -pub const XECR_CMC: CERT_CREATE_REQUEST_FLAGS = 3i32; -pub const XECR_PKCS10_V1_5: CERT_CREATE_REQUEST_FLAGS = 4i32; -pub const XECR_PKCS10_V2_0: CERT_CREATE_REQUEST_FLAGS = 1i32; -pub const XECR_PKCS7: CERT_CREATE_REQUEST_FLAGS = 2i32; -pub const XECT_EXTENSION_V1: ADDED_CERT_TYPE = 1i32; -pub const XECT_EXTENSION_V2: ADDED_CERT_TYPE = 2i32; -pub const XEKL_KEYSIZE_DEFAULT: u32 = 4u32; -pub const XEKL_KEYSIZE_INC: XEKL_KEYSIZE = 3i32; -pub const XEKL_KEYSIZE_MAX: XEKL_KEYSIZE = 2i32; -pub const XEKL_KEYSIZE_MIN: XEKL_KEYSIZE = 1i32; -pub const XEKL_KEYSPEC_KEYX: XEKL_KEYSPEC = 1i32; -pub const XEKL_KEYSPEC_SIG: XEKL_KEYSPEC = 2i32; -pub const XEPR_CADNS: PENDING_REQUEST_DESIRED_PROPERTY = 1i32; -pub const XEPR_CAFRIENDLYNAME: PENDING_REQUEST_DESIRED_PROPERTY = 3i32; -pub const XEPR_CANAME: PENDING_REQUEST_DESIRED_PROPERTY = 2i32; -pub const XEPR_DATE: u32 = 5u32; -pub const XEPR_ENUM_FIRST: i32 = -1i32; -pub const XEPR_HASH: PENDING_REQUEST_DESIRED_PROPERTY = 8i32; -pub const XEPR_REQUESTID: PENDING_REQUEST_DESIRED_PROPERTY = 4i32; -pub const XEPR_TEMPLATENAME: u32 = 6u32; -pub const XEPR_V1TEMPLATENAME: u32 = 9u32; -pub const XEPR_V2TEMPLATEOID: u32 = 16u32; -pub const XEPR_VERSION: u32 = 7u32; -pub const dwCAXCHGOVERLAPPERIODCOUNTDEFAULT: u32 = 1u32; -pub const dwCAXCHGVALIDITYPERIODCOUNTDEFAULT: u32 = 1u32; -pub const dwCRLDELTAOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; -pub const dwCRLDELTAPERIODCOUNTDEFAULT: u32 = 1u32; -pub const dwCRLOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; -pub const dwCRLPERIODCOUNTDEFAULT: u32 = 1u32; -pub const dwVALIDITYPERIODCOUNTDEFAULT_ENTERPRISE: u32 = 2u32; -pub const dwVALIDITYPERIODCOUNTDEFAULT_ROOT: u32 = 5u32; -pub const dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE: u32 = 1u32; -pub const szBACKUPANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Cert Server Backup Interface"); -pub const szDBBASENAMEPARM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("edb"); -pub const szNAMESEPARATORDEFAULT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("\n"); -pub const szPROPASNTAG: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{asn}"); -pub const szRESTOREANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Cert Server Restore Interface"); -pub const wszAT_EKCERTINF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@EKCert"); -pub const wszAT_TESTROOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@TestRoot"); -pub const wszCAPOLICYFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPolicy.inf"); -pub const wszCERTEXITMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Exit"); -pub const wszCERTIFICATETRANSPARENCYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTransparencyFlags"); -pub const wszCERTMANAGE_SUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Manage"); -pub const wszCERTPOLICYMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Policy"); -pub const wszCERT_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); -pub const wszCERT_TYPE_CLIENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Client"); -pub const wszCERT_TYPE_CODESIGN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CodeSign"); -pub const wszCERT_TYPE_CUSTOMER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetCustomer"); -pub const wszCERT_TYPE_MERCHANT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetMerchant"); -pub const wszCERT_TYPE_PAYMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetPayment"); -pub const wszCERT_TYPE_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Server"); -pub const wszCERT_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); -pub const wszCERT_VERSION_1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1"); -pub const wszCERT_VERSION_2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("2"); -pub const wszCERT_VERSION_3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3"); -pub const wszCLASS_CERTADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Admin"); -pub const wszCLASS_CERTCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Config"); -pub const wszCLASS_CERTDBMEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.DBMem"); -pub const wszCLASS_CERTENCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Encode"); -pub const wszCLASS_CERTGETCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.GetConfig"); -pub const wszCLASS_CERTREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Request"); -pub const wszCLASS_CERTSERVEREXIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.ServerExit"); -pub const wszCLASS_CERTSERVERPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.ServerPolicy"); -pub const wszCLASS_CERTVIEW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.View"); -pub const wszCMM_PROP_COPYRIGHT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Copyright"); -pub const wszCMM_PROP_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description"); -pub const wszCMM_PROP_DISPLAY_HWND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HWND"); -pub const wszCMM_PROP_FILEVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("File Version"); -pub const wszCMM_PROP_ISMULTITHREADED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsMultiThreaded"); -pub const wszCMM_PROP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name"); -pub const wszCMM_PROP_PRODUCTVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Product Version"); -pub const wszCNGENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGEncryptionAlgorithm"); -pub const wszCNGHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGHashAlgorithm"); -pub const wszCNGPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGPublicKeyAlgorithm"); -pub const wszCONFIG_AUTHORITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Authority"); -pub const wszCONFIG_COMMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Comment"); -pub const wszCONFIG_COMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); -pub const wszCONFIG_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Config"); -pub const wszCONFIG_COUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Country"); -pub const wszCONFIG_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description"); -pub const wszCONFIG_EXCHANGECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExchangeCertificate"); -pub const wszCONFIG_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); -pub const wszCONFIG_LOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Locality"); -pub const wszCONFIG_ORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Organization"); -pub const wszCONFIG_ORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OrgUnit"); -pub const wszCONFIG_SANITIZEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedName"); -pub const wszCONFIG_SANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedShortName"); -pub const wszCONFIG_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Server"); -pub const wszCONFIG_SHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ShortName"); -pub const wszCONFIG_SIGNATURECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureCertificate"); -pub const wszCONFIG_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("State"); -pub const wszCONFIG_WEBENROLLMENTSERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebEnrollmentServers"); -pub const wszCRLPUBLISHRETRYCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishRetryCount"); -pub const wszCRTFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".crt"); -pub const wszDATFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".dat"); -pub const wszDBBACKUPCERTBACKDAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("certbkxp.dat"); -pub const wszDBBACKUPSUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DataBase"); -pub const wszDBFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".edb"); -pub const wszENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionAlgorithm"); -pub const wszENROLLMENTAGENTRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollmentAgentRights"); -pub const wszHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithm"); -pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternateSignatureAlgorithm"); -pub const wszINFKEY_ATTESTPRIVATEKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttestPrivateKey"); -pub const wszINFKEY_CACAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACapabilities"); -pub const wszINFKEY_CACERTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACerts"); -pub const wszINFKEY_CATHUMBPRINT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAThumbprint"); -pub const wszINFKEY_CCDPSYNCDELTATIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncDeltaTime"); -pub const wszINFKEY_CHALLENGEPASSWORD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChallengePassword"); -pub const wszINFKEY_CONTINUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("_continue_"); -pub const wszINFKEY_CRITICAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Critical"); -pub const wszINFKEY_CRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriodUnits"); -pub const wszINFKEY_CRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriod"); -pub const wszINFKEY_CRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriodUnits"); -pub const wszINFKEY_CRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriod"); -pub const wszINFKEY_DIRECTORYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DirectoryName"); -pub const wszINFKEY_DNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DNS"); -pub const wszINFKEY_ECCKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters"); -pub const wszINFKEY_ECCKEYPARAMETERSTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParametersType"); -pub const wszINFKEY_ECCKEYPARAMETERS_A: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_A"); -pub const wszINFKEY_ECCKEYPARAMETERS_B: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_B"); -pub const wszINFKEY_ECCKEYPARAMETERS_BASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Base"); -pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Cofactor"); -pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Order"); -pub const wszINFKEY_ECCKEYPARAMETERS_P: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_P"); -pub const wszINFKEY_ECCKEYPARAMETERS_SEED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Seed"); -pub const wszINFKEY_EMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EMail"); -pub const wszINFKEY_EMPTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Empty"); -pub const wszINFKEY_ENABLEKEYCOUNTING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableKeyCounting"); -pub const wszINFKEY_ENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionAlgorithm"); -pub const wszINFKEY_ENCRYPTIONLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionLength"); -pub const wszINFKEY_EXCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Exclude"); -pub const wszINFKEY_EXPORTABLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Exportable"); -pub const wszINFKEY_EXPORTABLEENCRYPTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExportableEncrypted"); -pub const wszINFKEY_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); -pub const wszINFKEY_FORCEUTF8: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ForceUTF8"); -pub const wszINFKEY_FRIENDLYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FriendlyName"); -pub const wszINFKEY_HASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithm"); -pub const wszINFKEY_INCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Include"); -pub const wszINFKEY_INHIBITPOLICYMAPPING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InhibitPolicyMapping"); -pub const wszINFKEY_IPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IPAddress"); -pub const wszINFKEY_KEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyAlgorithm"); -pub const wszINFKEY_KEYALGORITHMPARMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyAlgorithmParameters"); -pub const wszINFKEY_KEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyContainer"); -pub const wszINFKEY_KEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLength"); -pub const wszINFKEY_KEYPROTECTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyProtection"); -pub const wszINFKEY_KEYUSAGEEXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyUsage"); -pub const wszINFKEY_KEYUSAGEPROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyUsageProperty"); -pub const wszINFKEY_LEGACYKEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySpec"); -pub const wszINFKEY_LOADDEFAULTTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LoadDefaultTemplates"); -pub const wszINFKEY_MACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineKeySet"); -pub const wszINFKEY_NOTAFTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotAfter"); -pub const wszINFKEY_NOTBEFORE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotBefore"); -pub const wszINFKEY_NOTICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Notice"); -pub const wszINFKEY_OID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OID"); -pub const wszINFKEY_OTHERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OtherName"); -pub const wszINFKEY_PATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PathLength"); -pub const wszINFKEY_POLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Policies"); -pub const wszINFKEY_PRIVATEKEYARCHIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivateKeyArchive"); -pub const wszINFKEY_PROVIDERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderName"); -pub const wszINFKEY_PROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderType"); -pub const wszINFKEY_PUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKey"); -pub const wszINFKEY_PUBLICKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyParameters"); -pub const wszINFKEY_READERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ReaderName"); -pub const wszINFKEY_REGISTEREDID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RegisteredId"); -pub const wszINFKEY_RENEWALCERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalCert"); -pub const wszINFKEY_RENEWALKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalKeyLength"); -pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalValidityPeriodUnits"); -pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalValidityPeriod"); -pub const wszINFKEY_REQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); -pub const wszINFKEY_REQUIREEXPLICITPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequireExplicitPolicy"); -pub const wszINFKEY_SECURITYDESCRIPTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecurityDescriptor"); -pub const wszINFKEY_SERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialNumber"); -pub const wszINFKEY_SHOWALLCSPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ShowAllCSPs"); -pub const wszINFKEY_SILENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Silent"); -pub const wszINFKEY_SMIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMIME"); -pub const wszINFKEY_SUBJECT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Subject"); -pub const wszINFKEY_SUBJECTNAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameFlags"); -pub const wszINFKEY_SUBTREE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubTree"); -pub const wszINFKEY_SUPPRESSDEFAULTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SuppressDefaults"); -pub const wszINFKEY_UICONTEXTMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UIContextMessage"); -pub const wszINFKEY_UPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPN"); -pub const wszINFKEY_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("URL"); -pub const wszINFKEY_USEEXISTINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseExistingKeySet"); -pub const wszINFKEY_USERPROTECTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UserProtected"); -pub const wszINFKEY_UTF8: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UTF8"); -pub const wszINFKEY_X500NAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("X500NameFlags"); -pub const wszINFSECTION_AIA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthorityInformationAccess"); -pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyConstraintsExtension"); -pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyMappingsExtension"); -pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyStatementExtension"); -pub const wszINFSECTION_BASICCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BasicConstraintsExtension"); -pub const wszINFSECTION_CAPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPolicy"); -pub const wszINFSECTION_CCDP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossCertificateDistributionPointsExtension"); -pub const wszINFSECTION_CDP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDistributionPoint"); -pub const wszINFSECTION_CERTSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("certsrv_server"); -pub const wszINFSECTION_EKU: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnhancedKeyUsageExtension"); -pub const wszINFSECTION_EXTENSIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Extensions"); -pub const wszINFSECTION_NAMECONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NameConstraintsExtension"); -pub const wszINFSECTION_NEWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NewRequest"); -pub const wszINFSECTION_POLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyConstraintsExtension"); -pub const wszINFSECTION_POLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyMappingsExtension"); -pub const wszINFSECTION_POLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyStatementExtension"); -pub const wszINFSECTION_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Properties"); -pub const wszINFSECTION_REQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestAttributes"); -pub const wszINFVALUE_ENDORSEMENTKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKey"); -pub const wszINFVALUE_REQUESTTYPE_CERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Cert"); -pub const wszINFVALUE_REQUESTTYPE_CMC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CMC"); -pub const wszINFVALUE_REQUESTTYPE_PKCS10: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS10"); -pub const wszINFVALUE_REQUESTTYPE_PKCS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS7"); -pub const wszINFVALUE_REQUESTTYPE_SCEP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCEP"); -pub const wszLDAPSESSIONOPTIONVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPSessionOptionValue"); -pub const wszLOCALIZEDTIMEPERIODUNITS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LocalizedTimePeriodUnits"); -pub const wszLOGFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".log"); -pub const wszLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertLog"); -pub const wszMACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineKeyset"); -pub const wszMICROSOFTCERTMODULE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority_MicrosoftDefault"); -pub const wszNETSCAPEREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Netscape"); -pub const wszOCSPCAPROP_CACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertificate"); -pub const wszOCSPCAPROP_CACONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAConfig"); -pub const wszOCSPCAPROP_CSPNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CSPName"); -pub const wszOCSPCAPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ErrorCode"); -pub const wszOCSPCAPROP_HASHALGORITHMID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithmId"); -pub const wszOCSPCAPROP_KEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySpec"); -pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LocalRevocationInformation"); -pub const wszOCSPCAPROP_PROVIDERCLSID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderCLSID"); -pub const wszOCSPCAPROP_PROVIDERPROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider"); -pub const wszOCSPCAPROP_REMINDERDURATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ReminderDuration"); -pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningCertificate"); -pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningCertificateTemplate"); -pub const wszOCSPCAPROP_SIGNINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningFlags"); -pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingMessageSize"); -pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxNumOfRequestEntries"); -pub const wszOCSPCOMMONPROP_REQFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFlags"); -pub const wszOCSPISAPIPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ISAPIDebug"); -pub const wszOCSPISAPIPROP_MAXAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAge"); -pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxNumOfCacheEntries"); -pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NumOfBackendConnections"); -pub const wszOCSPISAPIPROP_NUMOFTHREADS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NumOfThreads"); -pub const wszOCSPISAPIPROP_REFRESHRATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RefreshRate"); -pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VirtualRootName"); -pub const wszOCSPPROP_ARRAYCONTROLLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArrayController"); -pub const wszOCSPPROP_ARRAYMEMBERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArrayMembers"); -pub const wszOCSPPROP_AUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuditFilter"); -pub const wszOCSPPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Debug"); -pub const wszOCSPPROP_ENROLLPOLLINTERVAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollPollInterval"); -pub const wszOCSPPROP_LOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); -pub const wszOCSPREVPROP_BASECRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BaseCrl"); -pub const wszOCSPREVPROP_BASECRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BaseCrlUrls"); -pub const wszOCSPREVPROP_CRLURLTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrlUrlTimeOut"); -pub const wszOCSPREVPROP_DELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeltaCrl"); -pub const wszOCSPREVPROP_DELTACRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeltaCrlUrls"); -pub const wszOCSPREVPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationErrorCode"); -pub const wszOCSPREVPROP_REFRESHTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RefreshTimeOut"); -pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuedSerialNumbersDirectories"); -pub const wszPERIODDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Days"); -pub const wszPERIODHOURS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Hours"); -pub const wszPERIODMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Minutes"); -pub const wszPERIODMONTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Months"); -pub const wszPERIODSECONDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Seconds"); -pub const wszPERIODWEEKS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Weeks"); -pub const wszPERIODYEARS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Years"); -pub const wszPFXFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".p12"); -pub const wszPROPATTESTATIONCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttestationChallenge"); -pub const wszPROPATTRIBNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeName"); -pub const wszPROPATTRIBREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeRequestId"); -pub const wszPROPATTRIBVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeValue"); -pub const wszPROPCALLERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CallerName"); -pub const wszPROPCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAType"); -pub const wszPROPCERTCLIENTMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ccm"); -pub const wszPROPCERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertCount"); -pub const wszPROPCERTIFICATEENROLLMENTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollmentFlags"); -pub const wszPROPCERTIFICATEGENERALFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GeneralFlags"); -pub const wszPROPCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateHash"); -pub const wszPROPCERTIFICATENOTAFTERDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotAfter"); -pub const wszPROPCERTIFICATENOTBEFOREDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotBefore"); -pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivatekeyFlags"); -pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyAlgorithm"); -pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); -pub const wszPROPCERTIFICATERAWPUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPublicKey"); -pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPublicKeyAlgorithmParameters"); -pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawSMIMECapabilities"); -pub const wszPROPCERTIFICATEREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestID"); -pub const wszPROPCERTIFICATESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialNumber"); -pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectKeyIdentifier"); -pub const wszPROPCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTemplate"); -pub const wszPROPCERTIFICATETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateType"); -pub const wszPROPCERTIFICATEUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPN"); -pub const wszPROPCERTSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertState"); -pub const wszPROPCERTSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSuffix"); -pub const wszPROPCERTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTemplate"); -pub const wszPROPCERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertType"); -pub const wszPROPCERTUSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateUsage"); -pub const wszPROPCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Challenge"); -pub const wszPROPCLIENTBROWSERMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cbm"); -pub const wszPROPCLIENTDCDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cdc"); -pub const wszPROPCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); -pub const wszPROPCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigDN"); -pub const wszPROPCOUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Country"); -pub const wszPROPCRITICALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{critical}"); -pub const wszPROPCRLCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLCount"); -pub const wszPROPCRLEFFECTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLEffective"); -pub const wszPROPCRLINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLIndex"); -pub const wszPROPCRLLASTPUBLISHED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLLastPublished"); -pub const wszPROPCRLMINBASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLMinBase"); -pub const wszPROPCRLNAMEID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNameId"); -pub const wszPROPCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextPublish"); -pub const wszPROPCRLNEXTUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextUpdate"); -pub const wszPROPCRLNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNumber"); -pub const wszPROPCRLPROPAGATIONCOMPLETE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPropagationComplete"); -pub const wszPROPCRLPUBLISHATTEMPTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishAttempts"); -pub const wszPROPCRLPUBLISHERROR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishError"); -pub const wszPROPCRLPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishFlags"); -pub const wszPROPCRLPUBLISHSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishStatusCode"); -pub const wszPROPCRLRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLRawCRL"); -pub const wszPROPCRLROWID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLRowId"); -pub const wszPROPCRLSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLState"); -pub const wszPROPCRLSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLSuffix"); -pub const wszPROPCRLTHISPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLThisPublish"); -pub const wszPROPCRLTHISUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLThisUpdate"); -pub const wszPROPCROSSFOREST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossForest"); -pub const wszPROPDCNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DCName"); -pub const wszPROPDECIMALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{decimal}"); -pub const wszPROPDELTACRLSDISABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fDeltaCRLsDisabled"); -pub const wszPROPDEVICESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeviceSerialNumber"); -pub const wszPROPDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Disposition"); -pub const wszPROPDISPOSITIONDENY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Deny"); -pub const wszPROPDISPOSITIONPENDING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Pending"); -pub const wszPROPDISTINGUISHEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DistinguishedName"); -pub const wszPROPDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dn"); -pub const wszPROPDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dns"); -pub const wszPROPDOMAINCOMPONENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DomainComponent"); -pub const wszPROPDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DomainDN"); -pub const wszPROPEMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EMail"); -pub const wszPROPENDORSEMENTCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementCertificateHash"); -pub const wszPROPENDORSEMENTKEYHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKeyHash"); -pub const wszPROPEVENTLOGERROR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogError"); -pub const wszPROPEVENTLOGEXHAUSTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogExhaustive"); -pub const wszPROPEVENTLOGTERSE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogTerse"); -pub const wszPROPEVENTLOGVERBOSE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogVerbose"); -pub const wszPROPEVENTLOGWARNING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogWarning"); -pub const wszPROPEXITCERTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertFile"); -pub const wszPROPEXPECTEDCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExpectedChallenge"); -pub const wszPROPEXPIRATIONDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExpirationDate"); -pub const wszPROPEXTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionFlags"); -pub const wszPROPEXTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionName"); -pub const wszPROPEXTRAWVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionRawValue"); -pub const wszPROPEXTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionRequestId"); -pub const wszPROPFILETAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{file}"); -pub const wszPROPGIVENNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GivenName"); -pub const wszPROPGUID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("guid"); -pub const wszPROPHEXTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{hex}"); -pub const wszPROPINITIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Initials"); -pub const wszPROPIPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ipaddress"); -pub const wszPROPKEYARCHIVED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyArchived"); -pub const wszPROPLOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Locality"); -pub const wszPROPLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); -pub const wszPROPMACHINEDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineDNSName"); -pub const wszPROPMODULEREGLOC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ModuleRegistryLocation"); -pub const wszPROPNAMETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NameType"); -pub const wszPROPOCTETTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{octet}"); -pub const wszPROPOFFICER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Officer"); -pub const wszPROPOID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("oid"); -pub const wszPROPORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Organization"); -pub const wszPROPORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OrgUnit"); -pub const wszPROPPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishExpiredCertInCRL"); -pub const wszPROPRAWCACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCACertificate"); -pub const wszPROPRAWCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCertificate"); -pub const wszPROPRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCRL"); -pub const wszPROPRAWDELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawDeltaCRL"); -pub const wszPROPRAWNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawName"); -pub const wszPROPRAWPRECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPrecertificate"); -pub const wszPROPREQUESTARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArchivedKey"); -pub const wszPROPREQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestAttributes"); -pub const wszPROPREQUESTCSPPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestCSPProvider"); -pub const wszPROPREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Disposition"); -pub const wszPROPREQUESTDISPOSITIONMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DispositionMessage"); -pub const wszPROPREQUESTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Request."); -pub const wszPROPREQUESTERCAACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterCAAccess"); -pub const wszPROPREQUESTERDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterDN"); -pub const wszPROPREQUESTERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterName"); -pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterNameFromOldCertificate"); -pub const wszPROPREQUESTERSAMNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterSAMName"); -pub const wszPROPREQUESTERUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterUPN"); -pub const wszPROPREQUESTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFlags"); -pub const wszPROPREQUESTKEYRECOVERYHASHES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyRecoveryHashes"); -pub const wszPROPREQUESTMACHINEDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("rmd"); -pub const wszPROPREQUESTOSVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestOSVersion"); -pub const wszPROPREQUESTRAWARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawArchivedKey"); -pub const wszPROPREQUESTRAWOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawOldCertificate"); -pub const wszPROPREQUESTRAWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawRequest"); -pub const wszPROPREQUESTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestID"); -pub const wszPROPREQUESTRESOLVEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ResolvedWhen"); -pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedEffectiveWhen"); -pub const wszPROPREQUESTREVOKEDREASON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedReason"); -pub const wszPROPREQUESTREVOKEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedWhen"); -pub const wszPROPREQUESTSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("StatusCode"); -pub const wszPROPREQUESTSUBMITTEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubmittedWhen"); -pub const wszPROPREQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); -pub const wszPROPSANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedCAName"); -pub const wszPROPSANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedShortName"); -pub const wszPROPSEAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SEAuditFilter"); -pub const wszPROPSEAUDITID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SEAuditId"); -pub const wszPROPSERVERUPGRADED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fServerUpgraded"); -pub const wszPROPSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SessionCount"); -pub const wszPROPSIGNERAPPLICATIONPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignerApplicationPolicies"); -pub const wszPROPSIGNERPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignerPolicies"); -pub const wszPROPSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("State"); -pub const wszPROPSTREETADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("StreetAddress"); -pub const wszPROPSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("san"); -pub const wszPROPSUBJECTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Subject."); -pub const wszPROPSURNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SurName"); -pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TemplateChangeSequenceNumber"); -pub const wszPROPTEXTTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{text}"); -pub const wszPROPTITLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Title"); -pub const wszPROPUNSTRUCTUREDADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UnstructuredAddress"); -pub const wszPROPUNSTRUCTUREDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UnstructuredName"); -pub const wszPROPUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("upn"); -pub const wszPROPURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("url"); -pub const wszPROPUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fUseDS"); -pub const wszPROPUSERDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UserDN"); -pub const wszPROPUTF8TAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{utf8}"); -pub const wszPROPVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriodUnits"); -pub const wszPROPVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriod"); -pub const wszPROPVOLATILEMODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VolatileMode"); -pub const wszREGACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Active"); -pub const wszREGAELOGLEVEL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AEEventLogLevel"); -pub const wszREGAIKCLOUDCAURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKCloudCAURL"); -pub const wszREGAIKKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKKeyAlgorithm"); -pub const wszREGAIKKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKKeyLength"); -pub const wszREGALLPROVIDERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("All"); -pub const wszREGALTERNATEPUBLISHDOMAINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternatePublishDomains"); -pub const wszREGALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternateSignatureAlgorithm"); -pub const wszREGAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuditFilter"); -pub const wszREGB2ICERTMANAGEMODULE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ICertManageModule"); -pub const wszREGBACKUPLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BackupLogDirectory"); -pub const wszREGCACERTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertFileName"); -pub const wszREGCACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertHash"); -pub const wszREGCACERTPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertPublicationURLs"); -pub const wszREGCADESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CADescription"); -pub const wszREGCAPATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPathLength"); -pub const wszREGCASECURITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security"); -pub const wszREGCASERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertSerialNumber"); -pub const wszREGCASERVERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAServerName"); -pub const wszREGCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAType"); -pub const wszREGCAUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseDS"); -pub const wszREGCAXCHGCERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgCertHash"); -pub const wszREGCAXCHGOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgOverlapPeriodUnits"); -pub const wszREGCAXCHGOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgOverlapPeriod"); -pub const wszREGCAXCHGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgValidityPeriodUnits"); -pub const wszREGCAXCHGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgValidityPeriod"); -pub const wszREGCERTENROLLCOMPATIBLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertEnrollCompatible"); -pub const wszREGCERTIFICATETRANSPARENCYINFOOID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CTInformationExtensionOid"); -pub const wszREGCERTPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishCertFlags"); -pub const wszREGCERTSRVDEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Debug"); -pub const wszREGCHECKPOINTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CheckPointFile"); -pub const wszREGCLOCKSKEWMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ClockSkewMinutes"); -pub const wszREGCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); -pub const wszREGCRLATTEMPTREPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLAttemptRepublish"); -pub const wszREGCRLDELTANEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaNextPublish"); -pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaOverlapUnits"); -pub const wszREGCRLDELTAOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaOverlapPeriod"); -pub const wszREGCRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriodUnits"); -pub const wszREGCRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriod"); -pub const wszREGCRLEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLEditFlags"); -pub const wszREGCRLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLFlags"); -pub const wszREGCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextPublish"); -pub const wszREGCRLOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLOverlapUnits"); -pub const wszREGCRLOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLOverlapPeriod"); -pub const wszREGCRLPATH_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPath"); -pub const wszREGCRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriodUnits"); -pub const wszREGCRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriod"); -pub const wszREGCRLPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublicationURLs"); -pub const wszREGDATABASERECOVERED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DatabaseRecovered"); -pub const wszREGDBDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBDirectory"); -pub const wszREGDBFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBFlags"); -pub const wszREGDBLASTFULLBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastFullBackup"); -pub const wszREGDBLASTINCREMENTALBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastIncrementalBackup"); -pub const wszREGDBLASTRECOVERY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastRecovery"); -pub const wszREGDBLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLogDirectory"); -pub const wszREGDBMAXREADSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBMaxReadSessionCount"); -pub const wszREGDBSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBSessionCount"); -pub const wszREGDBSYSDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBSystemDirectory"); -pub const wszREGDBTEMPDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBTempDirectory"); -pub const wszREGDEFAULTSMIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DefaultSMIME"); -pub const wszREGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigurationDirectory"); -pub const wszREGDISABLEEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableExtensionList"); -pub const wszREGDISABLESECEXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSecExtension"); -pub const wszREGDSCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSConfigDN"); -pub const wszREGDSDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSDomainDN"); -pub const wszREGEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EditFlags"); -pub const wszREGEKPUBLISTDIRECTORIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKeyListDirectories"); -pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EKUOIDsForPublishExpiredCertInCRL"); -pub const wszREGEKUOIDSFORVOLATILEREQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EKUOIDsforVolatileRequests"); -pub const wszREGENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Enabled"); -pub const wszREGENABLEDEKUFORDEFINEDCACERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnabledEKUForDefinedCACert"); -pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableEnrolleeRequestExtensionList"); -pub const wszREGENABLEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableRequestExtensionList"); -pub const wszREGENFORCEX500NAMELENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnforceX500NameLengths"); -pub const wszREGENROLLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollFlags"); -pub const wszREGEXITBODYARG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BodyArg"); -pub const wszREGEXITBODYFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BodyFormat"); -pub const wszREGEXITCRLISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLIssued"); -pub const wszREGEXITDENIEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Denied"); -pub const wszREGEXITIMPORTEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Imported"); -pub const wszREGEXITISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Issued"); -pub const wszREGEXITPENDINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Pending"); -pub const wszREGEXITPROPNOTFOUND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("???"); -pub const wszREGEXITREVOKEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Revoked"); -pub const wszREGEXITSHUTDOWNKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Shutdown"); -pub const wszREGEXITSMTPAUTHENTICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTPAuthenticate"); -pub const wszREGEXITSMTPCC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Cc"); -pub const wszREGEXITSMTPEVENTFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventFilter"); -pub const wszREGEXITSMTPFROM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("From"); -pub const wszREGEXITSMTPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTP"); -pub const wszREGEXITSMTPSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTPServer"); -pub const wszREGEXITSMTPTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Templates"); -pub const wszREGEXITSMTPTO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("To"); -pub const wszREGEXITSTARTUPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Startup"); -pub const wszREGEXITTITLEARG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TitleArg"); -pub const wszREGEXITTITLEFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TitleFormat"); -pub const wszREGFILEISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileIssuerCertURL"); -pub const wszREGFILEREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileRevocationCRLURL"); -pub const wszREGFORCETELETEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ForceTeletex"); -pub const wszREGFTPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FTPIssuerCertURL"); -pub const wszREGFTPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FTPRevocationCRLURL"); -pub const wszREGHIGHLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HighLogNumber"); -pub const wszREGHIGHSERIAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HighSerial"); -pub const wszREGINTERFACEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InterfaceFlags"); -pub const wszREGISSUERCERTURLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuerCertURLFlags"); -pub const wszREGISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuerCertURL"); -pub const wszREGKEYBASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); -pub const wszREGKEYCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); -pub const wszREGKEYCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Configuration"); -pub const wszREGKEYCSP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CSP"); -pub const wszREGKEYDBPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBParameters"); -pub const wszREGKEYENCRYPTIONCSP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionCSP"); -pub const wszREGKEYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\AutoEnrollment"); -pub const wszREGKEYEXITMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExitModules"); -pub const wszREGKEYGROUPPOLICYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment"); -pub const wszREGKEYNOSYSTEMCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CurrentControlSet\\Services\\CertSvc"); -pub const wszREGKEYPOLICYMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyModules"); -pub const wszREGKEYREPAIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyRepair"); -pub const wszREGKEYRESTOREINPROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreInProgress"); -pub const wszREGKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySize"); -pub const wszREGKRACERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRACertCount"); -pub const wszREGKRACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRACertHash"); -pub const wszREGKRAFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRAFlags"); -pub const wszREGLDAPFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPFlags"); -pub const wszREGLDAPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPIssuerCertURL"); -pub const wszREGLDAPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationCRLURL"); -pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationDNTemplate"); -pub const wszREGLDAPREVOCATIONDN_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationDN"); -pub const wszREGLDAPSESSIONOPTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPSessionOptions"); -pub const wszREGLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); -pub const wszREGLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogPath"); -pub const wszREGLOWLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LowLogNumber"); -pub const wszREGMAXINCOMINGALLOCSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingAllocSize"); -pub const wszREGMAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingMessageSize"); -pub const wszREGMAXPENDINGREQUESTDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxPendingRequestDays"); -pub const wszREGMAXSCTLISTSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxSCTListSize"); -pub const wszREGNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameSeparator"); -pub const wszREGNETSCAPECERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NetscapeCertType"); -pub const wszREGOFFICERRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OfficerRights"); -pub const wszREGPARENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ParentCAMachine"); -pub const wszREGPARENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ParentCAName"); -pub const wszREGPOLICYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyFlags"); -pub const wszREGPRESERVESCEPDUMMYCERTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PreserveSCEPDummyCerts"); -pub const wszREGPROCESSINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProcessingFlags"); -pub const wszREGPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider"); -pub const wszREGPROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderType"); -pub const wszREGREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestDisposition"); -pub const wszREGREQUESTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFileName"); -pub const wszREGREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestId"); -pub const wszREGREQUESTKEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestKeyContainer"); -pub const wszREGREQUESTKEYINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestKeyIndex"); -pub const wszREGRESTOREMAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreMap"); -pub const wszREGRESTOREMAPCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreMapCount"); -pub const wszREGRESTORESTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreStatus"); -pub const wszREGREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationCRLURL"); -pub const wszREGREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationType"); -pub const wszREGREVOCATIONURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationURL"); -pub const wszREGROLESEPARATIONENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RoleSeparationEnabled"); -pub const wszREGSETUPSTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetupStatus"); -pub const wszREGSP4DEFAULTCONFIGURATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DefaultConfiguration"); -pub const wszREGSP4KEYSETNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySetName"); -pub const wszREGSP4NAMES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Names"); -pub const wszREGSP4QUERIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Queries"); -pub const wszREGSP4SUBJECTNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameSeparator"); -pub const wszREGSUBJECTALTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectAltName"); -pub const wszREGSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectAltName2"); -pub const wszREGSUBJECTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectTemplate"); -pub const wszREGSYMMETRICKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SymmetricKeySize"); -pub const wszREGUNICODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Unicode"); -pub const wszREGUPNMAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPNMap"); -pub const wszREGUSEDEFINEDCACERTINREQ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseDefinedCACertInRequest"); -pub const wszREGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriodUnits"); -pub const wszREGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriod"); -pub const wszREGVERIFYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VerifyFlags"); -pub const wszREGVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); -pub const wszREGVIEWAGEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ViewAgeMinutes"); -pub const wszREGVIEWIDLEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ViewIdleMinutes"); -pub const wszREGWEBCLIENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAMachine"); -pub const wszREGWEBCLIENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAName"); -pub const wszREGWEBCLIENTCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAType"); -pub const wszSECUREDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignedAttributes"); -pub const wszSERVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSvc"); -pub const wszzDEFAULTSIGNEDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterName\u{0}"); -pub type ADDED_CERT_TYPE = i32; -pub type AlgorithmFlags = i32; -pub type AlgorithmOperationFlags = i32; -pub type AlgorithmType = i32; -pub type AlternativeNameType = i32; -pub type CERTADMIN_GET_ROLES_FLAGS = u32; -pub type CERTENROLL_OBJECTID = i32; -pub type CERTENROLL_PROPERTYID = i32; -pub type CERT_ALT_NAME = i32; -pub type CERT_CREATE_REQUEST_FLAGS = i32; -pub type CERT_DELETE_ROW_FLAGS = i32; -pub type CERT_EXIT_EVENT_MASK = u32; -pub type CERT_GET_CONFIG_FLAGS = i32; -pub type CERT_IMPORT_FLAGS = i32; -pub type CERT_PROPERTY_TYPE = i32; -pub type CERT_REQUEST_OUT_TYPE = i32; -pub type CERT_VIEW_COLUMN_INDEX = i32; -pub type CERT_VIEW_SEEK_OPERATOR_FLAGS = i32; -pub type CRLRevocationReason = i32; -pub type CR_DISP = u32; -pub type CSBACKUP_TYPE = u32; -pub type CVRC_COLUMN = i32; -pub type CVRC_TABLE = i32; -pub type CommitTemplateFlags = i32; -pub type DelayRetryAction = i32; -pub type ENUM_CATYPES = i32; -pub type ENUM_CERT_COLUMN_VALUE_FLAGS = i32; -pub type EncodingType = i32; -pub type EnrollmentCAProperty = i32; -pub type EnrollmentDisplayStatus = i32; -pub type EnrollmentEnrollStatus = i32; -pub type EnrollmentPolicyFlags = i32; -pub type EnrollmentPolicyServerPropertyFlags = i32; -pub type EnrollmentSelectionStatus = i32; -pub type EnrollmentTemplateProperty = i32; -pub type FULL_RESPONSE_PROPERTY_ID = i32; -pub type ImportPFXFlags = i32; -pub type InnerRequestLevel = i32; -pub type InstallResponseRestrictionFlags = i32; -pub type KeyAttestationClaimType = i32; -pub type KeyIdentifierHashAlgorithm = i32; -pub type OCSPRequestFlag = i32; -pub type OCSPSigningFlag = i32; -pub type ObjectIdGroupId = i32; -pub type ObjectIdPublicKeyFlags = i32; -pub type PENDING_REQUEST_DESIRED_PROPERTY = i32; -pub type PFXExportOptions = i32; -pub type Pkcs10AllowedSignatureTypes = i32; -pub type PolicyQualifierType = i32; -pub type PolicyServerUrlFlags = i32; -pub type PolicyServerUrlPropertyID = i32; -pub type RequestClientInfoClientId = i32; -pub type WebEnrollmentFlags = i32; -pub type WebSecurityLevel = i32; -pub type X500NameFlags = i32; -pub type X509CertificateEnrollmentContext = i32; -pub type X509CertificateTemplateEnrollmentFlag = i32; -pub type X509CertificateTemplateGeneralFlag = i32; -pub type X509CertificateTemplatePrivateKeyFlag = i32; -pub type X509CertificateTemplateSubjectNameFlag = i32; -pub type X509EnrollmentAuthFlags = i32; -pub type X509EnrollmentPolicyExportFlags = i32; -pub type X509EnrollmentPolicyLoadOption = i32; -pub type X509HardwareKeyUsageFlags = i32; -pub type X509KeyParametersExportType = i32; -pub type X509KeySpec = i32; -pub type X509KeyUsageFlags = i32; -pub type X509PrivateKeyExportFlags = i32; -pub type X509PrivateKeyProtection = i32; -pub type X509PrivateKeyUsageFlags = i32; -pub type X509PrivateKeyVerify = i32; -pub type X509ProviderType = i32; -pub type X509RequestInheritOptions = i32; -pub type X509RequestType = i32; -pub type X509SCEPDisposition = i32; -pub type X509SCEPFailInfo = i32; -pub type X509SCEPMessageType = i32; -pub type X509SCEPProcessMessageFlags = i32; -pub type XEKL_KEYSIZE = i32; -pub type XEKL_KEYSPEC = i32; -#[repr(C)] -pub struct CAINFO { - pub cbSize: u32, - pub CAType: ENUM_CATYPES, - pub cCASignatureCerts: u32, - pub cCAExchangeCerts: u32, - pub cExitModules: u32, - pub lPropIdMax: i32, - pub lRoleSeparationEnabled: i32, - pub cKRACertUsedCount: u32, - pub cKRACertCount: u32, - pub fAdvancedServer: u32, -} -impl ::core::marker::Copy for CAINFO {} -impl ::core::clone::Clone for CAINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERTTRANSBLOB { - pub cb: u32, - pub pb: *mut u8, -} -impl ::core::marker::Copy for CERTTRANSBLOB {} -impl ::core::clone::Clone for CERTTRANSBLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERTVIEWRESTRICTION { - pub ColumnIndex: u32, - pub SeekOperator: i32, - pub SortOrder: i32, - pub pbValue: *mut u8, - pub cbValue: u32, -} -impl ::core::marker::Copy for CERTVIEWRESTRICTION {} -impl ::core::clone::Clone for CERTVIEWRESTRICTION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CSEDB_RSTMAPW { - pub pwszDatabaseName: ::windows_sys::core::PWSTR, - pub pwszNewDatabaseName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CSEDB_RSTMAPW {} -impl ::core::clone::Clone for CSEDB_RSTMAPW { - fn clone(&self) -> Self { - *self - } -} -pub type FNCERTSRVBACKUPCLOSE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; -pub type FNCERTSRVBACKUPGETBACKUPLOGSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzbackuplogfiles: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPGETDATABASENAMESW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzattachmentinformation: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPGETDYNAMICFILELISTW = ::core::option::Option<unsafe extern "system" fn(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPOPENFILEW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, grbitjet: u32, dwbackupflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPREAD = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVBACKUPTRUNCATELOGS = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type FNCERTSRVISSERVERONLINEW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVRESTOREEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVRESTOREGETDATABASELOCATIONSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVRESTOREPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVRESTOREREGISTERCOMPLETE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVRESTOREREGISTERW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT>; -pub type FNCERTSRVSERVERCONTROLW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type FNIMPORTPFXTOPROVIDER = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::super::Foundation::HWND, pbpfx: *const u8, cbpfx: u32, importflags: ImportPFXFlags, pwszpassword: ::windows_sys::core::PCWSTR, pwszprovidername: ::windows_sys::core::PCWSTR, pwszreadername: ::windows_sys::core::PCWSTR, pwszcontainernameprefix: ::windows_sys::core::PCWSTR, pwszpin: ::windows_sys::core::PCWSTR, pwszfriendlyname: ::windows_sys::core::PCWSTR, pccertout: *mut u32, prgpcertout: *mut *mut *mut super::CERT_CONTEXT) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type FNIMPORTPFXTOPROVIDERFREEDATA = ::core::option::Option<unsafe extern "system" fn(ccert: u32, rgpcert: *const *const super::CERT_CONTEXT) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs deleted file mode 100644 index aa0d9c3..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +++ /dev/null @@ -1,241 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPAddProvider(psnewprov : *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPCreateIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pcbindirectdata : *mut u32, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetCaps(psubjinfo : *const SIP_SUBJECTINFO, pcaps : *mut SIP_CAP_SET_V3) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetSealedDigest(psubjectinfo : *const SIP_SUBJECTINFO, psig : *const u8, dwsig : u32, pbdigest : *mut u8, pcbdigest : *mut u32) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, pdwencodingtype : *mut super:: CERT_QUERY_ENCODING_TYPE, dwindex : u32, pcbsigneddatamsg : *mut u32, pbsigneddatamsg : *mut u8) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPLoad(pgsubject : *const ::windows_sys::core::GUID, dwflags : u32, psipdispatch : *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPPutSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, dwencodingtype : super:: CERT_QUERY_ENCODING_TYPE, pdwindex : *mut u32, cbsigneddatamsg : u32, pbsigneddatamsg : *mut u8) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRemoveProvider(pgprov : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPRemoveSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, dwindex : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuid(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPVerifyIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL); -pub const MSSIP_ADDINFO_BLOB: u32 = 3u32; -pub const MSSIP_ADDINFO_CATMEMBER: u32 = 2u32; -pub const MSSIP_ADDINFO_FLAT: u32 = 1u32; -pub const MSSIP_ADDINFO_NONE: u32 = 0u32; -pub const MSSIP_ADDINFO_NONMSSIP: u32 = 500u32; -pub const MSSIP_FLAGS_MULTI_HASH: u32 = 262144u32; -pub const MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE: u32 = 65536u32; -pub const MSSIP_FLAGS_USE_CATALOG: u32 = 131072u32; -pub const SIP_CAP_FLAG_SEALING: u32 = 1u32; -pub const SIP_CAP_SET_CUR_VER: u32 = 3u32; -pub const SIP_CAP_SET_VERSION_2: u32 = 2u32; -pub const SIP_CAP_SET_VERSION_3: u32 = 3u32; -pub const SIP_MAX_MAGIC_NUMBER: u32 = 4u32; -pub const SPC_MARKER_CHECK_CURRENTLY_SUPPORTED_FLAGS: u32 = 1u32; -pub const SPC_MARKER_CHECK_SKIP_SIP_INDIRECT_DATA_FLAG: u32 = 1u32; -pub const SPC_RELAXED_PE_MARKER_CHECK: u32 = 2048u32; -#[repr(C)] -pub struct MS_ADDINFO_BLOB { - pub cbStruct: u32, - pub cbMemObject: u32, - pub pbMemObject: *mut u8, - pub cbMemSignedMsg: u32, - pub pbMemSignedMsg: *mut u8, -} -impl ::core::marker::Copy for MS_ADDINFO_BLOB {} -impl ::core::clone::Clone for MS_ADDINFO_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MS_ADDINFO_FLAT { - pub cbStruct: u32, - pub pIndirectData: *mut SIP_INDIRECT_DATA, -} -impl ::core::marker::Copy for MS_ADDINFO_FLAT {} -impl ::core::clone::Clone for MS_ADDINFO_FLAT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIP_ADD_NEWPROVIDER { - pub cbStruct: u32, - pub pgSubject: *mut ::windows_sys::core::GUID, - pub pwszDLLFileName: ::windows_sys::core::PWSTR, - pub pwszMagicNumber: ::windows_sys::core::PWSTR, - pub pwszIsFunctionName: ::windows_sys::core::PWSTR, - pub pwszGetFuncName: ::windows_sys::core::PWSTR, - pub pwszPutFuncName: ::windows_sys::core::PWSTR, - pub pwszCreateFuncName: ::windows_sys::core::PWSTR, - pub pwszVerifyFuncName: ::windows_sys::core::PWSTR, - pub pwszRemoveFuncName: ::windows_sys::core::PWSTR, - pub pwszIsFunctionNameFmt2: ::windows_sys::core::PWSTR, - pub pwszGetCapFuncName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SIP_ADD_NEWPROVIDER {} -impl ::core::clone::Clone for SIP_ADD_NEWPROVIDER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIP_CAP_SET_V2 { - pub cbSize: u32, - pub dwVersion: u32, - pub isMultiSign: super::super::super::Foundation::BOOL, - pub dwReserved: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIP_CAP_SET_V2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIP_CAP_SET_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIP_CAP_SET_V3 { - pub cbSize: u32, - pub dwVersion: u32, - pub isMultiSign: super::super::super::Foundation::BOOL, - pub Anonymous: SIP_CAP_SET_V3_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIP_CAP_SET_V3 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIP_CAP_SET_V3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SIP_CAP_SET_V3_0 { - pub dwFlags: u32, - pub dwReserved: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIP_CAP_SET_V3_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIP_CAP_SET_V3_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub struct SIP_DISPATCH_INFO { - pub cbSize: u32, - pub hSIP: super::super::super::Foundation::HANDLE, - pub pfGet: pCryptSIPGetSignedDataMsg, - pub pfPut: pCryptSIPPutSignedDataMsg, - pub pfCreate: pCryptSIPCreateIndirectData, - pub pfVerify: pCryptSIPVerifyIndirectData, - pub pfRemove: pCryptSIPRemoveSignedDataMsg, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::marker::Copy for SIP_DISPATCH_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::clone::Clone for SIP_DISPATCH_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIP_INDIRECT_DATA { - pub Data: super::CRYPT_ATTRIBUTE_TYPE_VALUE, - pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER, - pub Digest: super::CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for SIP_INDIRECT_DATA {} -impl ::core::clone::Clone for SIP_INDIRECT_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub struct SIP_SUBJECTINFO { - pub cbSize: u32, - pub pgSubjectType: *mut ::windows_sys::core::GUID, - pub hFile: super::super::super::Foundation::HANDLE, - pub pwsFileName: ::windows_sys::core::PCWSTR, - pub pwsDisplayName: ::windows_sys::core::PCWSTR, - pub dwReserved1: u32, - pub dwIntVersion: u32, - pub hProv: usize, - pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER, - pub dwFlags: u32, - pub dwEncodingType: u32, - pub dwReserved2: u32, - pub fdwCAPISettings: u32, - pub fdwSecuritySettings: u32, - pub dwIndex: u32, - pub dwUnionChoice: u32, - pub Anonymous: SIP_SUBJECTINFO_0, - pub pClientData: *mut ::core::ffi::c_void, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::marker::Copy for SIP_SUBJECTINFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::clone::Clone for SIP_SUBJECTINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub union SIP_SUBJECTINFO_0 { - pub psFlat: *mut MS_ADDINFO_FLAT, - pub psCatMember: *mut super::Catalog::MS_ADDINFO_CATALOGMEMBER, - pub psBlob: *mut MS_ADDINFO_BLOB, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::marker::Copy for SIP_SUBJECTINFO_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -impl ::core::clone::Clone for SIP_SUBJECTINFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPCreateIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPGetCaps = ::core::option::Option<unsafe extern "system" fn(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPGetSealedDigest = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPGetSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut u32, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPPutSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: u32, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPRemoveSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] -pub type pCryptSIPVerifyIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type pfnIsFileSupported = ::core::option::Option<unsafe extern "system" fn(hfile: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type pfnIsFileSupportedName = ::core::option::Option<unsafe extern "system" fn(pwszfilename: ::windows_sys::core::PCWSTR, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs deleted file mode 100644 index 3071ea0..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs +++ /dev/null @@ -1,792 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSelectionGetSerializedBlob(pcsi : *const CERT_SELECTUI_INPUT, ppoutbuffer : *mut *mut ::core::ffi::c_void, puloutbuffersize : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgCertMgr(pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgSelectCertificateFromStore(hcertstore : super:: HCERTSTORE, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, pwszdisplaystring : ::windows_sys::core::PCWSTR, dwdontusecolumn : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> *mut super:: CERT_CONTEXT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateA(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateW(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgViewContext(dwcontexttype : u32, pvcontext : *const ::core::ffi::c_void, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizDigitalSign(dwflags : u32, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pdigitalsigninfo : *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext : *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizExport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pexportinfo : *const CRYPTUI_WIZ_EXPORT_INFO, pvoid : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizFreeDigitalSignContext(psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizImport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pimportsrc : *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore : super:: HCERTSTORE) -> super::super::super::Foundation:: BOOL); -pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32; -pub const ACTION_REVOCATION_DEFAULT_ONLINE: u32 = 65536u32; -pub const CERTVIEW_CRYPTUI_LPARAM: u32 = 8388608u32; -pub const CERT_CREDENTIAL_PROVIDER_ID: i32 = -509i32; -pub const CERT_DISPWELL_DISTRUST_ADD_CA_CERT: u32 = 8u32; -pub const CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT: u32 = 9u32; -pub const CERT_DISPWELL_DISTRUST_CA_CERT: u32 = 6u32; -pub const CERT_DISPWELL_DISTRUST_LEAF_CERT: u32 = 7u32; -pub const CERT_DISPWELL_SELECT: u32 = 1u32; -pub const CERT_DISPWELL_TRUST_ADD_CA_CERT: u32 = 4u32; -pub const CERT_DISPWELL_TRUST_ADD_LEAF_CERT: u32 = 5u32; -pub const CERT_DISPWELL_TRUST_CA_CERT: u32 = 2u32; -pub const CERT_DISPWELL_TRUST_LEAF_CERT: u32 = 3u32; -pub const CERT_FILTER_INCLUDE_V1_CERTS: u32 = 1u32; -pub const CERT_FILTER_ISSUER_CERTS_ONLY: u32 = 16u32; -pub const CERT_FILTER_KEY_EXISTS: u32 = 32u32; -pub const CERT_FILTER_LEAF_CERTS_ONLY: u32 = 8u32; -pub const CERT_FILTER_OP_EQUALITY: u32 = 3u32; -pub const CERT_FILTER_OP_EXISTS: u32 = 1u32; -pub const CERT_FILTER_OP_NOT_EXISTS: u32 = 2u32; -pub const CERT_FILTER_VALID_SIGNATURE: u32 = 4u32; -pub const CERT_FILTER_VALID_TIME_RANGE: u32 = 2u32; -pub const CERT_TRUST_DO_FULL_SEARCH: u32 = 1u32; -pub const CERT_TRUST_DO_FULL_TRUST: u32 = 5u32; -pub const CERT_TRUST_MASK: u32 = 16777215u32; -pub const CERT_TRUST_PERMIT_MISSING_CRLS: u32 = 2u32; -pub const CERT_VALIDITY_AFTER_END: u32 = 2u32; -pub const CERT_VALIDITY_BEFORE_START: u32 = 1u32; -pub const CERT_VALIDITY_CERTIFICATE_REVOKED: u32 = 8u32; -pub const CERT_VALIDITY_CRL_OUT_OF_DATE: u32 = 1073741824u32; -pub const CERT_VALIDITY_EXPLICITLY_DISTRUSTED: u32 = 16777216u32; -pub const CERT_VALIDITY_EXTENDED_USAGE_FAILURE: u32 = 32u32; -pub const CERT_VALIDITY_ISSUER_DISTRUST: u32 = 33554432u32; -pub const CERT_VALIDITY_ISSUER_INVALID: u32 = 256u32; -pub const CERT_VALIDITY_KEY_USAGE_EXT_FAILURE: u32 = 16u32; -pub const CERT_VALIDITY_MASK_TRUST: u32 = 4294901760u32; -pub const CERT_VALIDITY_MASK_VALIDITY: u32 = 65535u32; -pub const CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE: u32 = 64u32; -pub const CERT_VALIDITY_NO_CRL_FOUND: u32 = 536870912u32; -pub const CERT_VALIDITY_NO_ISSUER_CERT_FOUND: u32 = 268435456u32; -pub const CERT_VALIDITY_NO_TRUST_DATA: u32 = 2147483648u32; -pub const CERT_VALIDITY_OTHER_ERROR: u32 = 2048u32; -pub const CERT_VALIDITY_OTHER_EXTENSION_FAILURE: u32 = 512u32; -pub const CERT_VALIDITY_PERIOD_NESTING_FAILURE: u32 = 1024u32; -pub const CERT_VALIDITY_SIGNATURE_FAILS: u32 = 4u32; -pub const CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION: u32 = 128u32; -pub const CM_ADD_CERT_STORES: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 512u32; -pub const CM_ENABLEHOOK: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 1u32; -pub const CM_ENABLETEMPLATE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 8u32; -pub const CM_HIDE_ADVANCEPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 16u32; -pub const CM_HIDE_DETAILPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 256u32; -pub const CM_HIDE_TRUSTPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 32u32; -pub const CM_NO_EDITTRUST: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 128u32; -pub const CM_NO_NAMECHANGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 64u32; -pub const CM_SHOW_HELP: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 2u32; -pub const CM_SHOW_HELPICON: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 4u32; -pub const CM_VIEWFLAGS_MASK: u32 = 16777215u32; -pub const CRYPTDLG_ACTION_MASK: u32 = 4294901760u32; -pub const CRYPTDLG_CACHE_ONLY_URL_RETRIEVAL: u32 = 268435456u32; -pub const CRYPTDLG_DISABLE_AIA: u32 = 134217728u32; -pub const CRYPTDLG_POLICY_MASK: u32 = 65535u32; -pub const CRYPTDLG_REVOCATION_CACHE: u32 = 1073741824u32; -pub const CRYPTDLG_REVOCATION_DEFAULT: u32 = 0u32; -pub const CRYPTDLG_REVOCATION_NONE: u32 = 536870912u32; -pub const CRYPTDLG_REVOCATION_ONLINE: u32 = 2147483648u32; -pub const CRYPTUI_ACCEPT_DECLINE_STYLE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 64u32; -pub const CRYPTUI_CACHE_ONLY_URL_RETRIEVAL: CRYPTUI_VIEWCERTIFICATE_FLAGS = 262144u32; -pub const CRYPTUI_CERT_MGR_PUBLISHER_TAB: u32 = 4u32; -pub const CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG: u32 = 32768u32; -pub const CRYPTUI_CERT_MGR_TAB_MASK: u32 = 15u32; -pub const CRYPTUI_DISABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16u32; -pub const CRYPTUI_DISABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4u32; -pub const CRYPTUI_DISABLE_EXPORT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8192u32; -pub const CRYPTUI_DISABLE_HTMLLINK: CRYPTUI_VIEWCERTIFICATE_FLAGS = 65536u32; -pub const CRYPTUI_DISABLE_ISSUERSTATEMENT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 131072u32; -pub const CRYPTUI_DONT_OPEN_STORES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 256u32; -pub const CRYPTUI_ENABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32u32; -pub const CRYPTUI_ENABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8u32; -pub const CRYPTUI_ENABLE_REVOCATION_CHECKING: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32; -pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32768u32; -pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32; -pub const CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16384u32; -pub const CRYPTUI_HIDE_DETAILPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2u32; -pub const CRYPTUI_HIDE_HIERARCHYPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1u32; -pub const CRYPTUI_IGNORE_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 128u32; -pub const CRYPTUI_ONLY_OPEN_ROOT_STORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 512u32; -pub const CRYPTUI_SELECT_EXPIRATION_COLUMN: u64 = 32u64; -pub const CRYPTUI_SELECT_FRIENDLYNAME_COLUMN: u64 = 8u64; -pub const CRYPTUI_SELECT_INTENDEDUSE_COLUMN: u64 = 4u64; -pub const CRYPTUI_SELECT_ISSUEDBY_COLUMN: u64 = 2u64; -pub const CRYPTUI_SELECT_ISSUEDTO_COLUMN: u64 = 1u64; -pub const CRYPTUI_SELECT_LOCATION_COLUMN: u64 = 16u64; -pub const CRYPTUI_WARN_REMOTE_TRUST: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4096u32; -pub const CRYPTUI_WARN_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1024u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 1u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN_NO_ROOT: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_NONE: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 0u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_CERT: CRYPTUI_WIZ_DIGITAL_SIGN = 1u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_COMMERCIAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 1u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES: u32 = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES: u32 = 4u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_INDIVIDUAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_NONE: CRYPTUI_WIZ_DIGITAL_SIGN = 0u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK: CRYPTUI_WIZ_DIGITAL_SIGN = 3u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 1u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_STORE: CRYPTUI_WIZ_DIGITAL_SIGN = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_BLOB: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 2u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 1u32; -pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_NONE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 0u32; -pub const CRYPTUI_WIZ_EXPORT_CERT_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 1u32; -pub const CRYPTUI_WIZ_EXPORT_CERT_STORE: CRYPTUI_WIZ_EXPORT_SUBJECT = 4u32; -pub const CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY: CRYPTUI_WIZ_EXPORT_SUBJECT = 5u32; -pub const CRYPTUI_WIZ_EXPORT_CRL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 3u32; -pub const CRYPTUI_WIZ_EXPORT_CTL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 2u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_BASE64: CRYPTUI_WIZ_EXPORT_FORMAT = 4u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_CRL: CRYPTUI_WIZ_EXPORT_FORMAT = 6u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_CTL: CRYPTUI_WIZ_EXPORT_FORMAT = 7u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_DER: CRYPTUI_WIZ_EXPORT_FORMAT = 1u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_PFX: CRYPTUI_WIZ_EXPORT_FORMAT = 2u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7: CRYPTUI_WIZ_EXPORT_FORMAT = 3u32; -pub const CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE: u32 = 5u32; -pub const CRYPTUI_WIZ_EXPORT_NO_DELETE_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 512u32; -pub const CRYPTUI_WIZ_EXPORT_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 256u32; -pub const CRYPTUI_WIZ_IGNORE_NO_UI_FLAG_FOR_CSPS: CRYPTUI_WIZ_FLAGS = 2u32; -pub const CRYPTUI_WIZ_IMPORT_ALLOW_CERT: CRYPTUI_WIZ_FLAGS = 131072u32; -pub const CRYPTUI_WIZ_IMPORT_ALLOW_CRL: CRYPTUI_WIZ_FLAGS = 262144u32; -pub const CRYPTUI_WIZ_IMPORT_ALLOW_CTL: CRYPTUI_WIZ_FLAGS = 524288u32; -pub const CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 65536u32; -pub const CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 4194304u32; -pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 2u32; -pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 5u32; -pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 4u32; -pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 3u32; -pub const CRYPTUI_WIZ_IMPORT_SUBJECT_FILE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 1u32; -pub const CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER: CRYPTUI_WIZ_FLAGS = 2097152u32; -pub const CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE: CRYPTUI_WIZ_FLAGS = 1048576u32; -pub const CRYPTUI_WIZ_NO_UI: CRYPTUI_WIZ_FLAGS = 1u32; -pub const CRYPTUI_WIZ_NO_UI_EXCEPT_CSP: CRYPTUI_WIZ_FLAGS = 3u32; -pub const CRYTPDLG_FLAGS_MASK: u32 = 4278190080u32; -pub const CSS_ALLOWMULTISELECT: CERT_SELECT_STRUCT_FLAGS = 4u32; -pub const CSS_ENABLEHOOK: CERT_SELECT_STRUCT_FLAGS = 2u32; -pub const CSS_ENABLETEMPLATE: CERT_SELECT_STRUCT_FLAGS = 32u32; -pub const CSS_ENABLETEMPLATEHANDLE: CERT_SELECT_STRUCT_FLAGS = 64u32; -pub const CSS_HIDE_PROPERTIES: CERT_SELECT_STRUCT_FLAGS = 1u32; -pub const CSS_SELECTCERT_MASK: u32 = 16777215u32; -pub const CSS_SHOW_HELP: CERT_SELECT_STRUCT_FLAGS = 16u32; -pub const CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 1u32; -pub const CTL_MODIFY_REQUEST_ADD_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 3u32; -pub const CTL_MODIFY_REQUEST_REMOVE: CTL_MODIFY_REQUEST_OPERATION = 2u32; -pub const POLICY_IGNORE_NON_CRITICAL_BC: u32 = 1u32; -pub const SELCERT_ALGORITHM: u32 = 105u32; -pub const SELCERT_CERTLIST: u32 = 102u32; -pub const SELCERT_FINEPRINT: u32 = 101u32; -pub const SELCERT_ISSUED_TO: u32 = 103u32; -pub const SELCERT_PROPERTIES: u32 = 100u32; -pub const SELCERT_SERIAL_NUM: u32 = 106u32; -pub const SELCERT_THUMBPRINT: u32 = 107u32; -pub const SELCERT_VALIDITY: u32 = 104u32; -pub const szCERT_CERTIFICATE_ACTION_VERIFY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{7801ebd0-cf4b-11d0-851f-0060979387ea}"); -pub type CERT_SELECT_STRUCT_FLAGS = u32; -pub type CERT_VIEWPROPERTIES_STRUCT_FLAGS = u32; -pub type CRYPTUI_VIEWCERTIFICATE_FLAGS = u32; -pub type CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = u32; -pub type CRYPTUI_WIZ_DIGITAL_SIGN = u32; -pub type CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = u32; -pub type CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = u32; -pub type CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = u32; -pub type CRYPTUI_WIZ_EXPORT_FORMAT = u32; -pub type CRYPTUI_WIZ_EXPORT_SUBJECT = u32; -pub type CRYPTUI_WIZ_FLAGS = u32; -pub type CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = u32; -pub type CTL_MODIFY_REQUEST_OPERATION = u32; -#[repr(C)] -pub struct CERT_FILTER_DATA { - pub dwSize: u32, - pub cExtensionChecks: u32, - pub arrayExtensionChecks: *mut CERT_FILTER_EXTENSION_MATCH, - pub dwCheckingFlags: u32, -} -impl ::core::marker::Copy for CERT_FILTER_DATA {} -impl ::core::clone::Clone for CERT_FILTER_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_FILTER_EXTENSION_MATCH { - pub szExtensionOID: ::windows_sys::core::PCSTR, - pub dwTestOperation: u32, - pub pbTestData: *mut u8, - pub cbTestData: u32, -} -impl ::core::marker::Copy for CERT_FILTER_EXTENSION_MATCH {} -impl ::core::clone::Clone for CERT_FILTER_EXTENSION_MATCH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SELECTUI_INPUT { - pub hStore: super::HCERTSTORE, - pub prgpChain: *mut *mut super::CERT_CHAIN_CONTEXT, - pub cChain: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SELECTUI_INPUT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SELECTUI_INPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SELECT_STRUCT_A { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub hInstance: super::super::super::Foundation::HINSTANCE, - pub pTemplateName: ::windows_sys::core::PCSTR, - pub dwFlags: CERT_SELECT_STRUCT_FLAGS, - pub szTitle: ::windows_sys::core::PCSTR, - pub cCertStore: u32, - pub arrayCertStore: *mut super::HCERTSTORE, - pub szPurposeOid: ::windows_sys::core::PCSTR, - pub cCertContext: u32, - pub arrayCertContext: *mut *mut super::CERT_CONTEXT, - pub lCustData: super::super::super::Foundation::LPARAM, - pub pfnHook: PFNCMHOOKPROC, - pub pfnFilter: PFNCMFILTERPROC, - pub szHelpFileName: ::windows_sys::core::PCSTR, - pub dwHelpId: u32, - pub hprov: usize, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SELECT_STRUCT_A {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SELECT_STRUCT_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SELECT_STRUCT_W { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub hInstance: super::super::super::Foundation::HINSTANCE, - pub pTemplateName: ::windows_sys::core::PCWSTR, - pub dwFlags: CERT_SELECT_STRUCT_FLAGS, - pub szTitle: ::windows_sys::core::PCWSTR, - pub cCertStore: u32, - pub arrayCertStore: *mut super::HCERTSTORE, - pub szPurposeOid: ::windows_sys::core::PCSTR, - pub cCertContext: u32, - pub arrayCertContext: *mut *mut super::CERT_CONTEXT, - pub lCustData: super::super::super::Foundation::LPARAM, - pub pfnHook: PFNCMHOOKPROC, - pub pfnFilter: PFNCMFILTERPROC, - pub szHelpFileName: ::windows_sys::core::PCWSTR, - pub dwHelpId: u32, - pub hprov: usize, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SELECT_STRUCT_W {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SELECT_STRUCT_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_VERIFY_CERTIFICATE_TRUST { - pub cbSize: u32, - pub pccert: *const super::CERT_CONTEXT, - pub dwFlags: u32, - pub dwIgnoreErr: u32, - pub pdwErrors: *mut u32, - pub pszUsageOid: ::windows_sys::core::PSTR, - pub hprov: usize, - pub cRootStores: u32, - pub rghstoreRoots: *mut super::HCERTSTORE, - pub cStores: u32, - pub rghstoreCAs: *mut super::HCERTSTORE, - pub cTrustStores: u32, - pub rghstoreTrust: *mut super::HCERTSTORE, - pub lCustData: super::super::super::Foundation::LPARAM, - pub pfnTrustHelper: PFNTRUSTHELPER, - pub pcChain: *mut u32, - pub prgChain: *mut *mut *mut super::CERT_CONTEXT, - pub prgdwErrors: *mut *mut u32, - pub prgpbTrustInfo: *mut *mut super::CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_VERIFY_CERTIFICATE_TRUST {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_VERIFY_CERTIFICATE_TRUST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub struct CERT_VIEWPROPERTIES_STRUCT_A { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub hInstance: super::super::super::Foundation::HINSTANCE, - pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS, - pub szTitle: ::windows_sys::core::PCSTR, - pub pCertContext: *const super::CERT_CONTEXT, - pub arrayPurposes: *mut ::windows_sys::core::PSTR, - pub cArrayPurposes: u32, - pub cRootStores: u32, - pub rghstoreRoots: *mut super::HCERTSTORE, - pub cStores: u32, - pub rghstoreCAs: *mut super::HCERTSTORE, - pub cTrustStores: u32, - pub rghstoreTrust: *mut super::HCERTSTORE, - pub hprov: usize, - pub lCustData: super::super::super::Foundation::LPARAM, - pub dwPad: u32, - pub szHelpFileName: ::windows_sys::core::PCSTR, - pub dwHelpId: u32, - pub nStartPage: u32, - pub cArrayPropSheetPages: u32, - pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_A {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub struct CERT_VIEWPROPERTIES_STRUCT_W { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub hInstance: super::super::super::Foundation::HINSTANCE, - pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS, - pub szTitle: ::windows_sys::core::PCWSTR, - pub pCertContext: *const super::CERT_CONTEXT, - pub arrayPurposes: *mut ::windows_sys::core::PSTR, - pub cArrayPurposes: u32, - pub cRootStores: u32, - pub rghstoreRoots: *mut super::HCERTSTORE, - pub cStores: u32, - pub rghstoreCAs: *mut super::HCERTSTORE, - pub cTrustStores: u32, - pub rghstoreTrust: *mut super::HCERTSTORE, - pub hprov: usize, - pub lCustData: super::super::super::Foundation::LPARAM, - pub dwPad: u32, - pub szHelpFileName: ::windows_sys::core::PCWSTR, - pub dwHelpId: u32, - pub nStartPage: u32, - pub cArrayPropSheetPages: u32, - pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_W {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_CERT_MGR_STRUCT { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub dwFlags: u32, - pub pwszTitle: ::windows_sys::core::PCWSTR, - pub pszInitUsageOID: ::windows_sys::core::PCSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_CERT_MGR_STRUCT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_CERT_MGR_STRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_INITDIALOG_STRUCT { - pub lParam: super::super::super::Foundation::LPARAM, - pub pCertContext: *const super::CERT_CONTEXT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_INITDIALOG_STRUCT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_INITDIALOG_STRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTA { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS, - pub szTitle: ::windows_sys::core::PCSTR, - pub pCertContext: *const super::CERT_CONTEXT, - pub rgszPurposes: *const ::windows_sys::core::PCSTR, - pub cPurposes: u32, - pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTA_0, - pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL, - pub idxSigner: u32, - pub idxCert: u32, - pub fCounterSigner: super::super::super::Foundation::BOOL, - pub idxCounterSigner: u32, - pub cStores: u32, - pub rghStores: *mut super::HCERTSTORE, - pub cPropSheetPages: u32, - pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA, - pub nStartPage: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub union CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 { - pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA, - pub hWVTStateData: super::super::super::Foundation::HANDLE, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTW { - pub dwSize: u32, - pub hwndParent: super::super::super::Foundation::HWND, - pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS, - pub szTitle: ::windows_sys::core::PCWSTR, - pub pCertContext: *const super::CERT_CONTEXT, - pub rgszPurposes: *const ::windows_sys::core::PCSTR, - pub cPurposes: u32, - pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTW_0, - pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL, - pub idxSigner: u32, - pub idxCert: u32, - pub fCounterSigner: super::super::super::Foundation::BOOL, - pub idxCounterSigner: u32, - pub cStores: u32, - pub rghStores: *mut super::HCERTSTORE, - pub cPropSheetPages: u32, - pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEW, - pub nStartPage: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -pub union CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 { - pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA, - pub hWVTStateData: super::super::super::Foundation::HANDLE, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO { - pub dwSize: u32, - pub pGuidSubject: *mut ::windows_sys::core::GUID, - pub cbBlob: u32, - pub pbBlob: *mut u8, - pub pwszDisplayName: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO { - pub dwSize: u32, - pub pwszSigningCertFileName: ::windows_sys::core::PWSTR, - pub dwPvkChoice: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION, - pub Anonymous: CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 { - pub pPvkFileInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO, - pub pPvkProvInfo: *mut super::CRYPT_KEY_PROV_INFO, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT { - pub dwSize: u32, - pub cbBlob: u32, - pub pbBlob: *mut u8, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO { - pub dwSize: u32, - pub dwAttrFlags: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE, - pub pwszDescription: ::windows_sys::core::PCWSTR, - pub pwszMoreInfoLocation: ::windows_sys::core::PCWSTR, - pub pszHashAlg: ::windows_sys::core::PCSTR, - pub pwszSigningCertDisplayString: ::windows_sys::core::PCWSTR, - pub hAdditionalCertStore: super::HCERTSTORE, - pub psAuthenticated: *mut super::CRYPT_ATTRIBUTES, - pub psUnauthenticated: *mut super::CRYPT_ATTRIBUTES, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_INFO { - pub dwSize: u32, - pub dwSubjectChoice: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT, - pub Anonymous1: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0, - pub dwSigningCertChoice: CRYPTUI_WIZ_DIGITAL_SIGN, - pub Anonymous2: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1, - pub pwszTimestampURL: ::windows_sys::core::PCWSTR, - pub dwAdditionalCertChoice: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE, - pub pSignExtInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 { - pub pwszFileName: ::windows_sys::core::PCWSTR, - pub pSignBlobInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 { - pub pSigningCertContext: *const super::CERT_CONTEXT, - pub pSigningCertStore: *mut CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO, - pub pSigningCertPvkInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO { - pub dwSize: u32, - pub pwszPvkFileName: ::windows_sys::core::PWSTR, - pub pwszProvName: ::windows_sys::core::PWSTR, - pub dwProvType: u32, -} -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {} -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO { - pub dwSize: u32, - pub cCertStore: u32, - pub rghCertStore: *mut super::HCERTSTORE, - pub pFilterCallback: PFNCFILTERPROC, - pub pvCallbackData: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO { - pub dwSize: u32, - pub dwExportFormat: CRYPTUI_WIZ_EXPORT_FORMAT, - pub fExportChain: super::super::super::Foundation::BOOL, - pub fExportPrivateKeys: super::super::super::Foundation::BOOL, - pub pwszPassword: ::windows_sys::core::PCWSTR, - pub fStrongEncryption: super::super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_WIZ_EXPORT_INFO { - pub dwSize: u32, - pub pwszExportFileName: ::windows_sys::core::PCWSTR, - pub dwSubjectChoice: CRYPTUI_WIZ_EXPORT_SUBJECT, - pub Anonymous: CRYPTUI_WIZ_EXPORT_INFO_0, - pub cStores: u32, - pub rghStores: *mut super::HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CRYPTUI_WIZ_EXPORT_INFO_0 { - pub pCertContext: *const super::CERT_CONTEXT, - pub pCTLContext: *mut super::CTL_CONTEXT, - pub pCRLContext: *mut super::CRL_CONTEXT, - pub hCertStore: super::HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTUI_WIZ_IMPORT_SRC_INFO { - pub dwSize: u32, - pub dwSubjectChoice: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION, - pub Anonymous: CRYPTUI_WIZ_IMPORT_SRC_INFO_0, - pub dwFlags: super::CRYPT_KEY_FLAGS, - pub pwszPassword: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CRYPTUI_WIZ_IMPORT_SRC_INFO_0 { - pub pwszFileName: ::windows_sys::core::PCWSTR, - pub pCertContext: *const super::CERT_CONTEXT, - pub pCTLContext: *mut super::CTL_CONTEXT, - pub pCRLContext: *mut super::CRL_CONTEXT, - pub hCertStore: super::HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_MODIFY_REQUEST { - pub pccert: *const super::CERT_CONTEXT, - pub dwOperation: CTL_MODIFY_REQUEST_OPERATION, - pub dwError: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_MODIFY_REQUEST {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_MODIFY_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNCFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, pfinitialselectedcert: *mut super::super::super::Foundation::BOOL, pvcallbackdata: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNCMFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, param1: super::super::super::Foundation::LPARAM, param2: u32, param3: u32) -> super::super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNCMHOOKPROC = ::core::option::Option<unsafe extern "system" fn(hwnddialog: super::super::super::Foundation::HWND, message: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> u32>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNTRUSTHELPER = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, lcustdata: super::super::super::Foundation::LPARAM, fleafcertificate: super::super::super::Foundation::BOOL, pbtrustblob: *mut u8) -> ::windows_sys::core::HRESULT>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs deleted file mode 100644 index 53eaf4d..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ /dev/null @@ -1,10500 +0,0 @@ -#[cfg(feature = "Win32_Security_Cryptography_Catalog")] -#[doc = "Required features: `\"Win32_Security_Cryptography_Catalog\"`"] -pub mod Catalog; -#[cfg(feature = "Win32_Security_Cryptography_Certificates")] -#[doc = "Required features: `\"Win32_Security_Cryptography_Certificates\"`"] -pub mod Certificates; -#[cfg(feature = "Win32_Security_Cryptography_Sip")] -#[doc = "Required features: `\"Win32_Security_Cryptography_Sip\"`"] -pub mod Sip; -#[cfg(feature = "Win32_Security_Cryptography_UI")] -#[doc = "Required features: `\"Win32_Security_Cryptography_UI\"`"] -pub mod UI; -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptAddContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, dwposition : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCloseAlgorithmProvider(halgorithm : BCRYPT_ALG_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptConfigureContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptConfigureContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, pconfig : *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateMultiHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, nhashes : u32, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDecrypt(hkey : BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pbiv : *mut u8, cbiv : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeleteContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeriveKey(hsharedsecret : BCRYPT_SECRET_HANDLE, pwszkdf : ::windows_sys::core::PCWSTR, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeriveKeyCapi(hhash : BCRYPT_HASH_HANDLE, htargetalg : BCRYPT_ALG_HANDLE, pbderivedkey : *mut u8, cbderivedkey : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeriveKeyPBKDF2(hprf : BCRYPT_ALG_HANDLE, pbpassword : *const u8, cbpassword : u32, pbsalt : *const u8, cbsalt : u32, citerations : u64, pbderivedkey : *mut u8, cbderivedkey : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroyHash(hhash : BCRYPT_HASH_HANDLE) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroyKey(hkey : BCRYPT_KEY_HANDLE) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroySecret(hsecret : BCRYPT_SECRET_HANDLE) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDuplicateHash(hhash : BCRYPT_HASH_HANDLE, phnewhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDuplicateKey(hkey : BCRYPT_KEY_HANDLE, phnewkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEncrypt(hkey : BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pbiv : *mut u8, cbiv : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumAlgorithms(dwalgoperations : BCRYPT_OPERATION, palgcount : *mut u32, ppalglist : *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumContextFunctionProviders(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumContextFunctions(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTIONS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumContexts(dwtable : BCRYPT_TABLE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumProviders(pszalgid : ::windows_sys::core::PCWSTR, pimplcount : *mut u32, ppimpllist : *mut *mut BCRYPT_PROVIDER_NAME, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumRegisteredProviders(pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptExportKey(hkey : BCRYPT_KEY_HANDLE, hexportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_sys::core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptFinalizeKeyPair(hkey : BCRYPT_KEY_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptFinishHash(hhash : BCRYPT_HASH_HANDLE, pboutput : *mut u8, cboutput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -::windows_targets::link!("bcrypt.dll" "system" fn BCryptFreeBuffer(pvbuffer : *const ::core::ffi::c_void) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGenRandom(halgorithm : BCRYPT_ALG_HANDLE, pbbuffer : *mut u8, cbbuffer : u32, dwflags : BCRYPTGENRANDOM_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGenerateKeyPair(halgorithm : BCRYPT_ALG_HANDLE, phkey : *mut BCRYPT_KEY_HANDLE, dwlength : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGenerateSymmetricKey(halgorithm : BCRYPT_ALG_HANDLE, phkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGetFipsAlgorithmMode(pfenabled : *mut u8) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptHash(halgorithm : BCRYPT_ALG_HANDLE, pbsecret : *const u8, cbsecret : u32, pbinput : *const u8, cbinput : u32, pboutput : *mut u8, cboutput : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptHashData(hhash : BCRYPT_HASH_HANDLE, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptImportKey(halgorithm : BCRYPT_ALG_HANDLE, himportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_sys::core::PCWSTR, phkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptImportKeyPair(halgorithm : BCRYPT_ALG_HANDLE, himportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_sys::core::PCWSTR, phkey : *mut BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptKeyDerivation(hkey : BCRYPT_KEY_HANDLE, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptOpenAlgorithmProvider(phalgorithm : *mut BCRYPT_ALG_HANDLE, pszalgid : ::windows_sys::core::PCWSTR, pszimplementation : ::windows_sys::core::PCWSTR, dwflags : BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptProcessMultiOperations(hobject : BCRYPT_HANDLE, operationtype : BCRYPT_MULTI_OPERATION_TYPE, poperations : *const ::core::ffi::c_void, cboperations : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptQueryContextConfiguration(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptQueryContextFunctionConfiguration(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptQueryContextFunctionProperty(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, pszproperty : ::windows_sys::core::PCWSTR, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptQueryProviderRegistration(pszprovider : ::windows_sys::core::PCWSTR, dwmode : BCRYPT_QUERY_PROVIDER_MODE, dwinterface : BCRYPT_INTERFACE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDER_REG) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptRegisterConfigChangeNotify(phevent : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptRemoveContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptResolveProviders(pszcontext : ::windows_sys::core::PCWSTR, dwinterface : u32, pszfunction : ::windows_sys::core::PCWSTR, pszprovider : ::windows_sys::core::PCWSTR, dwmode : BCRYPT_QUERY_PROVIDER_MODE, dwflags : BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDER_REFS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSecretAgreement(hprivkey : BCRYPT_KEY_HANDLE, hpubkey : BCRYPT_KEY_HANDLE, phagreedsecret : *mut BCRYPT_SECRET_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSetContextFunctionProperty(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, pszproperty : ::windows_sys::core::PCWSTR, cbvalue : u32, pbvalue : *const u8) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSignHash(hkey : BCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbinput : *const u8, cbinput : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptUnregisterConfigChangeNotify(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptVerifySignature(hkey : BCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbhash : *const u8, cbhash : u32, pbsignature : *const u8, cbsignature : u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCRLContextToStore(hcertstore : HCERTSTORE, pcrlcontext : *const CRL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCRLLinkToStore(hcertstore : HCERTSTORE, pcrlcontext : *const CRL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCTLContextToStore(hcertstore : HCERTSTORE, pctlcontext : *const CTL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCTLLinkToStore(hcertstore : HCERTSTORE, pctlcontext : *const CTL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCertificateContextToStore(hcertstore : HCERTSTORE, pcertcontext : *const CERT_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCertificateLinkToStore(hcertstore : HCERTSTORE, pcertcontext : *const CERT_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCRLToStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcrlencoded : *const u8, cbcrlencoded : u32, dwadddisposition : u32, ppcrlcontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCTLToStore(hcertstore : HCERTSTORE, dwmsgandcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbctlencoded : *const u8, cbctlencoded : u32, dwadddisposition : u32, ppctlcontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcertencoded : *const u8, cbcertencoded : u32, dwadddisposition : u32, ppcertcontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToSystemStoreA(szcertstorename : ::windows_sys::core::PCSTR, pbcertencoded : *const u8, cbcertencoded : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToSystemStoreW(szcertstorename : ::windows_sys::core::PCWSTR, pbcertencoded : *const u8, cbcertencoded : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEnhancedKeyUsageIdentifier(pcertcontext : *const CERT_CONTEXT, pszusageidentifier : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertAddRefServerOcspResponse(hserverocspresponse : *const ::core::ffi::c_void) -> ()); -::windows_targets::link!("crypt32.dll" "system" fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddSerializedElementToStore(hcertstore : HCERTSTORE, pbelement : *const u8, cbelement : u32, dwadddisposition : u32, dwflags : u32, dwcontexttypeflags : u32, pdwcontexttype : *mut u32, ppvcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddStoreToCollection(hcollectionstore : HCERTSTORE, hsiblingstore : HCERTSTORE, dwupdateflags : u32, dwpriority : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertAlgIdToOID(dwalgid : u32) -> ::windows_sys::core::PCSTR); -::windows_targets::link!("crypt32.dll" "system" fn CertCloseServerOcspResponse(hserverocspresponse : *const ::core::ffi::c_void, dwflags : u32) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCloseStore(hcertstore : HCERTSTORE, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareCertificate(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid1 : *const CERT_INFO, pcertid2 : *const CERT_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareCertificateName(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertname1 : *const CRYPT_INTEGER_BLOB, pcertname2 : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareIntegerBlob(pint1 : *const CRYPT_INTEGER_BLOB, pint2 : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertComparePublicKeyInfo(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, ppublickey1 : *const CERT_PUBLIC_KEY_INFO, ppublickey2 : *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertControlStore(hcertstore : HCERTSTORE, dwflags : CERT_CONTROL_STORE_FLAGS, dwctrltype : u32, pvctrlpara : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCRLContext(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcrlencoded : *const u8, cbcrlencoded : u32) -> *mut CRL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCTLContext(dwmsgandcertencodingtype : u32, pbctlencoded : *const u8, cbctlencoded : u32) -> *mut CTL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext : *const CERT_CONTEXT, coptattr : u32, rgoptattr : *const CRYPT_ATTRIBUTE, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pctlentry : *mut CTL_ENTRY, pcbctlentry : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCertificateChainEngine(pconfig : *const CERT_CHAIN_ENGINE_CONFIG, phchainengine : *mut HCERTCHAINENGINE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCertificateContext(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcertencoded : *const u8, cbcertencoded : u32) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateContext(dwcontexttype : u32, dwencodingtype : u32, pbencoded : *const u8, cbencoded : u32, dwflags : u32, pcreatepara : *const CERT_CREATE_CONTEXT_PARA) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateSelfSignCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, psubjectissuerblob : *const CRYPT_INTEGER_BLOB, dwflags : CERT_CREATE_SELFSIGN_FLAGS, pkeyprovinfo : *const CRYPT_KEY_PROV_INFO, psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER, pstarttime : *const super::super::Foundation:: SYSTEMTIME, pendtime : *const super::super::Foundation:: SYSTEMTIME, pextensions : *const CERT_EXTENSIONS) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCRLFromStore(pcrlcontext : *const CRL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCTLFromStore(pctlcontext : *const CTL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCertificateFromStore(pcertcontext : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCRLContext(pcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCTLContext(pctlcontext : *const CTL_CONTEXT) -> *mut CTL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCertificateChain(pchaincontext : *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCertificateContext(pcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); -::windows_targets::link!("crypt32.dll" "system" fn CertDuplicateStore(hcertstore : HCERTSTORE) -> HCERTSTORE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCRLContextProperties(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCRLsInStore(hcertstore : HCERTSTORE, pprevcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCTLContextProperties(pctlcontext : *const CTL_CONTEXT, dwpropid : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCTLsInStore(hcertstore : HCERTSTORE, pprevctlcontext : *const CTL_CONTEXT) -> *mut CTL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCertificateContextProperties(pcertcontext : *const CERT_CONTEXT, dwpropid : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCertificatesInStore(hcertstore : HCERTSTORE, pprevcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumPhysicalStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CERT_ENUM_PHYSICAL_STORE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumSubjectInSortedCTL(pctlcontext : *const CTL_CONTEXT, ppvnextsubject : *mut *mut ::core::ffi::c_void, psubjectidentifier : *mut CRYPT_INTEGER_BLOB, pencodedattributes : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumSystemStore(dwflags : u32, pvsystemstorelocationpara : *const ::core::ffi::c_void, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CERT_ENUM_SYSTEM_STORE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumSystemStoreLocation(dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertFindAttribute(pszobjid : ::windows_sys::core::PCSTR, cattr : u32, rgattr : *const CRYPT_ATTRIBUTE) -> *mut CRYPT_ATTRIBUTE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCRLInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : u32, dwfindtype : u32, pvfindpara : *const ::core::ffi::c_void, pprevcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCTLInStore(hcertstore : HCERTSTORE, dwmsgandcertencodingtype : u32, dwfindflags : u32, dwfindtype : CERT_FIND_TYPE, pvfindpara : *const ::core::ffi::c_void, pprevctlcontext : *const CTL_CONTEXT) -> *mut CTL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCertificateInCRL(pcert : *const CERT_CONTEXT, pcrlcontext : *const CRL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppcrlentry : *mut *mut CRL_ENTRY) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCertificateInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : u32, dwfindtype : CERT_FIND_FLAGS, pvfindpara : *const ::core::ffi::c_void, pprevcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindChainInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : CERT_FIND_CHAIN_IN_STORE_FLAGS, dwfindtype : u32, pvfindpara : *const ::core::ffi::c_void, pprevchaincontext : *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindExtension(pszobjid : ::windows_sys::core::PCSTR, cextensions : u32, rgextensions : *const CERT_EXTENSION) -> *mut CERT_EXTENSION); -::windows_targets::link!("crypt32.dll" "system" fn CertFindRDNAttr(pszobjid : ::windows_sys::core::PCSTR, pname : *const CERT_NAME_INFO) -> *mut CERT_RDN_ATTR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindSubjectInCTL(dwencodingtype : u32, dwsubjecttype : u32, pvsubject : *const ::core::ffi::c_void, pctlcontext : *const CTL_CONTEXT, dwflags : u32) -> *mut CTL_ENTRY); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindSubjectInSortedCTL(psubjectidentifier : *const CRYPT_INTEGER_BLOB, pctlcontext : *const CTL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pencodedattributes : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCRLContext(pcrlcontext : *const CRL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCTLContext(pctlcontext : *const CTL_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateChain(pchaincontext : *const CERT_CHAIN_CONTEXT) -> ()); -::windows_targets::link!("crypt32.dll" "system" fn CertFreeCertificateChainEngine(hchainengine : HCERTCHAINENGINE) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateChainList(prgpselection : *const *const CERT_CHAIN_CONTEXT) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateContext(pcertcontext : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertFreeServerOcspResponseContext(pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCRLContextProperty(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCRLFromStore(hcertstore : HCERTSTORE, pissuercontext : *const CERT_CONTEXT, pprevcrlcontext : *const CRL_CONTEXT, pdwflags : *mut u32) -> *mut CRL_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCTLContextProperty(pctlcontext : *const CTL_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCertificateChain(hchainengine : HCERTCHAINENGINE, pcertcontext : *const CERT_CONTEXT, ptime : *const super::super::Foundation:: FILETIME, hadditionalstore : HCERTSTORE, pchainpara : *const CERT_CHAIN_PARA, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppchaincontext : *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCertificateContextProperty(pcertcontext : *const CERT_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetEnhancedKeyUsage(pcertcontext : *const CERT_CONTEXT, dwflags : u32, pusage : *mut CTL_USAGE, pcbusage : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetIntendedKeyUsage(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertinfo : *const CERT_INFO, pbkeyusage : *mut u8, cbkeyusage : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetIssuerCertificateFromStore(hcertstore : HCERTSTORE, psubjectcontext : *const CERT_CONTEXT, pprevissuercontext : *const CERT_CONTEXT, pdwflags : *mut u32) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetNameStringA(pcertcontext : *const CERT_CONTEXT, dwtype : u32, dwflags : u32, pvtypepara : *const ::core::ffi::c_void, psznamestring : ::windows_sys::core::PSTR, cchnamestring : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetNameStringW(pcertcontext : *const CERT_CONTEXT, dwtype : u32, dwflags : u32, pvtypepara : *const ::core::ffi::c_void, psznamestring : ::windows_sys::core::PWSTR, cchnamestring : u32) -> u32); -::windows_targets::link!("crypt32.dll" "system" fn CertGetPublicKeyLength(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, ppublickey : *const CERT_PUBLIC_KEY_INFO) -> u32); -::windows_targets::link!("crypt32.dll" "system" fn CertGetServerOcspResponseContext(hserverocspresponse : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetStoreProperty(hcertstore : HCERTSTORE, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetSubjectCertificateFromStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid : *const CERT_INFO) -> *mut CERT_CONTEXT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetValidUsages(ccerts : u32, rghcerts : *const *const CERT_CONTEXT, cnumoids : *mut i32, rghoids : *mut ::windows_sys::core::PSTR, pcboids : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsRDNAttrsInCertificateName(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwflags : u32, pcertname : *const CRYPT_INTEGER_BLOB, prdn : *const CERT_RDN) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsStrongHashToSign(pstrongsignpara : *const CERT_STRONG_SIGN_PARA, pwszcnghashalgid : ::windows_sys::core::PCWSTR, psigningcert : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsValidCRLForCertificate(pcert : *const CERT_CONTEXT, pcrl : *const CRL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsWeakHash(dwhashusetype : u32, pwszcnghashalgid : ::windows_sys::core::PCWSTR, dwchainflags : u32, psignerchaincontext : *const CERT_CHAIN_CONTEXT, ptimestamp : *const super::super::Foundation:: FILETIME, pwszfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertNameToStrA(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pname : *const CRYPT_INTEGER_BLOB, dwstrtype : CERT_STRING_TYPE, psz : ::windows_sys::core::PSTR, csz : u32) -> u32); -::windows_targets::link!("crypt32.dll" "system" fn CertNameToStrW(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pname : *const CRYPT_INTEGER_BLOB, dwstrtype : CERT_STRING_TYPE, psz : ::windows_sys::core::PWSTR, csz : u32) -> u32); -::windows_targets::link!("crypt32.dll" "system" fn CertOIDToAlgId(pszobjid : ::windows_sys::core::PCSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertOpenServerOcspResponse(pchaincontext : *const CERT_CHAIN_CONTEXT, dwflags : u32, popenpara : *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA) -> *mut ::core::ffi::c_void); -::windows_targets::link!("crypt32.dll" "system" fn CertOpenStore(lpszstoreprovider : ::windows_sys::core::PCSTR, dwencodingtype : CERT_QUERY_ENCODING_TYPE, hcryptprov : HCRYPTPROV_LEGACY, dwflags : CERT_OPEN_STORE_FLAGS, pvpara : *const ::core::ffi::c_void) -> HCERTSTORE); -::windows_targets::link!("crypt32.dll" "system" fn CertOpenSystemStoreA(hprov : HCRYPTPROV_LEGACY, szsubsystemprotocol : ::windows_sys::core::PCSTR) -> HCERTSTORE); -::windows_targets::link!("crypt32.dll" "system" fn CertOpenSystemStoreW(hprov : HCRYPTPROV_LEGACY, szsubsystemprotocol : ::windows_sys::core::PCWSTR) -> HCERTSTORE); -::windows_targets::link!("crypt32.dll" "system" fn CertRDNValueToStrA(dwvaluetype : u32, pvalue : *const CRYPT_INTEGER_BLOB, psz : ::windows_sys::core::PSTR, csz : u32) -> u32); -::windows_targets::link!("crypt32.dll" "system" fn CertRDNValueToStrW(dwvaluetype : u32, pvalue : *const CRYPT_INTEGER_BLOB, psz : ::windows_sys::core::PWSTR, csz : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRegisterPhysicalStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pwszstorename : ::windows_sys::core::PCWSTR, pstoreinfo : *const CERT_PHYSICAL_STORE_INFO, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRegisterSystemStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pstoreinfo : *const CERT_SYSTEM_STORE_INFO, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext : *const CERT_CONTEXT, pszusageidentifier : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CertRemoveStoreFromCollection(hcollectionstore : HCERTSTORE, hsiblingstore : HCERTSTORE) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertResyncCertificateChainEngine(hchainengine : HCERTCHAINENGINE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRetrieveLogoOrBiometricInfo(pcertcontext : *const CERT_CONTEXT, lpszlogoorbiometrictype : ::windows_sys::core::PCSTR, dwretrievalflags : u32, dwtimeout : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppbdata : *mut *mut u8, pcbdata : *mut u32, ppwszmimetype : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSaveStore(hcertstore : HCERTSTORE, dwencodingtype : CERT_QUERY_ENCODING_TYPE, dwsaveas : CERT_STORE_SAVE_AS, dwsaveto : CERT_STORE_SAVE_TO, pvsavetopara : *mut ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSelectCertificateChains(pselectioncontext : *const ::windows_sys::core::GUID, dwflags : u32, pchainparameters : *const CERT_SELECT_CHAIN_PARA, ccriteria : u32, rgpcriteria : *const CERT_SELECT_CRITERIA, hstore : HCERTSTORE, pcselection : *mut u32, pprgpselection : *mut *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCRLStoreElement(pcrlcontext : *const CRL_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCTLStoreElement(pctlcontext : *const CTL_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCertificateStoreElement(pcertcontext : *const CERT_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCRLContextProperty(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCTLContextProperty(pctlcontext : *const CTL_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext : *const CERT_CONTEXT, pctlentry : *const CTL_ENTRY, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCertificateContextProperty(pcertcontext : *const CERT_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetEnhancedKeyUsage(pcertcontext : *const CERT_CONTEXT, pusage : *const CTL_USAGE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetStoreProperty(hcertstore : HCERTSTORE, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertStrToNameA(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszx500 : ::windows_sys::core::PCSTR, dwstrtype : CERT_STRING_TYPE, pvreserved : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32, ppszerror : *mut ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertStrToNameW(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszx500 : ::windows_sys::core::PCWSTR, dwstrtype : CERT_STRING_TYPE, pvreserved : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32, ppszerror : *mut ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertUnregisterPhysicalStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pwszstorename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertUnregisterSystemStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCRLRevocation(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid : *const CERT_INFO, ccrlinfo : u32, rgpcrlinfo : *const *const CRL_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCRLTimeValidity(ptimetoverify : *const super::super::Foundation:: FILETIME, pcrlinfo : *const CRL_INFO) -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCTLUsage(dwencodingtype : u32, dwsubjecttype : u32, pvsubject : *const ::core::ffi::c_void, psubjectusage : *const CTL_USAGE, dwflags : u32, pverifyusagepara : *const CTL_VERIFY_USAGE_PARA, pverifyusagestatus : *mut CTL_VERIFY_USAGE_STATUS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCertificateChainPolicy(pszpolicyoid : ::windows_sys::core::PCSTR, pchaincontext : *const CERT_CHAIN_CONTEXT, ppolicypara : *const CERT_CHAIN_POLICY_PARA, ppolicystatus : *mut CERT_CHAIN_POLICY_STATUS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyRevocation(dwencodingtype : u32, dwrevtype : u32, ccontext : u32, rgpvcontext : *const *const ::core::ffi::c_void, dwflags : u32, prevpara : *const CERT_REVOCATION_PARA, prevstatus : *mut CERT_REVOCATION_STATUS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifySubjectCertificateContext(psubject : *const CERT_CONTEXT, pissuer : *const CERT_CONTEXT, pdwflags : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyTimeValidity(ptimetoverify : *const super::super::Foundation:: FILETIME, pcertinfo : *const CERT_INFO) -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyValidityNesting(psubjectinfo : *const CERT_INFO, pissuerinfo : *const CERT_INFO) -> super::super::Foundation:: BOOL); -::windows_targets::link!("infocardapi.dll" "system" fn CloseCryptoHandle(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptAcquireCertificatePrivateKey(pcert : *const CERT_CONTEXT, dwflags : CRYPT_ACQUIRE_FLAGS, pvparameters : *const ::core::ffi::c_void, phcryptprovorncryptkey : *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, pdwkeyspec : *mut CERT_KEY_SPEC, pfcallerfreeprovorncryptkey : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptAcquireContextA(phprov : *mut usize, szcontainer : ::windows_sys::core::PCSTR, szprovider : ::windows_sys::core::PCSTR, dwprovtype : u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptAcquireContextW(phprov : *mut usize, szcontainer : ::windows_sys::core::PCWSTR, szprovider : ::windows_sys::core::PCWSTR, dwprovtype : u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptBinaryToStringA(pbbinary : *const u8, cbbinary : u32, dwflags : CRYPT_STRING, pszstring : ::windows_sys::core::PSTR, pcchstring : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptBinaryToStringW(pbbinary : *const u8, cbbinary : u32, dwflags : CRYPT_STRING, pszstring : ::windows_sys::core::PWSTR, pcchstring : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCloseAsyncHandle(hasync : HCRYPTASYNC) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptContextAddRef(hprov : usize, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateAsyncHandle(dwflags : u32, phasync : *mut HCRYPTASYNC) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateHash(hprov : usize, algid : ALG_ID, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszpubkeyoid : ::windows_sys::core::PCSTR, ppubkeystruc : *const PUBLICKEYSTRUC, cbpubkeystruc : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbhash : *mut u8, pcbhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecodeMessage(dwmsgtypeflags : u32, pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex : u32, pbencodedblob : *const u8, cbencodedblob : u32, dwprevinnercontenttype : u32, pdwmsgtype : *mut u32, pdwinnercontenttype : *mut u32, pbdecoded : *mut u8, pcbdecoded : *mut u32, ppxchgcert : *mut *mut CERT_CONTEXT, ppsignercert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecodeObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pbencoded : *const u8, cbencoded : u32, dwflags : u32, pvstructinfo : *mut ::core::ffi::c_void, pcbstructinfo : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecodeObjectEx(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pbencoded : *const u8, cbencoded : u32, dwflags : u32, pdecodepara : *const CRYPT_DECODE_PARA, pvstructinfo : *mut ::core::ffi::c_void, pcbstructinfo : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecrypt(hkey : usize, hhash : usize, r#final : super::super::Foundation:: BOOL, dwflags : u32, pbdata : *mut u8, pdwdatalen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecryptAndVerifyMessageSignature(pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex : u32, pbencryptedblob : *const u8, cbencryptedblob : u32, pbdecrypted : *mut u8, pcbdecrypted : *mut u32, ppxchgcert : *mut *mut CERT_CONTEXT, ppsignercert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecryptMessage(pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob : *const u8, cbencryptedblob : u32, pbdecrypted : *mut u8, pcbdecrypted : *mut u32, ppxchgcert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDeriveKey(hprov : usize, algid : ALG_ID, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDestroyHash(hhash : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDestroyKey(hkey : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDuplicateHash(hhash : usize, pdwreserved : *const u32, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDuplicateKey(hkey : usize, pdwreserved : *const u32, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEncodeObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pvstructinfo : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEncodeObjectEx(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pvstructinfo : *const ::core::ffi::c_void, dwflags : CRYPT_ENCODE_OBJECT_FLAGS, pencodepara : *const CRYPT_ENCODE_PARA, pvencoded : *mut ::core::ffi::c_void, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEncrypt(hkey : usize, hhash : usize, r#final : super::super::Foundation:: BOOL, dwflags : u32, pbdata : *mut u8, pdwdatalen : *mut u32, dwbuflen : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEncryptMessage(pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert : u32, rgprecipientcert : *const *const CERT_CONTEXT, pbtobeencrypted : *const u8, cbtobeencrypted : u32, pbencryptedblob : *mut u8, pcbencryptedblob : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumKeyIdentifierProperties(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CRYPT_ENUM_KEYID_PROP) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenumoidfunc : PFN_CRYPT_ENUM_OID_FUNC) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumOIDInfo(dwgroupid : u32, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenumoidinfo : PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProviderTypesA(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, sztypename : ::windows_sys::core::PSTR, pcbtypename : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProviderTypesW(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, sztypename : ::windows_sys::core::PWSTR, pcbtypename : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProvidersA(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, szprovname : ::windows_sys::core::PSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProvidersW(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, szprovname : ::windows_sys::core::PWSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportKey(hkey : usize, hexpkey : usize, dwblobtype : u32, dwflags : CRYPT_KEY_FLAGS, pbdata : *mut u8, pdwdatalen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPKCS8(hcryptprov : usize, dwkeyspec : u32, pszprivatekeyobjid : ::windows_sys::core::PCSTR, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, pbprivatekeyblob : *mut u8, pcbprivatekeyblob : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfo(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *mut CERT_PUBLIC_KEY_INFO, pcbinfo : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfoEx(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszpublickeyobjid : ::windows_sys::core::PCSTR, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, pinfo : *mut CERT_PUBLIC_KEY_INFO, pcbinfo : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey : BCRYPT_KEY_HANDLE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszpublickeyobjid : ::windows_sys::core::PCSTR, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, pinfo : *mut CERT_PUBLIC_KEY_INFO, pcbinfo : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFindCertificateKeyProvInfo(pcert : *const CERT_CONTEXT, dwflags : CRYPT_FIND_FLAGS, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CryptFindLocalizedName(pwszcryptname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PCWSTR); -::windows_targets::link!("crypt32.dll" "system" fn CryptFindOIDInfo(dwkeytype : u32, pvkey : *const ::core::ffi::c_void, dwgroupid : u32) -> *mut CRYPT_OID_INFO); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFormatObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwformattype : u32, dwformatstrtype : u32, pformatstruct : *const ::core::ffi::c_void, lpszstructtype : ::windows_sys::core::PCSTR, pbencoded : *const u8, cbencoded : u32, pbformat : *mut ::core::ffi::c_void, pcbformat : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFreeOIDFunctionAddress(hfuncaddr : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGenKey(hprov : usize, algid : ALG_ID, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGenRandom(hprov : usize, dwlen : u32, pbbuffer : *mut u8) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetAsyncParam(hasync : HCRYPTASYNC, pszparamoid : ::windows_sys::core::PCSTR, ppvparam : *mut *mut ::core::ffi::c_void, ppfnfree : *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultOIDDllList(hfuncset : *const ::core::ffi::c_void, dwencodingtype : u32, pwszdlllist : ::windows_sys::core::PWSTR, pcchdlllist : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultOIDFunctionAddress(hfuncset : *const ::core::ffi::c_void, dwencodingtype : u32, pwszdll : ::windows_sys::core::PCWSTR, dwflags : u32, ppvfuncaddr : *mut *mut ::core::ffi::c_void, phfuncaddr : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultProviderA(dwprovtype : u32, pdwreserved : *const u32, dwflags : u32, pszprovname : ::windows_sys::core::PSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultProviderW(dwprovtype : u32, pdwreserved : *const u32, dwflags : u32, pszprovname : ::windows_sys::core::PWSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetHashParam(hhash : usize, dwparam : u32, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetKeyIdentifierProperty(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetKeyParam(hkey : usize, dwparam : CRYPT_KEY_PARAM_ID, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CryptGetMessageCertificates(dwmsgandcertencodingtype : u32, hcryptprov : HCRYPTPROV_LEGACY, dwflags : u32, pbsignedblob : *const u8, cbsignedblob : u32) -> HCERTSTORE); -::windows_targets::link!("crypt32.dll" "system" fn CryptGetMessageSignerCount(dwmsgencodingtype : u32, pbsignedblob : *const u8, cbsignedblob : u32) -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetOIDFunctionAddress(hfuncset : *const ::core::ffi::c_void, dwencodingtype : u32, pszoid : ::windows_sys::core::PCSTR, dwflags : u32, ppvfuncaddr : *mut *mut ::core::ffi::c_void, phfuncaddr : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetOIDFunctionValue(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR, pwszvaluename : ::windows_sys::core::PCWSTR, pdwvaluetype : *mut u32, pbvaluedata : *mut u8, pcbvaluedata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetObjectUrl(pszurloid : ::windows_sys::core::PCSTR, pvpara : *const ::core::ffi::c_void, dwflags : CRYPT_GET_URL_FLAGS, purlarray : *mut CRYPT_URL_ARRAY, pcburlarray : *mut u32, purlinfo : *mut CRYPT_URL_INFO, pcburlinfo : *mut u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetProvParam(hprov : usize, dwparam : u32, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetUserKey(hprov : usize, dwkeyspec : u32, phuserkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashCertificate2(pwszcnghashalgid : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashData(hhash : usize, pbdata : *const u8, dwdatalen : u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashMessage(phashpara : *const CRYPT_HASH_MESSAGE_PARA, fdetachedhash : super::super::Foundation:: BOOL, ctobehashed : u32, rgpbtobehashed : *const *const u8, rgcbtobehashed : *const u32, pbhashedblob : *mut u8, pcbhashedblob : *mut u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashSessionKey(hhash : usize, hkey : usize, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashToBeSigned(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportKey(hprov : usize, pbdata : *const u8, dwdatalen : u32, hpubkey : usize, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPKCS8(sprivatekeyandparams : CRYPT_PKCS8_IMPORT_PARAMS, dwflags : CRYPT_KEY_FLAGS, phcryptprov : *mut usize, pvauxinfo : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfo(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : ALG_ID, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfoEx2(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, dwflags : CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CryptInitOIDFunctionSet(pszfuncname : ::windows_sys::core::PCSTR, dwflags : u32) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallCancelRetrieval(pfncancel : PFN_CRYPT_CANCEL_RETRIEVAL, pvarg : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallDefaultContext(hcryptprov : usize, dwdefaulttype : CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara : *const ::core::ffi::c_void, dwflags : CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved : *const ::core::ffi::c_void, phdefaultcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallOIDFunctionAddress(hmodule : super::super::Foundation:: HMODULE, dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, cfuncentry : u32, rgfuncentry : *const CRYPT_OID_FUNC_ENTRY, dwflags : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CryptMemAlloc(cbsize : u32) -> *mut ::core::ffi::c_void); -::windows_targets::link!("crypt32.dll" "system" fn CryptMemFree(pv : *const ::core::ffi::c_void) -> ()); -::windows_targets::link!("crypt32.dll" "system" fn CryptMemRealloc(pv : *const ::core::ffi::c_void, cbsize : u32) -> *mut ::core::ffi::c_void); -::windows_targets::link!("crypt32.dll" "system" fn CryptMsgCalculateEncodedLength(dwmsgencodingtype : u32, dwflags : u32, dwmsgtype : u32, pvmsgencodeinfo : *const ::core::ffi::c_void, pszinnercontentobjid : ::windows_sys::core::PCSTR, cbdata : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgClose(hcryptmsg : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgControl(hcryptmsg : *const ::core::ffi::c_void, dwflags : u32, dwctrltype : u32, pvctrlpara : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgCountersign(hcryptmsg : *const ::core::ffi::c_void, dwindex : u32, ccountersigners : u32, rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgCountersignEncoded(dwencodingtype : u32, pbsignerinfo : *const u8, cbsignerinfo : u32, ccountersigners : u32, rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO, pbcountersignature : *mut u8, pcbcountersignature : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn CryptMsgDuplicate(hcryptmsg : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgEncodeAndSignCTL(dwmsgencodingtype : u32, pctlinfo : *const CTL_INFO, psigninfo : *const CMSG_SIGNED_ENCODE_INFO, dwflags : u32, pbencoded : *mut u8, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgGetAndVerifySigner(hcryptmsg : *const ::core::ffi::c_void, csignerstore : u32, rghsignerstore : *const HCERTSTORE, dwflags : u32, ppsigner : *mut *mut CERT_CONTEXT, pdwsignerindex : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgGetParam(hcryptmsg : *const ::core::ffi::c_void, dwparamtype : u32, dwindex : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgOpenToDecode(dwmsgencodingtype : u32, dwflags : u32, dwmsgtype : u32, hcryptprov : HCRYPTPROV_LEGACY, precipientinfo : *const CERT_INFO, pstreaminfo : *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgOpenToEncode(dwmsgencodingtype : u32, dwflags : u32, dwmsgtype : CRYPT_MSG_TYPE, pvmsgencodeinfo : *const ::core::ffi::c_void, pszinnercontentobjid : ::windows_sys::core::PCSTR, pstreaminfo : *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgSignCTL(dwmsgencodingtype : u32, pbctlcontent : *const u8, cbctlcontent : u32, psigninfo : *const CMSG_SIGNED_ENCODE_INFO, dwflags : u32, pbencoded : *mut u8, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgUpdate(hcryptmsg : *const ::core::ffi::c_void, pbdata : *const u8, cbdata : u32, ffinal : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgVerifyCountersignatureEncoded(hcryptprov : HCRYPTPROV_LEGACY, dwencodingtype : u32, pbsignerinfo : *const u8, cbsignerinfo : u32, pbsignerinfocountersignature : *const u8, cbsignerinfocountersignature : u32, pcicountersigner : *const CERT_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgVerifyCountersignatureEncodedEx(hcryptprov : HCRYPTPROV_LEGACY, dwencodingtype : u32, pbsignerinfo : *const u8, cbsignerinfo : u32, pbsignerinfocountersignature : *const u8, cbsignerinfocountersignature : u32, dwsignertype : u32, pvsigner : *const ::core::ffi::c_void, dwflags : u32, pvextra : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptProtectData(pdatain : *const CRYPT_INTEGER_BLOB, szdatadescr : ::windows_sys::core::PCWSTR, poptionalentropy : *const CRYPT_INTEGER_BLOB, pvreserved : *const ::core::ffi::c_void, ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT, dwflags : u32, pdataout : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptProtectMemory(pdatain : *mut ::core::ffi::c_void, cbdatain : u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptQueryObject(dwobjecttype : CERT_QUERY_OBJECT_TYPE, pvobject : *const ::core::ffi::c_void, dwexpectedcontenttypeflags : CERT_QUERY_CONTENT_TYPE_FLAGS, dwexpectedformattypeflags : CERT_QUERY_FORMAT_TYPE_FLAGS, dwflags : u32, pdwmsgandcertencodingtype : *mut CERT_QUERY_ENCODING_TYPE, pdwcontenttype : *mut CERT_QUERY_CONTENT_TYPE, pdwformattype : *mut CERT_QUERY_FORMAT_TYPE, phcertstore : *mut HCERTSTORE, phmsg : *mut *mut ::core::ffi::c_void, ppvcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRegisterDefaultOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, dwindex : u32, pwszdll : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRegisterOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR, pwszdll : ::windows_sys::core::PCWSTR, pszoverridefuncname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRegisterOIDInfo(pinfo : *const CRYPT_OID_INFO, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptReleaseContext(hprov : usize, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRetrieveObjectByUrlA(pszurl : ::windows_sys::core::PCSTR, pszobjectoid : ::windows_sys::core::PCSTR, dwretrievalflags : u32, dwtimeout : u32, ppvobject : *mut *mut ::core::ffi::c_void, hasyncretrieve : HCRYPTASYNC, pcredentials : *const CRYPT_CREDENTIALS, pvverify : *const ::core::ffi::c_void, pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRetrieveObjectByUrlW(pszurl : ::windows_sys::core::PCWSTR, pszobjectoid : ::windows_sys::core::PCSTR, dwretrievalflags : u32, dwtimeout : u32, ppvobject : *mut *mut ::core::ffi::c_void, hasyncretrieve : HCRYPTASYNC, pcredentials : *const CRYPT_CREDENTIALS, pvverify : *const ::core::ffi::c_void, pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRetrieveTimeStamp(wszurl : ::windows_sys::core::PCWSTR, dwretrievalflags : u32, dwtimeout : u32, pszhashid : ::windows_sys::core::PCSTR, ppara : *const CRYPT_TIMESTAMP_PARA, pbdata : *const u8, cbdata : u32, pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner : *mut *mut CERT_CONTEXT, phstore : *mut HCERTSTORE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetAsyncParam(hasync : HCRYPTASYNC, pszparamoid : ::windows_sys::core::PCSTR, pvparam : *const ::core::ffi::c_void, pfnfree : PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetHashParam(hhash : usize, dwparam : CRYPT_SET_HASH_PARAM, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetKeyIdentifierProperty(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetKeyParam(hkey : usize, dwparam : CRYPT_KEY_PARAM_ID, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`"] fn CryptSetOIDFunctionValue(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR, pwszvaluename : ::windows_sys::core::PCWSTR, dwvaluetype : super::super::System::Registry:: REG_VALUE_TYPE, pbvaluedata : *const u8, cbvaluedata : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProvParam(hprov : usize, dwparam : CRYPT_SET_PROV_PARAM_ID, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderA(pszprovname : ::windows_sys::core::PCSTR, dwprovtype : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderExA(pszprovname : ::windows_sys::core::PCSTR, dwprovtype : u32, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderExW(pszprovname : ::windows_sys::core::PCWSTR, dwprovtype : u32, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderW(pszprovname : ::windows_sys::core::PCWSTR, dwprovtype : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignAndEncodeCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : CERT_KEY_SPEC, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pvstructinfo : *const ::core::ffi::c_void, psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignAndEncryptMessage(psignpara : *const CRYPT_SIGN_MESSAGE_PARA, pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert : u32, rgprecipientcert : *const *const CERT_CONTEXT, pbtobesignedandencrypted : *const u8, cbtobesignedandencrypted : u32, pbsignedandencryptedblob : *mut u8, pcbsignedandencryptedblob : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbencodedtobesigned : *const u8, cbencodedtobesigned : u32, psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo : *const ::core::ffi::c_void, pbsignature : *mut u8, pcbsignature : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignHashA(hhash : usize, dwkeyspec : u32, szdescription : ::windows_sys::core::PCSTR, dwflags : u32, pbsignature : *mut u8, pdwsiglen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignHashW(hhash : usize, dwkeyspec : u32, szdescription : ::windows_sys::core::PCWSTR, dwflags : u32, pbsignature : *mut u8, pdwsiglen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignMessage(psignpara : *const CRYPT_SIGN_MESSAGE_PARA, fdetachedsignature : super::super::Foundation:: BOOL, ctobesigned : u32, rgpbtobesigned : *const *const u8, rgcbtobesigned : *const u32, pbsignedblob : *mut u8, pcbsignedblob : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignMessageWithKey(psignpara : *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned : *const u8, cbtobesigned : u32, pbsignedblob : *mut u8, pcbsignedblob : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptStringToBinaryA(pszstring : ::windows_sys::core::PCSTR, cchstring : u32, dwflags : CRYPT_STRING, pbbinary : *mut u8, pcbbinary : *mut u32, pdwskip : *mut u32, pdwflags : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptStringToBinaryW(pszstring : ::windows_sys::core::PCWSTR, cchstring : u32, dwflags : CRYPT_STRING, pbbinary : *mut u8, pcbbinary : *mut u32, pdwskip : *mut u32, pdwflags : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUninstallCancelRetrieval(dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUninstallDefaultContext(hdefaultcontext : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnprotectData(pdatain : *const CRYPT_INTEGER_BLOB, ppszdatadescr : *mut ::windows_sys::core::PWSTR, poptionalentropy : *const CRYPT_INTEGER_BLOB, pvreserved : *const ::core::ffi::c_void, ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT, dwflags : u32, pdataout : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnprotectMemory(pdatain : *mut ::core::ffi::c_void, cbdatain : u32, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterDefaultOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pwszdll : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterOIDInfo(pinfo : *const CRYPT_OID_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUpdateProtectedState(poldsid : super::super::Foundation:: PSID, pwszoldpassword : ::windows_sys::core::PCWSTR, dwflags : u32, pdwsuccesscount : *mut u32, pdwfailurecount : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyCertificateSignature(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbencoded : *const u8, cbencoded : u32, ppublickey : *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyCertificateSignatureEx(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwsubjecttype : u32, pvsubject : *const ::core::ffi::c_void, dwissuertype : u32, pvissuer : *const ::core::ffi::c_void, dwflags : CRYPT_VERIFY_CERT_FLAGS, pvextra : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyDetachedMessageHash(phashpara : *const CRYPT_HASH_MESSAGE_PARA, pbdetachedhashblob : *const u8, cbdetachedhashblob : u32, ctobehashed : u32, rgpbtobehashed : *const *const u8, rgcbtobehashed : *const u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyDetachedMessageSignature(pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex : u32, pbdetachedsignblob : *const u8, cbdetachedsignblob : u32, ctobesigned : u32, rgpbtobesigned : *const *const u8, rgcbtobesigned : *const u32, ppsignercert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyMessageHash(phashpara : *const CRYPT_HASH_MESSAGE_PARA, pbhashedblob : *const u8, cbhashedblob : u32, pbtobehashed : *mut u8, pcbtobehashed : *mut u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyMessageSignature(pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex : u32, pbsignedblob : *const u8, cbsignedblob : u32, pbdecoded : *mut u8, pcbdecoded : *mut u32, ppsignercert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyMessageSignatureWithKey(pverifypara : *const CRYPT_KEY_VERIFY_MESSAGE_PARA, ppublickeyinfo : *const CERT_PUBLIC_KEY_INFO, pbsignedblob : *const u8, cbsignedblob : u32, pbdecoded : *mut u8, pcbdecoded : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifySignatureA(hhash : usize, pbsignature : *const u8, dwsiglen : u32, hpubkey : usize, szdescription : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifySignatureW(hhash : usize, pbsignature : *const u8, dwsiglen : u32, hpubkey : usize, szdescription : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyTimeStampSignature(pbtscontentinfo : *const u8, cbtscontentinfo : u32, pbdata : *const u8, cbdata : u32, hadditionalstore : HCERTSTORE, pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner : *mut *mut CERT_CONTEXT, phstore : *mut HCERTSTORE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlAddObject(hsignatureorobject : *const ::core::ffi::c_void, dwflags : u32, rgproperty : *const CRYPT_XML_PROPERTY, cproperty : u32, pencoded : *const CRYPT_XML_BLOB, ppobject : *mut *mut CRYPT_XML_OBJECT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlClose(hcryptxml : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlCreateReference(hcryptxml : *const ::core::ffi::c_void, dwflags : u32, wszid : ::windows_sys::core::PCWSTR, wszuri : ::windows_sys::core::PCWSTR, wsztype : ::windows_sys::core::PCWSTR, pdigestmethod : *const CRYPT_XML_ALGORITHM, ctransform : u32, rgtransform : *const CRYPT_XML_ALGORITHM, phreference : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlDigestReference(hreference : *const ::core::ffi::c_void, dwflags : u32, pdataproviderin : *const CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlEncode(hcryptxml : *const ::core::ffi::c_void, dwcharset : CRYPT_XML_CHARSET, rgproperty : *const CRYPT_XML_PROPERTY, cproperty : u32, pvcallbackstate : *mut ::core::ffi::c_void, pfnwrite : PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cryptxml.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptXmlEnumAlgorithmInfo(dwgroupid : u32, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenumalginfo : PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlFindAlgorithmInfo(dwfindbytype : u32, pvfindby : *const ::core::ffi::c_void, dwgroupid : u32, dwflags : u32) -> *mut CRYPT_XML_ALGORITHM_INFO); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetAlgorithmInfo(pxmlalgorithm : *const CRYPT_XML_ALGORITHM, dwflags : CRYPT_XML_FLAGS, ppalginfo : *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetDocContext(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetReference(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_REFERENCE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetSignature(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_SIGNATURE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetStatus(hcryptxml : *const ::core::ffi::c_void, pstatus : *mut CRYPT_XML_STATUS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetTransforms(ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlImportPublicKey(dwflags : CRYPT_XML_FLAGS, pkeyvalue : *const CRYPT_XML_KEY_VALUE, phkey : *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlOpenToDecode(pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags : CRYPT_XML_FLAGS, rgproperty : *const CRYPT_XML_PROPERTY, cproperty : u32, pencoded : *const CRYPT_XML_BLOB, phcryptxml : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlOpenToEncode(pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags : CRYPT_XML_FLAGS, wszid : ::windows_sys::core::PCWSTR, rgproperty : *const CRYPT_XML_PROPERTY, cproperty : u32, pencoded : *const CRYPT_XML_BLOB, phsignature : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlSetHMACSecret(hsignature : *const ::core::ffi::c_void, pbsecret : *const u8, cbsecret : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlSign(hsignature : *const ::core::ffi::c_void, hkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : CERT_KEY_SPEC, dwflags : CRYPT_XML_FLAGS, dwkeyinfospec : CRYPT_XML_KEYINFO_SPEC, pvkeyinfospec : *const ::core::ffi::c_void, psignaturemethod : *const CRYPT_XML_ALGORITHM, pcanonicalization : *const CRYPT_XML_ALGORITHM) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlVerifySignature(hsignature : *const ::core::ffi::c_void, hkey : BCRYPT_KEY_HANDLE, dwflags : CRYPT_XML_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Decrypt(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, foaep : super::super::Foundation:: BOOL, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Encrypt(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, foaep : super::super::Foundation:: BOOL, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wintrust.dll" "system" fn FindCertsByIssuer(pcertchains : *mut CERT_CHAIN, pcbcertchains : *mut u32, pccertchains : *mut u32, pbencodedissuername : *const u8, cbencodedissuername : u32, pwszpurpose : ::windows_sys::core::PCWSTR, dwkeyspec : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeToken(pallocmemory : *const GENERIC_XML_TOKEN) -> super::super::Foundation:: BOOL); -::windows_targets::link!("infocardapi.dll" "system" fn GenerateDerivedKey(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cblabel : u32, plabel : *const u8, cbnonce : u32, pnonce : *const u8, derivedkeylength : u32, offset : u32, algid : ::windows_sys::core::PCWSTR, pcbkey : *mut u32, ppkey : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn GetBrowserToken(dwparamtype : u32, pparam : *const ::core::ffi::c_void, pcbtoken : *mut u32, pptoken : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn GetCryptoTransform(hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, mode : u32, padding : PaddingMode, feedbacksize : u32, direction : Direction, cbiv : u32, piv : *const u8, pphtransform : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn GetKeyedHash(hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetToken(cpolicychain : u32, ppolicychain : *const POLICY_ELEMENT, securitytoken : *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn HashCore(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn HashFinal(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn ImportInformationCard(filename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn ManageCardSpace() -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptCloseProtectionDescriptor(hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptCreateClaim(hsubjectkey : NCRYPT_KEY_HANDLE, hauthoritykey : NCRYPT_KEY_HANDLE, dwclaimtype : u32, pparameterlist : *const BCryptBufferDesc, pbclaimblob : *mut u8, cbclaimblob : u32, pcbresult : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptCreatePersistedKey(hprovider : NCRYPT_PROV_HANDLE, phkey : *mut NCRYPT_KEY_HANDLE, pszalgid : ::windows_sys::core::PCWSTR, pszkeyname : ::windows_sys::core::PCWSTR, dwlegacykeyspec : CERT_KEY_SPEC, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptCreateProtectionDescriptor(pwszdescriptorstring : ::windows_sys::core::PCWSTR, dwflags : u32, phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptDecrypt(hkey : NCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptDeleteKey(hkey : NCRYPT_KEY_HANDLE, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptDeriveKey(hsharedsecret : NCRYPT_SECRET_HANDLE, pwszkdf : ::windows_sys::core::PCWSTR, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptEncrypt(hkey : NCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptEnumAlgorithms(hprovider : NCRYPT_PROV_HANDLE, dwalgoperations : NCRYPT_OPERATION, pdwalgcount : *mut u32, ppalglist : *mut *mut NCryptAlgorithmName, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptEnumKeys(hprovider : NCRYPT_PROV_HANDLE, pszscope : ::windows_sys::core::PCWSTR, ppkeyname : *mut *mut NCryptKeyName, ppenumstate : *mut *mut ::core::ffi::c_void, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptEnumStorageProviders(pdwprovidercount : *mut u32, ppproviderlist : *mut *mut NCryptProviderName, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptExportKey(hkey : NCRYPT_KEY_HANDLE, hexportkey : NCRYPT_KEY_HANDLE, pszblobtype : ::windows_sys::core::PCWSTR, pparameterlist : *const BCryptBufferDesc, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptFinalizeKey(hkey : NCRYPT_KEY_HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptFreeBuffer(pvinput : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptFreeObject(hobject : NCRYPT_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptGetProperty(hobject : NCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : super:: OBJECT_SECURITY_INFORMATION) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptGetProtectionDescriptorInfo(hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE, pmempara : *const NCRYPT_ALLOC_PARA, dwinfotype : u32, ppvinfo : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptImportKey(hprovider : NCRYPT_PROV_HANDLE, himportkey : NCRYPT_KEY_HANDLE, pszblobtype : ::windows_sys::core::PCWSTR, pparameterlist : *const BCryptBufferDesc, phkey : *mut NCRYPT_KEY_HANDLE, pbdata : *const u8, cbdata : u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptIsAlgSupported(hprovider : NCRYPT_PROV_HANDLE, pszalgid : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptIsKeyHandle(hkey : NCRYPT_KEY_HANDLE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptKeyDerivation(hkey : NCRYPT_KEY_HANDLE, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptNotifyChangeKey(hprovider : NCRYPT_PROV_HANDLE, phevent : *mut super::super::Foundation:: HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptOpenKey(hprovider : NCRYPT_PROV_HANDLE, phkey : *mut NCRYPT_KEY_HANDLE, pszkeyname : ::windows_sys::core::PCWSTR, dwlegacykeyspec : CERT_KEY_SPEC, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptOpenStorageProvider(phprovider : *mut NCRYPT_PROV_HANDLE, pszprovidername : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptProtectSecret(hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE, dwflags : u32, pbdata : *const u8, cbdata : u32, pmempara : *const NCRYPT_ALLOC_PARA, hwnd : super::super::Foundation:: HWND, ppbprotectedblob : *mut *mut u8, pcbprotectedblob : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptQueryProtectionDescriptorName(pwszname : ::windows_sys::core::PCWSTR, pwszdescriptorstring : ::windows_sys::core::PWSTR, pcdescriptorstring : *mut usize, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptRegisterProtectionDescriptorName(pwszname : ::windows_sys::core::PCWSTR, pwszdescriptorstring : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptSecretAgreement(hprivkey : NCRYPT_KEY_HANDLE, hpubkey : NCRYPT_KEY_HANDLE, phagreedsecret : *mut NCRYPT_SECRET_HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptSetProperty(hobject : NCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pbinput : *const u8, cbinput : u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptSignHash(hkey : NCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbhashvalue : *const u8, cbhashvalue : u32, pbsignature : *mut u8, cbsignature : u32, pcbresult : *mut u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptStreamClose(hstream : super:: NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptStreamOpenToProtect(hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE, dwflags : u32, hwnd : super::super::Foundation:: HWND, pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO, phstream : *mut super:: NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptStreamOpenToUnprotect(pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO, dwflags : u32, hwnd : super::super::Foundation:: HWND, phstream : *mut super:: NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptStreamOpenToUnprotectEx(pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO_EX, dwflags : u32, hwnd : super::super::Foundation:: HWND, phstream : *mut super:: NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptStreamUpdate(hstream : super:: NCRYPT_STREAM_HANDLE, pbdata : *const u8, cbdata : usize, ffinal : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptTranslateHandle(phprovider : *mut NCRYPT_PROV_HANDLE, phkey : *mut NCRYPT_KEY_HANDLE, hlegacyprov : usize, hlegacykey : usize, dwlegacykeyspec : CERT_KEY_SPEC, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptUnprotectSecret(phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE, dwflags : NCRYPT_FLAGS, pbprotectedblob : *const u8, cbprotectedblob : u32, pmempara : *const NCRYPT_ALLOC_PARA, hwnd : super::super::Foundation:: HWND, ppbdata : *mut *mut u8, pcbdata : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptVerifyClaim(hsubjectkey : NCRYPT_KEY_HANDLE, hauthoritykey : NCRYPT_KEY_HANDLE, dwclaimtype : u32, pparameterlist : *const BCryptBufferDesc, pbclaimblob : *const u8, cbclaimblob : u32, poutput : *mut BCryptBufferDesc, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ncrypt.dll" "system" fn NCryptVerifySignature(hkey : NCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbhashvalue : *const u8, cbhashvalue : u32, pbsignature : *const u8, cbsignature : u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXExportCertStore(hstore : HCERTSTORE, ppfx : *mut CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXExportCertStoreEx(hstore : HCERTSTORE, ppfx : *mut CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, pvpara : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("crypt32.dll" "system" fn PFXImportCertStore(ppfx : *const CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : CRYPT_KEY_FLAGS) -> HCERTSTORE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXIsPFXBlob(ppfx : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXVerifyPassword(ppfx : *const CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcryptprimitives.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ProcessPrng(pbdata : *mut u8, cbdata : usize) -> super::super::Foundation:: BOOL); -::windows_targets::link!("mssign32.dll" "system" fn SignError() -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn SignHash(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash : u32, phash : *const u8, hashalgoid : ::windows_sys::core::PCWSTR, pcbsig : *mut u32, ppsig : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("mssign32.dll" "system" fn SignerFreeSignerContext(psignercontext : *const SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSign(psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx2(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, dwtimestampflags : SIGNER_TIMESTAMP_FLAGS, psztimestampalgorithmoid : ::windows_sys::core::PCSTR, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx3(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, dwtimestampflags : SIGNER_TIMESTAMP_FLAGS, psztimestampalgorithmoid : ::windows_sys::core::PCSTR, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, pdigestsigninfo : *const SIGNER_DIGEST_SIGN_INFO, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStamp(psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx(dwflags : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, dwalgid : ALG_ID, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx3(dwflags : SIGNER_TIMESTAMP_FLAGS, dwindex : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, pszalgorithmoid : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("bcryptprimitives.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SystemPrng(pbrandomdata : *mut u8, cbrandomdata : usize) -> super::super::Foundation:: BOOL); -::windows_targets::link!("infocardapi.dll" "system" fn TransformBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("infocardapi.dll" "system" fn TransformFinalBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyHash(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash : u32, phash : *const u8, hashalgoid : ::windows_sys::core::PCWSTR, cbsig : u32, psig : *const u8, pfverified : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -pub type ICertSrvSetup = *mut ::core::ffi::c_void; -pub type ICertSrvSetupKeyInformation = *mut ::core::ffi::c_void; -pub type ICertSrvSetupKeyInformationCollection = *mut ::core::ffi::c_void; -pub type ICertificateEnrollmentPolicyServerSetup = *mut ::core::ffi::c_void; -pub type ICertificateEnrollmentServerSetup = *mut ::core::ffi::c_void; -pub type IMSCEPSetup = *mut ::core::ffi::c_void; -pub const ALG_CLASS_ALL: u32 = 57344u32; -pub const ALG_CLASS_ANY: u32 = 0u32; -pub const ALG_CLASS_DATA_ENCRYPT: u32 = 24576u32; -pub const ALG_CLASS_HASH: u32 = 32768u32; -pub const ALG_CLASS_KEY_EXCHANGE: u32 = 40960u32; -pub const ALG_CLASS_MSG_ENCRYPT: u32 = 16384u32; -pub const ALG_CLASS_SIGNATURE: u32 = 8192u32; -pub const ALG_SID_3DES: u32 = 3u32; -pub const ALG_SID_3DES_112: u32 = 9u32; -pub const ALG_SID_AES: u32 = 17u32; -pub const ALG_SID_AES_128: u32 = 14u32; -pub const ALG_SID_AES_192: u32 = 15u32; -pub const ALG_SID_AES_256: u32 = 16u32; -pub const ALG_SID_AGREED_KEY_ANY: u32 = 3u32; -pub const ALG_SID_ANY: u32 = 0u32; -pub const ALG_SID_CAST: u32 = 6u32; -pub const ALG_SID_CYLINK_MEK: u32 = 12u32; -pub const ALG_SID_DES: u32 = 1u32; -pub const ALG_SID_DESX: u32 = 4u32; -pub const ALG_SID_DH_EPHEM: u32 = 2u32; -pub const ALG_SID_DH_SANDF: u32 = 1u32; -pub const ALG_SID_DSS_ANY: u32 = 0u32; -pub const ALG_SID_DSS_DMS: u32 = 2u32; -pub const ALG_SID_DSS_PKCS: u32 = 1u32; -pub const ALG_SID_ECDH: u32 = 5u32; -pub const ALG_SID_ECDH_EPHEM: u32 = 6u32; -pub const ALG_SID_ECDSA: u32 = 3u32; -pub const ALG_SID_ECMQV: u32 = 1u32; -pub const ALG_SID_EXAMPLE: u32 = 80u32; -pub const ALG_SID_HASH_REPLACE_OWF: u32 = 11u32; -pub const ALG_SID_HMAC: u32 = 9u32; -pub const ALG_SID_IDEA: u32 = 5u32; -pub const ALG_SID_KEA: u32 = 4u32; -pub const ALG_SID_MAC: u32 = 5u32; -pub const ALG_SID_MD2: u32 = 1u32; -pub const ALG_SID_MD4: u32 = 2u32; -pub const ALG_SID_MD5: u32 = 3u32; -pub const ALG_SID_PCT1_MASTER: u32 = 4u32; -pub const ALG_SID_RC2: u32 = 2u32; -pub const ALG_SID_RC4: u32 = 1u32; -pub const ALG_SID_RC5: u32 = 13u32; -pub const ALG_SID_RIPEMD: u32 = 6u32; -pub const ALG_SID_RIPEMD160: u32 = 7u32; -pub const ALG_SID_RSA_ANY: u32 = 0u32; -pub const ALG_SID_RSA_ENTRUST: u32 = 3u32; -pub const ALG_SID_RSA_MSATWORK: u32 = 2u32; -pub const ALG_SID_RSA_PGP: u32 = 4u32; -pub const ALG_SID_RSA_PKCS: u32 = 1u32; -pub const ALG_SID_SAFERSK128: u32 = 8u32; -pub const ALG_SID_SAFERSK64: u32 = 7u32; -pub const ALG_SID_SCHANNEL_ENC_KEY: u32 = 7u32; -pub const ALG_SID_SCHANNEL_MAC_KEY: u32 = 3u32; -pub const ALG_SID_SCHANNEL_MASTER_HASH: u32 = 2u32; -pub const ALG_SID_SEAL: u32 = 2u32; -pub const ALG_SID_SHA: u32 = 4u32; -pub const ALG_SID_SHA1: u32 = 4u32; -pub const ALG_SID_SHA_256: u32 = 12u32; -pub const ALG_SID_SHA_384: u32 = 13u32; -pub const ALG_SID_SHA_512: u32 = 14u32; -pub const ALG_SID_SKIPJACK: u32 = 10u32; -pub const ALG_SID_SSL2_MASTER: u32 = 5u32; -pub const ALG_SID_SSL3SHAMD5: u32 = 8u32; -pub const ALG_SID_SSL3_MASTER: u32 = 1u32; -pub const ALG_SID_TEK: u32 = 11u32; -pub const ALG_SID_THIRDPARTY_ANY: u32 = 0u32; -pub const ALG_SID_TLS1PRF: u32 = 10u32; -pub const ALG_SID_TLS1_MASTER: u32 = 6u32; -pub const ALG_TYPE_ANY: u32 = 0u32; -pub const ALG_TYPE_BLOCK: u32 = 1536u32; -pub const ALG_TYPE_DH: u32 = 2560u32; -pub const ALG_TYPE_DSS: u32 = 512u32; -pub const ALG_TYPE_ECDH: u32 = 3584u32; -pub const ALG_TYPE_RSA: u32 = 1024u32; -pub const ALG_TYPE_SECURECHANNEL: u32 = 3072u32; -pub const ALG_TYPE_STREAM: u32 = 2048u32; -pub const ALG_TYPE_THIRDPARTY: u32 = 4096u32; -pub const AT_KEYEXCHANGE: CERT_KEY_SPEC = 1u32; -pub const AT_SIGNATURE: CERT_KEY_SPEC = 2u32; -pub const AUDIT_CARD_DELETE: ::windows_sys::core::HRESULT = 1074070017i32; -pub const AUDIT_CARD_IMPORT: ::windows_sys::core::HRESULT = 1074070018i32; -pub const AUDIT_CARD_WRITTEN: ::windows_sys::core::HRESULT = 1074070016i32; -pub const AUDIT_SERVICE_IDLE_STOP: ::windows_sys::core::HRESULT = 1074070022i32; -pub const AUDIT_STORE_DELETE: ::windows_sys::core::HRESULT = 1074070021i32; -pub const AUDIT_STORE_EXPORT: ::windows_sys::core::HRESULT = 1074070020i32; -pub const AUDIT_STORE_IMPORT: ::windows_sys::core::HRESULT = 1074070019i32; -pub const AUTHTYPE_CLIENT: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 1u32; -pub const AUTHTYPE_SERVER: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 2u32; -pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG: u32 = 2147483648u32; -pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG: u32 = 1073741824u32; -pub const BCRYPTBUFFER_VERSION: u32 = 0u32; -pub const BCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES_112"); -pub const BCRYPT_3DES_112_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 369u32 as _; -pub const BCRYPT_3DES_112_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 401u32 as _; -pub const BCRYPT_3DES_112_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 385u32 as _; -pub const BCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES"); -pub const BCRYPT_3DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 321u32 as _; -pub const BCRYPT_3DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 353u32 as _; -pub const BCRYPT_3DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 337u32 as _; -pub const BCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); -pub const BCRYPT_AES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 417u32 as _; -pub const BCRYPT_AES_CCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 465u32 as _; -pub const BCRYPT_AES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 449u32 as _; -pub const BCRYPT_AES_CMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES-CMAC"); -pub const BCRYPT_AES_CMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 257u32 as _; -pub const BCRYPT_AES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 433u32 as _; -pub const BCRYPT_AES_GCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 481u32 as _; -pub const BCRYPT_AES_GMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES-GMAC"); -pub const BCRYPT_AES_GMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 273u32 as _; -pub const BCRYPT_AES_WRAP_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Rfc3565KeyWrapBlob"); -pub const BCRYPT_ALGORITHM_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlgorithmName"); -pub const BCRYPT_ALG_HANDLE_HMAC_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 8u32; -pub const BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: BCRYPT_INTERFACE = 3u32; -pub const BCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: BCRYPT_OPERATION = 4u32; -pub const BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION: u32 = 1u32; -pub const BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG: u32 = 1u32; -pub const BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG: u32 = 2u32; -pub const BCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthTagLength"); -pub const BCRYPT_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BlockLength"); -pub const BCRYPT_BLOCK_PADDING: BCRYPT_FLAGS = 1u32; -pub const BCRYPT_BLOCK_SIZE_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BlockSizeList"); -pub const BCRYPT_BUFFERS_LOCKED_FLAG: u32 = 64u32; -pub const BCRYPT_CAPI_AES_FLAG: u32 = 16u32; -pub const BCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPI_KDF"); -pub const BCRYPT_CAPI_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 801u32 as _; -pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CHACHA20_POLY1305"); -pub const BCRYPT_CHACHA20_POLY1305_ALG_HANDLE: BCRYPT_ALG_HANDLE = 929u32 as _; -pub const BCRYPT_CHAINING_MODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingMode"); -pub const BCRYPT_CHAIN_MODE_CBC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCBC"); -pub const BCRYPT_CHAIN_MODE_CCM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCCM"); -pub const BCRYPT_CHAIN_MODE_CFB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCFB"); -pub const BCRYPT_CHAIN_MODE_ECB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeECB"); -pub const BCRYPT_CHAIN_MODE_GCM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeGCM"); -pub const BCRYPT_CHAIN_MODE_NA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeN/A"); -pub const BCRYPT_CIPHER_INTERFACE: BCRYPT_INTERFACE = 1u32; -pub const BCRYPT_CIPHER_OPERATION: BCRYPT_OPERATION = 1u32; -pub const BCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DESX"); -pub const BCRYPT_DESX_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 545u32 as _; -pub const BCRYPT_DESX_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 577u32 as _; -pub const BCRYPT_DESX_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 561u32 as _; -pub const BCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); -pub const BCRYPT_DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 497u32 as _; -pub const BCRYPT_DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 529u32 as _; -pub const BCRYPT_DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 513u32 as _; -pub const BCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); -pub const BCRYPT_DH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 641u32 as _; -pub const BCRYPT_DH_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHParameters"); -pub const BCRYPT_DH_PARAMETERS_MAGIC: u32 = 1297107012u32; -pub const BCRYPT_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHPRIVATEBLOB"); -pub const BCRYPT_DH_PRIVATE_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1448101956u32; -pub const BCRYPT_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHPUBLICBLOB"); -pub const BCRYPT_DH_PUBLIC_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1112557636u32; -pub const BCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); -pub const BCRYPT_DSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 721u32 as _; -pub const BCRYPT_DSA_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAParameters"); -pub const BCRYPT_DSA_PARAMETERS_MAGIC: u32 = 1297109828u32; -pub const BCRYPT_DSA_PARAMETERS_MAGIC_V2: u32 = 843927620u32; -pub const BCRYPT_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAPRIVATEBLOB"); -pub const BCRYPT_DSA_PRIVATE_MAGIC: BCRYPT_DSA_MAGIC = 1448104772u32; -pub const BCRYPT_DSA_PRIVATE_MAGIC_V2: u32 = 844517444u32; -pub const BCRYPT_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAPUBLICBLOB"); -pub const BCRYPT_DSA_PUBLIC_MAGIC: BCRYPT_DSA_MAGIC = 1112560452u32; -pub const BCRYPT_DSA_PUBLIC_MAGIC_V2: u32 = 843206724u32; -pub const BCRYPT_ECCFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCFULLPRIVATEBLOB"); -pub const BCRYPT_ECCFULLPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCFULLPUBLICBLOB"); -pub const BCRYPT_ECCPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCPRIVATEBLOB"); -pub const BCRYPT_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCPUBLICBLOB"); -pub const BCRYPT_ECC_CURVE_25519: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("curve25519"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP160r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP160t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP192r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP192t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP224r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP224t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP256r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP256t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP320r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP320t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP384r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP384t1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP512r1"); -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP512t1"); -pub const BCRYPT_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ec192wapi"); -pub const BCRYPT_ECC_CURVE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveName"); -pub const BCRYPT_ECC_CURVE_NAME_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveNameList"); -pub const BCRYPT_ECC_CURVE_NISTP192: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP192"); -pub const BCRYPT_ECC_CURVE_NISTP224: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP224"); -pub const BCRYPT_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP256"); -pub const BCRYPT_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP384"); -pub const BCRYPT_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP521"); -pub const BCRYPT_ECC_CURVE_NUMSP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP256t1"); -pub const BCRYPT_ECC_CURVE_NUMSP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP384t1"); -pub const BCRYPT_ECC_CURVE_NUMSP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP512t1"); -pub const BCRYPT_ECC_CURVE_SECP160K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160k1"); -pub const BCRYPT_ECC_CURVE_SECP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160r1"); -pub const BCRYPT_ECC_CURVE_SECP160R2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160r2"); -pub const BCRYPT_ECC_CURVE_SECP192K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP192k1"); -pub const BCRYPT_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP192r1"); -pub const BCRYPT_ECC_CURVE_SECP224K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP224k1"); -pub const BCRYPT_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP224r1"); -pub const BCRYPT_ECC_CURVE_SECP256K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP256k1"); -pub const BCRYPT_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP256r1"); -pub const BCRYPT_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP384r1"); -pub const BCRYPT_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP521r1"); -pub const BCRYPT_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls12"); -pub const BCRYPT_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls7"); -pub const BCRYPT_ECC_CURVE_WTLS9: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls9"); -pub const BCRYPT_ECC_CURVE_X962P192V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v1"); -pub const BCRYPT_ECC_CURVE_X962P192V2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v2"); -pub const BCRYPT_ECC_CURVE_X962P192V3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v3"); -pub const BCRYPT_ECC_CURVE_X962P239V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v1"); -pub const BCRYPT_ECC_CURVE_X962P239V2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v2"); -pub const BCRYPT_ECC_CURVE_X962P239V3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v3"); -pub const BCRYPT_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P256v1"); -pub const BCRYPT_ECC_FULLKEY_BLOB_V1: u32 = 1u32; -pub const BCRYPT_ECC_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCParameters"); -pub const BCRYPT_ECC_PARAMETERS_MAGIC: u32 = 1346585413u32; -pub const BCRYPT_ECC_PRIME_MONTGOMERY_CURVE: ECC_CURVE_TYPE_ENUM = 3i32; -pub const BCRYPT_ECC_PRIME_SHORT_WEIERSTRASS_CURVE: ECC_CURVE_TYPE_ENUM = 1i32; -pub const BCRYPT_ECC_PRIME_TWISTED_EDWARDS_CURVE: ECC_CURVE_TYPE_ENUM = 2i32; -pub const BCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); -pub const BCRYPT_ECDH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 657u32 as _; -pub const BCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P256"); -pub const BCRYPT_ECDH_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 673u32 as _; -pub const BCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P384"); -pub const BCRYPT_ECDH_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 689u32 as _; -pub const BCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P521"); -pub const BCRYPT_ECDH_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 705u32 as _; -pub const BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC: u32 = 1447772997u32; -pub const BCRYPT_ECDH_PRIVATE_P256_MAGIC: u32 = 843793221u32; -pub const BCRYPT_ECDH_PRIVATE_P384_MAGIC: u32 = 877347653u32; -pub const BCRYPT_ECDH_PRIVATE_P521_MAGIC: u32 = 910902085u32; -pub const BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC: u32 = 1347109701u32; -pub const BCRYPT_ECDH_PUBLIC_P256_MAGIC: u32 = 827016005u32; -pub const BCRYPT_ECDH_PUBLIC_P384_MAGIC: u32 = 860570437u32; -pub const BCRYPT_ECDH_PUBLIC_P521_MAGIC: u32 = 894124869u32; -pub const BCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); -pub const BCRYPT_ECDSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 241u32 as _; -pub const BCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P256"); -pub const BCRYPT_ECDSA_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 737u32 as _; -pub const BCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P384"); -pub const BCRYPT_ECDSA_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 753u32 as _; -pub const BCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P521"); -pub const BCRYPT_ECDSA_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 769u32 as _; -pub const BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC: u32 = 1447314245u32; -pub const BCRYPT_ECDSA_PRIVATE_P256_MAGIC: u32 = 844317509u32; -pub const BCRYPT_ECDSA_PRIVATE_P384_MAGIC: u32 = 877871941u32; -pub const BCRYPT_ECDSA_PRIVATE_P521_MAGIC: u32 = 911426373u32; -pub const BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC: u32 = 1346650949u32; -pub const BCRYPT_ECDSA_PUBLIC_P256_MAGIC: u32 = 827540293u32; -pub const BCRYPT_ECDSA_PUBLIC_P384_MAGIC: u32 = 861094725u32; -pub const BCRYPT_ECDSA_PUBLIC_P521_MAGIC: u32 = 894649157u32; -pub const BCRYPT_EFFECTIVE_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EffectiveKeyLength"); -pub const BCRYPT_ENABLE_INCOMPATIBLE_FIPS_CHECKS: u32 = 256u32; -pub const BCRYPT_EXTENDED_KEYSIZE: u32 = 128u32; -pub const BCRYPT_GENERATE_IV: u32 = 32u32; -pub const BCRYPT_GLOBAL_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecretAgreementParam"); -pub const BCRYPT_HASH_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashBlockLength"); -pub const BCRYPT_HASH_INTERFACE: BCRYPT_INTERFACE = 2u32; -pub const BCRYPT_HASH_INTERFACE_MAJORVERSION_2: u32 = 2u32; -pub const BCRYPT_HASH_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashDigestLength"); -pub const BCRYPT_HASH_OID_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashOIDList"); -pub const BCRYPT_HASH_OPERATION: BCRYPT_OPERATION = 2u32; -pub const BCRYPT_HASH_OPERATION_FINISH_HASH: BCRYPT_HASH_OPERATION_TYPE = 2i32; -pub const BCRYPT_HASH_OPERATION_HASH_DATA: BCRYPT_HASH_OPERATION_TYPE = 1i32; -pub const BCRYPT_HASH_REUSABLE_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 32u32; -pub const BCRYPT_HKDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HKDF"); -pub const BCRYPT_HKDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 913u32 as _; -pub const BCRYPT_HKDF_HASH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfHashAlgorithm"); -pub const BCRYPT_HKDF_PRK_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfPrkAndFinalize"); -pub const BCRYPT_HKDF_SALT_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfSaltAndFinalize"); -pub const BCRYPT_HMAC_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 289u32 as _; -pub const BCRYPT_HMAC_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 305u32 as _; -pub const BCRYPT_HMAC_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 145u32 as _; -pub const BCRYPT_HMAC_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 161u32 as _; -pub const BCRYPT_HMAC_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 177u32 as _; -pub const BCRYPT_HMAC_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 193u32 as _; -pub const BCRYPT_HMAC_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 209u32 as _; -pub const BCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IV"); -pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsIfxTpmWeakKey"); -pub const BCRYPT_IS_KEYED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsKeyedHash"); -pub const BCRYPT_IS_REUSABLE_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsReusableHash"); -pub const BCRYPT_KDF_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HASH"); -pub const BCRYPT_KDF_HKDF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HKDF"); -pub const BCRYPT_KDF_HMAC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HMAC"); -pub const BCRYPT_KDF_RAW_SECRET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TRUNCATE"); -pub const BCRYPT_KDF_SP80056A_CONCAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); -pub const BCRYPT_KDF_TLS_PRF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS_PRF"); -pub const BCRYPT_KEY_DATA_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyDataBlob"); -pub const BCRYPT_KEY_DATA_BLOB_MAGIC: u32 = 1296188491u32; -pub const BCRYPT_KEY_DATA_BLOB_VERSION1: u32 = 1u32; -pub const BCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; -pub const BCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; -pub const BCRYPT_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLength"); -pub const BCRYPT_KEY_LENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLengths"); -pub const BCRYPT_KEY_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyObjectLength"); -pub const BCRYPT_KEY_STRENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyStrength"); -pub const BCRYPT_KEY_VALIDATION_RANGE: u32 = 16u32; -pub const BCRYPT_KEY_VALIDATION_RANGE_AND_ORDER: u32 = 24u32; -pub const BCRYPT_KEY_VALIDATION_REGENERATE: u32 = 32u32; -pub const BCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD2"); -pub const BCRYPT_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 1u32 as _; -pub const BCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD4"); -pub const BCRYPT_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 17u32 as _; -pub const BCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD5"); -pub const BCRYPT_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 33u32 as _; -pub const BCRYPT_MESSAGE_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MessageBlockLength"); -pub const BCRYPT_MULTI_FLAG: u32 = 64u32; -pub const BCRYPT_MULTI_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MultiObjectLength"); -pub const BCRYPT_NO_CURVE_GENERATION_ALG_ID: ECC_CURVE_ALG_ID_ENUM = 0i32; -pub const BCRYPT_NO_KEY_VALIDATION: u32 = 8u32; -pub const BCRYPT_OBJECT_ALIGNMENT: u32 = 16u32; -pub const BCRYPT_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ObjectLength"); -pub const BCRYPT_OPAQUE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OpaqueKeyBlob"); -pub const BCRYPT_OPERATION_TYPE_HASH: BCRYPT_MULTI_OPERATION_TYPE = 1i32; -pub const BCRYPT_PADDING_SCHEMES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PaddingSchemes"); -pub const BCRYPT_PAD_NONE: BCRYPT_FLAGS = 1u32; -pub const BCRYPT_PAD_OAEP: BCRYPT_FLAGS = 4u32; -pub const BCRYPT_PAD_PKCS1: BCRYPT_FLAGS = 2u32; -pub const BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID: u32 = 16u32; -pub const BCRYPT_PAD_PSS: BCRYPT_FLAGS = 8u32; -pub const BCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PBKDF2"); -pub const BCRYPT_PBKDF2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 817u32 as _; -pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_TYPE"); -pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDER_VERSION"); -pub const BCRYPT_PRIMITIVE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrimitiveType"); -pub const BCRYPT_PRIVATE_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivKeyVal"); -pub const BCRYPT_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PRIVATEBLOB"); -pub const BCRYPT_PRIVATE_KEY_FLAG: u32 = 2u32; -pub const BCRYPT_PROVIDER_HANDLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderHandle"); -pub const BCRYPT_PROV_DISPATCH: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 1u32; -pub const BCRYPT_PUBLIC_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PUBLICBLOB"); -pub const BCRYPT_PUBLIC_KEY_FLAG: u32 = 1u32; -pub const BCRYPT_PUBLIC_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); -pub const BCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); -pub const BCRYPT_RC2_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 593u32 as _; -pub const BCRYPT_RC2_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 625u32 as _; -pub const BCRYPT_RC2_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 609u32 as _; -pub const BCRYPT_RC4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC4"); -pub const BCRYPT_RC4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 113u32 as _; -pub const BCRYPT_RNG_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RNG"); -pub const BCRYPT_RNG_ALG_HANDLE: BCRYPT_ALG_HANDLE = 129u32 as _; -pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DUALECRNG"); -pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FIPS186DSARNG"); -pub const BCRYPT_RNG_INTERFACE: BCRYPT_INTERFACE = 6u32; -pub const BCRYPT_RNG_OPERATION: BCRYPT_OPERATION = 32u32; -pub const BCRYPT_RNG_USE_ENTROPY_IN_BUFFER: BCRYPTGENRANDOM_FLAGS = 1u32; -pub const BCRYPT_RSAFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAFULLPRIVATEBLOB"); -pub const BCRYPT_RSAFULLPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 859919186u32; -pub const BCRYPT_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAPRIVATEBLOB"); -pub const BCRYPT_RSAPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 843141970u32; -pub const BCRYPT_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAPUBLICBLOB"); -pub const BCRYPT_RSAPUBLIC_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 826364754u32; -pub const BCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); -pub const BCRYPT_RSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 225u32 as _; -pub const BCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA_SIGN"); -pub const BCRYPT_RSA_SIGN_ALG_HANDLE: BCRYPT_ALG_HANDLE = 785u32 as _; -pub const BCRYPT_SECRET_AGREEMENT_INTERFACE: BCRYPT_INTERFACE = 4u32; -pub const BCRYPT_SECRET_AGREEMENT_OPERATION: BCRYPT_OPERATION = 8u32; -pub const BCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA1"); -pub const BCRYPT_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 49u32 as _; -pub const BCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA256"); -pub const BCRYPT_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 65u32 as _; -pub const BCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA384"); -pub const BCRYPT_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 81u32 as _; -pub const BCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA512"); -pub const BCRYPT_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 97u32 as _; -pub const BCRYPT_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 5u32; -pub const BCRYPT_SIGNATURE_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureLength"); -pub const BCRYPT_SIGNATURE_OPERATION: BCRYPT_OPERATION = 16u32; -pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_108_CTR_HMAC"); -pub const BCRYPT_SP800108_CTR_HMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 833u32 as _; -pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); -pub const BCRYPT_SP80056A_CONCAT_ALG_HANDLE: BCRYPT_ALG_HANDLE = 849u32 as _; -pub const BCRYPT_SUPPORTED_PAD_OAEP: u32 = 8u32; -pub const BCRYPT_SUPPORTED_PAD_PKCS1_ENC: u32 = 2u32; -pub const BCRYPT_SUPPORTED_PAD_PKCS1_SIG: u32 = 4u32; -pub const BCRYPT_SUPPORTED_PAD_PSS: u32 = 16u32; -pub const BCRYPT_SUPPORTED_PAD_ROUTER: u32 = 1u32; -pub const BCRYPT_TLS1_1_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS1_1_KDF"); -pub const BCRYPT_TLS1_1_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 865u32 as _; -pub const BCRYPT_TLS1_2_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS1_2_KDF"); -pub const BCRYPT_TLS1_2_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 881u32 as _; -pub const BCRYPT_TLS_CBC_HMAC_VERIFY_FLAG: u32 = 4u32; -pub const BCRYPT_USE_SYSTEM_PREFERRED_RNG: BCRYPTGENRANDOM_FLAGS = 2u32; -pub const BCRYPT_XTS_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XTS-AES"); -pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = 897u32 as _; -pub const CALG_3DES: ALG_ID = 26115u32; -pub const CALG_3DES_112: ALG_ID = 26121u32; -pub const CALG_AES: ALG_ID = 26129u32; -pub const CALG_AES_128: ALG_ID = 26126u32; -pub const CALG_AES_192: ALG_ID = 26127u32; -pub const CALG_AES_256: ALG_ID = 26128u32; -pub const CALG_AGREEDKEY_ANY: ALG_ID = 43523u32; -pub const CALG_CYLINK_MEK: ALG_ID = 26124u32; -pub const CALG_DES: ALG_ID = 26113u32; -pub const CALG_DESX: ALG_ID = 26116u32; -pub const CALG_DH_EPHEM: ALG_ID = 43522u32; -pub const CALG_DH_SF: ALG_ID = 43521u32; -pub const CALG_DSS_SIGN: ALG_ID = 8704u32; -pub const CALG_ECDH: ALG_ID = 43525u32; -pub const CALG_ECDH_EPHEM: ALG_ID = 44550u32; -pub const CALG_ECDSA: ALG_ID = 8707u32; -pub const CALG_ECMQV: ALG_ID = 40961u32; -pub const CALG_HASH_REPLACE_OWF: ALG_ID = 32779u32; -pub const CALG_HMAC: ALG_ID = 32777u32; -pub const CALG_HUGHES_MD5: ALG_ID = 40963u32; -pub const CALG_KEA_KEYX: ALG_ID = 43524u32; -pub const CALG_MAC: ALG_ID = 32773u32; -pub const CALG_MD2: ALG_ID = 32769u32; -pub const CALG_MD4: ALG_ID = 32770u32; -pub const CALG_MD5: ALG_ID = 32771u32; -pub const CALG_NO_SIGN: ALG_ID = 8192u32; -pub const CALG_NULLCIPHER: ALG_ID = 24576u32; -pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32; -pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32; -pub const CALG_PCT1_MASTER: ALG_ID = 19460u32; -pub const CALG_RC2: ALG_ID = 26114u32; -pub const CALG_RC4: ALG_ID = 26625u32; -pub const CALG_RC5: ALG_ID = 26125u32; -pub const CALG_RSA_KEYX: ALG_ID = 41984u32; -pub const CALG_RSA_SIGN: ALG_ID = 9216u32; -pub const CALG_SCHANNEL_ENC_KEY: ALG_ID = 19463u32; -pub const CALG_SCHANNEL_MAC_KEY: ALG_ID = 19459u32; -pub const CALG_SCHANNEL_MASTER_HASH: ALG_ID = 19458u32; -pub const CALG_SEAL: ALG_ID = 26626u32; -pub const CALG_SHA: ALG_ID = 32772u32; -pub const CALG_SHA1: ALG_ID = 32772u32; -pub const CALG_SHA_256: ALG_ID = 32780u32; -pub const CALG_SHA_384: ALG_ID = 32781u32; -pub const CALG_SHA_512: ALG_ID = 32782u32; -pub const CALG_SKIPJACK: ALG_ID = 26122u32; -pub const CALG_SSL2_MASTER: ALG_ID = 19461u32; -pub const CALG_SSL3_MASTER: ALG_ID = 19457u32; -pub const CALG_SSL3_SHAMD5: ALG_ID = 32776u32; -pub const CALG_TEK: ALG_ID = 26123u32; -pub const CALG_THIRDPARTY_CIPHER: ALG_ID = 28672u32; -pub const CALG_THIRDPARTY_HASH: ALG_ID = 36864u32; -pub const CALG_THIRDPARTY_KEY_EXCHANGE: ALG_ID = 45056u32; -pub const CALG_THIRDPARTY_SIGNATURE: ALG_ID = 12288u32; -pub const CALG_TLS1PRF: ALG_ID = 32778u32; -pub const CALG_TLS1_MASTER: ALG_ID = 19462u32; -pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x961f180f_f55c_413d_a9b3_7d2af4d8e42f); -pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38373906_5433_4633_b0fb_29b7e78262e1); -pub const CCertificateEnrollmentPolicyServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xafe2fa32_41b1_459d_a5de_49add8a72182); -pub const CCertificateEnrollmentServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9902f3bc_88af_4cf8_ae62_7140531552b6); -pub const CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG: u32 = 8u32; -pub const CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG: u32 = 4u32; -pub const CERT_ACCESS_STATE_PROP_ID: u32 = 14u32; -pub const CERT_ACCESS_STATE_SHARED_USER_FLAG: u32 = 16u32; -pub const CERT_ACCESS_STATE_SYSTEM_STORE_FLAG: u32 = 2u32; -pub const CERT_ACCESS_STATE_WRITE_PERSIST_FLAG: u32 = 1u32; -pub const CERT_AIA_URL_RETRIEVED_PROP_ID: u32 = 67u32; -pub const CERT_ALT_NAME_EDI_PARTY_NAME: u32 = 6u32; -pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK: u32 = 255u32; -pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT: u32 = 16u32; -pub const CERT_ALT_NAME_VALUE_ERR_INDEX_MASK: u32 = 65535u32; -pub const CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT: u32 = 0u32; -pub const CERT_ALT_NAME_X400_ADDRESS: u32 = 4u32; -pub const CERT_ARCHIVED_KEY_HASH_PROP_ID: u32 = 65u32; -pub const CERT_ARCHIVED_PROP_ID: u32 = 19u32; -pub const CERT_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 68u32; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG: u32 = 2u32; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG: u32 = 1u32; -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncodedCtl"); -pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); -pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LastSyncTime"); -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootDirUrl"); -pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncDeltaTime"); -pub const CERT_AUTH_ROOT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authrootstl.cab"); -pub const CERT_AUTH_ROOT_CERT_EXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".crt"); -pub const CERT_AUTH_ROOT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authroot.stl"); -pub const CERT_AUTH_ROOT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("authroot.stl"); -pub const CERT_AUTH_ROOT_SEQ_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authrootseq.txt"); -pub const CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: u32 = 98u32; -pub const CERT_AUTO_ENROLL_PROP_ID: u32 = 21u32; -pub const CERT_AUTO_ENROLL_RETRY_PROP_ID: u32 = 66u32; -pub const CERT_AUTO_UPDATE_DISABLE_RANDOM_QUERY_STRING_FLAG: u32 = 4u32; -pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootDirUrl"); -pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncFromDirUrl"); -pub const CERT_BACKED_UP_PROP_ID: u32 = 69u32; -pub const CERT_BIOMETRIC_OID_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 2u32; -pub const CERT_BIOMETRIC_PICTURE_TYPE: u32 = 0u32; -pub const CERT_BIOMETRIC_PREDEFINED_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 1u32; -pub const CERT_BIOMETRIC_SIGNATURE_TYPE: u32 = 1u32; -pub const CERT_BUNDLE_CERTIFICATE: u32 = 0u32; -pub const CERT_BUNDLE_CRL: u32 = 1u32; -pub const CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG: u32 = 2u32; -pub const CERT_CA_DISABLE_CRL_PROP_ID: u32 = 82u32; -pub const CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 81u32; -pub const CERT_CA_SUBJECT_FLAG: u32 = 128u32; -pub const CERT_CEP_PROP_ID: u32 = 87u32; -pub const CERT_CHAIN_AUTO_CURRENT_USER: u32 = 1u32; -pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlags"); -pub const CERT_CHAIN_AUTO_FLUSH_DISABLE_FLAG: u32 = 1u32; -pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlushFirstDeltaSeconds"); -pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlushNextDeltaSeconds"); -pub const CERT_CHAIN_AUTO_HPKP_RULE_INFO: u32 = 8u32; -pub const CERT_CHAIN_AUTO_IMPERSONATED: u32 = 3u32; -pub const CERT_CHAIN_AUTO_LOCAL_MACHINE: u32 = 2u32; -pub const CERT_CHAIN_AUTO_LOG_CREATE_FLAG: u32 = 2u32; -pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoLogFileName"); -pub const CERT_CHAIN_AUTO_LOG_FLUSH_FLAG: u32 = 8u32; -pub const CERT_CHAIN_AUTO_LOG_FREE_FLAG: u32 = 4u32; -pub const CERT_CHAIN_AUTO_NETWORK_INFO: u32 = 6u32; -pub const CERT_CHAIN_AUTO_PINRULE_INFO: u32 = 5u32; -pub const CERT_CHAIN_AUTO_PROCESS_INFO: u32 = 4u32; -pub const CERT_CHAIN_AUTO_SERIAL_LOCAL_MACHINE: u32 = 7u32; -pub const CERT_CHAIN_CACHE_END_CERT: u32 = 1u32; -pub const CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL: u32 = 4u32; -pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainCacheResyncFiletime"); -pub const CERT_CHAIN_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config"); -pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT: u32 = 12u32; -pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLValidityExtensionPeriod"); -pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossCertDownloadIntervalHours"); -pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default"); -pub const CERT_CHAIN_DISABLE_AIA: u32 = 8192u32; -pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableAIAUrlRetrieval"); -pub const CERT_CHAIN_DISABLE_ALL_EKU_WEAK_FLAG: u32 = 65536u32; -pub const CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE: u32 = 256u32; -pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableAutoFlushProcessNameList"); -pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableCANameConstraints"); -pub const CERT_CHAIN_DISABLE_CODE_SIGNING_WEAK_FLAG: u32 = 4194304u32; -pub const CERT_CHAIN_DISABLE_ECC_PARA_FLAG: u32 = 16u32; -pub const CERT_CHAIN_DISABLE_FILE_HASH_WEAK_FLAG: u32 = 4096u32; -pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableMandatoryBasicConstraints"); -pub const CERT_CHAIN_DISABLE_MD2_MD4: u32 = 4096u32; -pub const CERT_CHAIN_DISABLE_MOTW_CODE_SIGNING_WEAK_FLAG: u32 = 8388608u32; -pub const CERT_CHAIN_DISABLE_MOTW_FILE_HASH_WEAK_FLAG: u32 = 8192u32; -pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_HASH_WEAK_FLAG: u32 = 32768u32; -pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_WEAK_FLAG: u32 = 134217728u32; -pub const CERT_CHAIN_DISABLE_MY_PEER_TRUST: u32 = 2048u32; -pub const CERT_CHAIN_DISABLE_OPT_IN_SERVER_AUTH_WEAK_FLAG: u32 = 262144u32; -pub const CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING: u32 = 64u32; -pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSerialChain"); -pub const CERT_CHAIN_DISABLE_SERVER_AUTH_WEAK_FLAG: u32 = 1048576u32; -pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSyncWithSslTime"); -pub const CERT_CHAIN_DISABLE_TIMESTAMP_HASH_WEAK_FLAG: u32 = 16384u32; -pub const CERT_CHAIN_DISABLE_TIMESTAMP_WEAK_FLAG: u32 = 67108864u32; -pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableUnsupportedCriticalExtensions"); -pub const CERT_CHAIN_ENABLE_ALL_EKU_HYGIENE_FLAG: u32 = 131072u32; -pub const CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE: u32 = 16u32; -pub const CERT_CHAIN_ENABLE_CODE_SIGNING_HYGIENE_FLAG: u32 = 16777216u32; -pub const CERT_CHAIN_ENABLE_DISALLOWED_CA: u32 = 131072u32; -pub const CERT_CHAIN_ENABLE_MD2_MD4_FLAG: u32 = 1u32; -pub const CERT_CHAIN_ENABLE_MOTW_CODE_SIGNING_HYGIENE_FLAG: u32 = 33554432u32; -pub const CERT_CHAIN_ENABLE_MOTW_TIMESTAMP_HYGIENE_FLAG: u32 = 536870912u32; -pub const CERT_CHAIN_ENABLE_ONLY_WEAK_LOGGING_FLAG: u32 = 8u32; -pub const CERT_CHAIN_ENABLE_PEER_TRUST: u32 = 1024u32; -pub const CERT_CHAIN_ENABLE_SERVER_AUTH_HYGIENE_FLAG: u32 = 2097152u32; -pub const CERT_CHAIN_ENABLE_SHARE_STORE: u32 = 32u32; -pub const CERT_CHAIN_ENABLE_TIMESTAMP_HYGIENE_FLAG: u32 = 268435456u32; -pub const CERT_CHAIN_ENABLE_WEAK_LOGGING_FLAG: u32 = 4u32; -pub const CERT_CHAIN_ENABLE_WEAK_RSA_ROOT_FLAG: u32 = 2u32; -pub const CERT_CHAIN_ENABLE_WEAK_SETTINGS_FLAG: u32 = 2147483648u32; -pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableWeakSignatureFlags"); -pub const CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG: u32 = 1u32; -pub const CERT_CHAIN_FIND_BY_ISSUER: u32 = 1u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 32768u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_URL_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 4u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_COMPARE_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 1u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_COMPLEX_CHAIN_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 2u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_LOCAL_MACHINE_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 8u32; -pub const CERT_CHAIN_FIND_BY_ISSUER_NO_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 16384u32; -pub const CERT_CHAIN_HAS_MOTW: u32 = 16384u32; -pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT: u32 = 5u32; -pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlCountInCert"); -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 100000u32; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalByteCount"); -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT: u32 = 10u32; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalCertCount"); -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT: u32 = 3u32; -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalCountPerChain"); -pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DEFAULT: u32 = 5u32; -pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DISABLE: u32 = 4294967295u32; -pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxSslTimeUpdatedEventCount"); -pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxUrlRetrievalByteCount"); -pub const CERT_CHAIN_MIN_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; -pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DEFAULT: u32 = 1023u32; -pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; -pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinRsaPubKeyBitLength"); -pub const CERT_CHAIN_MOTW_IGNORE_AFTER_TIME_WEAK_FLAG: u32 = 1073741824u32; -pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OcspValiditySeconds"); -pub const CERT_CHAIN_ONLY_ADDITIONAL_AND_AUTH_ROOT: u32 = 32768u32; -pub const CERT_CHAIN_OPTIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Options"); -pub const CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL: u32 = 2u32; -pub const CERT_CHAIN_OPTION_ENABLE_SIA_URL_RETRIEVAL: u32 = 4u32; -pub const CERT_CHAIN_OPT_IN_WEAK_FLAGS: u32 = 262144u32; -pub const CERT_CHAIN_OPT_IN_WEAK_SIGNATURE: u32 = 65536u32; -pub const CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 32768u32; -pub const CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG: CERT_CHAIN_POLICY_FLAGS = 16u32; -pub const CERT_CHAIN_POLICY_AUTHENTICODE: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CERT_CHAIN_POLICY_AUTHENTICODE_TS: ::windows_sys::core::PCSTR = 3i32 as _; -pub const CERT_CHAIN_POLICY_BASE: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CERT_CHAIN_POLICY_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 5i32 as _; -pub const CERT_CHAIN_POLICY_EV: ::windows_sys::core::PCSTR = 8i32 as _; -pub const CERT_CHAIN_POLICY_IGNORE_ALL_NOT_TIME_VALID_FLAGS: CERT_CHAIN_POLICY_FLAGS = 7u32; -pub const CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS: CERT_CHAIN_POLICY_FLAGS = 3840u32; -pub const CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 1024u32; -pub const CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 2u32; -pub const CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 512u32; -pub const CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 256u32; -pub const CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG: CERT_CHAIN_POLICY_FLAGS = 8u32; -pub const CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG: CERT_CHAIN_POLICY_FLAGS = 64u32; -pub const CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG: CERT_CHAIN_POLICY_FLAGS = 128u32; -pub const CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG: CERT_CHAIN_POLICY_FLAGS = 8192u32; -pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG: CERT_CHAIN_POLICY_FLAGS = 4u32; -pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 1u32; -pub const CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG: CERT_CHAIN_POLICY_FLAGS = 4096u32; -pub const CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 2048u32; -pub const CERT_CHAIN_POLICY_IGNORE_WEAK_SIGNATURE_FLAG: u32 = 134217728u32; -pub const CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG: CERT_CHAIN_POLICY_FLAGS = 32u32; -pub const CERT_CHAIN_POLICY_MICROSOFT_ROOT: ::windows_sys::core::PCSTR = 7i32 as _; -pub const CERT_CHAIN_POLICY_NT_AUTH: ::windows_sys::core::PCSTR = 6i32 as _; -pub const CERT_CHAIN_POLICY_SSL: ::windows_sys::core::PCSTR = 4i32 as _; -pub const CERT_CHAIN_POLICY_SSL_F12: ::windows_sys::core::PCSTR = 9i32 as _; -pub const CERT_CHAIN_POLICY_SSL_F12_ERROR_LEVEL: u32 = 2u32; -pub const CERT_CHAIN_POLICY_SSL_F12_NONE_CATEGORY: u32 = 0u32; -pub const CERT_CHAIN_POLICY_SSL_F12_ROOT_PROGRAM_CATEGORY: u32 = 2u32; -pub const CERT_CHAIN_POLICY_SSL_F12_SUCCESS_LEVEL: u32 = 0u32; -pub const CERT_CHAIN_POLICY_SSL_F12_WARNING_LEVEL: u32 = 1u32; -pub const CERT_CHAIN_POLICY_SSL_F12_WEAK_CRYPTO_CATEGORY: u32 = 1u32; -pub const CERT_CHAIN_POLICY_SSL_HPKP_HEADER: ::windows_sys::core::PCSTR = 10i32 as _; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN: ::windows_sys::core::PCSTR = 12i32 as _; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_ERROR: i32 = -2i32; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_WARNING: u32 = 2u32; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_ERROR: i32 = -1i32; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_WARNING: u32 = 1u32; -pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_SUCCESS: u32 = 0u32; -pub const CERT_CHAIN_POLICY_THIRD_PARTY_ROOT: ::windows_sys::core::PCSTR = 11i32 as _; -pub const CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 16384u32; -pub const CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS: u32 = 128u32; -pub const CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT: u32 = 134217728u32; -pub const CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY: u32 = 2147483648u32; -pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN: u32 = 536870912u32; -pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 1073741824u32; -pub const CERT_CHAIN_REVOCATION_CHECK_END_CERT: u32 = 268435456u32; -pub const CERT_CHAIN_REVOCATION_CHECK_OCSP_CERT: u32 = 67108864u32; -pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds"); -pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialChainLogFileName"); -pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslHandshakeLogFileName"); -pub const CERT_CHAIN_STRONG_SIGN_DISABLE_END_CHECK_FLAG: u32 = 1u32; -pub const CERT_CHAIN_THREAD_STORE_SYNC: u32 = 2u32; -pub const CERT_CHAIN_TIMESTAMP_TIME: u32 = 512u32; -pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainUrlRetrievalTimeoutMilliseconds"); -pub const CERT_CHAIN_USE_LOCAL_MACHINE_STORE: u32 = 8u32; -pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AfterTime"); -pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("All"); -pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileHashAfterTime"); -pub const CERT_CHAIN_WEAK_FLAGS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); -pub const CERT_CHAIN_WEAK_HYGIENE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Hygiene"); -pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinBitLength"); -pub const CERT_CHAIN_WEAK_PREFIX_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Weak"); -pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WeakRsaPubKeyTime"); -pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Sha256Allow"); -pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WeakSignatureLogDir"); -pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ThirdParty"); -pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TimestampHashAfterTime"); -pub const CERT_CLOSE_STORE_CHECK_FLAG: u32 = 2u32; -pub const CERT_CLOSE_STORE_FORCE_FLAG: u32 = 1u32; -pub const CERT_CLR_DELETE_KEY_PROP_ID: u32 = 125u32; -pub const CERT_COMPARE_ANY: u32 = 0u32; -pub const CERT_COMPARE_ATTR: u32 = 3u32; -pub const CERT_COMPARE_CERT_ID: u32 = 16u32; -pub const CERT_COMPARE_CROSS_CERT_DIST_POINTS: u32 = 17u32; -pub const CERT_COMPARE_CTL_USAGE: u32 = 10u32; -pub const CERT_COMPARE_ENHKEY_USAGE: u32 = 10u32; -pub const CERT_COMPARE_EXISTING: u32 = 13u32; -pub const CERT_COMPARE_HASH: u32 = 1u32; -pub const CERT_COMPARE_HASH_STR: u32 = 20u32; -pub const CERT_COMPARE_HAS_PRIVATE_KEY: u32 = 21u32; -pub const CERT_COMPARE_ISSUER_OF: u32 = 12u32; -pub const CERT_COMPARE_KEY_IDENTIFIER: u32 = 15u32; -pub const CERT_COMPARE_KEY_SPEC: u32 = 9u32; -pub const CERT_COMPARE_MASK: u32 = 65535u32; -pub const CERT_COMPARE_MD5_HASH: u32 = 4u32; -pub const CERT_COMPARE_NAME: u32 = 2u32; -pub const CERT_COMPARE_NAME_STR_A: u32 = 7u32; -pub const CERT_COMPARE_NAME_STR_W: u32 = 8u32; -pub const CERT_COMPARE_PROPERTY: u32 = 5u32; -pub const CERT_COMPARE_PUBKEY_MD5_HASH: u32 = 18u32; -pub const CERT_COMPARE_PUBLIC_KEY: u32 = 6u32; -pub const CERT_COMPARE_SHA1_HASH: u32 = 1u32; -pub const CERT_COMPARE_SHIFT: i32 = 16i32; -pub const CERT_COMPARE_SIGNATURE_HASH: u32 = 14u32; -pub const CERT_COMPARE_SUBJECT_CERT: u32 = 11u32; -pub const CERT_COMPARE_SUBJECT_INFO_ACCESS: u32 = 19u32; -pub const CERT_CONTEXT_REVOCATION_TYPE: u32 = 1u32; -pub const CERT_CREATE_CONTEXT_NOCOPY_FLAG: u32 = 1u32; -pub const CERT_CREATE_CONTEXT_NO_ENTRY_FLAG: u32 = 8u32; -pub const CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG: u32 = 4u32; -pub const CERT_CREATE_CONTEXT_SORTED_FLAG: u32 = 2u32; -pub const CERT_CREATE_SELFSIGN_NO_KEY_INFO: CERT_CREATE_SELFSIGN_FLAGS = 2u32; -pub const CERT_CREATE_SELFSIGN_NO_SIGN: CERT_CREATE_SELFSIGN_FLAGS = 1u32; -pub const CERT_CRL_SIGN_KEY_USAGE: u32 = 2u32; -pub const CERT_CROSS_CERT_DIST_POINTS_PROP_ID: u32 = 23u32; -pub const CERT_CTL_USAGE_PROP_ID: u32 = 9u32; -pub const CERT_DATA_ENCIPHERMENT_KEY_USAGE: u32 = 16u32; -pub const CERT_DATE_STAMP_PROP_ID: u32 = 27u32; -pub const CERT_DECIPHER_ONLY_KEY_USAGE: u32 = 128u32; -pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); -pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); -pub const CERT_DESCRIPTION_PROP_ID: u32 = 13u32; -pub const CERT_DIGITAL_SIGNATURE_KEY_USAGE: u32 = 128u32; -pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisablePinRulesAutoUpdate"); -pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableRootAutoUpdate"); -pub const CERT_DISALLOWED_CA_FILETIME_PROP_ID: u32 = 128u32; -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertEncodedCtl"); -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertLastSyncTime"); -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCert_AutoUpdate_1"); -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertSyncDeltaTime"); -pub const CERT_DISALLOWED_CERT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("disallowedcertstl.cab"); -pub const CERT_DISALLOWED_CERT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("disallowedcert.stl"); -pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("disallowedcert.stl"); -pub const CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: u32 = 122u32; -pub const CERT_DISALLOWED_FILETIME_PROP_ID: u32 = 104u32; -pub const CERT_DSS_R_LEN: u32 = 20u32; -pub const CERT_DSS_S_LEN: u32 = 20u32; -pub const CERT_EFSBLOB_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EFSBlob"); -pub const CERT_EFS_PROP_ID: u32 = 17u32; -pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableDisallowedCertAutoUpdate"); -pub const CERT_ENCIPHER_ONLY_KEY_USAGE: u32 = 1u32; -pub const CERT_ENCODING_TYPE_MASK: u32 = 65535u32; -pub const CERT_END_ENTITY_SUBJECT_FLAG: u32 = 64u32; -pub const CERT_ENHKEY_USAGE_PROP_ID: u32 = 9u32; -pub const CERT_ENROLLMENT_PROP_ID: u32 = 26u32; -pub const CERT_EXCLUDED_SUBTREE_BIT: i32 = -2147483648i32; -pub const CERT_EXTENDED_ERROR_INFO_PROP_ID: u32 = 30u32; -pub const CERT_FILE_HASH_USE_TYPE: u32 = 1u32; -pub const CERT_FILE_STORE_COMMIT_ENABLE_FLAG: u32 = 65536u32; -pub const CERT_FIND_ANY: CERT_FIND_FLAGS = 0u32; -pub const CERT_FIND_CERT_ID: CERT_FIND_FLAGS = 1048576u32; -pub const CERT_FIND_CROSS_CERT_DIST_POINTS: CERT_FIND_FLAGS = 1114112u32; -pub const CERT_FIND_CTL_USAGE: CERT_FIND_FLAGS = 655360u32; -pub const CERT_FIND_ENHKEY_USAGE: CERT_FIND_FLAGS = 655360u32; -pub const CERT_FIND_EXISTING: CERT_FIND_FLAGS = 851968u32; -pub const CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 2u32; -pub const CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 2u32; -pub const CERT_FIND_HASH: CERT_FIND_FLAGS = 65536u32; -pub const CERT_FIND_HASH_STR: CERT_FIND_FLAGS = 1310720u32; -pub const CERT_FIND_HAS_PRIVATE_KEY: CERT_FIND_FLAGS = 1376256u32; -pub const CERT_FIND_ISSUER_ATTR: CERT_FIND_FLAGS = 196612u32; -pub const CERT_FIND_ISSUER_NAME: CERT_FIND_FLAGS = 131076u32; -pub const CERT_FIND_ISSUER_OF: CERT_FIND_FLAGS = 786432u32; -pub const CERT_FIND_ISSUER_STR: CERT_FIND_FLAGS = 524292u32; -pub const CERT_FIND_ISSUER_STR_A: CERT_FIND_FLAGS = 458756u32; -pub const CERT_FIND_ISSUER_STR_W: CERT_FIND_FLAGS = 524292u32; -pub const CERT_FIND_KEY_IDENTIFIER: CERT_FIND_FLAGS = 983040u32; -pub const CERT_FIND_KEY_SPEC: CERT_FIND_FLAGS = 589824u32; -pub const CERT_FIND_MD5_HASH: CERT_FIND_FLAGS = 262144u32; -pub const CERT_FIND_NO_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 8u32; -pub const CERT_FIND_NO_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 8u32; -pub const CERT_FIND_OPTIONAL_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 1u32; -pub const CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 1u32; -pub const CERT_FIND_OR_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 16u32; -pub const CERT_FIND_OR_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 16u32; -pub const CERT_FIND_PROPERTY: CERT_FIND_FLAGS = 327680u32; -pub const CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 4u32; -pub const CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 4u32; -pub const CERT_FIND_PUBKEY_MD5_HASH: CERT_FIND_FLAGS = 1179648u32; -pub const CERT_FIND_PUBLIC_KEY: CERT_FIND_FLAGS = 393216u32; -pub const CERT_FIND_SHA1_HASH: CERT_FIND_FLAGS = 65536u32; -pub const CERT_FIND_SIGNATURE_HASH: CERT_FIND_FLAGS = 917504u32; -pub const CERT_FIND_SUBJECT_ATTR: CERT_FIND_FLAGS = 196615u32; -pub const CERT_FIND_SUBJECT_CERT: CERT_FIND_FLAGS = 720896u32; -pub const CERT_FIND_SUBJECT_INFO_ACCESS: CERT_FIND_FLAGS = 1245184u32; -pub const CERT_FIND_SUBJECT_NAME: CERT_FIND_FLAGS = 131079u32; -pub const CERT_FIND_SUBJECT_STR: CERT_FIND_FLAGS = 524295u32; -pub const CERT_FIND_SUBJECT_STR_A: CERT_FIND_FLAGS = 458759u32; -pub const CERT_FIND_SUBJECT_STR_W: CERT_FIND_FLAGS = 524295u32; -pub const CERT_FIND_VALID_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 32u32; -pub const CERT_FIND_VALID_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 32u32; -pub const CERT_FIRST_RESERVED_PROP_ID: u32 = 129u32; -pub const CERT_FIRST_USER_PROP_ID: u32 = 32768u32; -pub const CERT_FORTEZZA_DATA_PROP_ID: u32 = 18u32; -pub const CERT_FRIENDLY_NAME_PROP_ID: u32 = 11u32; -pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Policies\\Microsoft\\SystemCertificates"); -pub const CERT_HASH_PROP_ID: u32 = 3u32; -pub const CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 79u32; -pub const CERT_HCRYPTPROV_TRANSFER_PROP_ID: u32 = 100u32; -pub const CERT_ID_ISSUER_SERIAL_NUMBER: CERT_ID_OPTION = 1u32; -pub const CERT_ID_KEY_IDENTIFIER: CERT_ID_OPTION = 2u32; -pub const CERT_ID_SHA1_HASH: CERT_ID_OPTION = 3u32; -pub const CERT_IE30_RESERVED_PROP_ID: u32 = 7u32; -pub const CERT_IE_DIRTY_FLAGS_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\IEDirtyFlags"); -pub const CERT_INFO_EXTENSION_FLAG: u32 = 11u32; -pub const CERT_INFO_ISSUER_FLAG: u32 = 4u32; -pub const CERT_INFO_ISSUER_UNIQUE_ID_FLAG: u32 = 9u32; -pub const CERT_INFO_NOT_AFTER_FLAG: u32 = 6u32; -pub const CERT_INFO_NOT_BEFORE_FLAG: u32 = 5u32; -pub const CERT_INFO_SERIAL_NUMBER_FLAG: u32 = 2u32; -pub const CERT_INFO_SIGNATURE_ALGORITHM_FLAG: u32 = 3u32; -pub const CERT_INFO_SUBJECT_FLAG: u32 = 7u32; -pub const CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG: u32 = 8u32; -pub const CERT_INFO_SUBJECT_UNIQUE_ID_FLAG: u32 = 10u32; -pub const CERT_INFO_VERSION_FLAG: u32 = 1u32; -pub const CERT_ISOLATED_KEY_PROP_ID: u32 = 118u32; -pub const CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 96u32; -pub const CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 95u32; -pub const CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 24u32; -pub const CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 94u32; -pub const CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: u32 = 28u32; -pub const CERT_KEYGEN_REQUEST_V1: u32 = 0u32; -pub const CERT_KEY_AGREEMENT_KEY_USAGE: u32 = 8u32; -pub const CERT_KEY_CERT_SIGN_KEY_USAGE: u32 = 4u32; -pub const CERT_KEY_CLASSIFICATION_PROP_ID: u32 = 120u32; -pub const CERT_KEY_CONTEXT_PROP_ID: u32 = 5u32; -pub const CERT_KEY_ENCIPHERMENT_KEY_USAGE: u32 = 32u32; -pub const CERT_KEY_IDENTIFIER_PROP_ID: u32 = 20u32; -pub const CERT_KEY_PROV_HANDLE_PROP_ID: u32 = 1u32; -pub const CERT_KEY_PROV_INFO_PROP_ID: u32 = 2u32; -pub const CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: u32 = 103u32; -pub const CERT_KEY_SPEC_PROP_ID: u32 = 6u32; -pub const CERT_LAST_RESERVED_PROP_ID: u32 = 32767u32; -pub const CERT_LAST_USER_PROP_ID: u32 = 65535u32; -pub const CERT_LDAP_STORE_AREC_EXCLUSIVE_FLAG: u32 = 131072u32; -pub const CERT_LDAP_STORE_OPENED_FLAG: u32 = 262144u32; -pub const CERT_LDAP_STORE_SIGN_FLAG: u32 = 65536u32; -pub const CERT_LDAP_STORE_UNBIND_FLAG: u32 = 524288u32; -pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\SystemCertificates"); -pub const CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 1u32; -pub const CERT_LOGOTYPE_COLOR_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 2u32; -pub const CERT_LOGOTYPE_DIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 1u32; -pub const CERT_LOGOTYPE_GRAY_SCALE_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 1u32; -pub const CERT_LOGOTYPE_INDIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 2u32; -pub const CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 0u32; -pub const CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 2u32; -pub const CERT_MD5_HASH_PROP_ID: u32 = 4u32; -pub const CERT_NAME_ATTR_TYPE: u32 = 3u32; -pub const CERT_NAME_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32; -pub const CERT_NAME_DNS_TYPE: u32 = 6u32; -pub const CERT_NAME_EMAIL_TYPE: u32 = 1u32; -pub const CERT_NAME_FRIENDLY_DISPLAY_TYPE: u32 = 5u32; -pub const CERT_NAME_ISSUER_FLAG: u32 = 1u32; -pub const CERT_NAME_RDN_TYPE: u32 = 2u32; -pub const CERT_NAME_SEARCH_ALL_NAMES_FLAG: u32 = 2u32; -pub const CERT_NAME_SIMPLE_DISPLAY_TYPE: u32 = 4u32; -pub const CERT_NAME_STR_COMMA_FLAG: u32 = 67108864u32; -pub const CERT_NAME_STR_CRLF_FLAG: u32 = 134217728u32; -pub const CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32; -pub const CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: u32 = 1048576u32; -pub const CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: u32 = 2097152u32; -pub const CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: u32 = 131072u32; -pub const CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: u32 = 262144u32; -pub const CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: u32 = 524288u32; -pub const CERT_NAME_STR_FORWARD_FLAG: u32 = 16777216u32; -pub const CERT_NAME_STR_NO_PLUS_FLAG: u32 = 536870912u32; -pub const CERT_NAME_STR_NO_QUOTING_FLAG: u32 = 268435456u32; -pub const CERT_NAME_STR_REVERSE_FLAG: u32 = 33554432u32; -pub const CERT_NAME_STR_SEMICOLON_FLAG: u32 = 1073741824u32; -pub const CERT_NAME_UPN_TYPE: u32 = 8u32; -pub const CERT_NAME_URL_TYPE: u32 = 7u32; -pub const CERT_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 78u32; -pub const CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: u32 = 99u32; -pub const CERT_NCRYPT_KEY_SPEC: CERT_KEY_SPEC = 4294967295u32; -pub const CERT_NEW_KEY_PROP_ID: u32 = 74u32; -pub const CERT_NEXT_UPDATE_LOCATION_PROP_ID: u32 = 10u32; -pub const CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: u32 = 123u32; -pub const CERT_NON_REPUDIATION_KEY_USAGE: u32 = 64u32; -pub const CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: u32 = 127u32; -pub const CERT_NOT_BEFORE_FILETIME_PROP_ID: u32 = 126u32; -pub const CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: u32 = 77u32; -pub const CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: u32 = 97u32; -pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents"); -pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootAutoUpdate"); -pub const CERT_OCSP_CACHE_PREFIX_PROP_ID: u32 = 75u32; -pub const CERT_OCSP_MUST_STAPLE_PROP_ID: u32 = 121u32; -pub const CERT_OCSP_RESPONSE_PROP_ID: u32 = 70u32; -pub const CERT_OFFLINE_CRL_SIGN_KEY_USAGE: u32 = 2u32; -pub const CERT_OID_NAME_STR: CERT_STRING_TYPE = 2u32; -pub const CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG: u32 = 1u32; -pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".AuthRoot"); -pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Default"); -pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".UserCertificate"); -pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Enterprise"); -pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".GroupPolicy"); -pub const CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG: u32 = 8u32; -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".LocalMachineGroupPolicy"); -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".LocalMachine"); -pub const CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG: u32 = 2u32; -pub const CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG: u32 = 1u32; -pub const CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG: u32 = 4u32; -pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".SmartCard"); -pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesEncodedCtl"); -pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesLastSyncTime"); -pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRules_AutoUpdate_1"); -pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesSyncDeltaTime"); -pub const CERT_PIN_RULES_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pinrulesstl.cab"); -pub const CERT_PIN_RULES_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pinrules.stl"); -pub const CERT_PIN_RULES_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("pinrules.stl"); -pub const CERT_PIN_SHA256_HASH_PROP_ID: u32 = 124u32; -pub const CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG: u32 = 1u32; -pub const CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG: u32 = 8u32; -pub const CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG: u32 = 32u32; -pub const CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG: u32 = 16u32; -pub const CERT_PROT_ROOT_DISABLE_PEER_TRUST: u32 = 65536u32; -pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); -pub const CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG: u32 = 2u32; -pub const CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG: u32 = 4u32; -pub const CERT_PROT_ROOT_ONLY_LM_GPT_FLAG: u32 = 8u32; -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerUsages"); -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PeerUsages"); -pub const CERT_PUBKEY_ALG_PARA_PROP_ID: u32 = 22u32; -pub const CERT_PUBKEY_HASH_RESERVED_PROP_ID: u32 = 8u32; -pub const CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 93u32; -pub const CERT_PVK_FILE_PROP_ID: u32 = 12u32; -pub const CERT_QUERY_CONTENT_CERT: CERT_QUERY_CONTENT_TYPE = 1u32; -pub const CERT_QUERY_CONTENT_CERT_PAIR: CERT_QUERY_CONTENT_TYPE = 13u32; -pub const CERT_QUERY_CONTENT_CRL: CERT_QUERY_CONTENT_TYPE = 3u32; -pub const CERT_QUERY_CONTENT_CTL: CERT_QUERY_CONTENT_TYPE = 2u32; -pub const CERT_QUERY_CONTENT_FLAG_ALL: CERT_QUERY_CONTENT_TYPE_FLAGS = 16382u32; -pub const CERT_QUERY_CONTENT_FLAG_ALL_ISSUER_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 818u32; -pub const CERT_QUERY_CONTENT_FLAG_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 2u32; -pub const CERT_QUERY_CONTENT_FLAG_CERT_PAIR: CERT_QUERY_CONTENT_TYPE_FLAGS = 8192u32; -pub const CERT_QUERY_CONTENT_FLAG_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 8u32; -pub const CERT_QUERY_CONTENT_FLAG_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 4u32; -pub const CERT_QUERY_CONTENT_FLAG_PFX: CERT_QUERY_CONTENT_TYPE_FLAGS = 4096u32; -pub const CERT_QUERY_CONTENT_FLAG_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE_FLAGS = 16384u32; -pub const CERT_QUERY_CONTENT_FLAG_PKCS10: CERT_QUERY_CONTENT_TYPE_FLAGS = 2048u32; -pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 256u32; -pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE_FLAGS = 1024u32; -pub const CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 512u32; -pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 32u32; -pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 128u32; -pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 64u32; -pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE_FLAGS = 16u32; -pub const CERT_QUERY_CONTENT_PFX: CERT_QUERY_CONTENT_TYPE = 12u32; -pub const CERT_QUERY_CONTENT_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE = 14u32; -pub const CERT_QUERY_CONTENT_PKCS10: CERT_QUERY_CONTENT_TYPE = 11u32; -pub const CERT_QUERY_CONTENT_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE = 8u32; -pub const CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE = 10u32; -pub const CERT_QUERY_CONTENT_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE = 9u32; -pub const CERT_QUERY_CONTENT_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE = 5u32; -pub const CERT_QUERY_CONTENT_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE = 7u32; -pub const CERT_QUERY_CONTENT_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE = 6u32; -pub const CERT_QUERY_CONTENT_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE = 4u32; -pub const CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE = 3u32; -pub const CERT_QUERY_FORMAT_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE = 2u32; -pub const CERT_QUERY_FORMAT_BINARY: CERT_QUERY_FORMAT_TYPE = 1u32; -pub const CERT_QUERY_FORMAT_FLAG_ALL: CERT_QUERY_FORMAT_TYPE_FLAGS = 14u32; -pub const CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 8u32; -pub const CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 4u32; -pub const CERT_QUERY_FORMAT_FLAG_BINARY: CERT_QUERY_FORMAT_TYPE_FLAGS = 2u32; -pub const CERT_QUERY_OBJECT_BLOB: CERT_QUERY_OBJECT_TYPE = 2u32; -pub const CERT_QUERY_OBJECT_FILE: CERT_QUERY_OBJECT_TYPE = 1u32; -pub const CERT_RDN_ANY_TYPE: CERT_RDN_ATTR_VALUE_TYPE = 0i32; -pub const CERT_RDN_BMP_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12i32; -pub const CERT_RDN_DISABLE_CHECK_TYPE_FLAG: u32 = 1073741824u32; -pub const CERT_RDN_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32; -pub const CERT_RDN_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32; -pub const CERT_RDN_ENABLE_T61_UNICODE_FLAG: u32 = 2147483648u32; -pub const CERT_RDN_ENABLE_UTF8_UNICODE_FLAG: u32 = 536870912u32; -pub const CERT_RDN_ENCODED_BLOB: CERT_RDN_ATTR_VALUE_TYPE = 1i32; -pub const CERT_RDN_FLAGS_MASK: u32 = 4278190080u32; -pub const CERT_RDN_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32; -pub const CERT_RDN_GENERAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 10i32; -pub const CERT_RDN_GRAPHIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 8i32; -pub const CERT_RDN_IA5_STRING: CERT_RDN_ATTR_VALUE_TYPE = 7i32; -pub const CERT_RDN_INT4_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11i32; -pub const CERT_RDN_ISO646_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9i32; -pub const CERT_RDN_NUMERIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 3i32; -pub const CERT_RDN_OCTET_STRING: CERT_RDN_ATTR_VALUE_TYPE = 2i32; -pub const CERT_RDN_PRINTABLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 4i32; -pub const CERT_RDN_T61_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5i32; -pub const CERT_RDN_TELETEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5i32; -pub const CERT_RDN_TYPE_MASK: u32 = 255u32; -pub const CERT_RDN_UNICODE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12i32; -pub const CERT_RDN_UNIVERSAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11i32; -pub const CERT_RDN_UTF8_STRING: CERT_RDN_ATTR_VALUE_TYPE = 13i32; -pub const CERT_RDN_VIDEOTEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 6i32; -pub const CERT_RDN_VISIBLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9i32; -pub const CERT_REGISTRY_STORE_CLIENT_GPT_FLAG: u32 = 2147483648u32; -pub const CERT_REGISTRY_STORE_EXTERNAL_FLAG: u32 = 1048576u32; -pub const CERT_REGISTRY_STORE_LM_GPT_FLAG: u32 = 16777216u32; -pub const CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG: u32 = 524288u32; -pub const CERT_REGISTRY_STORE_REMOTE_FLAG: u32 = 65536u32; -pub const CERT_REGISTRY_STORE_ROAMING_FLAG: u32 = 262144u32; -pub const CERT_REGISTRY_STORE_SERIALIZED_FLAG: u32 = 131072u32; -pub const CERT_RENEWAL_PROP_ID: u32 = 64u32; -pub const CERT_REQUEST_ORIGINATOR_PROP_ID: u32 = 71u32; -pub const CERT_REQUEST_V1: u32 = 0u32; -pub const CERT_RETRIEVE_BIOMETRIC_PREDEFINED_BASE_TYPE: ::windows_sys::core::PCSTR = 1000i32 as _; -pub const CERT_RETRIEVE_COMMUNITY_LOGO: ::windows_sys::core::PCSTR = 3i32 as _; -pub const CERT_RETRIEVE_ISSUER_LOGO: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CERT_RETRIEVE_SUBJECT_LOGO: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AllowFileUrlScheme"); -pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableInetUnknownAuth"); -pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableInetLocal"); -pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableLDAPSignAndEncrypt"); -pub const CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: u32 = 83u32; -pub const CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: u32 = 105u32; -pub const CERT_ROOT_PROGRAM_FLAG_ADDRESS: u32 = 8u32; -pub const CERT_ROOT_PROGRAM_FLAG_LSC: CERT_ROOT_PROGRAM_FLAGS = 64u32; -pub const CERT_ROOT_PROGRAM_FLAG_ORG: CERT_ROOT_PROGRAM_FLAGS = 128u32; -pub const CERT_ROOT_PROGRAM_FLAG_OU: u32 = 16u32; -pub const CERT_ROOT_PROGRAM_FLAG_SUBJECT_LOGO: CERT_ROOT_PROGRAM_FLAGS = 32u32; -pub const CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: u32 = 84u32; -pub const CERT_RSA_PUBLIC_KEY_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); -pub const CERT_SCARD_PIN_ID_PROP_ID: u32 = 90u32; -pub const CERT_SCARD_PIN_INFO_PROP_ID: u32 = 91u32; -pub const CERT_SCEP_CA_CERT_PROP_ID: u32 = 111u32; -pub const CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: u32 = 114u32; -pub const CERT_SCEP_FLAGS_PROP_ID: u32 = 115u32; -pub const CERT_SCEP_GUID_PROP_ID: u32 = 116u32; -pub const CERT_SCEP_NONCE_PROP_ID: u32 = 113u32; -pub const CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: u32 = 110u32; -pub const CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: u32 = 109u32; -pub const CERT_SCEP_SERVER_CERTS_PROP_ID: u32 = 108u32; -pub const CERT_SCEP_SIGNER_CERT_PROP_ID: u32 = 112u32; -pub const CERT_SELECT_ALLOW_DUPLICATES: u32 = 128u32; -pub const CERT_SELECT_ALLOW_EXPIRED: u32 = 1u32; -pub const CERT_SELECT_BY_ENHKEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 1u32; -pub const CERT_SELECT_BY_EXTENSION: CERT_SELECT_CRITERIA_TYPE = 5u32; -pub const CERT_SELECT_BY_FRIENDLYNAME: u32 = 13u32; -pub const CERT_SELECT_BY_ISSUER_ATTR: CERT_SELECT_CRITERIA_TYPE = 7u32; -pub const CERT_SELECT_BY_ISSUER_DISPLAYNAME: u32 = 12u32; -pub const CERT_SELECT_BY_ISSUER_NAME: CERT_SELECT_CRITERIA_TYPE = 9u32; -pub const CERT_SELECT_BY_KEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 2u32; -pub const CERT_SELECT_BY_POLICY_OID: CERT_SELECT_CRITERIA_TYPE = 3u32; -pub const CERT_SELECT_BY_PROV_NAME: CERT_SELECT_CRITERIA_TYPE = 4u32; -pub const CERT_SELECT_BY_PUBLIC_KEY: CERT_SELECT_CRITERIA_TYPE = 10u32; -pub const CERT_SELECT_BY_SUBJECT_ATTR: CERT_SELECT_CRITERIA_TYPE = 8u32; -pub const CERT_SELECT_BY_SUBJECT_HOST_NAME: CERT_SELECT_CRITERIA_TYPE = 6u32; -pub const CERT_SELECT_BY_THUMBPRINT: u32 = 14u32; -pub const CERT_SELECT_BY_TLS_SIGNATURES: CERT_SELECT_CRITERIA_TYPE = 11u32; -pub const CERT_SELECT_DISALLOW_SELFSIGNED: u32 = 4u32; -pub const CERT_SELECT_HARDWARE_ONLY: u32 = 64u32; -pub const CERT_SELECT_HAS_KEY_FOR_KEY_EXCHANGE: u32 = 32u32; -pub const CERT_SELECT_HAS_KEY_FOR_SIGNATURE: u32 = 16u32; -pub const CERT_SELECT_HAS_PRIVATE_KEY: u32 = 8u32; -pub const CERT_SELECT_IGNORE_AUTOSELECT: u32 = 256u32; -pub const CERT_SELECT_MAX_PARA: u32 = 500u32; -pub const CERT_SELECT_TRUSTED_ROOT: u32 = 2u32; -pub const CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: u32 = 102u32; -pub const CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: u32 = 117u32; -pub const CERT_SERIAL_CHAIN_PROP_ID: u32 = 119u32; -pub const CERT_SERVER_OCSP_RESPONSE_ASYNC_FLAG: u32 = 1u32; -pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_READ_FLAG: u32 = 1u32; -pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_WRITE_FLAG: u32 = 2u32; -pub const CERT_SET_KEY_CONTEXT_PROP_ID: CRYPT_KEY_FLAGS = 1u32; -pub const CERT_SET_KEY_PROV_HANDLE_PROP_ID: CRYPT_KEY_FLAGS = 1u32; -pub const CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG: u32 = 2147483648u32; -pub const CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG: u32 = 1073741824u32; -pub const CERT_SHA1_HASH_PROP_ID: u32 = 3u32; -pub const CERT_SHA256_HASH_PROP_ID: u32 = 107u32; -pub const CERT_SIGNATURE_HASH_PROP_ID: u32 = 15u32; -pub const CERT_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 89u32; -pub const CERT_SIMPLE_NAME_STR: CERT_STRING_TYPE = 1u32; -pub const CERT_SMART_CARD_DATA_PROP_ID: u32 = 16u32; -pub const CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: u32 = 106u32; -pub const CERT_SMART_CARD_READER_PROP_ID: u32 = 101u32; -pub const CERT_SMART_CARD_ROOT_INFO_PROP_ID: u32 = 76u32; -pub const CERT_SOURCE_LOCATION_PROP_ID: u32 = 72u32; -pub const CERT_SOURCE_URL_PROP_ID: u32 = 73u32; -pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMaxBeforeNextUpdateSeconds"); -pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMaxSyncCertFileSeconds"); -pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinAfterNextUpdateSeconds"); -pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinBeforeNextUpdateSeconds"); -pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 5u32; -pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinSyncCertFileSeconds"); -pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinValiditySeconds"); -pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespUrlRetrievalTimeoutMilliseconds"); -pub const CERT_STORE_ADD_ALWAYS: u32 = 4u32; -pub const CERT_STORE_ADD_NEW: u32 = 1u32; -pub const CERT_STORE_ADD_NEWER: u32 = 6u32; -pub const CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES: u32 = 7u32; -pub const CERT_STORE_ADD_REPLACE_EXISTING: u32 = 3u32; -pub const CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES: u32 = 5u32; -pub const CERT_STORE_ADD_USE_EXISTING: u32 = 2u32; -pub const CERT_STORE_BACKUP_RESTORE_FLAG: CERT_OPEN_STORE_FLAGS = 2048u32; -pub const CERT_STORE_BASE_CRL_FLAG: u32 = 256u32; -pub const CERT_STORE_CERTIFICATE_CONTEXT: u32 = 1u32; -pub const CERT_STORE_CREATE_NEW_FLAG: CERT_OPEN_STORE_FLAGS = 8192u32; -pub const CERT_STORE_CRL_CONTEXT: u32 = 2u32; -pub const CERT_STORE_CTL_CONTEXT: u32 = 3u32; -pub const CERT_STORE_CTRL_AUTO_RESYNC: u32 = 4u32; -pub const CERT_STORE_CTRL_CANCEL_NOTIFY: u32 = 5u32; -pub const CERT_STORE_CTRL_COMMIT: u32 = 3u32; -pub const CERT_STORE_CTRL_COMMIT_CLEAR_FLAG: CERT_CONTROL_STORE_FLAGS = 2u32; -pub const CERT_STORE_CTRL_COMMIT_FORCE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32; -pub const CERT_STORE_CTRL_INHIBIT_DUPLICATE_HANDLE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32; -pub const CERT_STORE_CTRL_NOTIFY_CHANGE: u32 = 2u32; -pub const CERT_STORE_CTRL_RESYNC: u32 = 1u32; -pub const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG: CERT_OPEN_STORE_FLAGS = 4u32; -pub const CERT_STORE_DELETE_FLAG: CERT_OPEN_STORE_FLAGS = 16u32; -pub const CERT_STORE_DELTA_CRL_FLAG: u32 = 512u32; -pub const CERT_STORE_ENUM_ARCHIVED_FLAG: CERT_OPEN_STORE_FLAGS = 512u32; -pub const CERT_STORE_LOCALIZED_NAME_PROP_ID: u32 = 4096u32; -pub const CERT_STORE_MANIFOLD_FLAG: u32 = 256u32; -pub const CERT_STORE_MAXIMUM_ALLOWED_FLAG: CERT_OPEN_STORE_FLAGS = 4096u32; -pub const CERT_STORE_NO_CRL_FLAG: u32 = 65536u32; -pub const CERT_STORE_NO_CRYPT_RELEASE_FLAG: CERT_OPEN_STORE_FLAGS = 1u32; -pub const CERT_STORE_NO_ISSUER_FLAG: u32 = 131072u32; -pub const CERT_STORE_OPEN_EXISTING_FLAG: CERT_OPEN_STORE_FLAGS = 16384u32; -pub const CERT_STORE_PROV_CLOSE_FUNC: u32 = 0u32; -pub const CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = 11i32 as _; -pub const CERT_STORE_PROV_CONTROL_FUNC: u32 = 13u32; -pub const CERT_STORE_PROV_DELETED_FLAG: CERT_STORE_PROV_FLAGS = 2u32; -pub const CERT_STORE_PROV_DELETE_CERT_FUNC: u32 = 3u32; -pub const CERT_STORE_PROV_DELETE_CRL_FUNC: u32 = 7u32; -pub const CERT_STORE_PROV_DELETE_CTL_FUNC: u32 = 11u32; -pub const CERT_STORE_PROV_EXTERNAL_FLAG: CERT_STORE_PROV_FLAGS = 1u32; -pub const CERT_STORE_PROV_FILE: ::windows_sys::core::PCSTR = 3i32 as _; -pub const CERT_STORE_PROV_FILENAME: i32 = 8i32; -pub const CERT_STORE_PROV_FILENAME_A: ::windows_sys::core::PCSTR = 7i32 as _; -pub const CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = 8i32 as _; -pub const CERT_STORE_PROV_FIND_CERT_FUNC: u32 = 14u32; -pub const CERT_STORE_PROV_FIND_CRL_FUNC: u32 = 17u32; -pub const CERT_STORE_PROV_FIND_CTL_FUNC: u32 = 20u32; -pub const CERT_STORE_PROV_FREE_FIND_CERT_FUNC: u32 = 15u32; -pub const CERT_STORE_PROV_FREE_FIND_CRL_FUNC: u32 = 18u32; -pub const CERT_STORE_PROV_FREE_FIND_CTL_FUNC: u32 = 21u32; -pub const CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC: u32 = 16u32; -pub const CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC: u32 = 19u32; -pub const CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC: u32 = 22u32; -pub const CERT_STORE_PROV_GP_SYSTEM_STORE_FLAG: u32 = 32u32; -pub const CERT_STORE_PROV_LDAP: i32 = 16i32; -pub const CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = 16i32 as _; -pub const CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 16u32; -pub const CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CERT_STORE_PROV_MSG: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CERT_STORE_PROV_NO_PERSIST_FLAG: CERT_STORE_PROV_FLAGS = 4u32; -pub const CERT_STORE_PROV_PHYSICAL: i32 = 14i32; -pub const CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = 14i32 as _; -pub const CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = 17i32 as _; -pub const CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = 5i32 as _; -pub const CERT_STORE_PROV_READ_CERT_FUNC: u32 = 1u32; -pub const CERT_STORE_PROV_READ_CRL_FUNC: u32 = 5u32; -pub const CERT_STORE_PROV_READ_CTL_FUNC: u32 = 9u32; -pub const CERT_STORE_PROV_REG: ::windows_sys::core::PCSTR = 4i32 as _; -pub const CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = 6i32 as _; -pub const CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC: u32 = 4u32; -pub const CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC: u32 = 8u32; -pub const CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC: u32 = 12u32; -pub const CERT_STORE_PROV_SHARED_USER_FLAG: u32 = 64u32; -pub const CERT_STORE_PROV_SMART_CARD: i32 = 15i32; -pub const CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = 15i32 as _; -pub const CERT_STORE_PROV_SYSTEM: i32 = 10i32; -pub const CERT_STORE_PROV_SYSTEM_A: ::windows_sys::core::PCSTR = 9i32 as _; -pub const CERT_STORE_PROV_SYSTEM_REGISTRY: i32 = 13i32; -pub const CERT_STORE_PROV_SYSTEM_REGISTRY_A: ::windows_sys::core::PCSTR = 12i32 as _; -pub const CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = 13i32 as _; -pub const CERT_STORE_PROV_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 8u32; -pub const CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = 10i32 as _; -pub const CERT_STORE_PROV_WRITE_ADD_FLAG: u32 = 1u32; -pub const CERT_STORE_PROV_WRITE_CERT_FUNC: u32 = 2u32; -pub const CERT_STORE_PROV_WRITE_CRL_FUNC: u32 = 6u32; -pub const CERT_STORE_PROV_WRITE_CTL_FUNC: u32 = 10u32; -pub const CERT_STORE_READONLY_FLAG: CERT_OPEN_STORE_FLAGS = 32768u32; -pub const CERT_STORE_REVOCATION_FLAG: u32 = 4u32; -pub const CERT_STORE_SAVE_AS_PKCS12: u32 = 3u32; -pub const CERT_STORE_SAVE_AS_PKCS7: CERT_STORE_SAVE_AS = 2u32; -pub const CERT_STORE_SAVE_AS_STORE: CERT_STORE_SAVE_AS = 1u32; -pub const CERT_STORE_SAVE_TO_FILE: CERT_STORE_SAVE_TO = 1u32; -pub const CERT_STORE_SAVE_TO_FILENAME: CERT_STORE_SAVE_TO = 4u32; -pub const CERT_STORE_SAVE_TO_FILENAME_A: CERT_STORE_SAVE_TO = 3u32; -pub const CERT_STORE_SAVE_TO_FILENAME_W: CERT_STORE_SAVE_TO = 4u32; -pub const CERT_STORE_SAVE_TO_MEMORY: CERT_STORE_SAVE_TO = 2u32; -pub const CERT_STORE_SET_LOCALIZED_NAME_FLAG: CERT_OPEN_STORE_FLAGS = 2u32; -pub const CERT_STORE_SHARE_CONTEXT_FLAG: CERT_OPEN_STORE_FLAGS = 128u32; -pub const CERT_STORE_SHARE_STORE_FLAG: u32 = 64u32; -pub const CERT_STORE_SIGNATURE_FLAG: u32 = 1u32; -pub const CERT_STORE_TIME_VALIDITY_FLAG: u32 = 2u32; -pub const CERT_STORE_UNSAFE_PHYSICAL_FLAG: u32 = 32u32; -pub const CERT_STORE_UPDATE_KEYID_FLAG: CERT_OPEN_STORE_FLAGS = 1024u32; -pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); -pub const CERT_STRONG_SIGN_ENABLE_CRL_CHECK: CERT_STRONG_SIGN_FLAGS = 1u32; -pub const CERT_STRONG_SIGN_ENABLE_OCSP_CHECK: CERT_STRONG_SIGN_FLAGS = 2u32; -pub const CERT_STRONG_SIGN_OID_INFO_CHOICE: u32 = 2u32; -pub const CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE: u32 = 1u32; -pub const CERT_SUBJECT_DISABLE_CRL_PROP_ID: u32 = 86u32; -pub const CERT_SUBJECT_INFO_ACCESS_PROP_ID: u32 = 80u32; -pub const CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: u32 = 29u32; -pub const CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 85u32; -pub const CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 25u32; -pub const CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 92u32; -pub const CERT_SYSTEM_STORE_CURRENT_SERVICE_ID: u32 = 4u32; -pub const CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID: u32 = 7u32; -pub const CERT_SYSTEM_STORE_CURRENT_USER_ID: u32 = 1u32; -pub const CERT_SYSTEM_STORE_DEFER_READ_FLAG: u32 = 536870912u32; -pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID: u32 = 9u32; -pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID: u32 = 8u32; -pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ID: u32 = 2u32; -pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_WCOS_ID: u32 = 10u32; -pub const CERT_SYSTEM_STORE_LOCATION_MASK: CERT_SYSTEM_STORE_FLAGS = 16711680u32; -pub const CERT_SYSTEM_STORE_LOCATION_SHIFT: u32 = 16u32; -pub const CERT_SYSTEM_STORE_MASK: u32 = 4294901760u32; -pub const CERT_SYSTEM_STORE_RELOCATE_FLAG: CERT_SYSTEM_STORE_FLAGS = 2147483648u32; -pub const CERT_SYSTEM_STORE_SERVICES_ID: u32 = 5u32; -pub const CERT_SYSTEM_STORE_UNPROTECTED_FLAG: u32 = 1073741824u32; -pub const CERT_SYSTEM_STORE_USERS_ID: u32 = 6u32; -pub const CERT_TIMESTAMP_HASH_USE_TYPE: u32 = 2u32; -pub const CERT_TRUST_AUTO_UPDATE_CA_REVOCATION: u32 = 16u32; -pub const CERT_TRUST_AUTO_UPDATE_END_REVOCATION: u32 = 32u32; -pub const CERT_TRUST_BEFORE_DISALLOWED_CA_FILETIME: u32 = 2097152u32; -pub const CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID: u32 = 262144u32; -pub const CERT_TRUST_CTL_IS_NOT_TIME_VALID: u32 = 131072u32; -pub const CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE: u32 = 524288u32; -pub const CERT_TRUST_HAS_ALLOW_WEAK_SIGNATURE: u32 = 131072u32; -pub const CERT_TRUST_HAS_AUTO_UPDATE_WEAK_SIGNATURE: u32 = 32768u32; -pub const CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED: u32 = 4096u32; -pub const CERT_TRUST_HAS_EXACT_MATCH_ISSUER: u32 = 1u32; -pub const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT: u32 = 32768u32; -pub const CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY: u32 = 512u32; -pub const CERT_TRUST_HAS_KEY_MATCH_ISSUER: u32 = 2u32; -pub const CERT_TRUST_HAS_NAME_MATCH_ISSUER: u32 = 4u32; -pub const CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT: u32 = 8192u32; -pub const CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT: u32 = 16384u32; -pub const CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT: u32 = 134217728u32; -pub const CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT: u32 = 4096u32; -pub const CERT_TRUST_HAS_PREFERRED_ISSUER: u32 = 256u32; -pub const CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS: u32 = 1024u32; -pub const CERT_TRUST_HAS_WEAK_HYGIENE: u32 = 2097152u32; -pub const CERT_TRUST_HAS_WEAK_SIGNATURE: u32 = 1048576u32; -pub const CERT_TRUST_INVALID_BASIC_CONSTRAINTS: u32 = 1024u32; -pub const CERT_TRUST_INVALID_EXTENSION: u32 = 256u32; -pub const CERT_TRUST_INVALID_NAME_CONSTRAINTS: u32 = 2048u32; -pub const CERT_TRUST_INVALID_POLICY_CONSTRAINTS: u32 = 512u32; -pub const CERT_TRUST_IS_CA_TRUSTED: u32 = 16384u32; -pub const CERT_TRUST_IS_COMPLEX_CHAIN: u32 = 65536u32; -pub const CERT_TRUST_IS_CYCLIC: u32 = 128u32; -pub const CERT_TRUST_IS_EXPLICIT_DISTRUST: u32 = 67108864u32; -pub const CERT_TRUST_IS_FROM_EXCLUSIVE_TRUST_STORE: u32 = 8192u32; -pub const CERT_TRUST_IS_KEY_ROLLOVER: u32 = 128u32; -pub const CERT_TRUST_IS_NOT_SIGNATURE_VALID: u32 = 8u32; -pub const CERT_TRUST_IS_NOT_TIME_NESTED: u32 = 2u32; -pub const CERT_TRUST_IS_NOT_TIME_VALID: u32 = 1u32; -pub const CERT_TRUST_IS_NOT_VALID_FOR_USAGE: u32 = 16u32; -pub const CERT_TRUST_IS_OFFLINE_REVOCATION: u32 = 16777216u32; -pub const CERT_TRUST_IS_PARTIAL_CHAIN: u32 = 65536u32; -pub const CERT_TRUST_IS_PEER_TRUSTED: u32 = 2048u32; -pub const CERT_TRUST_IS_REVOKED: u32 = 4u32; -pub const CERT_TRUST_IS_SELF_SIGNED: u32 = 8u32; -pub const CERT_TRUST_IS_UNTRUSTED_ROOT: u32 = 32u32; -pub const CERT_TRUST_NO_ERROR: u32 = 0u32; -pub const CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY: u32 = 33554432u32; -pub const CERT_TRUST_NO_OCSP_FAILOVER_TO_CRL: u32 = 64u32; -pub const CERT_TRUST_NO_TIME_CHECK: u32 = 33554432u32; -pub const CERT_TRUST_PUB_ALLOW_END_USER_TRUST: u32 = 0u32; -pub const CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST: u32 = 2u32; -pub const CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST: u32 = 1u32; -pub const CERT_TRUST_PUB_ALLOW_TRUST_MASK: u32 = 3u32; -pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthenticodeFlags"); -pub const CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG: u32 = 256u32; -pub const CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG: u32 = 512u32; -pub const CERT_TRUST_REVOCATION_STATUS_UNKNOWN: u32 = 64u32; -pub const CERT_TRUST_SSL_HANDSHAKE_OCSP: u32 = 262144u32; -pub const CERT_TRUST_SSL_RECONNECT_OCSP: u32 = 1048576u32; -pub const CERT_TRUST_SSL_TIME_VALID: u32 = 16777216u32; -pub const CERT_TRUST_SSL_TIME_VALID_OCSP: u32 = 524288u32; -pub const CERT_UNICODE_ATTR_ERR_INDEX_MASK: u32 = 63u32; -pub const CERT_UNICODE_ATTR_ERR_INDEX_SHIFT: u32 = 16u32; -pub const CERT_UNICODE_IS_RDN_ATTRS_FLAG: u32 = 1u32; -pub const CERT_UNICODE_RDN_ERR_INDEX_MASK: u32 = 1023u32; -pub const CERT_UNICODE_RDN_ERR_INDEX_SHIFT: u32 = 22u32; -pub const CERT_UNICODE_VALUE_ERR_INDEX_MASK: u32 = 65535u32; -pub const CERT_UNICODE_VALUE_ERR_INDEX_SHIFT: u32 = 0u32; -pub const CERT_V1: u32 = 0u32; -pub const CERT_V2: u32 = 1u32; -pub const CERT_V3: u32 = 2u32; -pub const CERT_VERIFY_ALLOW_MORE_USAGE_FLAG: u32 = 8u32; -pub const CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION: u32 = 2u32; -pub const CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG: u32 = 1u32; -pub const CERT_VERIFY_NO_TIME_CHECK_FLAG: u32 = 4u32; -pub const CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG: u32 = 4u32; -pub const CERT_VERIFY_REV_CHAIN_FLAG: u32 = 1u32; -pub const CERT_VERIFY_REV_NO_OCSP_FAILOVER_TO_CRL_FLAG: u32 = 16u32; -pub const CERT_VERIFY_REV_SERVER_OCSP_FLAG: u32 = 8u32; -pub const CERT_VERIFY_REV_SERVER_OCSP_WIRE_ONLY_FLAG: u32 = 32u32; -pub const CERT_VERIFY_TRUSTED_SIGNERS_FLAG: u32 = 2u32; -pub const CERT_VERIFY_UPDATED_CTL_FLAG: u32 = 1u32; -pub const CERT_X500_NAME_STR: CERT_STRING_TYPE = 3u32; -pub const CERT_XML_NAME_STR: u32 = 4u32; -pub const CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = 63i32 as _; -pub const CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = 62i32 as _; -pub const CMC_DATA: ::windows_sys::core::PCSTR = 59i32 as _; -pub const CMC_FAIL_BAD_ALG: u32 = 0u32; -pub const CMC_FAIL_BAD_CERT_ID: u32 = 4u32; -pub const CMC_FAIL_BAD_IDENTITY: u32 = 7u32; -pub const CMC_FAIL_BAD_MESSAGE_CHECK: u32 = 1u32; -pub const CMC_FAIL_BAD_REQUEST: u32 = 2u32; -pub const CMC_FAIL_BAD_TIME: u32 = 3u32; -pub const CMC_FAIL_INTERNAL_CA_ERROR: u32 = 11u32; -pub const CMC_FAIL_MUST_ARCHIVE_KEYS: u32 = 6u32; -pub const CMC_FAIL_NO_KEY_REUSE: u32 = 10u32; -pub const CMC_FAIL_POP_FAILED: u32 = 9u32; -pub const CMC_FAIL_POP_REQUIRED: u32 = 8u32; -pub const CMC_FAIL_TRY_LATER: u32 = 12u32; -pub const CMC_FAIL_UNSUPORTED_EXT: u32 = 5u32; -pub const CMC_OTHER_INFO_FAIL_CHOICE: u32 = 1u32; -pub const CMC_OTHER_INFO_NO_CHOICE: u32 = 0u32; -pub const CMC_OTHER_INFO_PEND_CHOICE: u32 = 2u32; -pub const CMC_RESPONSE: ::windows_sys::core::PCSTR = 60i32 as _; -pub const CMC_STATUS: ::windows_sys::core::PCSTR = 61i32 as _; -pub const CMC_STATUS_CONFIRM_REQUIRED: u32 = 5u32; -pub const CMC_STATUS_FAILED: u32 = 2u32; -pub const CMC_STATUS_NO_SUPPORT: u32 = 4u32; -pub const CMC_STATUS_PENDING: u32 = 3u32; -pub const CMC_STATUS_SUCCESS: u32 = 0u32; -pub const CMC_TAGGED_CERT_REQUEST_CHOICE: u32 = 1u32; -pub const CMSCEPSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa4f5c02_8e7c_49c4_94fa_67a5cc5eadb4); -pub const CMSG_ATTR_CERT_COUNT_PARAM: u32 = 31u32; -pub const CMSG_ATTR_CERT_PARAM: u32 = 32u32; -pub const CMSG_AUTHENTICATED_ATTRIBUTES_FLAG: u32 = 8u32; -pub const CMSG_BARE_CONTENT_FLAG: u32 = 1u32; -pub const CMSG_BARE_CONTENT_PARAM: u32 = 3u32; -pub const CMSG_CERT_COUNT_PARAM: u32 = 11u32; -pub const CMSG_CERT_PARAM: u32 = 12u32; -pub const CMSG_CMS_ENCAPSULATED_CONTENT_FLAG: u32 = 64u32; -pub const CMSG_CMS_ENCAPSULATED_CTL_FLAG: u32 = 32768u32; -pub const CMSG_CMS_RECIPIENT_COUNT_PARAM: u32 = 33u32; -pub const CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM: u32 = 35u32; -pub const CMSG_CMS_RECIPIENT_INDEX_PARAM: u32 = 34u32; -pub const CMSG_CMS_RECIPIENT_INFO_PARAM: u32 = 36u32; -pub const CMSG_CMS_SIGNER_INFO_PARAM: u32 = 39u32; -pub const CMSG_COMPUTED_HASH_PARAM: u32 = 22u32; -pub const CMSG_CONTENTS_OCTETS_FLAG: u32 = 16u32; -pub const CMSG_CONTENT_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; -pub const CMSG_CONTENT_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; -pub const CMSG_CONTENT_ENCRYPT_PAD_ENCODED_LEN_FLAG: u32 = 1u32; -pub const CMSG_CONTENT_ENCRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32; -pub const CMSG_CONTENT_PARAM: u32 = 2u32; -pub const CMSG_CRL_COUNT_PARAM: u32 = 13u32; -pub const CMSG_CRL_PARAM: u32 = 14u32; -pub const CMSG_CRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32; -pub const CMSG_CTRL_ADD_ATTR_CERT: u32 = 14u32; -pub const CMSG_CTRL_ADD_CERT: u32 = 10u32; -pub const CMSG_CTRL_ADD_CMS_SIGNER_INFO: u32 = 20u32; -pub const CMSG_CTRL_ADD_CRL: u32 = 12u32; -pub const CMSG_CTRL_ADD_SIGNER: u32 = 6u32; -pub const CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR: u32 = 8u32; -pub const CMSG_CTRL_DECRYPT: u32 = 2u32; -pub const CMSG_CTRL_DEL_ATTR_CERT: u32 = 15u32; -pub const CMSG_CTRL_DEL_CERT: u32 = 11u32; -pub const CMSG_CTRL_DEL_CRL: u32 = 13u32; -pub const CMSG_CTRL_DEL_SIGNER: u32 = 7u32; -pub const CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR: u32 = 9u32; -pub const CMSG_CTRL_ENABLE_STRONG_SIGNATURE: u32 = 21u32; -pub const CMSG_CTRL_KEY_AGREE_DECRYPT: u32 = 17u32; -pub const CMSG_CTRL_KEY_TRANS_DECRYPT: u32 = 16u32; -pub const CMSG_CTRL_MAIL_LIST_DECRYPT: u32 = 18u32; -pub const CMSG_CTRL_VERIFY_HASH: u32 = 5u32; -pub const CMSG_CTRL_VERIFY_SIGNATURE: u32 = 1u32; -pub const CMSG_CTRL_VERIFY_SIGNATURE_EX: u32 = 19u32; -pub const CMSG_DATA: CRYPT_MSG_TYPE = 1u32; -pub const CMSG_DEFAULT_INSTALLABLE_FUNC_OID: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CMSG_DETACHED_FLAG: u32 = 4u32; -pub const CMSG_ENCODED_MESSAGE: u32 = 29u32; -pub const CMSG_ENCODED_SIGNER: u32 = 28u32; -pub const CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 2u32; -pub const CMSG_ENCODE_SORTED_CTL_FLAG: u32 = 1u32; -pub const CMSG_ENCODING_TYPE_MASK: u32 = 4294901760u32; -pub const CMSG_ENCRYPTED: u32 = 6u32; -pub const CMSG_ENCRYPTED_DIGEST: u32 = 27u32; -pub const CMSG_ENCRYPT_PARAM: u32 = 26u32; -pub const CMSG_ENVELOPED: CRYPT_MSG_TYPE = 3u32; -pub const CMSG_ENVELOPED_DATA_CMS_VERSION: u32 = 2u32; -pub const CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION: u32 = 0u32; -pub const CMSG_ENVELOPED_DATA_V0: u32 = 0u32; -pub const CMSG_ENVELOPED_DATA_V2: u32 = 2u32; -pub const CMSG_ENVELOPED_RECIPIENT_V0: u32 = 0u32; -pub const CMSG_ENVELOPED_RECIPIENT_V2: u32 = 2u32; -pub const CMSG_ENVELOPED_RECIPIENT_V3: u32 = 3u32; -pub const CMSG_ENVELOPED_RECIPIENT_V4: u32 = 4u32; -pub const CMSG_ENVELOPE_ALGORITHM_PARAM: u32 = 15u32; -pub const CMSG_HASHED: CRYPT_MSG_TYPE = 5u32; -pub const CMSG_HASHED_DATA_CMS_VERSION: u32 = 2u32; -pub const CMSG_HASHED_DATA_PKCS_1_5_VERSION: u32 = 0u32; -pub const CMSG_HASHED_DATA_V0: u32 = 0u32; -pub const CMSG_HASHED_DATA_V2: u32 = 2u32; -pub const CMSG_HASH_ALGORITHM_PARAM: u32 = 20u32; -pub const CMSG_HASH_DATA_PARAM: u32 = 21u32; -pub const CMSG_INDEFINITE_LENGTH: u32 = 4294967295u32; -pub const CMSG_INNER_CONTENT_TYPE_PARAM: u32 = 4u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_MATERIAL_FLAG: u32 = 2u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_OBJID_FLAG: u32 = 32u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_ALG_FLAG: u32 = 4u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_BITS_FLAG: u32 = 16u32; -pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_PARA_FLAG: u32 = 8u32; -pub const CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 1u32; -pub const CMSG_KEY_AGREE_ORIGINATOR_CERT: CMSG_KEY_AGREE_ORIGINATOR = 1u32; -pub const CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY: CMSG_KEY_AGREE_ORIGINATOR = 2u32; -pub const CMSG_KEY_AGREE_RECIPIENT: u32 = 2u32; -pub const CMSG_KEY_AGREE_STATIC_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 2u32; -pub const CMSG_KEY_AGREE_VERSION: u32 = 3u32; -pub const CMSG_KEY_TRANS_CMS_VERSION: u32 = 2u32; -pub const CMSG_KEY_TRANS_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; -pub const CMSG_KEY_TRANS_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; -pub const CMSG_KEY_TRANS_PKCS_1_5_VERSION: u32 = 0u32; -pub const CMSG_KEY_TRANS_RECIPIENT: u32 = 1u32; -pub const CMSG_LENGTH_ONLY_FLAG: u32 = 2u32; -pub const CMSG_MAIL_LIST_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; -pub const CMSG_MAIL_LIST_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; -pub const CMSG_MAIL_LIST_HANDLE_KEY_CHOICE: u32 = 1u32; -pub const CMSG_MAIL_LIST_RECIPIENT: u32 = 3u32; -pub const CMSG_MAIL_LIST_VERSION: u32 = 4u32; -pub const CMSG_MAX_LENGTH_FLAG: u32 = 32u32; -pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportKeyAgree"); -pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportKeyTrans"); -pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportMailList"); -pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllGenContentEncryptKey"); -pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportKeyAgree"); -pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportKeyTrans"); -pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportMailList"); -pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGExportKeyAgree"); -pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGExportKeyTrans"); -pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGGenContentEncryptKey"); -pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportContentEncryptKey"); -pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportKeyAgree"); -pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportKeyTrans"); -pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportEncryptKey"); -pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportKeyAgree"); -pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportKeyTrans"); -pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportMailList"); -pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllGenContentEncryptKey"); -pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllGenEncryptKey"); -pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportEncryptKey"); -pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportKeyAgree"); -pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportKeyTrans"); -pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportMailList"); -pub const CMSG_RC4_NO_SALT_FLAG: u32 = 1073741824u32; -pub const CMSG_RECIPIENT_COUNT_PARAM: u32 = 17u32; -pub const CMSG_RECIPIENT_INDEX_PARAM: u32 = 18u32; -pub const CMSG_RECIPIENT_INFO_PARAM: u32 = 19u32; -pub const CMSG_SIGNED: CRYPT_MSG_TYPE = 2u32; -pub const CMSG_SIGNED_AND_ENVELOPED: CRYPT_MSG_TYPE = 4u32; -pub const CMSG_SIGNED_DATA_CMS_VERSION: u32 = 3u32; -pub const CMSG_SIGNED_DATA_NO_SIGN_FLAG: u32 = 128u32; -pub const CMSG_SIGNED_DATA_PKCS_1_5_VERSION: u32 = 1u32; -pub const CMSG_SIGNED_DATA_V1: u32 = 1u32; -pub const CMSG_SIGNED_DATA_V3: u32 = 3u32; -pub const CMSG_SIGNER_AUTH_ATTR_PARAM: u32 = 9u32; -pub const CMSG_SIGNER_CERT_ID_PARAM: u32 = 38u32; -pub const CMSG_SIGNER_CERT_INFO_PARAM: u32 = 7u32; -pub const CMSG_SIGNER_COUNT_PARAM: u32 = 5u32; -pub const CMSG_SIGNER_HASH_ALGORITHM_PARAM: u32 = 8u32; -pub const CMSG_SIGNER_INFO_CMS_VERSION: u32 = 3u32; -pub const CMSG_SIGNER_INFO_PARAM: u32 = 6u32; -pub const CMSG_SIGNER_INFO_PKCS_1_5_VERSION: u32 = 1u32; -pub const CMSG_SIGNER_INFO_V1: u32 = 1u32; -pub const CMSG_SIGNER_INFO_V3: u32 = 3u32; -pub const CMSG_SIGNER_ONLY_FLAG: u32 = 2u32; -pub const CMSG_SIGNER_UNAUTH_ATTR_PARAM: u32 = 10u32; -pub const CMSG_SP3_COMPATIBLE_ENCRYPT_FLAG: u32 = 2147483648u32; -pub const CMSG_TRUSTED_SIGNER_FLAG: u32 = 1u32; -pub const CMSG_TYPE_PARAM: u32 = 1u32; -pub const CMSG_UNPROTECTED_ATTR_PARAM: u32 = 37u32; -pub const CMSG_USE_SIGNER_INDEX_FLAG: u32 = 4u32; -pub const CMSG_VERIFY_COUNTER_SIGN_ENABLE_STRONG_FLAG: u32 = 1u32; -pub const CMSG_VERIFY_SIGNER_CERT: u32 = 2u32; -pub const CMSG_VERIFY_SIGNER_CHAIN: u32 = 3u32; -pub const CMSG_VERIFY_SIGNER_NULL: u32 = 4u32; -pub const CMSG_VERIFY_SIGNER_PUBKEY: u32 = 1u32; -pub const CMSG_VERSION_PARAM: u32 = 30u32; -pub const CMS_SIGNER_INFO: ::windows_sys::core::PCSTR = 501i32 as _; -pub const CNG_RSA_PRIVATE_KEY_BLOB: ::windows_sys::core::PCSTR = 83i32 as _; -pub const CNG_RSA_PUBLIC_KEY_BLOB: ::windows_sys::core::PCSTR = 72i32 as _; -pub const CONTEXT_OID_CAPI2_ANY: ::windows_sys::core::PCSTR = 5i32 as _; -pub const CONTEXT_OID_CERTIFICATE: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ContextDllCreateObjectContext"); -pub const CONTEXT_OID_CRL: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CONTEXT_OID_CTL: ::windows_sys::core::PCSTR = 3i32 as _; -pub const CONTEXT_OID_OCSP_RESP: ::windows_sys::core::PCSTR = 6i32 as _; -pub const CONTEXT_OID_PKCS7: ::windows_sys::core::PCSTR = 4i32 as _; -pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS: i32 = 2i32; -pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_A: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_W: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CRL_DIST_POINT_ERR_CRL_ISSUER_BIT: i32 = -2147483648i32; -pub const CRL_DIST_POINT_ERR_INDEX_MASK: u32 = 127u32; -pub const CRL_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32; -pub const CRL_DIST_POINT_FULL_NAME: u32 = 1u32; -pub const CRL_DIST_POINT_ISSUER_RDN_NAME: u32 = 2u32; -pub const CRL_DIST_POINT_NO_NAME: u32 = 0u32; -pub const CRL_FIND_ANY: u32 = 0u32; -pub const CRL_FIND_EXISTING: u32 = 2u32; -pub const CRL_FIND_ISSUED_BY: u32 = 1u32; -pub const CRL_FIND_ISSUED_BY_AKI_FLAG: u32 = 1u32; -pub const CRL_FIND_ISSUED_BY_BASE_FLAG: u32 = 8u32; -pub const CRL_FIND_ISSUED_BY_DELTA_FLAG: u32 = 4u32; -pub const CRL_FIND_ISSUED_BY_SIGNATURE_FLAG: u32 = 2u32; -pub const CRL_FIND_ISSUED_FOR: u32 = 3u32; -pub const CRL_FIND_ISSUED_FOR_SET_STRONG_PROPERTIES_FLAG: u32 = 16u32; -pub const CRL_REASON_AA_COMPROMISE: u32 = 10u32; -pub const CRL_REASON_AA_COMPROMISE_FLAG: u32 = 128u32; -pub const CRL_REASON_AFFILIATION_CHANGED: CERT_REVOCATION_STATUS_REASON = 3u32; -pub const CRL_REASON_AFFILIATION_CHANGED_FLAG: u32 = 16u32; -pub const CRL_REASON_CA_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 2u32; -pub const CRL_REASON_CA_COMPROMISE_FLAG: u32 = 32u32; -pub const CRL_REASON_CERTIFICATE_HOLD: CERT_REVOCATION_STATUS_REASON = 6u32; -pub const CRL_REASON_CERTIFICATE_HOLD_FLAG: u32 = 2u32; -pub const CRL_REASON_CESSATION_OF_OPERATION: CERT_REVOCATION_STATUS_REASON = 5u32; -pub const CRL_REASON_CESSATION_OF_OPERATION_FLAG: u32 = 4u32; -pub const CRL_REASON_KEY_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 1u32; -pub const CRL_REASON_KEY_COMPROMISE_FLAG: u32 = 64u32; -pub const CRL_REASON_PRIVILEGE_WITHDRAWN: u32 = 9u32; -pub const CRL_REASON_PRIVILEGE_WITHDRAWN_FLAG: u32 = 1u32; -pub const CRL_REASON_REMOVE_FROM_CRL: CERT_REVOCATION_STATUS_REASON = 8u32; -pub const CRL_REASON_SUPERSEDED: CERT_REVOCATION_STATUS_REASON = 4u32; -pub const CRL_REASON_SUPERSEDED_FLAG: u32 = 8u32; -pub const CRL_REASON_UNSPECIFIED: CERT_REVOCATION_STATUS_REASON = 0u32; -pub const CRL_REASON_UNUSED_FLAG: u32 = 128u32; -pub const CRL_V1: u32 = 0u32; -pub const CRL_V2: u32 = 1u32; -pub const CROSS_CERT_DIST_POINT_ERR_INDEX_MASK: u32 = 255u32; -pub const CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32; -pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT: u32 = 50u32; -pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetCachedOcspSwitchToCrlCount"); -pub const CRYPTNET_CRL_BEFORE_OCSP_ENABLE: u32 = 4294967295u32; -pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableInformationEvents"); -pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogFileName"); -pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAgeSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinAfterNextUpdateSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinBeforeNextUpdateSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProcessNameList"); -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishBeforeNextUpdateSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishRandomIntervalSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TimeoutSeconds"); -pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PreFetchUrlList"); -pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT: u32 = 500u32; -pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetMaxCachedOcspPerCrlCount"); -pub const CRYPTNET_OCSP_AFTER_CRL_DISABLE: u32 = 4294967295u32; -pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds"); -pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; -pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchAfterPublishPreFetchDivisor"); -pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 20u32; -pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchBeforeNextUpdatePreFetchDivisor"); -pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds"); -pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMaxMaxAgeSeconds"); -pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds"); -pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds"); -pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinMaxAgeSeconds"); -pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinOcspValidityPeriodSeconds"); -pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchRetrievalTimeoutSeconds"); -pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT: u32 = 60u32; -pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchScanAfterTriggerDelaySeconds"); -pub const CRYPTNET_PRE_FETCH_TRIGGER_DISABLE: u32 = 4294967295u32; -pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchTriggerPeriodSeconds"); -pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; -pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor"); -pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH: u32 = 0u32; -pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetDefaultFlushExemptSeconds"); -pub const CRYPTNET_URL_CACHE_DISABLE_FLUSH: u32 = 4294967295u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_AUTOROOT_CAB: u32 = 5u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_BLOB: u32 = 1u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_CRL: u32 = 2u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_DISALLOWED_CERT_CAB: u32 = 6u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_NONE: u32 = 0u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_OCSP: u32 = 3u32; -pub const CRYPTNET_URL_CACHE_PRE_FETCH_PIN_RULES_CAB: u32 = 7u32; -pub const CRYPTNET_URL_CACHE_RESPONSE_HTTP: u32 = 1u32; -pub const CRYPTNET_URL_CACHE_RESPONSE_NONE: u32 = 0u32; -pub const CRYPTNET_URL_CACHE_RESPONSE_VALIDATED: u32 = 32768u32; -pub const CRYPTPROTECTMEMORY_BLOCK_SIZE: u32 = 16u32; -pub const CRYPTPROTECTMEMORY_CROSS_PROCESS: u32 = 1u32; -pub const CRYPTPROTECTMEMORY_SAME_LOGON: u32 = 2u32; -pub const CRYPTPROTECTMEMORY_SAME_PROCESS: u32 = 0u32; -pub const CRYPTPROTECT_AUDIT: u32 = 16u32; -pub const CRYPTPROTECT_CRED_REGENERATE: u32 = 128u32; -pub const CRYPTPROTECT_CRED_SYNC: u32 = 8u32; -pub const CRYPTPROTECT_DEFAULT_PROVIDER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdf9d8cd0_1501_11d1_8c7a_00c04fc297eb); -pub const CRYPTPROTECT_FIRST_RESERVED_FLAGVAL: u32 = 268435455u32; -pub const CRYPTPROTECT_LAST_RESERVED_FLAGVAL: u32 = 4294967295u32; -pub const CRYPTPROTECT_LOCAL_MACHINE: u32 = 4u32; -pub const CRYPTPROTECT_NO_RECOVERY: u32 = 32u32; -pub const CRYPTPROTECT_PROMPT_ON_PROTECT: u32 = 2u32; -pub const CRYPTPROTECT_PROMPT_ON_UNPROTECT: u32 = 1u32; -pub const CRYPTPROTECT_PROMPT_REQUIRE_STRONG: u32 = 16u32; -pub const CRYPTPROTECT_PROMPT_RESERVED: u32 = 4u32; -pub const CRYPTPROTECT_PROMPT_STRONG: u32 = 8u32; -pub const CRYPTPROTECT_UI_FORBIDDEN: u32 = 1u32; -pub const CRYPTPROTECT_VERIFY_PROTECTION: u32 = 64u32; -pub const CRYPT_ACCUMULATIVE_TIMEOUT: u32 = 2048u32; -pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 65536u32; -pub const CRYPT_ACQUIRE_CACHE_FLAG: CRYPT_ACQUIRE_FLAGS = 1u32; -pub const CRYPT_ACQUIRE_COMPARE_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 4u32; -pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: CRYPT_ACQUIRE_FLAGS = 458752u32; -pub const CRYPT_ACQUIRE_NO_HEALING: CRYPT_ACQUIRE_FLAGS = 8u32; -pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 262144u32; -pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 131072u32; -pub const CRYPT_ACQUIRE_SILENT_FLAG: CRYPT_ACQUIRE_FLAGS = 64u32; -pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: CRYPT_ACQUIRE_FLAGS = 2u32; -pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: CRYPT_ACQUIRE_FLAGS = 128u32; -pub const CRYPT_AIA_RETRIEVAL: u32 = 524288u32; -pub const CRYPT_ALL_FUNCTIONS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 1u32; -pub const CRYPT_ALL_PROVIDERS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 2u32; -pub const CRYPT_ANY: BCRYPT_QUERY_PROVIDER_MODE = 4u32; -pub const CRYPT_ARCHIVABLE: CRYPT_KEY_FLAGS = 16384u32; -pub const CRYPT_ARCHIVE: u32 = 256u32; -pub const CRYPT_ASN_ENCODING: u32 = 1u32; -pub const CRYPT_ASYNC_RETRIEVAL: u32 = 16u32; -pub const CRYPT_BLOB_VER3: CRYPT_KEY_FLAGS = 128u32; -pub const CRYPT_CACHE_ONLY_RETRIEVAL: u32 = 2u32; -pub const CRYPT_CHECK_FRESHNESS_TIME_VALIDITY: u32 = 1024u32; -pub const CRYPT_CREATE_IV: CRYPT_KEY_FLAGS = 512u32; -pub const CRYPT_CREATE_NEW_FLUSH_ENTRY: u32 = 268435456u32; -pub const CRYPT_CREATE_SALT: CRYPT_KEY_FLAGS = 4u32; -pub const CRYPT_DATA_KEY: CRYPT_KEY_FLAGS = 2048u32; -pub const CRYPT_DECODE_ALLOC_FLAG: u32 = 32768u32; -pub const CRYPT_DECODE_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32; -pub const CRYPT_DECODE_ENABLE_UTF8PERCENT_FLAG: u32 = 67108864u32; -pub const CRYPT_DECODE_NOCOPY_FLAG: u32 = 1u32; -pub const CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32; -pub const CRYPT_DECODE_SHARE_OID_STRING_FLAG: u32 = 4u32; -pub const CRYPT_DECODE_TO_BE_SIGNED_FLAG: u32 = 2u32; -pub const CRYPT_DECRYPT: u32 = 2u32; -pub const CRYPT_DECRYPT_RSA_NO_PADDING_CHECK: u32 = 32u32; -pub const CRYPT_DEFAULT_CONTAINER_OPTIONAL: u32 = 128u32; -pub const CRYPT_DEFAULT_CONTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default"); -pub const CRYPT_DEFAULT_CONTEXT_AUTO_RELEASE_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 1u32; -pub const CRYPT_DEFAULT_CONTEXT_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 1u32; -pub const CRYPT_DEFAULT_CONTEXT_MULTI_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 2u32; -pub const CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 2u32; -pub const CRYPT_DEFAULT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("DEFAULT"); -pub const CRYPT_DELETEKEYSET: u32 = 16u32; -pub const CRYPT_DELETE_DEFAULT: u32 = 4u32; -pub const CRYPT_DELETE_KEYSET: u32 = 16u32; -pub const CRYPT_DESTROYKEY: CRYPT_KEY_FLAGS = 4u32; -pub const CRYPT_DOMAIN: BCRYPT_TABLE = 2u32; -pub const CRYPT_DONT_CACHE_RESULT: u32 = 8u32; -pub const CRYPT_DONT_CHECK_TIME_VALIDITY: u32 = 512u32; -pub const CRYPT_DONT_VERIFY_SIGNATURE: u32 = 256u32; -pub const CRYPT_ECC_CMS_SHARED_INFO_SUPPPUBINFO_BYTE_LENGTH: u32 = 4u32; -pub const CRYPT_ECC_PRIVATE_KEY_INFO_v1: u32 = 1u32; -pub const CRYPT_ENABLE_FILE_RETRIEVAL: u32 = 134217728u32; -pub const CRYPT_ENABLE_SSL_REVOCATION_RETRIEVAL: u32 = 8388608u32; -pub const CRYPT_ENCODE_ALLOC_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 32768u32; -pub const CRYPT_ENCODE_DECODE_NONE: u32 = 0u32; -pub const CRYPT_ENCODE_ENABLE_PUNYCODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 131072u32; -pub const CRYPT_ENCODE_ENABLE_UTF8PERCENT_FLAG: u32 = 262144u32; -pub const CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32; -pub const CRYPT_ENCRYPT: u32 = 1u32; -pub const CRYPT_ENCRYPT_ALG_OID_GROUP_ID: u32 = 2u32; -pub const CRYPT_ENHKEY_USAGE_OID_GROUP_ID: u32 = 7u32; -pub const CRYPT_EXCLUSIVE: CRYPT_CONTEXT_CONFIG_FLAGS = 1u32; -pub const CRYPT_EXPORT: u32 = 4u32; -pub const CRYPT_EXPORTABLE: CRYPT_KEY_FLAGS = 1u32; -pub const CRYPT_EXPORT_KEY: u32 = 64u32; -pub const CRYPT_EXT_OR_ATTR_OID_GROUP_ID: u32 = 6u32; -pub const CRYPT_FAILED: u32 = 0u32; -pub const CRYPT_FASTSGC: u32 = 2u32; -pub const CRYPT_FIND_MACHINE_KEYSET_FLAG: CRYPT_FIND_FLAGS = 2u32; -pub const CRYPT_FIND_SILENT_KEYSET_FLAG: CRYPT_FIND_FLAGS = 64u32; -pub const CRYPT_FIND_USER_KEYSET_FLAG: CRYPT_FIND_FLAGS = 1u32; -pub const CRYPT_FIRST: u32 = 1u32; -pub const CRYPT_FIRST_ALG_OID_GROUP_ID: u32 = 1u32; -pub const CRYPT_FLAG_IPSEC: u32 = 16u32; -pub const CRYPT_FLAG_PCT1: u32 = 1u32; -pub const CRYPT_FLAG_SIGNING: u32 = 32u32; -pub const CRYPT_FLAG_SSL2: u32 = 2u32; -pub const CRYPT_FLAG_SSL3: u32 = 4u32; -pub const CRYPT_FLAG_TLS1: u32 = 8u32; -pub const CRYPT_FORCE_KEY_PROTECTION_HIGH: CRYPT_KEY_FLAGS = 32768u32; -pub const CRYPT_FORMAT_COMMA: u32 = 4096u32; -pub const CRYPT_FORMAT_CRLF: u32 = 512u32; -pub const CRYPT_FORMAT_OID: u32 = 4u32; -pub const CRYPT_FORMAT_RDN_CRLF: u32 = 512u32; -pub const CRYPT_FORMAT_RDN_REVERSE: u32 = 2048u32; -pub const CRYPT_FORMAT_RDN_SEMICOLON: u32 = 256u32; -pub const CRYPT_FORMAT_RDN_UNQUOTE: u32 = 1024u32; -pub const CRYPT_FORMAT_SEMICOLON: u32 = 256u32; -pub const CRYPT_FORMAT_SIMPLE: u32 = 1u32; -pub const CRYPT_FORMAT_STR_MULTI_LINE: u32 = 1u32; -pub const CRYPT_FORMAT_STR_NO_HEX: u32 = 16u32; -pub const CRYPT_FORMAT_X509: u32 = 2u32; -pub const CRYPT_GET_INSTALLED_OID_FUNC_FLAG: u32 = 1u32; -pub const CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 8u32; -pub const CRYPT_GET_URL_FROM_EXTENSION: CRYPT_GET_URL_FLAGS = 2u32; -pub const CRYPT_GET_URL_FROM_PROPERTY: CRYPT_GET_URL_FLAGS = 1u32; -pub const CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 4u32; -pub const CRYPT_HASH_ALG_OID_GROUP_ID: u32 = 1u32; -pub const CRYPT_HTTP_POST_RETRIEVAL: u32 = 1048576u32; -pub const CRYPT_IMPL_HARDWARE: u32 = 1u32; -pub const CRYPT_IMPL_MIXED: u32 = 3u32; -pub const CRYPT_IMPL_REMOVABLE: u32 = 8u32; -pub const CRYPT_IMPL_SOFTWARE: u32 = 2u32; -pub const CRYPT_IMPL_UNKNOWN: u32 = 4u32; -pub const CRYPT_IMPORT_KEY: u32 = 128u32; -pub const CRYPT_INITIATOR: CRYPT_KEY_FLAGS = 64u32; -pub const CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG: u32 = 1u32; -pub const CRYPT_INSTALL_OID_INFO_BEFORE_FLAG: u32 = 1u32; -pub const CRYPT_IPSEC_HMAC_KEY: CRYPT_KEY_FLAGS = 256u32; -pub const CRYPT_KDF_OID_GROUP_ID: u32 = 10u32; -pub const CRYPT_KEEP_TIME_VALID: u32 = 128u32; -pub const CRYPT_KEK: CRYPT_KEY_FLAGS = 1024u32; -pub const CRYPT_KEYID_ALLOC_FLAG: u32 = 32768u32; -pub const CRYPT_KEYID_DELETE_FLAG: u32 = 16u32; -pub const CRYPT_KEYID_MACHINE_FLAG: u32 = 32u32; -pub const CRYPT_KEYID_SET_NEW_FLAG: u32 = 8192u32; -pub const CRYPT_KM: BCRYPT_QUERY_PROVIDER_MODE = 2u32; -pub const CRYPT_LAST_ALG_OID_GROUP_ID: u32 = 4u32; -pub const CRYPT_LAST_OID_GROUP_ID: u32 = 10u32; -pub const CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL: u32 = 262144u32; -pub const CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE: u32 = 32768u32; -pub const CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL: u32 = 8192u32; -pub const CRYPT_LDAP_SIGN_RETRIEVAL: u32 = 65536u32; -pub const CRYPT_LITTLE_ENDIAN: u32 = 1u32; -pub const CRYPT_LOCAL: BCRYPT_TABLE = 1u32; -pub const CRYPT_LOCALIZED_NAME_ENCODING_TYPE: u32 = 0u32; -pub const CRYPT_LOCALIZED_NAME_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LocalizedNames"); -pub const CRYPT_MAC: u32 = 32u32; -pub const CRYPT_MACHINE_DEFAULT: u32 = 1u32; -pub const CRYPT_MACHINE_KEYSET: CRYPT_KEY_FLAGS = 32u32; -pub const CRYPT_MATCH_ANY_ENCODING_TYPE: u32 = 4294967295u32; -pub const CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG: u32 = 1u32; -pub const CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG: u32 = 2u32; -pub const CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG: u32 = 4u32; -pub const CRYPT_MESSAGE_KEYID_SIGNER_FLAG: u32 = 4u32; -pub const CRYPT_MESSAGE_SILENT_KEYSET_FLAG: u32 = 64u32; -pub const CRYPT_MIN_DEPENDENCIES: CRYPT_IMAGE_REF_FLAGS = 1u32; -pub const CRYPT_MM: BCRYPT_QUERY_PROVIDER_MODE = 3u32; -pub const CRYPT_MODE_CBC: u32 = 1u32; -pub const CRYPT_MODE_CBCI: u32 = 6u32; -pub const CRYPT_MODE_CBCOFM: u32 = 9u32; -pub const CRYPT_MODE_CBCOFMI: u32 = 10u32; -pub const CRYPT_MODE_CFB: u32 = 4u32; -pub const CRYPT_MODE_CFBP: u32 = 7u32; -pub const CRYPT_MODE_CTS: u32 = 5u32; -pub const CRYPT_MODE_ECB: u32 = 2u32; -pub const CRYPT_MODE_OFB: u32 = 3u32; -pub const CRYPT_MODE_OFBP: u32 = 8u32; -pub const CRYPT_NDR_ENCODING: u32 = 2u32; -pub const CRYPT_NEWKEYSET: u32 = 8u32; -pub const CRYPT_NEXT: u32 = 2u32; -pub const CRYPT_NOHASHOID: u32 = 1u32; -pub const CRYPT_NOT_MODIFIED_RETRIEVAL: u32 = 4194304u32; -pub const CRYPT_NO_AUTH_RETRIEVAL: u32 = 131072u32; -pub const CRYPT_NO_OCSP_FAILOVER_TO_CRL_RETRIEVAL: u32 = 33554432u32; -pub const CRYPT_NO_SALT: CRYPT_KEY_FLAGS = 16u32; -pub const CRYPT_OAEP: CRYPT_KEY_FLAGS = 64u32; -pub const CRYPT_OBJECT_LOCATOR_FIRST_RESERVED_USER_NAME_TYPE: u32 = 33u32; -pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_NAME_TYPE: u32 = 32u32; -pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_USER_NAME_TYPE: u32 = 65535u32; -pub const CRYPT_OBJECT_LOCATOR_RELEASE_DLL_UNLOAD: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 4u32; -pub const CRYPT_OBJECT_LOCATOR_RELEASE_PROCESS_EXIT: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 3u32; -pub const CRYPT_OBJECT_LOCATOR_RELEASE_SERVICE_STOP: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 2u32; -pub const CRYPT_OBJECT_LOCATOR_RELEASE_SYSTEM_SHUTDOWN: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 1u32; -pub const CRYPT_OBJECT_LOCATOR_SPN_NAME_TYPE: u32 = 1u32; -pub const CRYPT_OCSP_ONLY_RETRIEVAL: u32 = 16777216u32; -pub const CRYPT_OFFLINE_CHECK_RETRIEVAL: u32 = 16384u32; -pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllCreateCOMObject"); -pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllDecodeObjectEx"); -pub const CRYPT_OID_DECODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllDecodeObject"); -pub const CRYPT_OID_DISABLE_SEARCH_DS_FLAG: u32 = 2147483648u32; -pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllEncodeObjectEx"); -pub const CRYPT_OID_ENCODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllEncodeObject"); -pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllEnumPhysicalStore"); -pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllEnumSystemStore"); -pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPrivateKeyInfoEx"); -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoEx2"); -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoFromBCryptKeyHandle"); -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoEx"); -pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExtractEncodedSignatureParameters"); -pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFindLocalizedName"); -pub const CRYPT_OID_FIND_OID_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFindOIDInfo"); -pub const CRYPT_OID_FORMAT_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFormatObject"); -pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPrivateKeyInfoEx"); -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPublicKeyInfoEx2"); -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPublicKeyInfoEx"); -pub const CRYPT_OID_INFO_ALGID_KEY: u32 = 3u32; -pub const CRYPT_OID_INFO_CNG_ALGID_KEY: u32 = 5u32; -pub const CRYPT_OID_INFO_CNG_SIGN_KEY: u32 = 6u32; -pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoECCParameters"); -pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoECCWrapParameters"); -pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoHashParameters"); -pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoMgf1Parameters"); -pub const CRYPT_OID_INFO_NAME_KEY: u32 = 2u32; -pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoNoParameters"); -pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoNoSign"); -pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoOAEPParameters"); -pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: u32 = 268369920u32; -pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: u32 = 16u32; -pub const CRYPT_OID_INFO_OID_KEY: u32 = 1u32; -pub const CRYPT_OID_INFO_OID_KEY_FLAGS_MASK: u32 = 4294901760u32; -pub const CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 1073741824u32; -pub const CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 2147483648u32; -pub const CRYPT_OID_INFO_SIGN_KEY: u32 = 4u32; -pub const CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG: u32 = 1u32; -pub const CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG: u32 = 4u32; -pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllOpenStoreProv"); -pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllOpenSystemStoreProv"); -pub const CRYPT_OID_PREFER_CNG_ALGID_FLAG: u32 = 1073741824u32; -pub const CRYPT_OID_PUBKEY_ENCRYPT_ONLY_FLAG: u32 = 1073741824u32; -pub const CRYPT_OID_PUBKEY_SIGN_ONLY_FLAG: u32 = 2147483648u32; -pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllRegisterPhysicalStore"); -pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllRegisterSystemStore"); -pub const CRYPT_OID_REGPATH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Microsoft\\Cryptography\\OID"); -pub const CRYPT_OID_REG_DLL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Dll"); -pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("EncodingType "); -pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptFlags"); -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FuncName"); -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("FuncName"); -pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllSignAndEncodeHash"); -pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemStoreLocation"); -pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllUnregisterPhysicalStore"); -pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllUnregisterSystemStore"); -pub const CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: u32 = 536870912u32; -pub const CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: u32 = 268435456u32; -pub const CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG: u32 = 2u32; -pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyCertificateChainPolicy"); -pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyCTLUsage"); -pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllVerifyEncodedSignature"); -pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyRevocation"); -pub const CRYPT_ONLINE: CRYPT_KEY_FLAGS = 128u32; -pub const CRYPT_OVERRIDE: CRYPT_CONTEXT_CONFIG_FLAGS = 65536u32; -pub const CRYPT_OVERWRITE: u32 = 1u32; -pub const CRYPT_OWF_REPL_LM_HASH: u32 = 1u32; -pub const CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION: ::windows_sys::core::PCSTR = 1i32 as _; -pub const CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL: ::windows_sys::core::PCSTR = 2i32 as _; -pub const CRYPT_POLICY_OID_GROUP_ID: u32 = 8u32; -pub const CRYPT_PREGEN: CRYPT_KEY_FLAGS = 64u32; -pub const CRYPT_PRIORITY_BOTTOM: u32 = 4294967295u32; -pub const CRYPT_PRIORITY_TOP: u32 = 0u32; -pub const CRYPT_PROCESS_ISOLATE: CRYPT_IMAGE_REF_FLAGS = 65536u32; -pub const CRYPT_PROXY_CACHE_RETRIEVAL: u32 = 2097152u32; -pub const CRYPT_PSTORE: u32 = 2u32; -pub const CRYPT_PUBKEY_ALG_OID_GROUP_ID: u32 = 3u32; -pub const CRYPT_RANDOM_QUERY_STRING_RETRIEVAL: u32 = 67108864u32; -pub const CRYPT_RC2_128BIT_VERSION: u32 = 58u32; -pub const CRYPT_RC2_40BIT_VERSION: u32 = 160u32; -pub const CRYPT_RC2_56BIT_VERSION: u32 = 52u32; -pub const CRYPT_RC2_64BIT_VERSION: u32 = 120u32; -pub const CRYPT_RDN_ATTR_OID_GROUP_ID: u32 = 5u32; -pub const CRYPT_READ: u32 = 8u32; -pub const CRYPT_RECIPIENT: CRYPT_KEY_FLAGS = 16u32; -pub const CRYPT_REGISTER_FIRST_INDEX: u32 = 0u32; -pub const CRYPT_REGISTER_LAST_INDEX: u32 = 4294967295u32; -pub const CRYPT_RETRIEVE_MAX_ERROR_CONTENT_LENGTH: u32 = 4096u32; -pub const CRYPT_RETRIEVE_MULTIPLE_OBJECTS: u32 = 1u32; -pub const CRYPT_SECRETDIGEST: u32 = 1u32; -pub const CRYPT_SEC_DESCR: u32 = 1u32; -pub const CRYPT_SERVER: u32 = 1024u32; -pub const CRYPT_SF: CRYPT_KEY_FLAGS = 256u32; -pub const CRYPT_SGC: u32 = 1u32; -pub const CRYPT_SGCKEY: CRYPT_KEY_FLAGS = 8192u32; -pub const CRYPT_SGC_ENUM: u32 = 4u32; -pub const CRYPT_SIGN_ALG_OID_GROUP_ID: u32 = 4u32; -pub const CRYPT_SILENT: u32 = 64u32; -pub const CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 65536u32; -pub const CRYPT_SSL2_FALLBACK: CRYPT_KEY_FLAGS = 2u32; -pub const CRYPT_STICKY_CACHE_RETRIEVAL: u32 = 4096u32; -pub const CRYPT_STRING_ANY: CRYPT_STRING = 7u32; -pub const CRYPT_STRING_BASE64: CRYPT_STRING = 1u32; -pub const CRYPT_STRING_BASE64HEADER: CRYPT_STRING = 0u32; -pub const CRYPT_STRING_BASE64REQUESTHEADER: CRYPT_STRING = 3u32; -pub const CRYPT_STRING_BASE64URI: u32 = 13u32; -pub const CRYPT_STRING_BASE64X509CRLHEADER: CRYPT_STRING = 9u32; -pub const CRYPT_STRING_BASE64_ANY: CRYPT_STRING = 6u32; -pub const CRYPT_STRING_BINARY: CRYPT_STRING = 2u32; -pub const CRYPT_STRING_ENCODEMASK: u32 = 255u32; -pub const CRYPT_STRING_HASHDATA: u32 = 268435456u32; -pub const CRYPT_STRING_HEX: CRYPT_STRING = 4u32; -pub const CRYPT_STRING_HEXADDR: CRYPT_STRING = 10u32; -pub const CRYPT_STRING_HEXASCII: CRYPT_STRING = 5u32; -pub const CRYPT_STRING_HEXASCIIADDR: CRYPT_STRING = 11u32; -pub const CRYPT_STRING_HEXRAW: CRYPT_STRING = 12u32; -pub const CRYPT_STRING_HEX_ANY: CRYPT_STRING = 8u32; -pub const CRYPT_STRING_NOCR: u32 = 2147483648u32; -pub const CRYPT_STRING_NOCRLF: u32 = 1073741824u32; -pub const CRYPT_STRING_PERCENTESCAPE: u32 = 134217728u32; -pub const CRYPT_STRING_RESERVED100: u32 = 256u32; -pub const CRYPT_STRING_RESERVED200: u32 = 512u32; -pub const CRYPT_STRING_STRICT: CRYPT_STRING = 536870912u32; -pub const CRYPT_SUCCEED: u32 = 1u32; -pub const CRYPT_TEMPLATE_OID_GROUP_ID: u32 = 9u32; -pub const CRYPT_TYPE2_FORMAT: u32 = 2u32; -pub const CRYPT_UI_PROMPT: u32 = 4u32; -pub const CRYPT_UM: BCRYPT_QUERY_PROVIDER_MODE = 1u32; -pub const CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32; -pub const CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 1073741824u32; -pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 2147483648u32; -pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 536870912u32; -pub const CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32; -pub const CRYPT_UPDATE_KEY: u32 = 8u32; -pub const CRYPT_USERDATA: u32 = 1u32; -pub const CRYPT_USER_DEFAULT: u32 = 2u32; -pub const CRYPT_USER_KEYSET: CRYPT_KEY_FLAGS = 4096u32; -pub const CRYPT_USER_PROTECTED: CRYPT_KEY_FLAGS = 2u32; -pub const CRYPT_USER_PROTECTED_STRONG: u32 = 1048576u32; -pub const CRYPT_VERIFYCONTEXT: u32 = 4026531840u32; -pub const CRYPT_VERIFY_CERT_SIGN_CHECK_WEAK_HASH_FLAG: u32 = 8u32; -pub const CRYPT_VERIFY_CERT_SIGN_DISABLE_MD2_MD4_FLAG: CRYPT_VERIFY_CERT_FLAGS = 1u32; -pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT: u32 = 2u32; -pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN: u32 = 3u32; -pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL: u32 = 4u32; -pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY: u32 = 1u32; -pub const CRYPT_VERIFY_CERT_SIGN_RETURN_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 4u32; -pub const CRYPT_VERIFY_CERT_SIGN_SET_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 2u32; -pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB: u32 = 1u32; -pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT: u32 = 2u32; -pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL: u32 = 3u32; -pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_OCSP_BASIC_SIGNED_RESPONSE: u32 = 4u32; -pub const CRYPT_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32; -pub const CRYPT_VERIFY_DATA_HASH: u32 = 64u32; -pub const CRYPT_VOLATILE: CRYPT_KEY_FLAGS = 4096u32; -pub const CRYPT_WIRE_ONLY_RETRIEVAL: u32 = 4u32; -pub const CRYPT_WRITE: u32 = 16u32; -pub const CRYPT_X931_FORMAT: u32 = 4u32; -pub const CRYPT_X942_COUNTER_BYTE_LENGTH: u32 = 4u32; -pub const CRYPT_X942_KEY_LENGTH_BYTE_LENGTH: u32 = 4u32; -pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_ALGID: u32 = 3u32; -pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_SIGN_ALGID: u32 = 4u32; -pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_NAME: u32 = 2u32; -pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_URI: u32 = 1u32; -pub const CRYPT_XML_BLOB_MAX: u32 = 2147483640u32; -pub const CRYPT_XML_CHARSET_AUTO: CRYPT_XML_CHARSET = 0i32; -pub const CRYPT_XML_CHARSET_UTF16BE: CRYPT_XML_CHARSET = 3i32; -pub const CRYPT_XML_CHARSET_UTF16LE: CRYPT_XML_CHARSET = 2i32; -pub const CRYPT_XML_CHARSET_UTF8: CRYPT_XML_CHARSET = 1i32; -pub const CRYPT_XML_DIGEST_REFERENCE_DATA_TRANSFORMED: u32 = 1u32; -pub const CRYPT_XML_DIGEST_VALUE_MAX: u32 = 128u32; -pub const CRYPT_XML_E_ALGORITHM: ::windows_sys::core::HRESULT = -2146885372i32; -pub const CRYPT_XML_E_BASE: ::windows_sys::core::HRESULT = -2146885376i32; -pub const CRYPT_XML_E_ENCODING: ::windows_sys::core::HRESULT = -2146885373i32; -pub const CRYPT_XML_E_HANDLE: ::windows_sys::core::HRESULT = -2146885370i32; -pub const CRYPT_XML_E_HASH_FAILED: ::windows_sys::core::HRESULT = -2146885365i32; -pub const CRYPT_XML_E_INVALID_DIGEST: ::windows_sys::core::HRESULT = -2146885367i32; -pub const CRYPT_XML_E_INVALID_KEYVALUE: ::windows_sys::core::HRESULT = -2146885361i32; -pub const CRYPT_XML_E_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -2146885366i32; -pub const CRYPT_XML_E_LARGE: ::windows_sys::core::HRESULT = -2146885375i32; -pub const CRYPT_XML_E_LAST: ::windows_sys::core::HRESULT = -2146885358i32; -pub const CRYPT_XML_E_NON_UNIQUE_ID: ::windows_sys::core::HRESULT = -2146885358i32; -pub const CRYPT_XML_E_OPERATION: ::windows_sys::core::HRESULT = -2146885369i32; -pub const CRYPT_XML_E_SIGNER: ::windows_sys::core::HRESULT = -2146885359i32; -pub const CRYPT_XML_E_SIGN_FAILED: ::windows_sys::core::HRESULT = -2146885364i32; -pub const CRYPT_XML_E_TOO_MANY_SIGNATURES: ::windows_sys::core::HRESULT = -2146885362i32; -pub const CRYPT_XML_E_TOO_MANY_TRANSFORMS: ::windows_sys::core::HRESULT = -2146885374i32; -pub const CRYPT_XML_E_TRANSFORM: ::windows_sys::core::HRESULT = -2146885371i32; -pub const CRYPT_XML_E_UNEXPECTED_XML: ::windows_sys::core::HRESULT = -2146885360i32; -pub const CRYPT_XML_E_UNRESOLVED_REFERENCE: ::windows_sys::core::HRESULT = -2146885368i32; -pub const CRYPT_XML_E_VERIFY_FAILED: ::windows_sys::core::HRESULT = -2146885363i32; -pub const CRYPT_XML_FLAG_ADD_OBJECT_CREATE_COPY: u32 = 1u32; -pub const CRYPT_XML_FLAG_ALWAYS_RETURN_ENCODED_OBJECT: u32 = 1073741824u32; -pub const CRYPT_XML_FLAG_CREATE_REFERENCE_AS_OBJECT: u32 = 1u32; -pub const CRYPT_XML_FLAG_DISABLE_EXTENSIONS: CRYPT_XML_FLAGS = 268435456u32; -pub const CRYPT_XML_FLAG_ECDSA_DSIG11: u32 = 67108864u32; -pub const CRYPT_XML_FLAG_ENFORCE_ID_NAME_FORMAT: u32 = 134217728u32; -pub const CRYPT_XML_FLAG_ENFORCE_ID_NCNAME_FORMAT: u32 = 536870912u32; -pub const CRYPT_XML_FLAG_NO_SERIALIZE: CRYPT_XML_FLAGS = 2147483648u32; -pub const CRYPT_XML_GROUP_ID_HASH: CRYPT_XML_GROUP_ID = 1u32; -pub const CRYPT_XML_GROUP_ID_SIGN: CRYPT_XML_GROUP_ID = 2u32; -pub const CRYPT_XML_ID_MAX: u32 = 256u32; -pub const CRYPT_XML_KEYINFO_SPEC_ENCODED: CRYPT_XML_KEYINFO_SPEC = 1i32; -pub const CRYPT_XML_KEYINFO_SPEC_NONE: CRYPT_XML_KEYINFO_SPEC = 0i32; -pub const CRYPT_XML_KEYINFO_SPEC_PARAM: CRYPT_XML_KEYINFO_SPEC = 2i32; -pub const CRYPT_XML_KEYINFO_TYPE_CUSTOM: CRYPT_XML_KEYINFO_TYPE = 5u32; -pub const CRYPT_XML_KEYINFO_TYPE_KEYNAME: CRYPT_XML_KEYINFO_TYPE = 1u32; -pub const CRYPT_XML_KEYINFO_TYPE_KEYVALUE: CRYPT_XML_KEYINFO_TYPE = 2u32; -pub const CRYPT_XML_KEYINFO_TYPE_RETRIEVAL: CRYPT_XML_KEYINFO_TYPE = 3u32; -pub const CRYPT_XML_KEYINFO_TYPE_X509DATA: CRYPT_XML_KEYINFO_TYPE = 4u32; -pub const CRYPT_XML_KEY_VALUE_TYPE_CUSTOM: CRYPT_XML_KEY_VALUE_TYPE = 4u32; -pub const CRYPT_XML_KEY_VALUE_TYPE_DSA: CRYPT_XML_KEY_VALUE_TYPE = 1u32; -pub const CRYPT_XML_KEY_VALUE_TYPE_ECDSA: CRYPT_XML_KEY_VALUE_TYPE = 3u32; -pub const CRYPT_XML_KEY_VALUE_TYPE_RSA: CRYPT_XML_KEY_VALUE_TYPE = 2u32; -pub const CRYPT_XML_OBJECTS_MAX: u32 = 256u32; -pub const CRYPT_XML_PROPERTY_DOC_DECLARATION: CRYPT_XML_PROPERTY_ID = 4i32; -pub const CRYPT_XML_PROPERTY_MAX_HEAP_SIZE: CRYPT_XML_PROPERTY_ID = 1i32; -pub const CRYPT_XML_PROPERTY_MAX_SIGNATURES: CRYPT_XML_PROPERTY_ID = 3i32; -pub const CRYPT_XML_PROPERTY_SIGNATURE_LOCATION: CRYPT_XML_PROPERTY_ID = 2i32; -pub const CRYPT_XML_PROPERTY_XML_OUTPUT_CHARSET: CRYPT_XML_PROPERTY_ID = 5i32; -pub const CRYPT_XML_REFERENCES_MAX: u32 = 32760u32; -pub const CRYPT_XML_SIGNATURES_MAX: u32 = 16u32; -pub const CRYPT_XML_SIGNATURE_VALUE_MAX: u32 = 2048u32; -pub const CRYPT_XML_SIGN_ADD_KEYVALUE: CRYPT_XML_FLAGS = 1u32; -pub const CRYPT_XML_STATUS_DIGESTING: CRYPT_XML_STATUS_INFO_STATUS = 4u32; -pub const CRYPT_XML_STATUS_DIGEST_VALID: CRYPT_XML_STATUS_INFO_STATUS = 8u32; -pub const CRYPT_XML_STATUS_ERROR_DIGEST_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 2u32; -pub const CRYPT_XML_STATUS_ERROR_KEYINFO_NOT_PARSED: CRYPT_XML_STATUS_ERROR_STATUS = 131072u32; -pub const CRYPT_XML_STATUS_ERROR_NOT_RESOLVED: CRYPT_XML_STATUS_ERROR_STATUS = 1u32; -pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_ALGORITHM: CRYPT_XML_STATUS_ERROR_STATUS = 5u32; -pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_TRANSFORM: CRYPT_XML_STATUS_ERROR_STATUS = 8u32; -pub const CRYPT_XML_STATUS_ERROR_SIGNATURE_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 65536u32; -pub const CRYPT_XML_STATUS_INTERNAL_REFERENCE: CRYPT_XML_STATUS_INFO_STATUS = 1u32; -pub const CRYPT_XML_STATUS_KEY_AVAILABLE: CRYPT_XML_STATUS_INFO_STATUS = 2u32; -pub const CRYPT_XML_STATUS_NO_ERROR: u32 = 0u32; -pub const CRYPT_XML_STATUS_OPENED_TO_ENCODE: CRYPT_XML_STATUS_INFO_STATUS = 2147483648u32; -pub const CRYPT_XML_STATUS_SIGNATURE_VALID: CRYPT_XML_STATUS_INFO_STATUS = 65536u32; -pub const CRYPT_XML_TRANSFORM_MAX: u32 = 16u32; -pub const CRYPT_XML_TRANSFORM_ON_NODESET: CRYPT_XML_TRANSFORM_FLAGS = 2u32; -pub const CRYPT_XML_TRANSFORM_ON_STREAM: CRYPT_XML_TRANSFORM_FLAGS = 1u32; -pub const CRYPT_XML_TRANSFORM_URI_QUERY_STRING: CRYPT_XML_TRANSFORM_FLAGS = 3u32; -pub const CRYPT_XML_X509DATA_TYPE_CERTIFICATE: CRYPT_XML_X509DATA_TYPE = 4u32; -pub const CRYPT_XML_X509DATA_TYPE_CRL: CRYPT_XML_X509DATA_TYPE = 5u32; -pub const CRYPT_XML_X509DATA_TYPE_CUSTOM: CRYPT_XML_X509DATA_TYPE = 6u32; -pub const CRYPT_XML_X509DATA_TYPE_ISSUER_SERIAL: CRYPT_XML_X509DATA_TYPE = 1u32; -pub const CRYPT_XML_X509DATA_TYPE_SKI: CRYPT_XML_X509DATA_TYPE = 2u32; -pub const CRYPT_XML_X509DATA_TYPE_SUBJECT_NAME: CRYPT_XML_X509DATA_TYPE = 3u32; -pub const CRYPT_Y_ONLY: CRYPT_KEY_FLAGS = 1u32; -pub const CTL_ANY_SUBJECT_TYPE: u32 = 1u32; -pub const CTL_CERT_SUBJECT_TYPE: u32 = 2u32; -pub const CTL_ENTRY_FROM_PROP_CHAIN_FLAG: u32 = 1u32; -pub const CTL_FIND_ANY: CERT_FIND_TYPE = 0u32; -pub const CTL_FIND_EXISTING: CERT_FIND_TYPE = 5u32; -pub const CTL_FIND_MD5_HASH: CERT_FIND_TYPE = 2u32; -pub const CTL_FIND_NO_LIST_ID_CBDATA: u32 = 4294967295u32; -pub const CTL_FIND_SAME_USAGE_FLAG: CERT_FIND_TYPE = 1u32; -pub const CTL_FIND_SHA1_HASH: CERT_FIND_TYPE = 1u32; -pub const CTL_FIND_SUBJECT: CERT_FIND_TYPE = 4u32; -pub const CTL_FIND_USAGE: CERT_FIND_TYPE = 3u32; -pub const CTL_V1: u32 = 0u32; -pub const CUR_BLOB_VERSION: u32 = 2u32; -pub const DSA_FIPS186_2: DSAFIPSVERSION_ENUM = 0i32; -pub const DSA_FIPS186_3: DSAFIPSVERSION_ENUM = 1i32; -pub const DSA_HASH_ALGORITHM_SHA1: HASHALGORITHM_ENUM = 0i32; -pub const DSA_HASH_ALGORITHM_SHA256: HASHALGORITHM_ENUM = 1i32; -pub const DSA_HASH_ALGORITHM_SHA512: HASHALGORITHM_ENUM = 2i32; -pub const DirectionDecrypt: Direction = 2i32; -pub const DirectionEncrypt: Direction = 1i32; -pub const ECC_CMS_SHARED_INFO: ::windows_sys::core::PCSTR = 77i32 as _; -pub const ENUM_CEPSETUPPROP_AUTHENTICATION: CEPSetupProperty = 0i32; -pub const ENUM_CEPSETUPPROP_CAINFORMATION: MSCEPSetupProperty = 11i32; -pub const ENUM_CEPSETUPPROP_CHALLENGEURL: MSCEPSetupProperty = 13i32; -pub const ENUM_CEPSETUPPROP_EXCHANGEKEYINFORMATION: MSCEPSetupProperty = 10i32; -pub const ENUM_CEPSETUPPROP_KEYBASED_RENEWAL: CEPSetupProperty = 3i32; -pub const ENUM_CEPSETUPPROP_MSCEPURL: MSCEPSetupProperty = 12i32; -pub const ENUM_CEPSETUPPROP_RANAME_CITY: MSCEPSetupProperty = 6i32; -pub const ENUM_CEPSETUPPROP_RANAME_CN: MSCEPSetupProperty = 2i32; -pub const ENUM_CEPSETUPPROP_RANAME_COMPANY: MSCEPSetupProperty = 4i32; -pub const ENUM_CEPSETUPPROP_RANAME_COUNTRY: MSCEPSetupProperty = 8i32; -pub const ENUM_CEPSETUPPROP_RANAME_DEPT: MSCEPSetupProperty = 5i32; -pub const ENUM_CEPSETUPPROP_RANAME_EMAIL: MSCEPSetupProperty = 3i32; -pub const ENUM_CEPSETUPPROP_RANAME_STATE: MSCEPSetupProperty = 7i32; -pub const ENUM_CEPSETUPPROP_SIGNINGKEYINFORMATION: MSCEPSetupProperty = 9i32; -pub const ENUM_CEPSETUPPROP_SSLCERTHASH: CEPSetupProperty = 1i32; -pub const ENUM_CEPSETUPPROP_URL: CEPSetupProperty = 2i32; -pub const ENUM_CEPSETUPPROP_USECHALLENGE: MSCEPSetupProperty = 1i32; -pub const ENUM_CEPSETUPPROP_USELOCALSYSTEM: MSCEPSetupProperty = 0i32; -pub const ENUM_CESSETUPPROP_ALLOW_KEYBASED_RENEWAL: CESSetupProperty = 6i32; -pub const ENUM_CESSETUPPROP_AUTHENTICATION: CESSetupProperty = 2i32; -pub const ENUM_CESSETUPPROP_CACONFIG: CESSetupProperty = 1i32; -pub const ENUM_CESSETUPPROP_RENEWALONLY: CESSetupProperty = 5i32; -pub const ENUM_CESSETUPPROP_SSLCERTHASH: CESSetupProperty = 3i32; -pub const ENUM_CESSETUPPROP_URL: CESSetupProperty = 4i32; -pub const ENUM_CESSETUPPROP_USE_IISAPPPOOLIDENTITY: CESSetupProperty = 0i32; -pub const ENUM_SETUPPROP_CADSSUFFIX: CASetupProperty = 4i32; -pub const ENUM_SETUPPROP_CAKEYINFORMATION: CASetupProperty = 1i32; -pub const ENUM_SETUPPROP_CANAME: CASetupProperty = 3i32; -pub const ENUM_SETUPPROP_CATYPE: CASetupProperty = 0i32; -pub const ENUM_SETUPPROP_DATABASEDIRECTORY: CASetupProperty = 9i32; -pub const ENUM_SETUPPROP_EXPIRATIONDATE: CASetupProperty = 7i32; -pub const ENUM_SETUPPROP_INTERACTIVE: CASetupProperty = 2i32; -pub const ENUM_SETUPPROP_INVALID: CASetupProperty = -1i32; -pub const ENUM_SETUPPROP_LOGDIRECTORY: CASetupProperty = 10i32; -pub const ENUM_SETUPPROP_PARENTCAMACHINE: CASetupProperty = 12i32; -pub const ENUM_SETUPPROP_PARENTCANAME: CASetupProperty = 13i32; -pub const ENUM_SETUPPROP_PRESERVEDATABASE: CASetupProperty = 8i32; -pub const ENUM_SETUPPROP_REQUESTFILE: CASetupProperty = 14i32; -pub const ENUM_SETUPPROP_SHAREDFOLDER: CASetupProperty = 11i32; -pub const ENUM_SETUPPROP_VALIDITYPERIOD: CASetupProperty = 5i32; -pub const ENUM_SETUPPROP_VALIDITYPERIODUNIT: CASetupProperty = 6i32; -pub const ENUM_SETUPPROP_WEBCAMACHINE: CASetupProperty = 15i32; -pub const ENUM_SETUPPROP_WEBCANAME: CASetupProperty = 16i32; -pub const EXPORT_PRIVATE_KEYS: u32 = 4u32; -pub const EXPO_OFFLOAD_FUNC_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("OffloadModExpo"); -pub const EXPO_OFFLOAD_REG_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ExpoOffload"); -pub const E_ICARD_ARGUMENT: ::windows_sys::core::HRESULT = -1073413883i32; -pub const E_ICARD_COMMUNICATION: ::windows_sys::core::HRESULT = -1073413888i32; -pub const E_ICARD_DATA_ACCESS: ::windows_sys::core::HRESULT = -1073413887i32; -pub const E_ICARD_EXPORT: ::windows_sys::core::HRESULT = -1073413886i32; -pub const E_ICARD_FAIL: ::windows_sys::core::HRESULT = -1073413867i32; -pub const E_ICARD_FAILED_REQUIRED_CLAIMS: ::windows_sys::core::HRESULT = -1073413756i32; -pub const E_ICARD_IDENTITY: ::windows_sys::core::HRESULT = -1073413885i32; -pub const E_ICARD_IMPORT: ::windows_sys::core::HRESULT = -1073413884i32; -pub const E_ICARD_INFORMATIONCARD: ::windows_sys::core::HRESULT = -1073413881i32; -pub const E_ICARD_INVALID_PROOF_KEY: ::windows_sys::core::HRESULT = -1073413758i32; -pub const E_ICARD_LOGOVALIDATION: ::windows_sys::core::HRESULT = -1073413879i32; -pub const E_ICARD_MISSING_APPLIESTO: ::windows_sys::core::HRESULT = -1073413759i32; -pub const E_ICARD_PASSWORDVALIDATION: ::windows_sys::core::HRESULT = -1073413878i32; -pub const E_ICARD_POLICY: ::windows_sys::core::HRESULT = -1073413877i32; -pub const E_ICARD_PROCESSDIED: ::windows_sys::core::HRESULT = -1073413876i32; -pub const E_ICARD_REFRESH_REQUIRED: ::windows_sys::core::HRESULT = -1073413760i32; -pub const E_ICARD_REQUEST: ::windows_sys::core::HRESULT = -1073413882i32; -pub const E_ICARD_SERVICE: ::windows_sys::core::HRESULT = -1073413874i32; -pub const E_ICARD_SERVICEBUSY: ::windows_sys::core::HRESULT = -1073413875i32; -pub const E_ICARD_SHUTTINGDOWN: ::windows_sys::core::HRESULT = -1073413873i32; -pub const E_ICARD_STOREKEY: ::windows_sys::core::HRESULT = -1073413880i32; -pub const E_ICARD_STORE_IMPORT: ::windows_sys::core::HRESULT = -1073413868i32; -pub const E_ICARD_TOKENCREATION: ::windows_sys::core::HRESULT = -1073413872i32; -pub const E_ICARD_TRUSTEXCHANGE: ::windows_sys::core::HRESULT = -1073413871i32; -pub const E_ICARD_UI_INITIALIZATION: ::windows_sys::core::HRESULT = -1073413862i32; -pub const E_ICARD_UNKNOWN_REFERENCE: ::windows_sys::core::HRESULT = -1073413757i32; -pub const E_ICARD_UNTRUSTED: ::windows_sys::core::HRESULT = -1073413870i32; -pub const E_ICARD_USERCANCELLED: ::windows_sys::core::HRESULT = -1073413869i32; -pub const HP_ALGID: u32 = 1u32; -pub const HP_HASHSIZE: u32 = 4u32; -pub const HP_HASHVAL: CRYPT_SET_HASH_PARAM = 2u32; -pub const HP_HMAC_INFO: CRYPT_SET_HASH_PARAM = 5u32; -pub const HP_TLS1PRF_LABEL: u32 = 6u32; -pub const HP_TLS1PRF_SEED: u32 = 7u32; -pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_1: u32 = 1u32; -pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_2: u32 = 2u32; -pub const IFX_RSA_KEYGEN_VUL_NOT_AFFECTED: u32 = 0u32; -pub const INTERNATIONAL_USAGE: u32 = 1u32; -pub const KDF_ALGORITHMID: u32 = 8u32; -pub const KDF_CONTEXT: u32 = 14u32; -pub const KDF_GENERIC_PARAMETER: u32 = 17u32; -pub const KDF_HASH_ALGORITHM: u32 = 0u32; -pub const KDF_HKDF_INFO: u32 = 20u32; -pub const KDF_HKDF_SALT: u32 = 19u32; -pub const KDF_HMAC_KEY: u32 = 3u32; -pub const KDF_ITERATION_COUNT: u32 = 16u32; -pub const KDF_KEYBITLENGTH: u32 = 18u32; -pub const KDF_LABEL: u32 = 13u32; -pub const KDF_PARTYUINFO: u32 = 9u32; -pub const KDF_PARTYVINFO: u32 = 10u32; -pub const KDF_SALT: u32 = 15u32; -pub const KDF_SECRET_APPEND: u32 = 2u32; -pub const KDF_SECRET_HANDLE: u32 = 6u32; -pub const KDF_SECRET_PREPEND: u32 = 1u32; -pub const KDF_SUPPPRIVINFO: u32 = 12u32; -pub const KDF_SUPPPUBINFO: u32 = 11u32; -pub const KDF_TLS_PRF_LABEL: u32 = 4u32; -pub const KDF_TLS_PRF_PROTOCOL: u32 = 7u32; -pub const KDF_TLS_PRF_SEED: u32 = 5u32; -pub const KDF_USE_SECRET_AS_HMAC_KEY_FLAG: u32 = 1u32; -pub const KEYSTATEBLOB: u32 = 12u32; -pub const KEY_LENGTH_MASK: u32 = 4294901760u32; -pub const KP_ADMIN_PIN: u32 = 31u32; -pub const KP_ALGID: CRYPT_KEY_PARAM_ID = 7u32; -pub const KP_BLOCKLEN: CRYPT_KEY_PARAM_ID = 8u32; -pub const KP_CERTIFICATE: CRYPT_KEY_PARAM_ID = 26u32; -pub const KP_CLEAR_KEY: u32 = 27u32; -pub const KP_CLIENT_RANDOM: u32 = 21u32; -pub const KP_CMS_DH_KEY_INFO: u32 = 38u32; -pub const KP_CMS_KEY_INFO: u32 = 37u32; -pub const KP_EFFECTIVE_KEYLEN: u32 = 19u32; -pub const KP_G: u32 = 12u32; -pub const KP_GET_USE_COUNT: CRYPT_KEY_PARAM_ID = 42u32; -pub const KP_HIGHEST_VERSION: u32 = 41u32; -pub const KP_INFO: u32 = 18u32; -pub const KP_IV: u32 = 1u32; -pub const KP_KEYEXCHANGE_PIN: u32 = 32u32; -pub const KP_KEYLEN: CRYPT_KEY_PARAM_ID = 9u32; -pub const KP_KEYVAL: u32 = 30u32; -pub const KP_MODE: u32 = 4u32; -pub const KP_MODE_BITS: u32 = 5u32; -pub const KP_OAEP_PARAMS: u32 = 36u32; -pub const KP_P: u32 = 11u32; -pub const KP_PADDING: u32 = 3u32; -pub const KP_PERMISSIONS: CRYPT_KEY_PARAM_ID = 6u32; -pub const KP_PIN_ID: u32 = 43u32; -pub const KP_PIN_INFO: u32 = 44u32; -pub const KP_PRECOMP_MD5: u32 = 24u32; -pub const KP_PRECOMP_SHA: u32 = 25u32; -pub const KP_PREHASH: u32 = 34u32; -pub const KP_PUB_EX_LEN: u32 = 28u32; -pub const KP_PUB_EX_VAL: u32 = 29u32; -pub const KP_PUB_PARAMS: u32 = 39u32; -pub const KP_Q: u32 = 13u32; -pub const KP_RA: u32 = 16u32; -pub const KP_RB: u32 = 17u32; -pub const KP_ROUNDS: u32 = 35u32; -pub const KP_RP: u32 = 23u32; -pub const KP_SALT: CRYPT_KEY_PARAM_ID = 2u32; -pub const KP_SALT_EX: CRYPT_KEY_PARAM_ID = 10u32; -pub const KP_SCHANNEL_ALG: u32 = 20u32; -pub const KP_SERVER_RANDOM: u32 = 22u32; -pub const KP_SIGNATURE_PIN: u32 = 33u32; -pub const KP_VERIFY_PARAMS: u32 = 40u32; -pub const KP_X: u32 = 14u32; -pub const KP_Y: u32 = 15u32; -pub const KeyTypeHardware: CertKeyType = 6u32; -pub const KeyTypeOther: CertKeyType = 0u32; -pub const KeyTypePassport: CertKeyType = 3u32; -pub const KeyTypePassportRemote: CertKeyType = 4u32; -pub const KeyTypePassportSmartCard: CertKeyType = 5u32; -pub const KeyTypePhysicalSmartCard: CertKeyType = 2u32; -pub const KeyTypeSelfSigned: CertKeyType = 8u32; -pub const KeyTypeSoftware: CertKeyType = 7u32; -pub const KeyTypeVirtualSmartCard: CertKeyType = 1u32; -pub const LEGACY_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDHPRIVATEBLOB"); -pub const LEGACY_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDHPUBLICBLOB"); -pub const LEGACY_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDSAPRIVATEBLOB"); -pub const LEGACY_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDSAPUBLICBLOB"); -pub const LEGACY_DSA_V2_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("V2CAPIDSAPRIVATEBLOB"); -pub const LEGACY_DSA_V2_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("V2CAPIDSAPUBLICBLOB"); -pub const LEGACY_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIPRIVATEBLOB"); -pub const LEGACY_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIPUBLICBLOB"); -pub const MAXUIDLEN: u32 = 64u32; -pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG: u32 = 131072u32; -pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_DISABLE_FLIGHT_ROOT_FLAG: u32 = 262144u32; -pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG: u32 = 65536u32; -pub const MS_DEF_DH_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft DH SChannel Cryptographic Provider"); -pub const MS_DEF_DH_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft DH SChannel Cryptographic Provider"); -pub const MS_DEF_DH_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft DH SChannel Cryptographic Provider"); -pub const MS_DEF_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_DEF_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_DEF_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_DEF_DSS_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS Cryptographic Provider"); -pub const MS_DEF_DSS_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base DSS Cryptographic Provider"); -pub const MS_DEF_DSS_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS Cryptographic Provider"); -pub const MS_DEF_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Cryptographic Provider v1.0"); -pub const MS_DEF_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base Cryptographic Provider v1.0"); -pub const MS_DEF_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Cryptographic Provider v1.0"); -pub const MS_DEF_RSA_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA SChannel Cryptographic Provider"); -pub const MS_DEF_RSA_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft RSA SChannel Cryptographic Provider"); -pub const MS_DEF_RSA_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA SChannel Cryptographic Provider"); -pub const MS_DEF_RSA_SIG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA Signature Cryptographic Provider"); -pub const MS_DEF_RSA_SIG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft RSA Signature Cryptographic Provider"); -pub const MS_DEF_RSA_SIG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA Signature Cryptographic Provider"); -pub const MS_ENHANCED_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced Cryptographic Provider v1.0"); -pub const MS_ENHANCED_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced Cryptographic Provider v1.0"); -pub const MS_ENHANCED_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced Cryptographic Provider v1.0"); -pub const MS_ENH_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_ENH_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_ENH_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); -pub const MS_ENH_RSA_AES_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); -pub const MS_ENH_RSA_AES_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced RSA and AES Cryptographic Provider"); -pub const MS_ENH_RSA_AES_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); -pub const MS_ENH_RSA_AES_PROV_XP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); -pub const MS_ENH_RSA_AES_PROV_XP_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); -pub const MS_ENH_RSA_AES_PROV_XP_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); -pub const MS_KEY_PROTECTION_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Key Protection Provider"); -pub const MS_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Software Key Storage Provider"); -pub const MS_NGC_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Passport Key Storage Provider"); -pub const MS_PLATFORM_CRYPTO_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Platform Crypto Provider"); -pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Platform Crypto Provider"); -pub const MS_PRIMITIVE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Primitive Provider"); -pub const MS_SCARD_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Smart Card Crypto Provider"); -pub const MS_SCARD_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base Smart Card Crypto Provider"); -pub const MS_SCARD_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Smart Card Crypto Provider"); -pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Smart Card Key Storage Provider"); -pub const MS_STRONG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Strong Cryptographic Provider"); -pub const MS_STRONG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Strong Cryptographic Provider"); -pub const MS_STRONG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Strong Cryptographic Provider"); -pub const NCRYPTBUFFER_ATTESTATIONSTATEMENT_BLOB: u32 = 51u32; -pub const NCRYPTBUFFER_ATTESTATION_CLAIM_CHALLENGE_REQUIRED: u32 = 53u32; -pub const NCRYPTBUFFER_ATTESTATION_CLAIM_TYPE: u32 = 52u32; -pub const NCRYPTBUFFER_CERT_BLOB: u32 = 47u32; -pub const NCRYPTBUFFER_CLAIM_IDBINDING_NONCE: u32 = 48u32; -pub const NCRYPTBUFFER_CLAIM_KEYATTESTATION_NONCE: u32 = 49u32; -pub const NCRYPTBUFFER_DATA: u32 = 1u32; -pub const NCRYPTBUFFER_ECC_CURVE_NAME: u32 = 60u32; -pub const NCRYPTBUFFER_ECC_PARAMETERS: u32 = 61u32; -pub const NCRYPTBUFFER_EMPTY: u32 = 0u32; -pub const NCRYPTBUFFER_KEY_PROPERTY_FLAGS: u32 = 50u32; -pub const NCRYPTBUFFER_PKCS_ALG_ID: u32 = 43u32; -pub const NCRYPTBUFFER_PKCS_ALG_OID: u32 = 41u32; -pub const NCRYPTBUFFER_PKCS_ALG_PARAM: u32 = 42u32; -pub const NCRYPTBUFFER_PKCS_ATTRS: u32 = 44u32; -pub const NCRYPTBUFFER_PKCS_KEY_NAME: u32 = 45u32; -pub const NCRYPTBUFFER_PKCS_OID: u32 = 40u32; -pub const NCRYPTBUFFER_PKCS_SECRET: u32 = 46u32; -pub const NCRYPTBUFFER_PROTECTION_DESCRIPTOR_STRING: u32 = 3u32; -pub const NCRYPTBUFFER_PROTECTION_FLAGS: u32 = 4u32; -pub const NCRYPTBUFFER_SSL_CLEAR_KEY: u32 = 23u32; -pub const NCRYPTBUFFER_SSL_CLIENT_RANDOM: u32 = 20u32; -pub const NCRYPTBUFFER_SSL_HIGHEST_VERSION: u32 = 22u32; -pub const NCRYPTBUFFER_SSL_KEY_ARG_DATA: u32 = 24u32; -pub const NCRYPTBUFFER_SSL_SERVER_RANDOM: u32 = 21u32; -pub const NCRYPTBUFFER_SSL_SESSION_HASH: u32 = 25u32; -pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_NONCE: u32 = 81u32; -pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_PCR_MASK: u32 = 80u32; -pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_STATIC_CREATE: u32 = 82u32; -pub const NCRYPTBUFFER_TPM_SEAL_NO_DA_PROTECTION: u32 = 73u32; -pub const NCRYPTBUFFER_TPM_SEAL_PASSWORD: u32 = 70u32; -pub const NCRYPTBUFFER_TPM_SEAL_POLICYINFO: u32 = 71u32; -pub const NCRYPTBUFFER_TPM_SEAL_TICKET: u32 = 72u32; -pub const NCRYPTBUFFER_VERSION: u32 = 0u32; -pub const NCRYPTBUFFER_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS: u32 = 54u32; -pub const NCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES_112"); -pub const NCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES"); -pub const NCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); -pub const NCRYPT_AES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); -pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Algorithm Group"); -pub const NCRYPT_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Algorithm Name"); -pub const NCRYPT_ALLOW_ALL_USAGES: u32 = 16777215u32; -pub const NCRYPT_ALLOW_ARCHIVING_FLAG: u32 = 4u32; -pub const NCRYPT_ALLOW_DECRYPT_FLAG: u32 = 1u32; -pub const NCRYPT_ALLOW_EXPORT_FLAG: u32 = 1u32; -pub const NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: u32 = 4u32; -pub const NCRYPT_ALLOW_KEY_IMPORT_FLAG: u32 = 8u32; -pub const NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: u32 = 8u32; -pub const NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: u32 = 2u32; -pub const NCRYPT_ALLOW_SIGNING_FLAG: u32 = 2u32; -pub const NCRYPT_ALLOW_SILENT_KEY_ACCESS: u32 = 1u32; -pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); -pub const NCRYPT_ASSOCIATED_ECDH_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardAssociatedECDHKey"); -pub const NCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 3u32; -pub const NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: NCRYPT_OPERATION = 4u32; -pub const NCRYPT_ATTESTATION_FLAG: u32 = 32u32; -pub const NCRYPT_AUTHORITY_KEY_FLAG: u32 = 256u32; -pub const NCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthTagLength"); -pub const NCRYPT_BLOCK_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Block Length"); -pub const NCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPI_KDF"); -pub const NCRYPT_CERTIFICATE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardKeyCertificate"); -pub const NCRYPT_CHAINING_MODE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Chaining Mode"); -pub const NCRYPT_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_CHANGEPASSWORD"); -pub const NCRYPT_CIPHER_BLOCK_PADDING_FLAG: u32 = 1u32; -pub const NCRYPT_CIPHER_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CipherKeyBlob"); -pub const NCRYPT_CIPHER_KEY_BLOB_MAGIC: u32 = 1380470851u32; -pub const NCRYPT_CIPHER_NO_PADDING_FLAG: u32 = 0u32; -pub const NCRYPT_CIPHER_OPERATION: NCRYPT_OPERATION = 1u32; -pub const NCRYPT_CIPHER_OTHER_PADDING_FLAG: u32 = 2u32; -pub const NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: u32 = 3u32; -pub const NCRYPT_CLAIM_AUTHORITY_ONLY: u32 = 1u32; -pub const NCRYPT_CLAIM_PLATFORM: u32 = 65536u32; -pub const NCRYPT_CLAIM_SUBJECT_ONLY: u32 = 2u32; -pub const NCRYPT_CLAIM_UNKNOWN: u32 = 4096u32; -pub const NCRYPT_CLAIM_VSM_KEY_ATTESTATION_STATEMENT: u32 = 4u32; -pub const NCRYPT_CLAIM_WEB_AUTH_SUBJECT_ONLY: u32 = 258u32; -pub const NCRYPT_DESCR_DELIMITER_AND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AND"); -pub const NCRYPT_DESCR_DELIMITER_OR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OR"); -pub const NCRYPT_DESCR_EQUAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("="); -pub const NCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DESX"); -pub const NCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); -pub const NCRYPT_DES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); -pub const NCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); -pub const NCRYPT_DH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); -pub const NCRYPT_DH_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHParameters"); -pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardDismissUITimeoutSeconds"); -pub const NCRYPT_DO_NOT_FINALIZE_FLAG: u32 = 1024u32; -pub const NCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); -pub const NCRYPT_DSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); -pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveNameList"); -pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveName"); -pub const NCRYPT_ECC_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCParameters"); -pub const NCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); -pub const NCRYPT_ECDH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); -pub const NCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P256"); -pub const NCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P384"); -pub const NCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P521"); -pub const NCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); -pub const NCRYPT_ECDSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); -pub const NCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P256"); -pub const NCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P384"); -pub const NCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P521"); -pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_CURRENT_VERSION: u32 = 0u32; -pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_V0: u32 = 0u32; -pub const NCRYPT_EXPORT_LEGACY_FLAG: u32 = 2048u32; -pub const NCRYPT_EXPORT_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Export Policy"); -pub const NCRYPT_EXTENDED_ERRORS_FLAG: u32 = 268435456u32; -pub const NCRYPT_HASH_OPERATION: NCRYPT_OPERATION = 2u32; -pub const NCRYPT_HMAC_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HMAC-SHA256"); -pub const NCRYPT_IGNORE_DEVICE_STATE_FLAG: u32 = 4096u32; -pub const NCRYPT_IMPL_HARDWARE_FLAG: u32 = 1u32; -pub const NCRYPT_IMPL_HARDWARE_RNG_FLAG: u32 = 16u32; -pub const NCRYPT_IMPL_REMOVABLE_FLAG: u32 = 8u32; -pub const NCRYPT_IMPL_SOFTWARE_FLAG: u32 = 2u32; -pub const NCRYPT_IMPL_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Impl Type"); -pub const NCRYPT_IMPL_VIRTUAL_ISOLATION_FLAG: u32 = 32u32; -pub const NCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IV"); -pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_CURRENT_VERSION: u32 = 0u32; -pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_V0: u32 = 0u32; -pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ISOLATED_KEY_ENVELOPE"); -pub const NCRYPT_ISOLATED_KEY_FLAG_CREATED_IN_ISOLATION: u32 = 1u32; -pub const NCRYPT_ISOLATED_KEY_FLAG_IMPORT_ONLY: u32 = 2u32; -pub const NCRYPT_KDF_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KDFKeyBlob"); -pub const NCRYPT_KDF_KEY_BLOB_MAGIC: u32 = 826688587u32; -pub const NCRYPT_KDF_SECRET_VALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KDFKeySecret"); -pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Access Policy"); -pub const NCRYPT_KEY_ACCESS_POLICY_VERSION: u32 = 1u32; -pub const NCRYPT_KEY_ATTEST_MAGIC: u32 = 1146110283u32; -pub const NCRYPT_KEY_DERIVATION_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KEY_DERIVATION"); -pub const NCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; -pub const NCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_CERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CERTIFICATE"); -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LOCAL"); -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCKEDCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LOCKEDCREDENTIALS"); -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SDDL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SDDL"); -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SID"); -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_WEBCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WEBCREDENTIALS"); -pub const NCRYPT_KEY_PROTECTION_CERT_CERTBLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertBlob"); -pub const NCRYPT_KEY_PROTECTION_CERT_HASHID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashId"); -pub const NCRYPT_KEY_PROTECTION_INTERFACE: u32 = 65540u32; -pub const NCRYPT_KEY_PROTECTION_LOCAL_LOGON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("logon"); -pub const NCRYPT_KEY_PROTECTION_LOCAL_MACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("machine"); -pub const NCRYPT_KEY_PROTECTION_LOCAL_USER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("user"); -pub const NCRYPT_KEY_STORAGE_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KEY_STORAGE"); -pub const NCRYPT_KEY_STORAGE_INTERFACE: BCRYPT_INTERFACE = 65537u32; -pub const NCRYPT_KEY_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Type"); -pub const NCRYPT_KEY_USAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Usage"); -pub const NCRYPT_LAST_MODIFIED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Modified"); -pub const NCRYPT_LENGTHS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Lengths"); -pub const NCRYPT_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Length"); -pub const NCRYPT_MACHINE_KEY_FLAG: NCRYPT_FLAGS = 32u32; -pub const NCRYPT_MAX_ALG_ID_LENGTH: u32 = 512u32; -pub const NCRYPT_MAX_KEY_NAME_LENGTH: u32 = 512u32; -pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Max Name Length"); -pub const NCRYPT_MAX_PROPERTY_DATA: u32 = 1048576u32; -pub const NCRYPT_MAX_PROPERTY_NAME: u32 = 64u32; -pub const NCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD2"); -pub const NCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD4"); -pub const NCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD5"); -pub const NCRYPT_NAMED_DESCRIPTOR_FLAG: u32 = 1u32; -pub const NCRYPT_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name"); -pub const NCRYPT_NO_CACHED_PASSWORD: u32 = 16384u32; -pub const NCRYPT_NO_KEY_VALIDATION: NCRYPT_FLAGS = 8u32; -pub const NCRYPT_NO_PADDING_FLAG: NCRYPT_FLAGS = 1u32; -pub const NCRYPT_OPAQUETRANSPORT_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OpaqueTransport"); -pub const NCRYPT_OVERWRITE_KEY_FLAG: NCRYPT_FLAGS = 128u32; -pub const NCRYPT_PAD_CIPHER_FLAG: u32 = 16u32; -pub const NCRYPT_PAD_OAEP_FLAG: NCRYPT_FLAGS = 4u32; -pub const NCRYPT_PAD_PKCS1_FLAG: NCRYPT_FLAGS = 2u32; -pub const NCRYPT_PAD_PSS_FLAG: NCRYPT_FLAGS = 8u32; -pub const NCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PBKDF2"); -pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); -pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_CHANGEPASSWORD"); -pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKCERT"); -pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKNVCERT"); -pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKPUB"); -pub const NCRYPT_PCP_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKCERT"); -pub const NCRYPT_PCP_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKNVCERT"); -pub const NCRYPT_PCP_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKPUB"); -pub const NCRYPT_PCP_ENCRYPTION_KEY: u32 = 2u32; -pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EXPORT_ALLOWED"); -pub const NCRYPT_PCP_HMACVERIFICATION_KEY: u32 = 16u32; -pub const NCRYPT_PCP_HMAC_AUTH_NONCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_NONCE"); -pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_POLICYINFO"); -pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_POLICYREF"); -pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_SIGNATURE"); -pub const NCRYPT_PCP_HMAC_AUTH_TICKET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_TICKET"); -pub const NCRYPT_PCP_IDENTITY_KEY: u32 = 8u32; -pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_INTERMEDIATE_CA_EKCERT"); -pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_KEYATTESTATION"); -pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_CREATIONHASH"); -pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_CREATIONTICKET"); -pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_USAGE_POLICY"); -pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_MIGRATIONPASSWORD"); -pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_NO_DA_PROTECTION"); -pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PASSWORD_REQUIRED"); -pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PCRTABLE_ALGORITHM"); -pub const NCRYPT_PCP_PCRTABLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PCRTABLE"); -pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORMHANDLE"); -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRALGID"); -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRDIGESTLIST"); -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRDIGEST"); -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRMASK"); -pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_TYPE"); -pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDERMHANDLE"); -pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDER_VERSION"); -pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PSS Salt Size"); -pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RAW_POLICYDIGEST"); -pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKCERT"); -pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKNVCERT"); -pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKPUB"); -pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_SCHEME_HASH_ALG"); -pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_SCHEME"); -pub const NCRYPT_PCP_SESSIONID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SESSIONID"); -pub const NCRYPT_PCP_SIGNATURE_KEY: u32 = 1u32; -pub const NCRYPT_PCP_SRKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SRKPUB"); -pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_STORAGEPARENT"); -pub const NCRYPT_PCP_STORAGE_KEY: u32 = 4u32; -pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SYMMETRIC_KEYBITS"); -pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDACTIVATION"); -pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDBINDING_DYNAMIC"); -pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDBINDING"); -pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM2BNAME"); -pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_FW_VERSION"); -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED"); -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY"); -pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_MANUFACTURER_ID"); -pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_VERSION"); -pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_USAGEAUTH"); -pub const NCRYPT_PERSIST_FLAG: NCRYPT_FLAGS = 2147483648u32; -pub const NCRYPT_PERSIST_ONLY_FLAG: NCRYPT_FLAGS = 1073741824u32; -pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationImage"); -pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationStatus"); -pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_BYTE_LENGTH: u32 = 90u32; -pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationTicket"); -pub const NCRYPT_PIN_CACHE_CLEAR_FOR_CALLING_PROCESS_OPTION: u32 = 1u32; -pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheClear"); -pub const NCRYPT_PIN_CACHE_DISABLE_DPL_FLAG: u32 = 1u32; -pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheFlags"); -pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheFreeApplicationTicket"); -pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheIsGestureRequired"); -pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCachePin"); -pub const NCRYPT_PIN_CACHE_REQUIRE_GESTURE_FLAG: u32 = 1u32; -pub const NCRYPT_PIN_PROMPT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinPrompt"); -pub const NCRYPT_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPin"); -pub const NCRYPT_PKCS7_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS7_ENVELOPE"); -pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS8_PRIVATEKEY"); -pub const NCRYPT_PLATFORM_ATTEST_MAGIC: u32 = 1146110288u32; -pub const NCRYPT_PREFER_VIRTUAL_ISOLATION_FLAG: u32 = 65536u32; -pub const NCRYPT_PROTECTED_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProtectedKeyBlob"); -pub const NCRYPT_PROTECTED_KEY_BLOB_MAGIC: u32 = 1263817296u32; -pub const NCRYPT_PROTECTION_INFO_TYPE_DESCRIPTOR_STRING: u32 = 1u32; -pub const NCRYPT_PROTECT_TO_LOCAL_SYSTEM: u32 = 32768u32; -pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider Handle"); -pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); -pub const NCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); -pub const NCRYPT_RC2_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); -pub const NCRYPT_READER_ICON_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardReaderIcon"); -pub const NCRYPT_READER_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardReader"); -pub const NCRYPT_REGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 1u32; -pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartcardRootCertStore"); -pub const NCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); -pub const NCRYPT_RSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); -pub const NCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA_SIGN"); -pub const NCRYPT_SCARD_NGC_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardNgcKeyName"); -pub const NCRYPT_SCARD_PIN_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinId"); -pub const NCRYPT_SCARD_PIN_INFO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinInfo"); -pub const NCRYPT_SCHANNEL_INTERFACE: BCRYPT_INTERFACE = 65538u32; -pub const NCRYPT_SCHANNEL_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 65539u32; -pub const NCRYPT_SEALING_FLAG: u32 = 256u32; -pub const NCRYPT_SECRET_AGREEMENT_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 4u32; -pub const NCRYPT_SECRET_AGREEMENT_OPERATION: NCRYPT_OPERATION = 8u32; -pub const NCRYPT_SECURE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardSecurePin"); -pub const NCRYPT_SECURITY_DESCR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security Descr"); -pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security Descr Support"); -pub const NCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA1"); -pub const NCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA256"); -pub const NCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA384"); -pub const NCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA512"); -pub const NCRYPT_SIGNATURE_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 5u32; -pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureLength"); -pub const NCRYPT_SIGNATURE_OPERATION: NCRYPT_OPERATION = 16u32; -pub const NCRYPT_SILENT_FLAG: NCRYPT_FLAGS = 64u32; -pub const NCRYPT_SMARTCARD_GUID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardGuid"); -pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_108_CTR_HMAC"); -pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); -pub const NCRYPT_TPM12_PROVIDER: u32 = 65536u32; -pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PcpTpmProtectedKeyBlob"); -pub const NCRYPT_TPM_LOADABLE_KEY_BLOB_MAGIC: u32 = 1297371211u32; -pub const NCRYPT_TPM_PAD_PSS_IGNORE_SALT: u32 = 32u32; -pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32; -pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_V0: u32 = 0u32; -pub const NCRYPT_TPM_PSS_SALT_SIZE_HASHSIZE: u32 = 2u32; -pub const NCRYPT_TPM_PSS_SALT_SIZE_MAXIMUM: u32 = 1u32; -pub const NCRYPT_TPM_PSS_SALT_SIZE_UNKNOWN: u32 = 0u32; -pub const NCRYPT_TREAT_NIST_AS_GENERIC_ECC_FLAG: u32 = 8192u32; -pub const NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: u32 = 8u32; -pub const NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: u32 = 4u32; -pub const NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: u32 = 2u32; -pub const NCRYPT_UI_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UI Policy"); -pub const NCRYPT_UI_PROTECT_KEY_FLAG: u32 = 1u32; -pub const NCRYPT_UNIQUE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Unique Name"); -pub const NCRYPT_UNPROTECT_NO_DECRYPT: NCRYPT_FLAGS = 1u32; -pub const NCRYPT_UNREGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 2u32; -pub const NCRYPT_USER_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardUserCertStore"); -pub const NCRYPT_USE_CONTEXT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Use Context"); -pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Enabled Use Count"); -pub const NCRYPT_USE_COUNT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Use Count"); -pub const NCRYPT_USE_PER_BOOT_KEY_FLAG: u32 = 262144u32; -pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Per Boot Key"); -pub const NCRYPT_USE_VIRTUAL_ISOLATION_FLAG: u32 = 131072u32; -pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Virtual Iso"); -pub const NCRYPT_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); -pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_CURRENT_VERSION: u32 = 0u32; -pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_V0: u32 = 0u32; -pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32; -pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_V0: u32 = 0u32; -pub const NCRYPT_WINDOW_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HWND Handle"); -pub const NCRYPT_WRITE_KEY_TO_LEGACY_STORE_FLAG: NCRYPT_FLAGS = 512u32; -pub const NETSCAPE_SIGN_CA_CERT_TYPE: u32 = 1u32; -pub const NETSCAPE_SIGN_CERT_TYPE: u32 = 16u32; -pub const NETSCAPE_SMIME_CA_CERT_TYPE: u32 = 2u32; -pub const NETSCAPE_SMIME_CERT_TYPE: u32 = 32u32; -pub const NETSCAPE_SSL_CA_CERT_TYPE: u32 = 4u32; -pub const NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE: u32 = 128u32; -pub const NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE: u32 = 64u32; -pub const OCSP_BASIC_BY_KEY_RESPONDER_ID: u32 = 2u32; -pub const OCSP_BASIC_BY_NAME_RESPONDER_ID: u32 = 1u32; -pub const OCSP_BASIC_GOOD_CERT_STATUS: u32 = 0u32; -pub const OCSP_BASIC_RESPONSE: ::windows_sys::core::PCSTR = 69i32 as _; -pub const OCSP_BASIC_RESPONSE_V1: u32 = 0u32; -pub const OCSP_BASIC_REVOKED_CERT_STATUS: u32 = 1u32; -pub const OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = 68i32 as _; -pub const OCSP_BASIC_UNKNOWN_CERT_STATUS: u32 = 2u32; -pub const OCSP_INTERNAL_ERROR_RESPONSE: u32 = 2u32; -pub const OCSP_MALFORMED_REQUEST_RESPONSE: u32 = 1u32; -pub const OCSP_REQUEST: ::windows_sys::core::PCSTR = 66i32 as _; -pub const OCSP_REQUEST_V1: u32 = 0u32; -pub const OCSP_RESPONSE: ::windows_sys::core::PCSTR = 67i32 as _; -pub const OCSP_SIGNED_REQUEST: ::windows_sys::core::PCSTR = 65i32 as _; -pub const OCSP_SIG_REQUIRED_RESPONSE: u32 = 5u32; -pub const OCSP_SUCCESSFUL_RESPONSE: u32 = 0u32; -pub const OCSP_TRY_LATER_RESPONSE: u32 = 3u32; -pub const OCSP_UNAUTHORIZED_RESPONSE: u32 = 6u32; -pub const OPAQUEKEYBLOB: u32 = 9u32; -pub const PKCS12_ALLOW_OVERWRITE_KEY: CRYPT_KEY_FLAGS = 16384u32; -pub const PKCS12_ALWAYS_CNG_KSP: CRYPT_KEY_FLAGS = 512u32; -pub const PKCS12_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Windows\\CurrentVersion\\PFX"); -pub const PKCS12_DISABLE_ENCRYPT_CERTIFICATES: u32 = 256u32; -pub const PKCS12_ENCRYPT_CERTIFICATES: u32 = 512u32; -pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptCertificates"); -pub const PKCS12_EXPORT_ECC_CURVE_OID: u32 = 8192u32; -pub const PKCS12_EXPORT_ECC_CURVE_PARAMETERS: u32 = 4096u32; -pub const PKCS12_EXPORT_PBES2_PARAMS: u32 = 128u32; -pub const PKCS12_EXPORT_RESERVED_MASK: u32 = 4294901760u32; -pub const PKCS12_EXPORT_SILENT: u32 = 64u32; -pub const PKCS12_IMPORT_RESERVED_MASK: u32 = 4294901760u32; -pub const PKCS12_IMPORT_SILENT: u32 = 64u32; -pub const PKCS12_INCLUDE_EXTENDED_PROPERTIES: CRYPT_KEY_FLAGS = 16u32; -pub const PKCS12_NO_PERSIST_KEY: CRYPT_KEY_FLAGS = 32768u32; -pub const PKCS12_ONLY_CERTIFICATES: u32 = 1024u32; -pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PfxContainer"); -pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PfxProvider"); -pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_TYPE: u32 = 0u32; -pub const PKCS12_ONLY_NOT_ENCRYPTED_CERTIFICATES: u32 = 2048u32; -pub const PKCS12_PBES2_ALG_AES256_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES256-SHA256"); -pub const PKCS12_PBKDF2_ID_HMAC_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.7"); -pub const PKCS12_PBKDF2_ID_HMAC_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.9"); -pub const PKCS12_PBKDF2_ID_HMAC_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.10"); -pub const PKCS12_PBKDF2_ID_HMAC_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.11"); -pub const PKCS12_PREFER_CNG_KSP: CRYPT_KEY_FLAGS = 256u32; -pub const PKCS12_PROTECT_TO_DOMAIN_SIDS: u32 = 32u32; -pub const PKCS12_VIRTUAL_ISOLATION_KEY: u32 = 65536u32; -pub const PKCS5_PADDING: u32 = 1u32; -pub const PKCS7_SIGNER_INFO: ::windows_sys::core::PCSTR = 500i32 as _; -pub const PKCS_7_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 65536u32; -pub const PKCS_7_NDR_ENCODING: u32 = 131072u32; -pub const PKCS_ATTRIBUTE: ::windows_sys::core::PCSTR = 22i32 as _; -pub const PKCS_ATTRIBUTES: ::windows_sys::core::PCSTR = 48i32 as _; -pub const PKCS_CONTENT_INFO: ::windows_sys::core::PCSTR = 33i32 as _; -pub const PKCS_CONTENT_INFO_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 23i32 as _; -pub const PKCS_CTL: ::windows_sys::core::PCSTR = 37i32 as _; -pub const PKCS_ENCRYPTED_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 45i32 as _; -pub const PKCS_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 44i32 as _; -pub const PKCS_RC2_CBC_PARAMETERS: ::windows_sys::core::PCSTR = 41i32 as _; -pub const PKCS_RSAES_OAEP_PARAMETERS: ::windows_sys::core::PCSTR = 76i32 as _; -pub const PKCS_RSA_PRIVATE_KEY: ::windows_sys::core::PCSTR = 43i32 as _; -pub const PKCS_RSA_SSA_PSS_PARAMETERS: ::windows_sys::core::PCSTR = 75i32 as _; -pub const PKCS_RSA_SSA_PSS_TRAILER_FIELD_BC: u32 = 1u32; -pub const PKCS_SMIME_CAPABILITIES: ::windows_sys::core::PCSTR = 42i32 as _; -pub const PKCS_SORTED_CTL: ::windows_sys::core::PCSTR = 49i32 as _; -pub const PKCS_TIME_REQUEST: ::windows_sys::core::PCSTR = 18i32 as _; -pub const PKCS_UTC_TIME: ::windows_sys::core::PCSTR = 17i32 as _; -pub const PLAINTEXTKEYBLOB: u32 = 8u32; -pub const PP_ADMIN_PIN: u32 = 31u32; -pub const PP_APPLI_CERT: u32 = 18u32; -pub const PP_CERTCHAIN: u32 = 9u32; -pub const PP_CHANGE_PASSWORD: u32 = 7u32; -pub const PP_CLIENT_HWND: CRYPT_SET_PROV_PARAM_ID = 1u32; -pub const PP_CONTAINER: u32 = 6u32; -pub const PP_CONTEXT_INFO: u32 = 11u32; -pub const PP_CRYPT_COUNT_KEY_USE: u32 = 41u32; -pub const PP_DELETEKEY: CRYPT_SET_PROV_PARAM_ID = 24u32; -pub const PP_DISMISS_PIN_UI_SEC: u32 = 49u32; -pub const PP_ENUMALGS: u32 = 1u32; -pub const PP_ENUMALGS_EX: u32 = 22u32; -pub const PP_ENUMCONTAINERS: u32 = 2u32; -pub const PP_ENUMELECTROOTS: u32 = 26u32; -pub const PP_ENUMEX_SIGNING_PROT: u32 = 40u32; -pub const PP_ENUMMANDROOTS: u32 = 25u32; -pub const PP_IMPTYPE: u32 = 3u32; -pub const PP_IS_PFX_EPHEMERAL: u32 = 50u32; -pub const PP_KEYEXCHANGE_ALG: CRYPT_SET_PROV_PARAM_ID = 14u32; -pub const PP_KEYEXCHANGE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 12u32; -pub const PP_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 32u32; -pub const PP_KEYSET_SEC_DESCR: CRYPT_SET_PROV_PARAM_ID = 8u32; -pub const PP_KEYSET_TYPE: u32 = 27u32; -pub const PP_KEYSPEC: u32 = 39u32; -pub const PP_KEYSTORAGE: u32 = 17u32; -pub const PP_KEYX_KEYSIZE_INC: u32 = 35u32; -pub const PP_KEY_TYPE_SUBTYPE: u32 = 10u32; -pub const PP_NAME: u32 = 4u32; -pub const PP_PIN_PROMPT_STRING: CRYPT_SET_PROV_PARAM_ID = 44u32; -pub const PP_PROVTYPE: u32 = 16u32; -pub const PP_ROOT_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 46u32; -pub const PP_SECURE_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 47u32; -pub const PP_SECURE_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 48u32; -pub const PP_SESSION_KEYSIZE: u32 = 20u32; -pub const PP_SGC_INFO: u32 = 37u32; -pub const PP_SIGNATURE_ALG: CRYPT_SET_PROV_PARAM_ID = 15u32; -pub const PP_SIGNATURE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 13u32; -pub const PP_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 33u32; -pub const PP_SIG_KEYSIZE_INC: u32 = 34u32; -pub const PP_SMARTCARD_GUID: u32 = 45u32; -pub const PP_SMARTCARD_READER: CRYPT_SET_PROV_PARAM_ID = 43u32; -pub const PP_SMARTCARD_READER_ICON: u32 = 47u32; -pub const PP_SYM_KEYSIZE: u32 = 19u32; -pub const PP_UI_PROMPT: CRYPT_SET_PROV_PARAM_ID = 21u32; -pub const PP_UNIQUE_CONTAINER: u32 = 36u32; -pub const PP_USER_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 42u32; -pub const PP_USE_HARDWARE_RNG: CRYPT_SET_PROV_PARAM_ID = 38u32; -pub const PP_VERSION: u32 = 5u32; -pub const PRIVATEKEYBLOB: u32 = 7u32; -pub const PROV_DH_SCHANNEL: u32 = 18u32; -pub const PROV_DSS: u32 = 3u32; -pub const PROV_DSS_DH: u32 = 13u32; -pub const PROV_EC_ECDSA_FULL: u32 = 16u32; -pub const PROV_EC_ECDSA_SIG: u32 = 14u32; -pub const PROV_EC_ECNRA_FULL: u32 = 17u32; -pub const PROV_EC_ECNRA_SIG: u32 = 15u32; -pub const PROV_FORTEZZA: u32 = 4u32; -pub const PROV_INTEL_SEC: u32 = 22u32; -pub const PROV_MS_EXCHANGE: u32 = 5u32; -pub const PROV_REPLACE_OWF: u32 = 23u32; -pub const PROV_RNG: u32 = 21u32; -pub const PROV_RSA_AES: u32 = 24u32; -pub const PROV_RSA_FULL: u32 = 1u32; -pub const PROV_RSA_SCHANNEL: u32 = 12u32; -pub const PROV_RSA_SIG: u32 = 2u32; -pub const PROV_SPYRUS_LYNKS: u32 = 20u32; -pub const PROV_SSL: u32 = 6u32; -pub const PROV_STT_ACQ: u32 = 8u32; -pub const PROV_STT_BRND: u32 = 9u32; -pub const PROV_STT_ISS: u32 = 11u32; -pub const PROV_STT_MER: u32 = 7u32; -pub const PROV_STT_ROOT: u32 = 10u32; -pub const PUBLICKEYBLOB: u32 = 6u32; -pub const PUBLICKEYBLOBEX: u32 = 10u32; -pub const PVK_TYPE_FILE_NAME: SIGNER_PRIVATE_KEY_CHOICE = 1u32; -pub const PVK_TYPE_KEYCONTAINER: SIGNER_PRIVATE_KEY_CHOICE = 2u32; -pub const RANDOM_PADDING: u32 = 2u32; -pub const RECIPIENTPOLICYV1: u32 = 1u32; -pub const RECIPIENTPOLICYV2: u32 = 2u32; -pub const REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY: u32 = 2u32; -pub const REPORT_NO_PRIVATE_KEY: u32 = 1u32; -pub const REVOCATION_OID_CRL_REVOCATION: ::windows_sys::core::PCSTR = 1i32 as _; -pub const RSA1024BIT_KEY: u32 = 67108864u32; -pub const RSA_CSP_PUBLICKEYBLOB: ::windows_sys::core::PCSTR = 19i32 as _; -pub const SCHANNEL_ENC_KEY: u32 = 1u32; -pub const SCHANNEL_MAC_KEY: u32 = 0u32; -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SchemeDllRetrieveEncodedObjectW"); -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SchemeDllRetrieveEncodedObject"); -pub const SIGNATURE_RESOURCE_NUMBER: u32 = 666u32; -pub const SIGNER_AUTHCODE_ATTR: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = 1u32; -pub const SIGNER_CERT_POLICY_CHAIN: SIGNER_CERT_POLICY = 2u32; -pub const SIGNER_CERT_POLICY_CHAIN_NO_ROOT: SIGNER_CERT_POLICY = 8u32; -pub const SIGNER_CERT_POLICY_SPC: SIGNER_CERT_POLICY = 4u32; -pub const SIGNER_CERT_POLICY_STORE: SIGNER_CERT_POLICY = 1u32; -pub const SIGNER_CERT_SPC_CHAIN: SIGNER_CERT_CHOICE = 3u32; -pub const SIGNER_CERT_SPC_FILE: SIGNER_CERT_CHOICE = 1u32; -pub const SIGNER_CERT_STORE: SIGNER_CERT_CHOICE = 2u32; -pub const SIGNER_NO_ATTR: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = 0u32; -pub const SIGNER_SUBJECT_BLOB: SIGNER_SUBJECT_CHOICE = 2u32; -pub const SIGNER_SUBJECT_FILE: SIGNER_SUBJECT_CHOICE = 1u32; -pub const SIGNER_TIMESTAMP_AUTHENTICODE: SIGNER_TIMESTAMP_FLAGS = 1u32; -pub const SIGNER_TIMESTAMP_RFC3161: SIGNER_TIMESTAMP_FLAGS = 2u32; -pub const SIG_APPEND: SIGNER_SIGN_FLAGS = 4096u32; -pub const SIMPLEBLOB: u32 = 1u32; -pub const SITE_PIN_RULES_ALL_SUBDOMAINS_FLAG: u32 = 1u32; -pub const SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 1u32; -pub const SPC_DIGEST_GENERATE_FLAG: SIGNER_SIGN_FLAGS = 512u32; -pub const SPC_DIGEST_SIGN_EX_FLAG: SIGNER_SIGN_FLAGS = 16384u32; -pub const SPC_DIGEST_SIGN_FLAG: SIGNER_SIGN_FLAGS = 1024u32; -pub const SPC_EXC_PE_PAGE_HASHES_FLAG: SIGNER_SIGN_FLAGS = 16u32; -pub const SPC_INC_PE_DEBUG_INFO_FLAG: SIGNER_SIGN_FLAGS = 64u32; -pub const SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG: SIGNER_SIGN_FLAGS = 32u32; -pub const SPC_INC_PE_PAGE_HASHES_FLAG: SIGNER_SIGN_FLAGS = 256u32; -pub const SPC_INC_PE_RESOURCES_FLAG: SIGNER_SIGN_FLAGS = 128u32; -pub const SSL_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SSLECCPUBLICBLOB"); -pub const SSL_F12_ERROR_TEXT_LENGTH: u32 = 256u32; -pub const SSL_HPKP_HEADER_COUNT: u32 = 2u32; -pub const SSL_HPKP_PKP_HEADER_INDEX: u32 = 0u32; -pub const SSL_HPKP_PKP_RO_HEADER_INDEX: u32 = 1u32; -pub const SSL_KEY_PIN_ERROR_TEXT_LENGTH: u32 = 512u32; -pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializeCertValidationConfig"); -pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializeIssuerList"); -pub const SSL_OBJECT_LOCATOR_PFX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializePfx"); -pub const SYMMETRICWRAPKEYBLOB: u32 = 11u32; -pub const TIMESTAMP_DONT_HASH_DATA: u32 = 1u32; -pub const TIMESTAMP_FAILURE_BAD_ALG: u32 = 0u32; -pub const TIMESTAMP_FAILURE_BAD_FORMAT: u32 = 5u32; -pub const TIMESTAMP_FAILURE_BAD_REQUEST: u32 = 2u32; -pub const TIMESTAMP_FAILURE_EXTENSION_NOT_SUPPORTED: u32 = 16u32; -pub const TIMESTAMP_FAILURE_INFO_NOT_AVAILABLE: u32 = 17u32; -pub const TIMESTAMP_FAILURE_POLICY_NOT_SUPPORTED: u32 = 15u32; -pub const TIMESTAMP_FAILURE_SYSTEM_FAILURE: u32 = 25u32; -pub const TIMESTAMP_FAILURE_TIME_NOT_AVAILABLE: u32 = 14u32; -pub const TIMESTAMP_INFO: ::windows_sys::core::PCSTR = 80i32 as _; -pub const TIMESTAMP_NO_AUTH_RETRIEVAL: u32 = 131072u32; -pub const TIMESTAMP_REQUEST: ::windows_sys::core::PCSTR = 78i32 as _; -pub const TIMESTAMP_RESPONSE: ::windows_sys::core::PCSTR = 79i32 as _; -pub const TIMESTAMP_STATUS_GRANTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 0u32; -pub const TIMESTAMP_STATUS_GRANTED_WITH_MODS: CRYPT_TIMESTAMP_RESPONSE_STATUS = 1u32; -pub const TIMESTAMP_STATUS_REJECTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 2u32; -pub const TIMESTAMP_STATUS_REVOCATION_WARNING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 4u32; -pub const TIMESTAMP_STATUS_REVOKED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 5u32; -pub const TIMESTAMP_STATUS_WAITING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 3u32; -pub const TIMESTAMP_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32; -pub const TIMESTAMP_VERSION: CRYPT_TIMESTAMP_VERSION = 1u32; -pub const TIME_VALID_OID_FLUSH_CRL: ::windows_sys::core::PCSTR = 2i32 as _; -pub const TIME_VALID_OID_FLUSH_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _; -pub const TIME_VALID_OID_FLUSH_CTL: ::windows_sys::core::PCSTR = 1i32 as _; -pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _; -pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; -pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TimeValidDllFlushObject"); -pub const TIME_VALID_OID_GET_CRL: ::windows_sys::core::PCSTR = 2i32 as _; -pub const TIME_VALID_OID_GET_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _; -pub const TIME_VALID_OID_GET_CTL: ::windows_sys::core::PCSTR = 1i32 as _; -pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _; -pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; -pub const TIME_VALID_OID_GET_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TimeValidDllGetObject"); -pub const TPM_RSA_SRK_SEAL_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074"); -pub const URL_OID_CERTIFICATE_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 2i32 as _; -pub const URL_OID_CERTIFICATE_CRL_DIST_POINT_AND_OCSP: ::windows_sys::core::PCSTR = 11i32 as _; -pub const URL_OID_CERTIFICATE_FRESHEST_CRL: ::windows_sys::core::PCSTR = 6i32 as _; -pub const URL_OID_CERTIFICATE_ISSUER: ::windows_sys::core::PCSTR = 1i32 as _; -pub const URL_OID_CERTIFICATE_OCSP: ::windows_sys::core::PCSTR = 9i32 as _; -pub const URL_OID_CERTIFICATE_OCSP_AND_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 10i32 as _; -pub const URL_OID_CERTIFICATE_ONLY_OCSP: ::windows_sys::core::PCSTR = 13i32 as _; -pub const URL_OID_CRL_FRESHEST_CRL: ::windows_sys::core::PCSTR = 7i32 as _; -pub const URL_OID_CRL_ISSUER: ::windows_sys::core::PCSTR = 5i32 as _; -pub const URL_OID_CROSS_CERT_DIST_POINT: ::windows_sys::core::PCSTR = 8i32 as _; -pub const URL_OID_CROSS_CERT_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = 12i32 as _; -pub const URL_OID_CTL_ISSUER: ::windows_sys::core::PCSTR = 3i32 as _; -pub const URL_OID_CTL_NEXT_UPDATE: ::windows_sys::core::PCSTR = 4i32 as _; -pub const URL_OID_GET_OBJECT_URL_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("UrlDllGetObjectUrl"); -pub const USAGE_MATCH_TYPE_AND: u32 = 0u32; -pub const USAGE_MATCH_TYPE_OR: u32 = 1u32; -pub const X509_ALGORITHM_IDENTIFIER: ::windows_sys::core::PCSTR = 74i32 as _; -pub const X509_ALTERNATE_NAME: ::windows_sys::core::PCSTR = 12i32 as _; -pub const X509_ANY_STRING: i32 = 6i32; -pub const X509_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 1u32; -pub const X509_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = 32i32 as _; -pub const X509_AUTHORITY_KEY_ID: ::windows_sys::core::PCSTR = 9i32 as _; -pub const X509_AUTHORITY_KEY_ID2: ::windows_sys::core::PCSTR = 31i32 as _; -pub const X509_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 13i32 as _; -pub const X509_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = 15i32 as _; -pub const X509_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = 71i32 as _; -pub const X509_BITS: ::windows_sys::core::PCSTR = 26i32 as _; -pub const X509_BITS_WITHOUT_TRAILING_ZEROES: ::windows_sys::core::PCSTR = 51i32 as _; -pub const X509_CERT: ::windows_sys::core::PCSTR = 1i32 as _; -pub const X509_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = 64i32 as _; -pub const X509_CERT_BUNDLE: ::windows_sys::core::PCSTR = 81i32 as _; -pub const X509_CERT_CRL_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 3i32 as _; -pub const X509_CERT_PAIR: ::windows_sys::core::PCSTR = 53i32 as _; -pub const X509_CERT_POLICIES: ::windows_sys::core::PCSTR = 16i32 as _; -pub const X509_CERT_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 4i32 as _; -pub const X509_CERT_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 2i32 as _; -pub const X509_CHOICE_OF_TIME: ::windows_sys::core::PCSTR = 30i32 as _; -pub const X509_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = 35i32 as _; -pub const X509_CRL_REASON_CODE: i32 = 29i32; -pub const X509_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = 58i32 as _; -pub const X509_DH_PARAMETERS: ::windows_sys::core::PCSTR = 47i32 as _; -pub const X509_DH_PUBLICKEY: i32 = 38i32; -pub const X509_DSS_PARAMETERS: ::windows_sys::core::PCSTR = 39i32 as _; -pub const X509_DSS_PUBLICKEY: i32 = 38i32; -pub const X509_DSS_SIGNATURE: ::windows_sys::core::PCSTR = 40i32 as _; -pub const X509_ECC_PARAMETERS: ::windows_sys::core::PCSTR = 85i32 as _; -pub const X509_ECC_PRIVATE_KEY: ::windows_sys::core::PCSTR = 82i32 as _; -pub const X509_ECC_SIGNATURE: ::windows_sys::core::PCSTR = 47i32 as _; -pub const X509_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = 36i32 as _; -pub const X509_ENUMERATED: ::windows_sys::core::PCSTR = 29i32 as _; -pub const X509_EXTENSIONS: ::windows_sys::core::PCSTR = 5i32 as _; -pub const X509_INTEGER: ::windows_sys::core::PCSTR = 27i32 as _; -pub const X509_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = 54i32 as _; -pub const X509_KEYGEN_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 21i32 as _; -pub const X509_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = 10i32 as _; -pub const X509_KEY_USAGE: ::windows_sys::core::PCSTR = 14i32 as _; -pub const X509_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = 11i32 as _; -pub const X509_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = 70i32 as _; -pub const X509_MULTI_BYTE_INTEGER: ::windows_sys::core::PCSTR = 28i32 as _; -pub const X509_MULTI_BYTE_UINT: ::windows_sys::core::PCSTR = 38i32 as _; -pub const X509_NAME: ::windows_sys::core::PCSTR = 7i32 as _; -pub const X509_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = 55i32 as _; -pub const X509_NAME_VALUE: ::windows_sys::core::PCSTR = 6i32 as _; -pub const X509_NDR_ENCODING: u32 = 2u32; -pub const X509_OBJECT_IDENTIFIER: ::windows_sys::core::PCSTR = 73i32 as _; -pub const X509_OCTET_STRING: ::windows_sys::core::PCSTR = 25i32 as _; -pub const X509_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = 46i32 as _; -pub const X509_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = 57i32 as _; -pub const X509_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = 56i32 as _; -pub const X509_PUBLIC_KEY_INFO: ::windows_sys::core::PCSTR = 8i32 as _; -pub const X509_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = 42i32 as _; -pub const X509_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 34i32 as _; -pub const X509_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = 84i32 as _; -pub const X509_SUBJECT_INFO_ACCESS: i32 = 32i32; -pub const X509_UNICODE_ANY_STRING: i32 = 24i32; -pub const X509_UNICODE_NAME: ::windows_sys::core::PCSTR = 20i32 as _; -pub const X509_UNICODE_NAME_VALUE: ::windows_sys::core::PCSTR = 24i32 as _; -pub const X942_DH_PARAMETERS: ::windows_sys::core::PCSTR = 50i32 as _; -pub const X942_OTHER_INFO: ::windows_sys::core::PCSTR = 52i32 as _; -pub const ZERO_PADDING: u32 = 3u32; -pub const cPRIV_KEY_CACHE_MAX_ITEMS_DEFAULT: u32 = 20u32; -pub const cPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS_DEFAULT: u32 = 86400u32; -pub const dwFORCE_KEY_PROTECTION_DISABLED: u32 = 0u32; -pub const dwFORCE_KEY_PROTECTION_HIGH: u32 = 2u32; -pub const dwFORCE_KEY_PROTECTION_USER_SELECT: u32 = 1u32; -pub const szFORCE_KEY_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ForceKeyProtection"); -pub const szKEY_CACHE_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CachePrivateKeys"); -pub const szKEY_CACHE_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivateKeyLifetimeSeconds"); -pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Policies\\Microsoft\\Cryptography"); -pub const szOIDVerisign_FailInfo: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.4"); -pub const szOIDVerisign_MessageType: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.2"); -pub const szOIDVerisign_PkiStatus: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.3"); -pub const szOIDVerisign_RecipientNonce: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.6"); -pub const szOIDVerisign_SenderNonce: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.5"); -pub const szOIDVerisign_TransactionID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.7"); -pub const szOID_ANSI_X942: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10046"); -pub const szOID_ANSI_X942_DH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10046.2.1"); -pub const szOID_ANY_APPLICATION_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.12.1"); -pub const szOID_ANY_CERT_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.32.0"); -pub const szOID_ANY_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.37.0"); -pub const szOID_APPLICATION_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.10"); -pub const szOID_APPLICATION_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.12"); -pub const szOID_APPLICATION_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.11"); -pub const szOID_ARCHIVED_KEY_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.13"); -pub const szOID_ARCHIVED_KEY_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.16"); -pub const szOID_ATTEST_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.5.1"); -pub const szOID_ATTR_PLATFORM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.17"); -pub const szOID_ATTR_SUPPORTED_ALGORITHMS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.52"); -pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.18"); -pub const szOID_ATTR_TPM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.16"); -pub const szOID_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.1"); -pub const szOID_AUTHORITY_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.1"); -pub const szOID_AUTHORITY_KEY_IDENTIFIER2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.35"); -pub const szOID_AUTHORITY_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.38"); -pub const szOID_AUTO_ENROLL_CTL_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.1"); -pub const szOID_BACKGROUND_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.20.2"); -pub const szOID_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.10"); -pub const szOID_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.19"); -pub const szOID_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.2"); -pub const szOID_BIOMETRIC_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.41"); -pub const szOID_BUSINESS_CATEGORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.15"); -pub const szOID_CA_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.37"); -pub const szOID_CERTIFICATE_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.39"); -pub const szOID_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.7"); -pub const szOID_CERTSRV_CA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.1"); -pub const szOID_CERTSRV_CROSSCA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.22"); -pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.2"); -pub const szOID_CERT_DISALLOWED_CA_FILETIME_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.128"); -pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.104"); -pub const szOID_CERT_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.14"); -pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.28"); -pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.20"); -pub const szOID_CERT_MANIFOLD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.3"); -pub const szOID_CERT_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.4"); -pub const szOID_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.32"); -pub const szOID_CERT_POLICIES_95: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.3"); -pub const szOID_CERT_POLICIES_95_QUALIFIER1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.7.1.1"); -pub const szOID_CERT_PROP_ID_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11."); -pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.15"); -pub const szOID_CERT_STRONG_KEY_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.2.1"); -pub const szOID_CERT_STRONG_KEY_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.72.2.1"); -pub const szOID_CERT_STRONG_KEY_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.2."); -pub const szOID_CERT_STRONG_SIGN_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.1.1"); -pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.72.1.1"); -pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.1."); -pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.29"); -pub const szOID_CMC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7"); -pub const szOID_CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.10.1"); -pub const szOID_CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.8"); -pub const szOID_CMC_DATA_RETURN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.4"); -pub const szOID_CMC_DECRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.10"); -pub const szOID_CMC_ENCRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.9"); -pub const szOID_CMC_GET_CERT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.15"); -pub const szOID_CMC_GET_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.16"); -pub const szOID_CMC_IDENTIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.2"); -pub const szOID_CMC_IDENTITY_PROOF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.3"); -pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.24"); -pub const szOID_CMC_ID_POP_LINK_RANDOM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.22"); -pub const szOID_CMC_ID_POP_LINK_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.23"); -pub const szOID_CMC_LRA_POP_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.11"); -pub const szOID_CMC_QUERY_PENDING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.21"); -pub const szOID_CMC_RECIPIENT_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.7"); -pub const szOID_CMC_REG_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.18"); -pub const szOID_CMC_RESPONSE_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.19"); -pub const szOID_CMC_REVOKE_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.17"); -pub const szOID_CMC_SENDER_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.6"); -pub const szOID_CMC_STATUS_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.1"); -pub const szOID_CMC_TRANSACTION_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.5"); -pub const szOID_CN_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.156.11235.1.1.1"); -pub const szOID_COMMON_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.3"); -pub const szOID_COUNTRY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.6"); -pub const szOID_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.31"); -pub const szOID_CRL_NEXT_PUBLISH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.4"); -pub const szOID_CRL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.20"); -pub const szOID_CRL_REASON_CODE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.21"); -pub const szOID_CRL_SELF_CDP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.14"); -pub const szOID_CRL_VIRTUAL_BASE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.3"); -pub const szOID_CROSS_CERTIFICATE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.40"); -pub const szOID_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.9.1"); -pub const szOID_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.1"); -pub const szOID_CT_CERT_SCTLIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.11129.2.4.2"); -pub const szOID_CT_PKI_DATA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.12.2"); -pub const szOID_CT_PKI_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.12.3"); -pub const szOID_DELTA_CRL_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.27"); -pub const szOID_DESCRIPTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.13"); -pub const szOID_DESTINATION_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.27"); -pub const szOID_DEVICE_SERIAL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.5"); -pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.133.16.840.63.0.2"); -pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.1.11.1"); -pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.1.11.2"); -pub const szOID_DISALLOWED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.10.11.15"); -pub const szOID_DISALLOWED_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.30"); -pub const szOID_DN_QUALIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.46"); -pub const szOID_DOMAIN_COMPONENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.9.2342.19200300.100.1.25"); -pub const szOID_DRM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.5.1"); -pub const szOID_DRM_INDIVIDUALIZATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.5.2"); -pub const szOID_DS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5"); -pub const szOID_DSALG: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8"); -pub const szOID_DSALG_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.1"); -pub const szOID_DSALG_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.2"); -pub const szOID_DSALG_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.1.1"); -pub const szOID_DSALG_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.3"); -pub const szOID_DS_EMAIL_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.19"); -pub const szOID_DYNAMIC_CODE_GEN_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.5.1"); -pub const szOID_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.1"); -pub const szOID_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.2"); -pub const szOID_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.3"); -pub const szOID_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.4"); -pub const szOID_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.5"); -pub const szOID_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.6"); -pub const szOID_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.7"); -pub const szOID_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.8"); -pub const szOID_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.9"); -pub const szOID_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.10"); -pub const szOID_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.11"); -pub const szOID_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.12"); -pub const szOID_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.13"); -pub const szOID_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.14"); -pub const szOID_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.156.11235.1.1.2.1"); -pub const szOID_ECC_CURVE_NISTP192: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.1"); -pub const szOID_ECC_CURVE_NISTP224: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.33"); -pub const szOID_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); -pub const szOID_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.34"); -pub const szOID_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.35"); -pub const szOID_ECC_CURVE_P256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.7"); -pub const szOID_ECC_CURVE_P384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.34"); -pub const szOID_ECC_CURVE_P521: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.35"); -pub const szOID_ECC_CURVE_SECP160K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.9"); -pub const szOID_ECC_CURVE_SECP160R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.8"); -pub const szOID_ECC_CURVE_SECP160R2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.30"); -pub const szOID_ECC_CURVE_SECP192K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.31"); -pub const szOID_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.1"); -pub const szOID_ECC_CURVE_SECP224K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.32"); -pub const szOID_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.33"); -pub const szOID_ECC_CURVE_SECP256K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.10"); -pub const szOID_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); -pub const szOID_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.34"); -pub const szOID_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.35"); -pub const szOID_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.33"); -pub const szOID_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.30"); -pub const szOID_ECC_CURVE_WTLS9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.43.1.4.9"); -pub const szOID_ECC_CURVE_X962P192V1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.1"); -pub const szOID_ECC_CURVE_X962P192V2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.2"); -pub const szOID_ECC_CURVE_X962P192V3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.3"); -pub const szOID_ECC_CURVE_X962P239V1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.4"); -pub const szOID_ECC_CURVE_X962P239V2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.5"); -pub const szOID_ECC_CURVE_X962P239V3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.6"); -pub const szOID_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); -pub const szOID_ECC_PUBLIC_KEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.2.1"); -pub const szOID_ECDSA_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.1"); -pub const szOID_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.2"); -pub const szOID_ECDSA_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.3"); -pub const szOID_ECDSA_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.4"); -pub const szOID_ECDSA_SPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3"); -pub const szOID_EFS_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.4.1"); -pub const szOID_EMBEDDED_NT_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.8"); -pub const szOID_ENCLAVE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.42"); -pub const szOID_ENCRYPTED_KEY_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.21"); -pub const szOID_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.37"); -pub const szOID_ENROLLMENT_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.1"); -pub const szOID_ENROLLMENT_CSP_PROVIDER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.2"); -pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.1"); -pub const szOID_ENROLL_AIK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.39"); -pub const szOID_ENROLL_ATTESTATION_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.28"); -pub const szOID_ENROLL_ATTESTATION_STATEMENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.24"); -pub const szOID_ENROLL_CAXCHGCERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.27"); -pub const szOID_ENROLL_CERTTYPE_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2"); -pub const szOID_ENROLL_EKPUB_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.26"); -pub const szOID_ENROLL_EKVERIFYCERT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.31"); -pub const szOID_ENROLL_EKVERIFYCREDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.32"); -pub const szOID_ENROLL_EKVERIFYKEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.30"); -pub const szOID_ENROLL_EK_CA_KEYID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.43"); -pub const szOID_ENROLL_EK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.23"); -pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.29"); -pub const szOID_ENROLL_KEY_AFFINITY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.41"); -pub const szOID_ENROLL_KSP_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.25"); -pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.35"); -pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.37"); -pub const szOID_ENROLL_SCEP_ERROR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.33"); -pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.38"); -pub const szOID_ENROLL_SCEP_SERVER_SECRET: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.40"); -pub const szOID_ENROLL_SCEP_SERVER_STATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.34"); -pub const szOID_ENROLL_SCEP_SIGNER_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.42"); -pub const szOID_ENTERPRISE_OID_ROOT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.8"); -pub const szOID_EV_RDN_COUNTRY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.3"); -pub const szOID_EV_RDN_LOCALE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.1"); -pub const szOID_EV_RDN_STATE_OR_PROVINCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.2"); -pub const szOID_EV_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.39"); -pub const szOID_FACSIMILE_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.23"); -pub const szOID_FRESHEST_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.46"); -pub const szOID_GIVEN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.42"); -pub const szOID_HPKP_DOMAIN_NAME_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.60"); -pub const szOID_HPKP_HEADER_VALUE_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.61"); -pub const szOID_INFOSEC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1"); -pub const szOID_INFOSEC_SuiteAConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.14"); -pub const szOID_INFOSEC_SuiteAIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.15"); -pub const szOID_INFOSEC_SuiteAKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.18"); -pub const szOID_INFOSEC_SuiteAKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.17"); -pub const szOID_INFOSEC_SuiteASignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.13"); -pub const szOID_INFOSEC_SuiteATokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.16"); -pub const szOID_INFOSEC_mosaicConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.4"); -pub const szOID_INFOSEC_mosaicIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.6"); -pub const szOID_INFOSEC_mosaicKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.12"); -pub const szOID_INFOSEC_mosaicKMandUpdSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.20"); -pub const szOID_INFOSEC_mosaicKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.10"); -pub const szOID_INFOSEC_mosaicSignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.2"); -pub const szOID_INFOSEC_mosaicTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.8"); -pub const szOID_INFOSEC_mosaicUpdatedInteg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.21"); -pub const szOID_INFOSEC_mosaicUpdatedSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.19"); -pub const szOID_INFOSEC_sdnsConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.3"); -pub const szOID_INFOSEC_sdnsIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.5"); -pub const szOID_INFOSEC_sdnsKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.11"); -pub const szOID_INFOSEC_sdnsKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.9"); -pub const szOID_INFOSEC_sdnsSignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.1"); -pub const szOID_INFOSEC_sdnsTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.7"); -pub const szOID_INHIBIT_ANY_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.54"); -pub const szOID_INITIALS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.43"); -pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.4"); -pub const szOID_INTERNATIONAL_ISDN_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.25"); -pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.8.2.2"); -pub const szOID_ISSUED_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.17"); -pub const szOID_ISSUER_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.8"); -pub const szOID_ISSUER_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.18"); -pub const szOID_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.28"); -pub const szOID_IUM_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.37"); -pub const szOID_KEYID_RDN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.7.1"); -pub const szOID_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.2"); -pub const szOID_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.15"); -pub const szOID_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.4"); -pub const szOID_KP_CA_EXCHANGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.5"); -pub const szOID_KP_CSP_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.16"); -pub const szOID_KP_CTL_USAGE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.1"); -pub const szOID_KP_DOCUMENT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.12"); -pub const szOID_KP_EFS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.4"); -pub const szOID_KP_FLIGHT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.27"); -pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.1.1"); -pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.5.1"); -pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.4.1"); -pub const szOID_KP_KEY_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.11"); -pub const szOID_KP_KEY_RECOVERY_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.6"); -pub const szOID_KP_LIFETIME_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.13"); -pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.14"); -pub const szOID_KP_PRIVACY_CA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.36"); -pub const szOID_KP_QUALIFIED_SUBORDINATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.10"); -pub const szOID_KP_SMARTCARD_LOGON: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.2"); -pub const szOID_KP_SMART_DISPLAY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.15"); -pub const szOID_KP_TIME_STAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.2"); -pub const szOID_KP_TPM_AIK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.3"); -pub const szOID_KP_TPM_EK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.1"); -pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.2"); -pub const szOID_LEGACY_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.5"); -pub const szOID_LICENSES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.6.1"); -pub const szOID_LICENSE_SERVER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.6.2"); -pub const szOID_LOCALITY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.7"); -pub const szOID_LOCAL_MACHINE_KEYSET: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.2"); -pub const szOID_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.12"); -pub const szOID_LOYALTY_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.20.1"); -pub const szOID_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.31"); -pub const szOID_MICROSOFT_PUBLISHER_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.8.1"); -pub const szOID_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.30"); -pub const szOID_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730"); -pub const szOID_NETSCAPE_BASE_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.2"); -pub const szOID_NETSCAPE_CA_POLICY_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.8"); -pub const szOID_NETSCAPE_CA_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.4"); -pub const szOID_NETSCAPE_CERT_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1"); -pub const szOID_NETSCAPE_CERT_RENEWAL_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.7"); -pub const szOID_NETSCAPE_CERT_SEQUENCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.2.5"); -pub const szOID_NETSCAPE_CERT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.1"); -pub const szOID_NETSCAPE_COMMENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.13"); -pub const szOID_NETSCAPE_DATA_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.2"); -pub const szOID_NETSCAPE_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.3"); -pub const szOID_NETSCAPE_SSL_SERVER_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.12"); -pub const szOID_NEXT_UPDATE_LOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.2"); -pub const szOID_NIST_AES128_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.2"); -pub const szOID_NIST_AES128_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.5"); -pub const szOID_NIST_AES192_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.22"); -pub const szOID_NIST_AES192_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.25"); -pub const szOID_NIST_AES256_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.42"); -pub const szOID_NIST_AES256_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.45"); -pub const szOID_NIST_sha256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.1"); -pub const szOID_NIST_sha384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.2"); -pub const szOID_NIST_sha512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.3"); -pub const szOID_NT5_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.6"); -pub const szOID_NTDS_CA_SECURITY_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.2"); -pub const szOID_NTDS_OBJECTSID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.2.1"); -pub const szOID_NTDS_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.1"); -pub const szOID_NT_PRINCIPAL_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.3"); -pub const szOID_OEM_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.7"); -pub const szOID_OIW: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14"); -pub const szOID_OIWDIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2"); -pub const szOID_OIWDIR_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.1"); -pub const szOID_OIWDIR_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.2"); -pub const szOID_OIWDIR_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.3"); -pub const szOID_OIWDIR_md2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.2.1"); -pub const szOID_OIWDIR_md2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.3.1"); -pub const szOID_OIWSEC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2"); -pub const szOID_OIWSEC_desCBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.7"); -pub const szOID_OIWSEC_desCFB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.9"); -pub const szOID_OIWSEC_desECB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.6"); -pub const szOID_OIWSEC_desEDE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.17"); -pub const szOID_OIWSEC_desMAC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.10"); -pub const szOID_OIWSEC_desOFB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.8"); -pub const szOID_OIWSEC_dhCommMod: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.16"); -pub const szOID_OIWSEC_dsa: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.12"); -pub const szOID_OIWSEC_dsaComm: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.20"); -pub const szOID_OIWSEC_dsaCommSHA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.21"); -pub const szOID_OIWSEC_dsaCommSHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.28"); -pub const szOID_OIWSEC_dsaSHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.27"); -pub const szOID_OIWSEC_keyHashSeal: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.23"); -pub const szOID_OIWSEC_md2RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.24"); -pub const szOID_OIWSEC_md4RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.2"); -pub const szOID_OIWSEC_md4RSA2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.4"); -pub const szOID_OIWSEC_md5RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.3"); -pub const szOID_OIWSEC_md5RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.25"); -pub const szOID_OIWSEC_mdc2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.19"); -pub const szOID_OIWSEC_mdc2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.14"); -pub const szOID_OIWSEC_rsaSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.11"); -pub const szOID_OIWSEC_rsaXchg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.22"); -pub const szOID_OIWSEC_sha: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.18"); -pub const szOID_OIWSEC_sha1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.26"); -pub const szOID_OIWSEC_sha1RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.29"); -pub const szOID_OIWSEC_shaDSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.13"); -pub const szOID_OIWSEC_shaRSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.15"); -pub const szOID_ORGANIZATIONAL_UNIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.11"); -pub const szOID_ORGANIZATION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.10"); -pub const szOID_OS_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.3"); -pub const szOID_OWNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.32"); -pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.19"); -pub const szOID_PIN_RULES_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.32"); -pub const szOID_PIN_RULES_DOMAIN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.34"); -pub const szOID_PIN_RULES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.33"); -pub const szOID_PIN_RULES_LOG_END_DATE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.35"); -pub const szOID_PIN_RULES_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.31"); -pub const szOID_PKCS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1"); -pub const szOID_PKCS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1"); -pub const szOID_PKCS_10: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.10"); -pub const szOID_PKCS_12: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12"); -pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.3"); -pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.20"); -pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.1"); -pub const szOID_PKCS_12_LOCAL_KEY_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.21"); -pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.4"); -pub const szOID_PKCS_12_PbeIds: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1"); -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.5"); -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.1"); -pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.4"); -pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.3"); -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.6"); -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.2"); -pub const szOID_PKCS_2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.2"); -pub const szOID_PKCS_3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.3"); -pub const szOID_PKCS_4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.4"); -pub const szOID_PKCS_5: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5"); -pub const szOID_PKCS_5_PBES2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5.13"); -pub const szOID_PKCS_5_PBKDF2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5.12"); -pub const szOID_PKCS_6: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.6"); -pub const szOID_PKCS_7: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7"); -pub const szOID_PKCS_7_DATA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.1"); -pub const szOID_PKCS_7_DIGESTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); -pub const szOID_PKCS_7_ENCRYPTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.6"); -pub const szOID_PKCS_7_ENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.3"); -pub const szOID_PKCS_7_SIGNED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.2"); -pub const szOID_PKCS_7_SIGNEDANDENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.4"); -pub const szOID_PKCS_8: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.8"); -pub const szOID_PKCS_9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9"); -pub const szOID_PKCS_9_CONTENT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.3"); -pub const szOID_PKCS_9_MESSAGE_DIGEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.4"); -pub const szOID_PKINIT_KP_KDC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.2.3.5"); -pub const szOID_PKIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7"); -pub const szOID_PKIX_ACC_DESCR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48"); -pub const szOID_PKIX_CA_ISSUERS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.2"); -pub const szOID_PKIX_CA_REPOSITORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.5"); -pub const szOID_PKIX_KP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3"); -pub const szOID_PKIX_KP_CLIENT_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.2"); -pub const szOID_PKIX_KP_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.3"); -pub const szOID_PKIX_KP_EMAIL_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.4"); -pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.5"); -pub const szOID_PKIX_KP_IPSEC_TUNNEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.6"); -pub const szOID_PKIX_KP_IPSEC_USER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.7"); -pub const szOID_PKIX_KP_OCSP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.9"); -pub const szOID_PKIX_KP_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.1"); -pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.8"); -pub const szOID_PKIX_NO_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.6.2"); -pub const szOID_PKIX_OCSP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1"); -pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.1"); -pub const szOID_PKIX_OCSP_NOCHECK: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.5"); -pub const szOID_PKIX_OCSP_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.2"); -pub const szOID_PKIX_PE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1"); -pub const szOID_PKIX_POLICY_QUALIFIER_CPS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.2.1"); -pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.2.2"); -pub const szOID_PKIX_TIME_STAMPING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.3"); -pub const szOID_PLATFORM_MANIFEST_BINARY_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.28"); -pub const szOID_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.36"); -pub const szOID_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.33"); -pub const szOID_POSTAL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.16"); -pub const szOID_POSTAL_CODE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.17"); -pub const szOID_POST_OFFICE_BOX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.18"); -pub const szOID_PREFERRED_DELIVERY_METHOD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.28"); -pub const szOID_PRESENTATION_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.29"); -pub const szOID_PRIVATEKEY_USAGE_PERIOD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.16"); -pub const szOID_PRODUCT_UPDATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.31.1"); -pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.22"); -pub const szOID_PROTECTED_PROCESS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.24"); -pub const szOID_QC_EU_COMPLIANCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.4.0.1862.1.1"); -pub const szOID_QC_SSCD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.4.0.1862.1.4"); -pub const szOID_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.3"); -pub const szOID_RDN_DUMMY_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.9"); -pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.4"); -pub const szOID_RDN_TCG_PLATFORM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.5"); -pub const szOID_RDN_TCG_PLATFORM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.6"); -pub const szOID_RDN_TPM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.1"); -pub const szOID_RDN_TPM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.2"); -pub const szOID_RDN_TPM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.3"); -pub const szOID_REASON_CODE_HOLD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.23"); -pub const szOID_REGISTERED_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.26"); -pub const szOID_REMOVE_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.8.1"); -pub const szOID_RENEWAL_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.1"); -pub const szOID_REQUEST_CLIENT_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.20"); -pub const szOID_REQUIRE_CERT_CHAIN_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.15"); -pub const szOID_REVOKED_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.19"); -pub const szOID_RFC3161_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.1"); -pub const szOID_RFC3161v21_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.2"); -pub const szOID_RFC3161v21_thumbprints: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.3"); -pub const szOID_ROLE_OCCUPANT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.33"); -pub const szOID_ROOT_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.9"); -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.1"); -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.2"); -pub const szOID_ROOT_PROGRAM_FLAGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.1.1"); -pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.3"); -pub const szOID_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549"); -pub const szOID_RSAES_OAEP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.7"); -pub const szOID_RSA_DES_EDE3_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.7"); -pub const szOID_RSA_DH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.3.1"); -pub const szOID_RSA_ENCRYPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3"); -pub const szOID_RSA_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2"); -pub const szOID_RSA_MD2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.2"); -pub const szOID_RSA_MD2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.2"); -pub const szOID_RSA_MD4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.4"); -pub const szOID_RSA_MD4RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.3"); -pub const szOID_RSA_MD5: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.5"); -pub const szOID_RSA_MD5RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.4"); -pub const szOID_RSA_MGF1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.8"); -pub const szOID_RSA_PSPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.9"); -pub const szOID_RSA_RC2CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.2"); -pub const szOID_RSA_RC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.4"); -pub const szOID_RSA_RC5_CBCPad: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.9"); -pub const szOID_RSA_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.1"); -pub const szOID_RSA_SETOAEP_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.6"); -pub const szOID_RSA_SHA1RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.5"); -pub const szOID_RSA_SHA256RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.11"); -pub const szOID_RSA_SHA384RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.12"); -pub const szOID_RSA_SHA512RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.13"); -pub const szOID_RSA_SMIMECapabilities: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.15"); -pub const szOID_RSA_SMIMEalg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3"); -pub const szOID_RSA_SMIMEalgCMS3DESwrap: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.6"); -pub const szOID_RSA_SMIMEalgCMSRC2wrap: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.7"); -pub const szOID_RSA_SMIMEalgESDH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.5"); -pub const szOID_RSA_SSA_PSS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.10"); -pub const szOID_RSA_certExtensions: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.14"); -pub const szOID_RSA_challengePwd: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.7"); -pub const szOID_RSA_contentType: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.3"); -pub const szOID_RSA_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.6"); -pub const szOID_RSA_data: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.1"); -pub const szOID_RSA_digestedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); -pub const szOID_RSA_emailAddr: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.1"); -pub const szOID_RSA_encryptedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.6"); -pub const szOID_RSA_envelopedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.3"); -pub const szOID_RSA_extCertAttrs: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.9"); -pub const szOID_RSA_hashedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); -pub const szOID_RSA_messageDigest: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.4"); -pub const szOID_RSA_preferSignedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.15.1"); -pub const szOID_RSA_signEnvData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.4"); -pub const szOID_RSA_signedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.2"); -pub const szOID_RSA_signingTime: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.5"); -pub const szOID_RSA_unstructAddr: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.8"); -pub const szOID_RSA_unstructName: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.2"); -pub const szOID_SEARCH_GUIDE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.14"); -pub const szOID_SEE_ALSO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.34"); -pub const szOID_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.3.1"); -pub const szOID_SERVER_GATED_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.3"); -pub const szOID_SGC_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.4.1"); -pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.3"); -pub const szOID_SITE_PIN_RULES_INDEX_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.2"); -pub const szOID_SORTED_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.1.1"); -pub const szOID_STATE_OR_PROVINCE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.8"); -pub const szOID_STREET_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.9"); -pub const szOID_SUBJECT_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.7"); -pub const szOID_SUBJECT_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.17"); -pub const szOID_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.9"); -pub const szOID_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.11"); -pub const szOID_SUBJECT_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.14"); -pub const szOID_SUPPORTED_APPLICATION_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.30"); -pub const szOID_SUR_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.4"); -pub const szOID_SYNC_ROOT_CTL_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.50"); -pub const szOID_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.20"); -pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.22"); -pub const szOID_TELEX_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.21"); -pub const szOID_TIMESTAMP_TOKEN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.1.4"); -pub const szOID_TITLE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.12"); -pub const szOID_TLS_FEATURES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.24"); -pub const szOID_USER_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.36"); -pub const szOID_USER_PASSWORD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.35"); -pub const szOID_VERISIGN_BITSTRING_6_13: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.13"); -pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.8.1"); -pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.11"); -pub const szOID_VERISIGN_PRIVATE_6_9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.9"); -pub const szOID_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.5"); -pub const szOID_WINDOWS_KITS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.20"); -pub const szOID_WINDOWS_RT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.21"); -pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.26"); -pub const szOID_WINDOWS_STORE_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.3.1"); -pub const szOID_WINDOWS_TCB_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.23"); -pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.25"); -pub const szOID_X21_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.24"); -pub const szOID_X957: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040"); -pub const szOID_X957_DSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040.4.1"); -pub const szOID_X957_SHA1DSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040.4.3"); -pub const szOID_YESNO_TRUST_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.1"); -pub const szPRIV_KEY_CACHE_MAX_ITEMS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivKeyCacheMaxItems"); -pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivKeyCachePurgeIntervalSeconds"); -pub const sz_CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Collection"); -pub const sz_CERT_STORE_PROV_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("File"); -pub const sz_CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("File"); -pub const sz_CERT_STORE_PROV_LDAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Ldap"); -pub const sz_CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Ldap"); -pub const sz_CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Memory"); -pub const sz_CERT_STORE_PROV_PHYSICAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Physical"); -pub const sz_CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Physical"); -pub const sz_CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PKCS12"); -pub const sz_CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PKCS7"); -pub const sz_CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Serialized"); -pub const sz_CERT_STORE_PROV_SMART_CARD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCard"); -pub const sz_CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SmartCard"); -pub const sz_CERT_STORE_PROV_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System"); -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemRegistry"); -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SystemRegistry"); -pub const sz_CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("System"); -pub const wszURI_CANONICALIZATION_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315"); -pub const wszURI_CANONICALIZATION_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"); -pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/10/xml-exc-c14n#"); -pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/10/xml-exc-c14n#WithComments"); -pub const wszURI_TRANSFORM_XPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/1999/REC-xpath-19991116"); -pub const wszURI_XMLNS_DIGSIG_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#base64"); -pub const wszURI_XMLNS_DIGSIG_DSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#dsa-sha1"); -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"); -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"); -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"); -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"); -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#hmac-sha1"); -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"); -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"); -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"); -pub const wszURI_XMLNS_DIGSIG_RSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#rsa-sha1"); -pub const wszURI_XMLNS_DIGSIG_RSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); -pub const wszURI_XMLNS_DIGSIG_RSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"); -pub const wszURI_XMLNS_DIGSIG_RSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"); -pub const wszURI_XMLNS_DIGSIG_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#sha1"); -pub const wszURI_XMLNS_DIGSIG_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmlenc#sha256"); -pub const wszURI_XMLNS_DIGSIG_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#sha384"); -pub const wszURI_XMLNS_DIGSIG_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmlenc#sha512"); -pub const wszURI_XMLNS_TRANSFORM_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#base64"); -pub const wszURI_XMLNS_TRANSFORM_ENVELOPED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#enveloped-signature"); -pub const wszXMLNS_DIGSIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#"); -pub const wszXMLNS_DIGSIG_Id: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Id"); -pub const wszXMLNS_DIGSIG_SignatureProperties: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#SignatureProperties"); -pub type ALG_ID = u32; -pub type BCRYPTGENRANDOM_FLAGS = u32; -pub type BCRYPT_DH_KEY_BLOB_MAGIC = u32; -pub type BCRYPT_DSA_MAGIC = u32; -pub type BCRYPT_FLAGS = u32; -pub type BCRYPT_HASH_OPERATION_TYPE = i32; -pub type BCRYPT_INTERFACE = u32; -pub type BCRYPT_MULTI_OPERATION_TYPE = i32; -pub type BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = u32; -pub type BCRYPT_OPERATION = u32; -pub type BCRYPT_QUERY_PROVIDER_MODE = u32; -pub type BCRYPT_RESOLVE_PROVIDERS_FLAGS = u32; -pub type BCRYPT_RSAKEY_BLOB_MAGIC = u32; -pub type BCRYPT_TABLE = u32; -pub type CASetupProperty = i32; -pub type CEPSetupProperty = i32; -pub type CERT_BIOMETRIC_DATA_TYPE = u32; -pub type CERT_CHAIN_POLICY_FLAGS = u32; -pub type CERT_CONTROL_STORE_FLAGS = u32; -pub type CERT_CREATE_SELFSIGN_FLAGS = u32; -pub type CERT_FIND_CHAIN_IN_STORE_FLAGS = u32; -pub type CERT_FIND_FLAGS = u32; -pub type CERT_FIND_TYPE = u32; -pub type CERT_ID_OPTION = u32; -pub type CERT_KEY_SPEC = u32; -pub type CERT_LOGOTYPE_CHOICE = u32; -pub type CERT_LOGOTYPE_IMAGE_INFO_TYPE = u32; -pub type CERT_LOGOTYPE_OPTION = u32; -pub type CERT_OPEN_STORE_FLAGS = u32; -pub type CERT_QUERY_CONTENT_TYPE = u32; -pub type CERT_QUERY_CONTENT_TYPE_FLAGS = u32; -pub type CERT_QUERY_ENCODING_TYPE = u32; -pub type CERT_QUERY_FORMAT_TYPE = u32; -pub type CERT_QUERY_FORMAT_TYPE_FLAGS = u32; -pub type CERT_QUERY_OBJECT_TYPE = u32; -pub type CERT_RDN_ATTR_VALUE_TYPE = i32; -pub type CERT_REVOCATION_STATUS_REASON = u32; -pub type CERT_ROOT_PROGRAM_FLAGS = u32; -pub type CERT_SELECT_CRITERIA_TYPE = u32; -pub type CERT_STORE_PROV_FLAGS = u32; -pub type CERT_STORE_SAVE_AS = u32; -pub type CERT_STORE_SAVE_TO = u32; -pub type CERT_STRING_TYPE = u32; -pub type CERT_STRONG_SIGN_FLAGS = u32; -pub type CERT_SYSTEM_STORE_FLAGS = u32; -pub type CESSetupProperty = i32; -pub type CMSG_KEY_AGREE_OPTION = u32; -pub type CMSG_KEY_AGREE_ORIGINATOR = u32; -pub type CRYPT_ACQUIRE_FLAGS = u32; -pub type CRYPT_CONTEXT_CONFIG_FLAGS = u32; -pub type CRYPT_DEFAULT_CONTEXT_FLAGS = u32; -pub type CRYPT_DEFAULT_CONTEXT_TYPE = u32; -pub type CRYPT_ENCODE_OBJECT_FLAGS = u32; -pub type CRYPT_FIND_FLAGS = u32; -pub type CRYPT_GET_URL_FLAGS = u32; -pub type CRYPT_IMAGE_REF_FLAGS = u32; -pub type CRYPT_IMPORT_PUBLIC_KEY_FLAGS = u32; -pub type CRYPT_KEY_FLAGS = u32; -pub type CRYPT_KEY_PARAM_ID = u32; -pub type CRYPT_MSG_TYPE = u32; -pub type CRYPT_OBJECT_LOCATOR_RELEASE_REASON = u32; -pub type CRYPT_SET_HASH_PARAM = u32; -pub type CRYPT_SET_PROV_PARAM_ID = u32; -pub type CRYPT_STRING = u32; -pub type CRYPT_TIMESTAMP_RESPONSE_STATUS = u32; -pub type CRYPT_TIMESTAMP_VERSION = u32; -pub type CRYPT_VERIFY_CERT_FLAGS = u32; -pub type CRYPT_XML_CHARSET = i32; -pub type CRYPT_XML_FLAGS = u32; -pub type CRYPT_XML_GROUP_ID = u32; -pub type CRYPT_XML_KEYINFO_SPEC = i32; -pub type CRYPT_XML_KEYINFO_TYPE = u32; -pub type CRYPT_XML_KEY_VALUE_TYPE = u32; -pub type CRYPT_XML_PROPERTY_ID = i32; -pub type CRYPT_XML_STATUS_ERROR_STATUS = u32; -pub type CRYPT_XML_STATUS_INFO_STATUS = u32; -pub type CRYPT_XML_TRANSFORM_FLAGS = u32; -pub type CRYPT_XML_X509DATA_TYPE = u32; -pub type CertKeyType = u32; -pub type DSAFIPSVERSION_ENUM = i32; -pub type Direction = i32; -pub type ECC_CURVE_ALG_ID_ENUM = i32; -pub type ECC_CURVE_TYPE_ENUM = i32; -pub type HASHALGORITHM_ENUM = i32; -pub type HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = u32; -#[repr(transparent)] -pub struct HandleType(pub i32); -impl HandleType { - pub const Asymmetric: Self = Self(1i32); - pub const Symmetric: Self = Self(2i32); - pub const Transform: Self = Self(3i32); - pub const Hash: Self = Self(4i32); -} -impl ::core::marker::Copy for HandleType {} -impl ::core::clone::Clone for HandleType { - fn clone(&self) -> Self { - *self - } -} -pub type MSCEPSetupProperty = i32; -pub type NCRYPT_ALGORITHM_NAME_CLASS = u32; -pub type NCRYPT_FLAGS = u32; -pub type NCRYPT_OPERATION = u32; -#[repr(transparent)] -pub struct PaddingMode(pub i32); -impl PaddingMode { - pub const None: Self = Self(1i32); - pub const PKCS7: Self = Self(2i32); - pub const Zeros: Self = Self(3i32); - pub const ANSIX923: Self = Self(4i32); - pub const ISO10126: Self = Self(5i32); -} -impl ::core::marker::Copy for PaddingMode {} -impl ::core::clone::Clone for PaddingMode { - fn clone(&self) -> Self { - *self - } -} -pub type SIGNER_CERT_CHOICE = u32; -pub type SIGNER_CERT_POLICY = u32; -pub type SIGNER_PRIVATE_KEY_CHOICE = u32; -pub type SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = u32; -pub type SIGNER_SIGN_FLAGS = u32; -pub type SIGNER_SUBJECT_CHOICE = u32; -pub type SIGNER_TIMESTAMP_FLAGS = u32; -#[repr(C)] -pub struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwRegPolicySettings: u32, - pub pSignerInfo: *mut CMSG_SIGNER_INFO, -} -impl ::core::marker::Copy for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA {} -impl ::core::clone::Clone for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS { - pub cbSize: u32, - pub fCommercial: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwRegPolicySettings: u32, - pub fCommercial: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_ALGORITHM_IDENTIFIER { - pub pszName: ::windows_sys::core::PWSTR, - pub dwClass: u32, - pub dwFlags: u32, -} -impl ::core::marker::Copy for BCRYPT_ALGORITHM_IDENTIFIER {} -impl ::core::clone::Clone for BCRYPT_ALGORITHM_IDENTIFIER { - fn clone(&self) -> Self { - *self - } -} -pub type BCRYPT_ALG_HANDLE = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO { - pub cbSize: u32, - pub dwInfoVersion: u32, - pub pbNonce: *mut u8, - pub cbNonce: u32, - pub pbAuthData: *mut u8, - pub cbAuthData: u32, - pub pbTag: *mut u8, - pub cbTag: u32, - pub pbMacContext: *mut u8, - pub cbMacContext: u32, - pub cbAAD: u32, - pub cbData: u64, - pub dwFlags: u32, -} -impl ::core::marker::Copy for BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO {} -impl ::core::clone::Clone for BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DH_KEY_BLOB { - pub dwMagic: BCRYPT_DH_KEY_BLOB_MAGIC, - pub cbKey: u32, -} -impl ::core::marker::Copy for BCRYPT_DH_KEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_DH_KEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DH_PARAMETER_HEADER { - pub cbLength: u32, - pub dwMagic: u32, - pub cbKeyLength: u32, -} -impl ::core::marker::Copy for BCRYPT_DH_PARAMETER_HEADER {} -impl ::core::clone::Clone for BCRYPT_DH_PARAMETER_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DSA_KEY_BLOB { - pub dwMagic: BCRYPT_DSA_MAGIC, - pub cbKey: u32, - pub Count: [u8; 4], - pub Seed: [u8; 20], - pub q: [u8; 20], -} -impl ::core::marker::Copy for BCRYPT_DSA_KEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_DSA_KEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DSA_KEY_BLOB_V2 { - pub dwMagic: BCRYPT_DSA_MAGIC, - pub cbKey: u32, - pub hashAlgorithm: HASHALGORITHM_ENUM, - pub standardVersion: DSAFIPSVERSION_ENUM, - pub cbSeedLength: u32, - pub cbGroupSize: u32, - pub Count: [u8; 4], -} -impl ::core::marker::Copy for BCRYPT_DSA_KEY_BLOB_V2 {} -impl ::core::clone::Clone for BCRYPT_DSA_KEY_BLOB_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DSA_PARAMETER_HEADER { - pub cbLength: u32, - pub dwMagic: u32, - pub cbKeyLength: u32, - pub Count: [u8; 4], - pub Seed: [u8; 20], - pub q: [u8; 20], -} -impl ::core::marker::Copy for BCRYPT_DSA_PARAMETER_HEADER {} -impl ::core::clone::Clone for BCRYPT_DSA_PARAMETER_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_DSA_PARAMETER_HEADER_V2 { - pub cbLength: u32, - pub dwMagic: u32, - pub cbKeyLength: u32, - pub hashAlgorithm: HASHALGORITHM_ENUM, - pub standardVersion: DSAFIPSVERSION_ENUM, - pub cbSeedLength: u32, - pub cbGroupSize: u32, - pub Count: [u8; 4], -} -impl ::core::marker::Copy for BCRYPT_DSA_PARAMETER_HEADER_V2 {} -impl ::core::clone::Clone for BCRYPT_DSA_PARAMETER_HEADER_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_ECCFULLKEY_BLOB { - pub dwMagic: u32, - pub dwVersion: u32, - pub dwCurveType: ECC_CURVE_TYPE_ENUM, - pub dwCurveGenerationAlgId: ECC_CURVE_ALG_ID_ENUM, - pub cbFieldLength: u32, - pub cbSubgroupOrder: u32, - pub cbCofactor: u32, - pub cbSeed: u32, -} -impl ::core::marker::Copy for BCRYPT_ECCFULLKEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_ECCFULLKEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_ECCKEY_BLOB { - pub dwMagic: u32, - pub cbKey: u32, -} -impl ::core::marker::Copy for BCRYPT_ECCKEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_ECCKEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_ECC_CURVE_NAMES { - pub dwEccCurveNames: u32, - pub pEccCurveNames: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for BCRYPT_ECC_CURVE_NAMES {} -impl ::core::clone::Clone for BCRYPT_ECC_CURVE_NAMES { - fn clone(&self) -> Self { - *self - } -} -pub type BCRYPT_HANDLE = *mut ::core::ffi::c_void; -pub type BCRYPT_HASH_HANDLE = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct BCRYPT_INTERFACE_VERSION { - pub MajorVersion: u16, - pub MinorVersion: u16, -} -impl ::core::marker::Copy for BCRYPT_INTERFACE_VERSION {} -impl ::core::clone::Clone for BCRYPT_INTERFACE_VERSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_KEY_BLOB { - pub Magic: u32, -} -impl ::core::marker::Copy for BCRYPT_KEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_KEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_KEY_DATA_BLOB_HEADER { - pub dwMagic: u32, - pub dwVersion: u32, - pub cbKeyData: u32, -} -impl ::core::marker::Copy for BCRYPT_KEY_DATA_BLOB_HEADER {} -impl ::core::clone::Clone for BCRYPT_KEY_DATA_BLOB_HEADER { - fn clone(&self) -> Self { - *self - } -} -pub type BCRYPT_KEY_HANDLE = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct BCRYPT_KEY_LENGTHS_STRUCT { - pub dwMinLength: u32, - pub dwMaxLength: u32, - pub dwIncrement: u32, -} -impl ::core::marker::Copy for BCRYPT_KEY_LENGTHS_STRUCT {} -impl ::core::clone::Clone for BCRYPT_KEY_LENGTHS_STRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_MULTI_HASH_OPERATION { - pub iHash: u32, - pub hashOperation: BCRYPT_HASH_OPERATION_TYPE, - pub pbBuffer: *mut u8, - pub cbBuffer: u32, -} -impl ::core::marker::Copy for BCRYPT_MULTI_HASH_OPERATION {} -impl ::core::clone::Clone for BCRYPT_MULTI_HASH_OPERATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_MULTI_OBJECT_LENGTH_STRUCT { - pub cbPerObject: u32, - pub cbPerElement: u32, -} -impl ::core::marker::Copy for BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {} -impl ::core::clone::Clone for BCRYPT_MULTI_OBJECT_LENGTH_STRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_OAEP_PADDING_INFO { - pub pszAlgId: ::windows_sys::core::PCWSTR, - pub pbLabel: *mut u8, - pub cbLabel: u32, -} -impl ::core::marker::Copy for BCRYPT_OAEP_PADDING_INFO {} -impl ::core::clone::Clone for BCRYPT_OAEP_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_OID { - pub cbOID: u32, - pub pbOID: *mut u8, -} -impl ::core::marker::Copy for BCRYPT_OID {} -impl ::core::clone::Clone for BCRYPT_OID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_OID_LIST { - pub dwOIDCount: u32, - pub pOIDs: *mut BCRYPT_OID, -} -impl ::core::marker::Copy for BCRYPT_OID_LIST {} -impl ::core::clone::Clone for BCRYPT_OID_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_PKCS1_PADDING_INFO { - pub pszAlgId: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for BCRYPT_PKCS1_PADDING_INFO {} -impl ::core::clone::Clone for BCRYPT_PKCS1_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_PROVIDER_NAME { - pub pszProviderName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for BCRYPT_PROVIDER_NAME {} -impl ::core::clone::Clone for BCRYPT_PROVIDER_NAME { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_PSS_PADDING_INFO { - pub pszAlgId: ::windows_sys::core::PCWSTR, - pub cbSalt: u32, -} -impl ::core::marker::Copy for BCRYPT_PSS_PADDING_INFO {} -impl ::core::clone::Clone for BCRYPT_PSS_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCRYPT_RSAKEY_BLOB { - pub Magic: BCRYPT_RSAKEY_BLOB_MAGIC, - pub BitLength: u32, - pub cbPublicExp: u32, - pub cbModulus: u32, - pub cbPrime1: u32, - pub cbPrime2: u32, -} -impl ::core::marker::Copy for BCRYPT_RSAKEY_BLOB {} -impl ::core::clone::Clone for BCRYPT_RSAKEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -pub type BCRYPT_SECRET_HANDLE = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct BCryptBuffer { - pub cbBuffer: u32, - pub BufferType: u32, - pub pvBuffer: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for BCryptBuffer {} -impl ::core::clone::Clone for BCryptBuffer { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BCryptBufferDesc { - pub ulVersion: u32, - pub cBuffers: u32, - pub pBuffers: *mut BCryptBuffer, -} -impl ::core::marker::Copy for BCryptBufferDesc {} -impl ::core::clone::Clone for BCryptBufferDesc { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERTIFICATE_CHAIN_BLOB { - pub certCount: u32, - pub rawCertificates: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERTIFICATE_CHAIN_BLOB {} -impl ::core::clone::Clone for CERTIFICATE_CHAIN_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ACCESS_DESCRIPTION { - pub pszAccessMethod: ::windows_sys::core::PSTR, - pub AccessLocation: CERT_ALT_NAME_ENTRY, -} -impl ::core::marker::Copy for CERT_ACCESS_DESCRIPTION {} -impl ::core::clone::Clone for CERT_ACCESS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ALT_NAME_ENTRY { - pub dwAltNameChoice: u32, - pub Anonymous: CERT_ALT_NAME_ENTRY_0, -} -impl ::core::marker::Copy for CERT_ALT_NAME_ENTRY {} -impl ::core::clone::Clone for CERT_ALT_NAME_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_ALT_NAME_ENTRY_0 { - pub pOtherName: *mut CERT_OTHER_NAME, - pub pwszRfc822Name: ::windows_sys::core::PWSTR, - pub pwszDNSName: ::windows_sys::core::PWSTR, - pub DirectoryName: CRYPT_INTEGER_BLOB, - pub pwszURL: ::windows_sys::core::PWSTR, - pub IPAddress: CRYPT_INTEGER_BLOB, - pub pszRegisteredID: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CERT_ALT_NAME_ENTRY_0 {} -impl ::core::clone::Clone for CERT_ALT_NAME_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ALT_NAME_INFO { - pub cAltEntry: u32, - pub rgAltEntry: *mut CERT_ALT_NAME_ENTRY, -} -impl ::core::marker::Copy for CERT_ALT_NAME_INFO {} -impl ::core::clone::Clone for CERT_ALT_NAME_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_AUTHORITY_INFO_ACCESS { - pub cAccDescr: u32, - pub rgAccDescr: *mut CERT_ACCESS_DESCRIPTION, -} -impl ::core::marker::Copy for CERT_AUTHORITY_INFO_ACCESS {} -impl ::core::clone::Clone for CERT_AUTHORITY_INFO_ACCESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_AUTHORITY_KEY_ID2_INFO { - pub KeyId: CRYPT_INTEGER_BLOB, - pub AuthorityCertIssuer: CERT_ALT_NAME_INFO, - pub AuthorityCertSerialNumber: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_AUTHORITY_KEY_ID2_INFO {} -impl ::core::clone::Clone for CERT_AUTHORITY_KEY_ID2_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_AUTHORITY_KEY_ID_INFO { - pub KeyId: CRYPT_INTEGER_BLOB, - pub CertIssuer: CRYPT_INTEGER_BLOB, - pub CertSerialNumber: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_AUTHORITY_KEY_ID_INFO {} -impl ::core::clone::Clone for CERT_AUTHORITY_KEY_ID_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_BASIC_CONSTRAINTS2_INFO { - pub fCA: super::super::Foundation::BOOL, - pub fPathLenConstraint: super::super::Foundation::BOOL, - pub dwPathLenConstraint: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_BASIC_CONSTRAINTS2_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_BASIC_CONSTRAINTS2_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_BASIC_CONSTRAINTS_INFO { - pub SubjectType: CRYPT_BIT_BLOB, - pub fPathLenConstraint: super::super::Foundation::BOOL, - pub dwPathLenConstraint: u32, - pub cSubtreesConstraint: u32, - pub rgSubtreesConstraint: *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_BASIC_CONSTRAINTS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_BASIC_CONSTRAINTS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_BIOMETRIC_DATA { - pub dwTypeOfBiometricDataChoice: CERT_BIOMETRIC_DATA_TYPE, - pub Anonymous: CERT_BIOMETRIC_DATA_0, - pub HashedUrl: CERT_HASHED_URL, -} -impl ::core::marker::Copy for CERT_BIOMETRIC_DATA {} -impl ::core::clone::Clone for CERT_BIOMETRIC_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_BIOMETRIC_DATA_0 { - pub dwPredefined: u32, - pub pszObjId: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CERT_BIOMETRIC_DATA_0 {} -impl ::core::clone::Clone for CERT_BIOMETRIC_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_BIOMETRIC_EXT_INFO { - pub cBiometricData: u32, - pub rgBiometricData: *mut CERT_BIOMETRIC_DATA, -} -impl ::core::marker::Copy for CERT_BIOMETRIC_EXT_INFO {} -impl ::core::clone::Clone for CERT_BIOMETRIC_EXT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_CHAIN { - pub cCerts: u32, - pub certs: *mut CRYPT_INTEGER_BLOB, - pub keyLocatorInfo: CRYPT_KEY_PROV_INFO, -} -impl ::core::marker::Copy for CERT_CHAIN {} -impl ::core::clone::Clone for CERT_CHAIN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CHAIN_CONTEXT { - pub cbSize: u32, - pub TrustStatus: CERT_TRUST_STATUS, - pub cChain: u32, - pub rgpChain: *mut *mut CERT_SIMPLE_CHAIN, - pub cLowerQualityChainContext: u32, - pub rgpLowerQualityChainContext: *mut *mut CERT_CHAIN_CONTEXT, - pub fHasRevocationFreshnessTime: super::super::Foundation::BOOL, - pub dwRevocationFreshnessTime: u32, - pub dwCreateFlags: u32, - pub ChainId: ::windows_sys::core::GUID, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CHAIN_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CHAIN_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CHAIN_ELEMENT { - pub cbSize: u32, - pub pCertContext: *const CERT_CONTEXT, - pub TrustStatus: CERT_TRUST_STATUS, - pub pRevocationInfo: *mut CERT_REVOCATION_INFO, - pub pIssuanceUsage: *mut CTL_USAGE, - pub pApplicationUsage: *mut CTL_USAGE, - pub pwszExtendedErrorInfo: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CHAIN_ELEMENT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CHAIN_ELEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_CHAIN_ENGINE_CONFIG { - pub cbSize: u32, - pub hRestrictedRoot: HCERTSTORE, - pub hRestrictedTrust: HCERTSTORE, - pub hRestrictedOther: HCERTSTORE, - pub cAdditionalStore: u32, - pub rghAdditionalStore: *mut HCERTSTORE, - pub dwFlags: u32, - pub dwUrlRetrievalTimeout: u32, - pub MaximumCachedCertificates: u32, - pub CycleDetectionModulus: u32, - pub hExclusiveRoot: HCERTSTORE, - pub hExclusiveTrustedPeople: HCERTSTORE, - pub dwExclusiveFlags: u32, -} -impl ::core::marker::Copy for CERT_CHAIN_ENGINE_CONFIG {} -impl ::core::clone::Clone for CERT_CHAIN_ENGINE_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CHAIN_FIND_BY_ISSUER_PARA { - pub cbSize: u32, - pub pszUsageIdentifier: ::windows_sys::core::PCSTR, - pub dwKeySpec: u32, - pub dwAcquirePrivateKeyFlags: u32, - pub cIssuer: u32, - pub rgIssuer: *mut CRYPT_INTEGER_BLOB, - pub pfnFindCallback: PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK, - pub pvFindArg: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CHAIN_FIND_BY_ISSUER_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CHAIN_FIND_BY_ISSUER_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_CHAIN_PARA { - pub cbSize: u32, - pub RequestedUsage: CERT_USAGE_MATCH, -} -impl ::core::marker::Copy for CERT_CHAIN_PARA {} -impl ::core::clone::Clone for CERT_CHAIN_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwFlags: CERT_CHAIN_POLICY_FLAGS, - pub pvExtraPolicyPara: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CERT_CHAIN_POLICY_PARA {} -impl ::core::clone::Clone for CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_CHAIN_POLICY_STATUS { - pub cbSize: u32, - pub dwError: u32, - pub lChainIndex: i32, - pub lElementIndex: i32, - pub pvExtraPolicyStatus: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CERT_CHAIN_POLICY_STATUS {} -impl ::core::clone::Clone for CERT_CHAIN_POLICY_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CONTEXT { - pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, - pub pbCertEncoded: *mut u8, - pub cbCertEncoded: u32, - pub pCertInfo: *mut CERT_INFO, - pub hCertStore: HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CREATE_CONTEXT_PARA { - pub cbSize: u32, - pub pfnFree: PFN_CRYPT_FREE, - pub pvFree: *mut ::core::ffi::c_void, - pub pfnSort: PFN_CERT_CREATE_CONTEXT_SORT_FUNC, - pub pvSort: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CREATE_CONTEXT_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CREATE_CONTEXT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_CRL_CONTEXT_PAIR { - pub pCertContext: *const CERT_CONTEXT, - pub pCrlContext: *mut CRL_CONTEXT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_CRL_CONTEXT_PAIR {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_CRL_CONTEXT_PAIR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_DH_PARAMETERS { - pub p: CRYPT_INTEGER_BLOB, - pub g: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_DH_PARAMETERS {} -impl ::core::clone::Clone for CERT_DH_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_DSS_PARAMETERS { - pub p: CRYPT_INTEGER_BLOB, - pub q: CRYPT_INTEGER_BLOB, - pub g: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_DSS_PARAMETERS {} -impl ::core::clone::Clone for CERT_DSS_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ECC_SIGNATURE { - pub r: CRYPT_INTEGER_BLOB, - pub s: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_ECC_SIGNATURE {} -impl ::core::clone::Clone for CERT_ECC_SIGNATURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_EXTENSION { - pub pszObjId: ::windows_sys::core::PSTR, - pub fCritical: super::super::Foundation::BOOL, - pub Value: CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_EXTENSION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_EXTENSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_EXTENSIONS { - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_EXTENSIONS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_EXTENSIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_FORTEZZA_DATA_PROP { - pub SerialNumber: [u8; 8], - pub CertIndex: i32, - pub CertLabel: [u8; 36], -} -impl ::core::marker::Copy for CERT_FORTEZZA_DATA_PROP {} -impl ::core::clone::Clone for CERT_FORTEZZA_DATA_PROP { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_GENERAL_SUBTREE { - pub Base: CERT_ALT_NAME_ENTRY, - pub dwMinimum: u32, - pub fMaximum: super::super::Foundation::BOOL, - pub dwMaximum: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_GENERAL_SUBTREE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_GENERAL_SUBTREE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_HASHED_URL { - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Hash: CRYPT_INTEGER_BLOB, - pub pwszUrl: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_HASHED_URL {} -impl ::core::clone::Clone for CERT_HASHED_URL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ID { - pub dwIdChoice: CERT_ID_OPTION, - pub Anonymous: CERT_ID_0, -} -impl ::core::marker::Copy for CERT_ID {} -impl ::core::clone::Clone for CERT_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_ID_0 { - pub IssuerSerialNumber: CERT_ISSUER_SERIAL_NUMBER, - pub KeyId: CRYPT_INTEGER_BLOB, - pub HashId: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_ID_0 {} -impl ::core::clone::Clone for CERT_ID_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_INFO { - pub dwVersion: u32, - pub SerialNumber: CRYPT_INTEGER_BLOB, - pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Issuer: CRYPT_INTEGER_BLOB, - pub NotBefore: super::super::Foundation::FILETIME, - pub NotAfter: super::super::Foundation::FILETIME, - pub Subject: CRYPT_INTEGER_BLOB, - pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO, - pub IssuerUniqueId: CRYPT_BIT_BLOB, - pub SubjectUniqueId: CRYPT_BIT_BLOB, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_ISSUER_SERIAL_NUMBER { - pub Issuer: CRYPT_INTEGER_BLOB, - pub SerialNumber: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_ISSUER_SERIAL_NUMBER {} -impl ::core::clone::Clone for CERT_ISSUER_SERIAL_NUMBER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_KEYGEN_REQUEST_INFO { - pub dwVersion: u32, - pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO, - pub pwszChallengeString: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_KEYGEN_REQUEST_INFO {} -impl ::core::clone::Clone for CERT_KEYGEN_REQUEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_KEY_ATTRIBUTES_INFO { - pub KeyId: CRYPT_INTEGER_BLOB, - pub IntendedKeyUsage: CRYPT_BIT_BLOB, - pub pPrivateKeyUsagePeriod: *mut CERT_PRIVATE_KEY_VALIDITY, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_KEY_ATTRIBUTES_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_KEY_ATTRIBUTES_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_KEY_CONTEXT { - pub cbSize: u32, - pub Anonymous: CERT_KEY_CONTEXT_0, - pub dwKeySpec: u32, -} -impl ::core::marker::Copy for CERT_KEY_CONTEXT {} -impl ::core::clone::Clone for CERT_KEY_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_KEY_CONTEXT_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -impl ::core::marker::Copy for CERT_KEY_CONTEXT_0 {} -impl ::core::clone::Clone for CERT_KEY_CONTEXT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_KEY_USAGE_RESTRICTION_INFO { - pub cCertPolicyId: u32, - pub rgCertPolicyId: *mut CERT_POLICY_ID, - pub RestrictedKeyUsage: CRYPT_BIT_BLOB, -} -impl ::core::marker::Copy for CERT_KEY_USAGE_RESTRICTION_INFO {} -impl ::core::clone::Clone for CERT_KEY_USAGE_RESTRICTION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LDAP_STORE_OPENED_PARA { - pub pvLdapSessionHandle: *mut ::core::ffi::c_void, - pub pwszLdapUrl: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CERT_LDAP_STORE_OPENED_PARA {} -impl ::core::clone::Clone for CERT_LDAP_STORE_OPENED_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_AUDIO { - pub LogotypeDetails: CERT_LOGOTYPE_DETAILS, - pub pLogotypeAudioInfo: *mut CERT_LOGOTYPE_AUDIO_INFO, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_AUDIO {} -impl ::core::clone::Clone for CERT_LOGOTYPE_AUDIO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_AUDIO_INFO { - pub dwFileSize: u32, - pub dwPlayTime: u32, - pub dwChannels: u32, - pub dwSampleRate: u32, - pub pwszLanguage: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_AUDIO_INFO {} -impl ::core::clone::Clone for CERT_LOGOTYPE_AUDIO_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_DATA { - pub cLogotypeImage: u32, - pub rgLogotypeImage: *mut CERT_LOGOTYPE_IMAGE, - pub cLogotypeAudio: u32, - pub rgLogotypeAudio: *mut CERT_LOGOTYPE_AUDIO, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_DATA {} -impl ::core::clone::Clone for CERT_LOGOTYPE_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_DETAILS { - pub pwszMimeType: ::windows_sys::core::PWSTR, - pub cHashedUrl: u32, - pub rgHashedUrl: *mut CERT_HASHED_URL, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_DETAILS {} -impl ::core::clone::Clone for CERT_LOGOTYPE_DETAILS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_EXT_INFO { - pub cCommunityLogo: u32, - pub rgCommunityLogo: *mut CERT_LOGOTYPE_INFO, - pub pIssuerLogo: *mut CERT_LOGOTYPE_INFO, - pub pSubjectLogo: *mut CERT_LOGOTYPE_INFO, - pub cOtherLogo: u32, - pub rgOtherLogo: *mut CERT_OTHER_LOGOTYPE_INFO, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_EXT_INFO {} -impl ::core::clone::Clone for CERT_LOGOTYPE_EXT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_IMAGE { - pub LogotypeDetails: CERT_LOGOTYPE_DETAILS, - pub pLogotypeImageInfo: *mut CERT_LOGOTYPE_IMAGE_INFO, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE {} -impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_IMAGE_INFO { - pub dwLogotypeImageInfoChoice: CERT_LOGOTYPE_IMAGE_INFO_TYPE, - pub dwFileSize: u32, - pub dwXSize: u32, - pub dwYSize: u32, - pub dwLogotypeImageResolutionChoice: CERT_LOGOTYPE_CHOICE, - pub Anonymous: CERT_LOGOTYPE_IMAGE_INFO_0, - pub pwszLanguage: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE_INFO {} -impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_LOGOTYPE_IMAGE_INFO_0 { - pub dwNumBits: u32, - pub dwTableSize: u32, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE_INFO_0 {} -impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_INFO { - pub dwLogotypeInfoChoice: CERT_LOGOTYPE_OPTION, - pub Anonymous: CERT_LOGOTYPE_INFO_0, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_INFO {} -impl ::core::clone::Clone for CERT_LOGOTYPE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_LOGOTYPE_INFO_0 { - pub pLogotypeDirectInfo: *mut CERT_LOGOTYPE_DATA, - pub pLogotypeIndirectInfo: *mut CERT_LOGOTYPE_REFERENCE, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_INFO_0 {} -impl ::core::clone::Clone for CERT_LOGOTYPE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_LOGOTYPE_REFERENCE { - pub cHashedUrl: u32, - pub rgHashedUrl: *mut CERT_HASHED_URL, -} -impl ::core::marker::Copy for CERT_LOGOTYPE_REFERENCE {} -impl ::core::clone::Clone for CERT_LOGOTYPE_REFERENCE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_NAME_CONSTRAINTS_INFO { - pub cPermittedSubtree: u32, - pub rgPermittedSubtree: *mut CERT_GENERAL_SUBTREE, - pub cExcludedSubtree: u32, - pub rgExcludedSubtree: *mut CERT_GENERAL_SUBTREE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_NAME_CONSTRAINTS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_NAME_CONSTRAINTS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_NAME_INFO { - pub cRDN: u32, - pub rgRDN: *mut CERT_RDN, -} -impl ::core::marker::Copy for CERT_NAME_INFO {} -impl ::core::clone::Clone for CERT_NAME_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_NAME_VALUE { - pub dwValueType: u32, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_NAME_VALUE {} -impl ::core::clone::Clone for CERT_NAME_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_OR_CRL_BLOB { - pub dwChoice: u32, - pub cbEncoded: u32, - pub pbEncoded: *mut u8, -} -impl ::core::marker::Copy for CERT_OR_CRL_BLOB {} -impl ::core::clone::Clone for CERT_OR_CRL_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_OR_CRL_BUNDLE { - pub cItem: u32, - pub rgItem: *mut CERT_OR_CRL_BLOB, -} -impl ::core::marker::Copy for CERT_OR_CRL_BUNDLE {} -impl ::core::clone::Clone for CERT_OR_CRL_BUNDLE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_OTHER_LOGOTYPE_INFO { - pub pszObjId: ::windows_sys::core::PSTR, - pub LogotypeInfo: CERT_LOGOTYPE_INFO, -} -impl ::core::marker::Copy for CERT_OTHER_LOGOTYPE_INFO {} -impl ::core::clone::Clone for CERT_OTHER_LOGOTYPE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_OTHER_NAME { - pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_OTHER_NAME {} -impl ::core::clone::Clone for CERT_OTHER_NAME { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_PAIR { - pub Forward: CRYPT_INTEGER_BLOB, - pub Reverse: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_PAIR {} -impl ::core::clone::Clone for CERT_PAIR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_PHYSICAL_STORE_INFO { - pub cbSize: u32, - pub pszOpenStoreProvider: ::windows_sys::core::PSTR, - pub dwOpenEncodingType: u32, - pub dwOpenFlags: u32, - pub OpenParameters: CRYPT_INTEGER_BLOB, - pub dwFlags: u32, - pub dwPriority: u32, -} -impl ::core::marker::Copy for CERT_PHYSICAL_STORE_INFO {} -impl ::core::clone::Clone for CERT_PHYSICAL_STORE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICIES_INFO { - pub cPolicyInfo: u32, - pub rgPolicyInfo: *mut CERT_POLICY_INFO, -} -impl ::core::marker::Copy for CERT_POLICIES_INFO {} -impl ::core::clone::Clone for CERT_POLICIES_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY95_QUALIFIER1 { - pub pszPracticesReference: ::windows_sys::core::PWSTR, - pub pszNoticeIdentifier: ::windows_sys::core::PSTR, - pub pszNSINoticeIdentifier: ::windows_sys::core::PSTR, - pub cCPSURLs: u32, - pub rgCPSURLs: *mut CPS_URLS, -} -impl ::core::marker::Copy for CERT_POLICY95_QUALIFIER1 {} -impl ::core::clone::Clone for CERT_POLICY95_QUALIFIER1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_POLICY_CONSTRAINTS_INFO { - pub fRequireExplicitPolicy: super::super::Foundation::BOOL, - pub dwRequireExplicitPolicySkipCerts: u32, - pub fInhibitPolicyMapping: super::super::Foundation::BOOL, - pub dwInhibitPolicyMappingSkipCerts: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_POLICY_CONSTRAINTS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_POLICY_CONSTRAINTS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_ID { - pub cCertPolicyElementId: u32, - pub rgpszCertPolicyElementId: *mut ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CERT_POLICY_ID {} -impl ::core::clone::Clone for CERT_POLICY_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_INFO { - pub pszPolicyIdentifier: ::windows_sys::core::PSTR, - pub cPolicyQualifier: u32, - pub rgPolicyQualifier: *mut CERT_POLICY_QUALIFIER_INFO, -} -impl ::core::marker::Copy for CERT_POLICY_INFO {} -impl ::core::clone::Clone for CERT_POLICY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_MAPPING { - pub pszIssuerDomainPolicy: ::windows_sys::core::PSTR, - pub pszSubjectDomainPolicy: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CERT_POLICY_MAPPING {} -impl ::core::clone::Clone for CERT_POLICY_MAPPING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_MAPPINGS_INFO { - pub cPolicyMapping: u32, - pub rgPolicyMapping: *mut CERT_POLICY_MAPPING, -} -impl ::core::marker::Copy for CERT_POLICY_MAPPINGS_INFO {} -impl ::core::clone::Clone for CERT_POLICY_MAPPINGS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_QUALIFIER_INFO { - pub pszPolicyQualifierId: ::windows_sys::core::PSTR, - pub Qualifier: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_INFO {} -impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_QUALIFIER_NOTICE_REFERENCE { - pub pszOrganization: ::windows_sys::core::PSTR, - pub cNoticeNumbers: u32, - pub rgNoticeNumbers: *mut i32, -} -impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_NOTICE_REFERENCE {} -impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_NOTICE_REFERENCE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_POLICY_QUALIFIER_USER_NOTICE { - pub pNoticeReference: *mut CERT_POLICY_QUALIFIER_NOTICE_REFERENCE, - pub pszDisplayText: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_USER_NOTICE {} -impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_USER_NOTICE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_PRIVATE_KEY_VALIDITY { - pub NotBefore: super::super::Foundation::FILETIME, - pub NotAfter: super::super::Foundation::FILETIME, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_PRIVATE_KEY_VALIDITY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_PRIVATE_KEY_VALIDITY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_PUBLIC_KEY_INFO { - pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub PublicKey: CRYPT_BIT_BLOB, -} -impl ::core::marker::Copy for CERT_PUBLIC_KEY_INFO {} -impl ::core::clone::Clone for CERT_PUBLIC_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_QC_STATEMENT { - pub pszStatementId: ::windows_sys::core::PSTR, - pub StatementInfo: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_QC_STATEMENT {} -impl ::core::clone::Clone for CERT_QC_STATEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_QC_STATEMENTS_EXT_INFO { - pub cStatement: u32, - pub rgStatement: *mut CERT_QC_STATEMENT, -} -impl ::core::marker::Copy for CERT_QC_STATEMENTS_EXT_INFO {} -impl ::core::clone::Clone for CERT_QC_STATEMENTS_EXT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_RDN { - pub cRDNAttr: u32, - pub rgRDNAttr: *mut CERT_RDN_ATTR, -} -impl ::core::marker::Copy for CERT_RDN {} -impl ::core::clone::Clone for CERT_RDN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_RDN_ATTR { - pub pszObjId: ::windows_sys::core::PSTR, - pub dwValueType: u32, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CERT_RDN_ATTR {} -impl ::core::clone::Clone for CERT_RDN_ATTR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Registry\"`"] -#[cfg(feature = "Win32_System_Registry")] -pub struct CERT_REGISTRY_STORE_CLIENT_GPT_PARA { - pub hKeyBase: super::super::System::Registry::HKEY, - pub pwszRegPath: ::windows_sys::core::PWSTR, -} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::marker::Copy for CERT_REGISTRY_STORE_CLIENT_GPT_PARA {} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::clone::Clone for CERT_REGISTRY_STORE_CLIENT_GPT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Registry\"`"] -#[cfg(feature = "Win32_System_Registry")] -pub struct CERT_REGISTRY_STORE_ROAMING_PARA { - pub hKey: super::super::System::Registry::HKEY, - pub pwszStoreDirectory: ::windows_sys::core::PWSTR, -} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::marker::Copy for CERT_REGISTRY_STORE_ROAMING_PARA {} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::clone::Clone for CERT_REGISTRY_STORE_ROAMING_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_REQUEST_INFO { - pub dwVersion: u32, - pub Subject: CRYPT_INTEGER_BLOB, - pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO, - pub cAttribute: u32, - pub rgAttribute: *mut CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CERT_REQUEST_INFO {} -impl ::core::clone::Clone for CERT_REQUEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_REVOCATION_CHAIN_PARA { - pub cbSize: u32, - pub hChainEngine: HCERTCHAINENGINE, - pub hAdditionalStore: HCERTSTORE, - pub dwChainFlags: u32, - pub dwUrlRetrievalTimeout: u32, - pub pftCurrentTime: *mut super::super::Foundation::FILETIME, - pub pftCacheResync: *mut super::super::Foundation::FILETIME, - pub cbMaxUrlRetrievalByteCount: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_REVOCATION_CHAIN_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_REVOCATION_CHAIN_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_REVOCATION_CRL_INFO { - pub cbSize: u32, - pub pBaseCrlContext: *mut CRL_CONTEXT, - pub pDeltaCrlContext: *mut CRL_CONTEXT, - pub pCrlEntry: *mut CRL_ENTRY, - pub fDeltaCrlEntry: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_REVOCATION_CRL_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_REVOCATION_CRL_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_REVOCATION_INFO { - pub cbSize: u32, - pub dwRevocationResult: u32, - pub pszRevocationOid: ::windows_sys::core::PCSTR, - pub pvOidSpecificInfo: *mut ::core::ffi::c_void, - pub fHasFreshnessTime: super::super::Foundation::BOOL, - pub dwFreshnessTime: u32, - pub pCrlInfo: *mut CERT_REVOCATION_CRL_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_REVOCATION_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_REVOCATION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_REVOCATION_PARA { - pub cbSize: u32, - pub pIssuerCert: *const CERT_CONTEXT, - pub cCertStore: u32, - pub rgCertStore: *mut HCERTSTORE, - pub hCrlStore: HCERTSTORE, - pub pftTimeToUse: *mut super::super::Foundation::FILETIME, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_REVOCATION_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_REVOCATION_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_REVOCATION_STATUS { - pub cbSize: u32, - pub dwIndex: u32, - pub dwError: u32, - pub dwReason: CERT_REVOCATION_STATUS_REASON, - pub fHasFreshnessTime: super::super::Foundation::BOOL, - pub dwFreshnessTime: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_REVOCATION_STATUS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_REVOCATION_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SELECT_CHAIN_PARA { - pub hChainEngine: HCERTCHAINENGINE, - pub pTime: *mut super::super::Foundation::FILETIME, - pub hAdditionalStore: HCERTSTORE, - pub pChainPara: *mut CERT_CHAIN_PARA, - pub dwFlags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SELECT_CHAIN_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SELECT_CHAIN_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_SELECT_CRITERIA { - pub dwType: CERT_SELECT_CRITERIA_TYPE, - pub cPara: u32, - pub ppPara: *mut *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CERT_SELECT_CRITERIA {} -impl ::core::clone::Clone for CERT_SELECT_CRITERIA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_SERVER_OCSP_RESPONSE_CONTEXT { - pub cbSize: u32, - pub pbEncodedOcspResponse: *mut u8, - pub cbEncodedOcspResponse: u32, -} -impl ::core::marker::Copy for CERT_SERVER_OCSP_RESPONSE_CONTEXT {} -impl ::core::clone::Clone for CERT_SERVER_OCSP_RESPONSE_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SERVER_OCSP_RESPONSE_OPEN_PARA { - pub cbSize: u32, - pub dwFlags: u32, - pub pcbUsedSize: *mut u32, - pub pwszOcspDirectory: ::windows_sys::core::PWSTR, - pub pfnUpdateCallback: PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK, - pub pvUpdateCallbackArg: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SERVER_OCSP_RESPONSE_OPEN_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SERVER_OCSP_RESPONSE_OPEN_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_SIGNED_CONTENT_INFO { - pub ToBeSigned: CRYPT_INTEGER_BLOB, - pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Signature: CRYPT_BIT_BLOB, -} -impl ::core::marker::Copy for CERT_SIGNED_CONTENT_INFO {} -impl ::core::clone::Clone for CERT_SIGNED_CONTENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_SIMPLE_CHAIN { - pub cbSize: u32, - pub TrustStatus: CERT_TRUST_STATUS, - pub cElement: u32, - pub rgpElement: *mut *mut CERT_CHAIN_ELEMENT, - pub pTrustListInfo: *mut CERT_TRUST_LIST_INFO, - pub fHasRevocationFreshnessTime: super::super::Foundation::BOOL, - pub dwRevocationFreshnessTime: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_SIMPLE_CHAIN {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_SIMPLE_CHAIN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_STORE_PROV_FIND_INFO { - pub cbSize: u32, - pub dwMsgAndCertEncodingType: u32, - pub dwFindFlags: u32, - pub dwFindType: u32, - pub pvFindPara: *const ::core::ffi::c_void, -} -impl ::core::marker::Copy for CERT_STORE_PROV_FIND_INFO {} -impl ::core::clone::Clone for CERT_STORE_PROV_FIND_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_STORE_PROV_INFO { - pub cbSize: u32, - pub cStoreProvFunc: u32, - pub rgpvStoreProvFunc: *mut *mut ::core::ffi::c_void, - pub hStoreProv: HCERTSTOREPROV, - pub dwStoreProvFlags: CERT_STORE_PROV_FLAGS, - pub hStoreProvFuncAddr2: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CERT_STORE_PROV_INFO {} -impl ::core::clone::Clone for CERT_STORE_PROV_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_STRONG_SIGN_PARA { - pub cbSize: u32, - pub dwInfoChoice: u32, - pub Anonymous: CERT_STRONG_SIGN_PARA_0, -} -impl ::core::marker::Copy for CERT_STRONG_SIGN_PARA {} -impl ::core::clone::Clone for CERT_STRONG_SIGN_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CERT_STRONG_SIGN_PARA_0 { - pub pvInfo: *mut ::core::ffi::c_void, - pub pSerializedInfo: *mut CERT_STRONG_SIGN_SERIALIZED_INFO, - pub pszOID: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CERT_STRONG_SIGN_PARA_0 {} -impl ::core::clone::Clone for CERT_STRONG_SIGN_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_STRONG_SIGN_SERIALIZED_INFO { - pub dwFlags: CERT_STRONG_SIGN_FLAGS, - pub pwszCNGSignHashAlgids: ::windows_sys::core::PWSTR, - pub pwszCNGPubKeyMinBitLengths: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CERT_STRONG_SIGN_SERIALIZED_INFO {} -impl ::core::clone::Clone for CERT_STRONG_SIGN_SERIALIZED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_SUPPORTED_ALGORITHM_INFO { - pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub IntendedKeyUsage: CRYPT_BIT_BLOB, - pub IntendedCertPolicies: CERT_POLICIES_INFO, -} -impl ::core::marker::Copy for CERT_SUPPORTED_ALGORITHM_INFO {} -impl ::core::clone::Clone for CERT_SUPPORTED_ALGORITHM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_SYSTEM_STORE_INFO { - pub cbSize: u32, -} -impl ::core::marker::Copy for CERT_SYSTEM_STORE_INFO {} -impl ::core::clone::Clone for CERT_SYSTEM_STORE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Registry\"`"] -#[cfg(feature = "Win32_System_Registry")] -pub struct CERT_SYSTEM_STORE_RELOCATE_PARA { - pub Anonymous1: CERT_SYSTEM_STORE_RELOCATE_PARA_0, - pub Anonymous2: CERT_SYSTEM_STORE_RELOCATE_PARA_1, -} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA {} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Registry\"`"] -#[cfg(feature = "Win32_System_Registry")] -pub union CERT_SYSTEM_STORE_RELOCATE_PARA_0 { - pub hKeyBase: super::super::System::Registry::HKEY, - pub pvBase: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA_0 {} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Registry\"`"] -#[cfg(feature = "Win32_System_Registry")] -pub union CERT_SYSTEM_STORE_RELOCATE_PARA_1 { - pub pvSystemStore: *mut ::core::ffi::c_void, - pub pszSystemStore: ::windows_sys::core::PCSTR, - pub pwszSystemStore: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA_1 {} -#[cfg(feature = "Win32_System_Registry")] -impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_TEMPLATE_EXT { - pub pszObjId: ::windows_sys::core::PSTR, - pub dwMajorVersion: u32, - pub fMinorVersion: super::super::Foundation::BOOL, - pub dwMinorVersion: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_TEMPLATE_EXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_TEMPLATE_EXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_TPM_SPECIFICATION_INFO { - pub pwszFamily: ::windows_sys::core::PWSTR, - pub dwLevel: u32, - pub dwRevision: u32, -} -impl ::core::marker::Copy for CERT_TPM_SPECIFICATION_INFO {} -impl ::core::clone::Clone for CERT_TPM_SPECIFICATION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CERT_TRUST_LIST_INFO { - pub cbSize: u32, - pub pCtlEntry: *mut CTL_ENTRY, - pub pCtlContext: *mut CTL_CONTEXT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CERT_TRUST_LIST_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CERT_TRUST_LIST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_TRUST_STATUS { - pub dwErrorStatus: u32, - pub dwInfoStatus: u32, -} -impl ::core::marker::Copy for CERT_TRUST_STATUS {} -impl ::core::clone::Clone for CERT_TRUST_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_USAGE_MATCH { - pub dwType: u32, - pub Usage: CTL_USAGE, -} -impl ::core::marker::Copy for CERT_USAGE_MATCH {} -impl ::core::clone::Clone for CERT_USAGE_MATCH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_X942_DH_PARAMETERS { - pub p: CRYPT_INTEGER_BLOB, - pub g: CRYPT_INTEGER_BLOB, - pub q: CRYPT_INTEGER_BLOB, - pub j: CRYPT_INTEGER_BLOB, - pub pValidationParams: *mut CERT_X942_DH_VALIDATION_PARAMS, -} -impl ::core::marker::Copy for CERT_X942_DH_PARAMETERS {} -impl ::core::clone::Clone for CERT_X942_DH_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CERT_X942_DH_VALIDATION_PARAMS { - pub seed: CRYPT_BIT_BLOB, - pub pgenCounter: u32, -} -impl ::core::marker::Copy for CERT_X942_DH_VALIDATION_PARAMS {} -impl ::core::clone::Clone for CERT_X942_DH_VALIDATION_PARAMS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLAIMLIST { - pub count: u32, - pub claims: *const ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CLAIMLIST {} -impl ::core::clone::Clone for CLAIMLIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_ADD_ATTRIBUTES_INFO { - pub dwCmcDataReference: u32, - pub cCertReference: u32, - pub rgdwCertReference: *mut u32, - pub cAttribute: u32, - pub rgAttribute: *mut CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CMC_ADD_ATTRIBUTES_INFO {} -impl ::core::clone::Clone for CMC_ADD_ATTRIBUTES_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMC_ADD_EXTENSIONS_INFO { - pub dwCmcDataReference: u32, - pub cCertReference: u32, - pub rgdwCertReference: *mut u32, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMC_ADD_EXTENSIONS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMC_ADD_EXTENSIONS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_DATA_INFO { - pub cTaggedAttribute: u32, - pub rgTaggedAttribute: *mut CMC_TAGGED_ATTRIBUTE, - pub cTaggedRequest: u32, - pub rgTaggedRequest: *mut CMC_TAGGED_REQUEST, - pub cTaggedContentInfo: u32, - pub rgTaggedContentInfo: *mut CMC_TAGGED_CONTENT_INFO, - pub cTaggedOtherMsg: u32, - pub rgTaggedOtherMsg: *mut CMC_TAGGED_OTHER_MSG, -} -impl ::core::marker::Copy for CMC_DATA_INFO {} -impl ::core::clone::Clone for CMC_DATA_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMC_PEND_INFO { - pub PendToken: CRYPT_INTEGER_BLOB, - pub PendTime: super::super::Foundation::FILETIME, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMC_PEND_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMC_PEND_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_RESPONSE_INFO { - pub cTaggedAttribute: u32, - pub rgTaggedAttribute: *mut CMC_TAGGED_ATTRIBUTE, - pub cTaggedContentInfo: u32, - pub rgTaggedContentInfo: *mut CMC_TAGGED_CONTENT_INFO, - pub cTaggedOtherMsg: u32, - pub rgTaggedOtherMsg: *mut CMC_TAGGED_OTHER_MSG, -} -impl ::core::marker::Copy for CMC_RESPONSE_INFO {} -impl ::core::clone::Clone for CMC_RESPONSE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMC_STATUS_INFO { - pub dwStatus: u32, - pub cBodyList: u32, - pub rgdwBodyList: *mut u32, - pub pwszStatusString: ::windows_sys::core::PWSTR, - pub dwOtherInfoChoice: u32, - pub Anonymous: CMC_STATUS_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMC_STATUS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMC_STATUS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMC_STATUS_INFO_0 { - pub dwFailInfo: u32, - pub pPendInfo: *mut CMC_PEND_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMC_STATUS_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMC_STATUS_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_TAGGED_ATTRIBUTE { - pub dwBodyPartID: u32, - pub Attribute: CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CMC_TAGGED_ATTRIBUTE {} -impl ::core::clone::Clone for CMC_TAGGED_ATTRIBUTE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_TAGGED_CERT_REQUEST { - pub dwBodyPartID: u32, - pub SignedCertRequest: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMC_TAGGED_CERT_REQUEST {} -impl ::core::clone::Clone for CMC_TAGGED_CERT_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_TAGGED_CONTENT_INFO { - pub dwBodyPartID: u32, - pub EncodedContentInfo: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMC_TAGGED_CONTENT_INFO {} -impl ::core::clone::Clone for CMC_TAGGED_CONTENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_TAGGED_OTHER_MSG { - pub dwBodyPartID: u32, - pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMC_TAGGED_OTHER_MSG {} -impl ::core::clone::Clone for CMC_TAGGED_OTHER_MSG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMC_TAGGED_REQUEST { - pub dwTaggedRequestChoice: u32, - pub Anonymous: CMC_TAGGED_REQUEST_0, -} -impl ::core::marker::Copy for CMC_TAGGED_REQUEST {} -impl ::core::clone::Clone for CMC_TAGGED_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CMC_TAGGED_REQUEST_0 { - pub pTaggedCertRequest: *mut CMC_TAGGED_CERT_REQUEST, -} -impl ::core::marker::Copy for CMC_TAGGED_REQUEST_0 {} -impl ::core::clone::Clone for CMC_TAGGED_REQUEST_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_CMS_RECIPIENT_INFO { - pub dwRecipientChoice: u32, - pub Anonymous: CMSG_CMS_RECIPIENT_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CMS_RECIPIENT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CMS_RECIPIENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_CMS_RECIPIENT_INFO_0 { - pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_INFO, - pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_INFO, - pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CMS_RECIPIENT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CMS_RECIPIENT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CMS_SIGNER_INFO { - pub dwVersion: u32, - pub SignerId: CERT_ID, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedHash: CRYPT_INTEGER_BLOB, - pub AuthAttrs: CRYPT_ATTRIBUTES, - pub UnauthAttrs: CRYPT_ATTRIBUTES, -} -impl ::core::marker::Copy for CMSG_CMS_SIGNER_INFO {} -impl ::core::clone::Clone for CMSG_CMS_SIGNER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CNG_CONTENT_DECRYPT_INFO { - pub cbSize: u32, - pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pfnAlloc: PFN_CMSG_ALLOC, - pub pfnFree: PFN_CMSG_FREE, - pub hNCryptKey: NCRYPT_KEY_HANDLE, - pub pbContentEncryptKey: *mut u8, - pub cbContentEncryptKey: u32, - pub hCNGContentEncryptKey: BCRYPT_KEY_HANDLE, - pub pbCNGContentEncryptKeyObject: *mut u8, -} -impl ::core::marker::Copy for CMSG_CNG_CONTENT_DECRYPT_INFO {} -impl ::core::clone::Clone for CMSG_CNG_CONTENT_DECRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_CONTENT_ENCRYPT_INFO { - pub cbSize: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub cRecipients: u32, - pub rgCmsRecipients: *mut CMSG_RECIPIENT_ENCODE_INFO, - pub pfnAlloc: PFN_CMSG_ALLOC, - pub pfnFree: PFN_CMSG_FREE, - pub dwEncryptFlags: u32, - pub Anonymous: CMSG_CONTENT_ENCRYPT_INFO_0, - pub dwFlags: u32, - pub fCNG: super::super::Foundation::BOOL, - pub pbCNGContentEncryptKeyObject: *mut u8, - pub pbContentEncryptKey: *mut u8, - pub cbContentEncryptKey: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CONTENT_ENCRYPT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CONTENT_ENCRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_CONTENT_ENCRYPT_INFO_0 { - pub hContentEncryptKey: usize, - pub hCNGContentEncryptKey: BCRYPT_KEY_HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CONTENT_ENCRYPT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CONTENT_ENCRYPT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA { - pub cbSize: u32, - pub dwSignerIndex: u32, - pub blob: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA {} -impl ::core::clone::Clone for CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CTRL_DECRYPT_PARA { - pub cbSize: u32, - pub Anonymous: CMSG_CTRL_DECRYPT_PARA_0, - pub dwKeySpec: u32, - pub dwRecipientIndex: u32, -} -impl ::core::marker::Copy for CMSG_CTRL_DECRYPT_PARA {} -impl ::core::clone::Clone for CMSG_CTRL_DECRYPT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CMSG_CTRL_DECRYPT_PARA_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -impl ::core::marker::Copy for CMSG_CTRL_DECRYPT_PARA_0 {} -impl ::core::clone::Clone for CMSG_CTRL_DECRYPT_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA { - pub cbSize: u32, - pub dwSignerIndex: u32, - pub dwUnauthAttrIndex: u32, -} -impl ::core::marker::Copy for CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA {} -impl ::core::clone::Clone for CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_CTRL_KEY_AGREE_DECRYPT_PARA { - pub cbSize: u32, - pub Anonymous: CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0, - pub dwKeySpec: u32, - pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_INFO, - pub dwRecipientIndex: u32, - pub dwRecipientEncryptedKeyIndex: u32, - pub OriginatorPublicKey: CRYPT_BIT_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CTRL_KEY_TRANS_DECRYPT_PARA { - pub cbSize: u32, - pub Anonymous: CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0, - pub dwKeySpec: u32, - pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_INFO, - pub dwRecipientIndex: u32, -} -impl ::core::marker::Copy for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA {} -impl ::core::clone::Clone for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -impl ::core::marker::Copy for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 {} -impl ::core::clone::Clone for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_CTRL_MAIL_LIST_DECRYPT_PARA { - pub cbSize: u32, - pub hCryptProv: usize, - pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_INFO, - pub dwRecipientIndex: u32, - pub dwKeyChoice: u32, - pub Anonymous: CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 { - pub hKeyEncryptionKey: usize, - pub pvKeyEncryptionKey: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA { - pub cbSize: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub dwSignerIndex: u32, - pub dwSignerType: u32, - pub pvSigner: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA {} -impl ::core::clone::Clone for CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_ENCRYPTED_ENCODE_INFO { - pub cbSize: u32, - pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CMSG_ENCRYPTED_ENCODE_INFO {} -impl ::core::clone::Clone for CMSG_ENCRYPTED_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_ENVELOPED_ENCODE_INFO { - pub cbSize: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub cRecipients: u32, - pub rgpRecipients: *mut *mut CERT_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_ENVELOPED_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_ENVELOPED_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_HASHED_ENCODE_INFO { - pub cbSize: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvHashAuxInfo: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CMSG_HASHED_ENCODE_INFO {} -impl ::core::clone::Clone for CMSG_HASHED_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_KEY_AGREE_ENCRYPT_INFO { - pub cbSize: u32, - pub dwRecipientIndex: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, - pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR, - pub Anonymous: CMSG_KEY_AGREE_ENCRYPT_INFO_0, - pub cKeyAgreeKeyEncryptInfo: u32, - pub rgpKeyAgreeKeyEncryptInfo: *mut *mut CMSG_KEY_AGREE_KEY_ENCRYPT_INFO, - pub dwFlags: u32, -} -impl ::core::marker::Copy for CMSG_KEY_AGREE_ENCRYPT_INFO {} -impl ::core::clone::Clone for CMSG_KEY_AGREE_ENCRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CMSG_KEY_AGREE_ENCRYPT_INFO_0 { - pub OriginatorCertId: CERT_ID, - pub OriginatorPublicKeyInfo: CERT_PUBLIC_KEY_INFO, -} -impl ::core::marker::Copy for CMSG_KEY_AGREE_ENCRYPT_INFO_0 {} -impl ::core::clone::Clone for CMSG_KEY_AGREE_ENCRYPT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_KEY_AGREE_KEY_ENCRYPT_INFO { - pub cbSize: u32, - pub EncryptedKey: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMSG_KEY_AGREE_KEY_ENCRYPT_INFO {} -impl ::core::clone::Clone for CMSG_KEY_AGREE_KEY_ENCRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO { - pub cbSize: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub KeyWrapAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvKeyWrapAuxInfo: *mut ::core::ffi::c_void, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub dwKeySpec: u32, - pub dwKeyChoice: CMSG_KEY_AGREE_OPTION, - pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0, - pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, - pub cRecipientEncryptedKeys: u32, - pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 { - pub pEphemeralAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, - pub pSenderId: *mut CERT_ID, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_KEY_AGREE_RECIPIENT_INFO { - pub dwVersion: u32, - pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR, - pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_INFO_0, - pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub cRecipientEncryptedKeys: u32, - pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_KEY_AGREE_RECIPIENT_INFO_0 { - pub OriginatorCertId: CERT_ID, - pub OriginatorPublicKeyInfo: CERT_PUBLIC_KEY_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_KEY_TRANS_ENCRYPT_INFO { - pub cbSize: u32, - pub dwRecipientIndex: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPT_INTEGER_BLOB, - pub dwFlags: u32, -} -impl ::core::marker::Copy for CMSG_KEY_TRANS_ENCRYPT_INFO {} -impl ::core::clone::Clone for CMSG_KEY_TRANS_ENCRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO { - pub cbSize: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub RecipientPublicKey: CRYPT_BIT_BLOB, - pub RecipientId: CERT_ID, -} -impl ::core::marker::Copy for CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO {} -impl ::core::clone::Clone for CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_KEY_TRANS_RECIPIENT_INFO { - pub dwVersion: u32, - pub RecipientId: CERT_ID, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CMSG_KEY_TRANS_RECIPIENT_INFO {} -impl ::core::clone::Clone for CMSG_KEY_TRANS_RECIPIENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_MAIL_LIST_ENCRYPT_INFO { - pub cbSize: u32, - pub dwRecipientIndex: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPT_INTEGER_BLOB, - pub dwFlags: u32, -} -impl ::core::marker::Copy for CMSG_MAIL_LIST_ENCRYPT_INFO {} -impl ::core::clone::Clone for CMSG_MAIL_LIST_ENCRYPT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO { - pub cbSize: u32, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub hCryptProv: usize, - pub dwKeyChoice: u32, - pub Anonymous: CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0, - pub KeyId: CRYPT_INTEGER_BLOB, - pub Date: super::super::Foundation::FILETIME, - pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 { - pub hKeyEncryptionKey: usize, - pub pvKeyEncryptionKey: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_MAIL_LIST_RECIPIENT_INFO { - pub dwVersion: u32, - pub KeyId: CRYPT_INTEGER_BLOB, - pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPT_INTEGER_BLOB, - pub Date: super::super::Foundation::FILETIME, - pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_RC2_AUX_INFO { - pub cbSize: u32, - pub dwBitLen: u32, -} -impl ::core::marker::Copy for CMSG_RC2_AUX_INFO {} -impl ::core::clone::Clone for CMSG_RC2_AUX_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_RC4_AUX_INFO { - pub cbSize: u32, - pub dwBitLen: u32, -} -impl ::core::marker::Copy for CMSG_RC4_AUX_INFO {} -impl ::core::clone::Clone for CMSG_RC4_AUX_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_RECIPIENT_ENCODE_INFO { - pub dwRecipientChoice: u32, - pub Anonymous: CMSG_RECIPIENT_ENCODE_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_RECIPIENT_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_RECIPIENT_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_RECIPIENT_ENCODE_INFO_0 { - pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO, - pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO, - pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_RECIPIENT_ENCODE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_RECIPIENT_ENCODE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO { - pub cbSize: u32, - pub RecipientPublicKey: CRYPT_BIT_BLOB, - pub RecipientId: CERT_ID, - pub Date: super::super::Foundation::FILETIME, - pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_INFO { - pub RecipientId: CERT_ID, - pub EncryptedKey: CRYPT_INTEGER_BLOB, - pub Date: super::super::Foundation::FILETIME, - pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_RECIPIENT_ENCRYPTED_KEY_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_RECIPIENT_ENCRYPTED_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO { - pub cbSize: u32, - pub SignedInfo: CMSG_SIGNED_ENCODE_INFO, - pub EnvelopedInfo: CMSG_ENVELOPED_ENCODE_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_SIGNED_ENCODE_INFO { - pub cbSize: u32, - pub cSigners: u32, - pub rgSigners: *mut CMSG_SIGNER_ENCODE_INFO, - pub cCertEncoded: u32, - pub rgCertEncoded: *mut CRYPT_INTEGER_BLOB, - pub cCrlEncoded: u32, - pub rgCrlEncoded: *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_SIGNED_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_SIGNED_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_SIGNER_ENCODE_INFO { - pub cbSize: u32, - pub pCertInfo: *mut CERT_INFO, - pub Anonymous: CMSG_SIGNER_ENCODE_INFO_0, - pub dwKeySpec: u32, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvHashAuxInfo: *mut ::core::ffi::c_void, - pub cAuthAttr: u32, - pub rgAuthAttr: *mut CRYPT_ATTRIBUTE, - pub cUnauthAttr: u32, - pub rgUnauthAttr: *mut CRYPT_ATTRIBUTE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_SIGNER_ENCODE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_SIGNER_ENCODE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union CMSG_SIGNER_ENCODE_INFO_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_SIGNER_ENCODE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_SIGNER_ENCODE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_SIGNER_INFO { - pub dwVersion: u32, - pub Issuer: CRYPT_INTEGER_BLOB, - pub SerialNumber: CRYPT_INTEGER_BLOB, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedHash: CRYPT_INTEGER_BLOB, - pub AuthAttrs: CRYPT_ATTRIBUTES, - pub UnauthAttrs: CRYPT_ATTRIBUTES, -} -impl ::core::marker::Copy for CMSG_SIGNER_INFO {} -impl ::core::clone::Clone for CMSG_SIGNER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMSG_SP3_COMPATIBLE_AUX_INFO { - pub cbSize: u32, - pub dwFlags: u32, -} -impl ::core::marker::Copy for CMSG_SP3_COMPATIBLE_AUX_INFO {} -impl ::core::clone::Clone for CMSG_SP3_COMPATIBLE_AUX_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CMSG_STREAM_INFO { - pub cbContent: u32, - pub pfnStreamOutput: PFN_CMSG_STREAM_OUTPUT, - pub pvArg: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CMSG_STREAM_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CMSG_STREAM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMS_DH_KEY_INFO { - pub dwVersion: u32, - pub Algid: ALG_ID, - pub pszContentEncObjId: ::windows_sys::core::PSTR, - pub PubInfo: CRYPT_INTEGER_BLOB, - pub pReserved: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CMS_DH_KEY_INFO {} -impl ::core::clone::Clone for CMS_DH_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CMS_KEY_INFO { - pub dwVersion: u32, - pub Algid: ALG_ID, - pub pbOID: *mut u8, - pub cbOID: u32, -} -impl ::core::marker::Copy for CMS_KEY_INFO {} -impl ::core::clone::Clone for CMS_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CPS_URLS { - pub pszURL: ::windows_sys::core::PWSTR, - pub pAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, - pub pDigest: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CPS_URLS {} -impl ::core::clone::Clone for CPS_URLS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_CONTEXT { - pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, - pub pbCrlEncoded: *mut u8, - pub cbCrlEncoded: u32, - pub pCrlInfo: *mut CRL_INFO, - pub hCertStore: HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRL_DIST_POINT { - pub DistPointName: CRL_DIST_POINT_NAME, - pub ReasonFlags: CRYPT_BIT_BLOB, - pub CRLIssuer: CERT_ALT_NAME_INFO, -} -impl ::core::marker::Copy for CRL_DIST_POINT {} -impl ::core::clone::Clone for CRL_DIST_POINT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRL_DIST_POINTS_INFO { - pub cDistPoint: u32, - pub rgDistPoint: *mut CRL_DIST_POINT, -} -impl ::core::marker::Copy for CRL_DIST_POINTS_INFO {} -impl ::core::clone::Clone for CRL_DIST_POINTS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRL_DIST_POINT_NAME { - pub dwDistPointNameChoice: u32, - pub Anonymous: CRL_DIST_POINT_NAME_0, -} -impl ::core::marker::Copy for CRL_DIST_POINT_NAME {} -impl ::core::clone::Clone for CRL_DIST_POINT_NAME { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRL_DIST_POINT_NAME_0 { - pub FullName: CERT_ALT_NAME_INFO, -} -impl ::core::marker::Copy for CRL_DIST_POINT_NAME_0 {} -impl ::core::clone::Clone for CRL_DIST_POINT_NAME_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_ENTRY { - pub SerialNumber: CRYPT_INTEGER_BLOB, - pub RevocationDate: super::super::Foundation::FILETIME, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_ENTRY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_FIND_ISSUED_FOR_PARA { - pub pSubjectCert: *const CERT_CONTEXT, - pub pIssuerCert: *const CERT_CONTEXT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_FIND_ISSUED_FOR_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_FIND_ISSUED_FOR_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_INFO { - pub dwVersion: u32, - pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Issuer: CRYPT_INTEGER_BLOB, - pub ThisUpdate: super::super::Foundation::FILETIME, - pub NextUpdate: super::super::Foundation::FILETIME, - pub cCRLEntry: u32, - pub rgCRLEntry: *mut CRL_ENTRY, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_ISSUING_DIST_POINT { - pub DistPointName: CRL_DIST_POINT_NAME, - pub fOnlyContainsUserCerts: super::super::Foundation::BOOL, - pub fOnlyContainsCACerts: super::super::Foundation::BOOL, - pub OnlySomeReasonFlags: CRYPT_BIT_BLOB, - pub fIndirectCRL: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_ISSUING_DIST_POINT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_ISSUING_DIST_POINT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRL_REVOCATION_INFO { - pub pCrlEntry: *mut CRL_ENTRY, - pub pCrlContext: *mut CRL_CONTEXT, - pub pCrlIssuerChain: *mut CERT_CHAIN_CONTEXT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRL_REVOCATION_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRL_REVOCATION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CROSS_CERT_DIST_POINTS_INFO { - pub dwSyncDeltaTime: u32, - pub cDistPoint: u32, - pub rgDistPoint: *mut CERT_ALT_NAME_INFO, -} -impl ::core::marker::Copy for CROSS_CERT_DIST_POINTS_INFO {} -impl ::core::clone::Clone for CROSS_CERT_DIST_POINTS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTNET_URL_CACHE_FLUSH_INFO { - pub cbSize: u32, - pub dwExemptSeconds: u32, - pub ExpireTime: super::super::Foundation::FILETIME, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTNET_URL_CACHE_FLUSH_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTNET_URL_CACHE_FLUSH_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTNET_URL_CACHE_PRE_FETCH_INFO { - pub cbSize: u32, - pub dwObjectType: u32, - pub dwError: u32, - pub dwReserved: u32, - pub ThisUpdateTime: super::super::Foundation::FILETIME, - pub NextUpdateTime: super::super::Foundation::FILETIME, - pub PublishTime: super::super::Foundation::FILETIME, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTNET_URL_CACHE_PRE_FETCH_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTNET_URL_CACHE_PRE_FETCH_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTNET_URL_CACHE_RESPONSE_INFO { - pub cbSize: u32, - pub wResponseType: u16, - pub wResponseFlags: u16, - pub LastModifiedTime: super::super::Foundation::FILETIME, - pub dwMaxAge: u32, - pub pwszETag: ::windows_sys::core::PCWSTR, - pub dwProxyId: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTNET_URL_CACHE_RESPONSE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTNET_URL_CACHE_RESPONSE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPTPROTECT_PROMPTSTRUCT { - pub cbSize: u32, - pub dwPromptFlags: u32, - pub hwndApp: super::super::Foundation::HWND, - pub szPrompt: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPTPROTECT_PROMPTSTRUCT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPTPROTECT_PROMPTSTRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_3DES_KEY_STATE { - pub Key: [u8; 24], - pub IV: [u8; 8], - pub Feedback: [u8; 8], -} -impl ::core::marker::Copy for CRYPT_3DES_KEY_STATE {} -impl ::core::clone::Clone for CRYPT_3DES_KEY_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_AES_128_KEY_STATE { - pub Key: [u8; 16], - pub IV: [u8; 16], - pub EncryptionState: [u8; 176], - pub DecryptionState: [u8; 176], - pub Feedback: [u8; 16], -} -impl ::core::marker::Copy for CRYPT_AES_128_KEY_STATE {} -impl ::core::clone::Clone for CRYPT_AES_128_KEY_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_AES_256_KEY_STATE { - pub Key: [u8; 32], - pub IV: [u8; 16], - pub EncryptionState: [u8; 240], - pub DecryptionState: [u8; 240], - pub Feedback: [u8; 16], -} -impl ::core::marker::Copy for CRYPT_AES_256_KEY_STATE {} -impl ::core::clone::Clone for CRYPT_AES_256_KEY_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ALGORITHM_IDENTIFIER { - pub pszObjId: ::windows_sys::core::PSTR, - pub Parameters: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_ALGORITHM_IDENTIFIER {} -impl ::core::clone::Clone for CRYPT_ALGORITHM_IDENTIFIER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ASYNC_RETRIEVAL_COMPLETION { - pub pfnCompletion: PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC, - pub pvCompletion: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CRYPT_ASYNC_RETRIEVAL_COMPLETION {} -impl ::core::clone::Clone for CRYPT_ASYNC_RETRIEVAL_COMPLETION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ATTRIBUTE { - pub pszObjId: ::windows_sys::core::PSTR, - pub cValue: u32, - pub rgValue: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_ATTRIBUTE {} -impl ::core::clone::Clone for CRYPT_ATTRIBUTE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ATTRIBUTES { - pub cAttr: u32, - pub rgAttr: *mut CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CRYPT_ATTRIBUTES {} -impl ::core::clone::Clone for CRYPT_ATTRIBUTES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ATTRIBUTE_TYPE_VALUE { - pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_ATTRIBUTE_TYPE_VALUE {} -impl ::core::clone::Clone for CRYPT_ATTRIBUTE_TYPE_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_BIT_BLOB { - pub cbData: u32, - pub pbData: *mut u8, - pub cUnusedBits: u32, -} -impl ::core::marker::Copy for CRYPT_BIT_BLOB {} -impl ::core::clone::Clone for CRYPT_BIT_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_BLOB_ARRAY { - pub cBlob: u32, - pub rgBlob: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_BLOB_ARRAY {} -impl ::core::clone::Clone for CRYPT_BLOB_ARRAY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTENT_INFO { - pub pszObjId: ::windows_sys::core::PSTR, - pub Content: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_CONTENT_INFO {} -impl ::core::clone::Clone for CRYPT_CONTENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { - pub pszObjId: ::windows_sys::core::PSTR, - pub cValue: u32, - pub rgValue: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY {} -impl ::core::clone::Clone for CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTEXTS { - pub cContexts: u32, - pub rgpszContexts: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_CONTEXTS {} -impl ::core::clone::Clone for CRYPT_CONTEXTS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTEXT_CONFIG { - pub dwFlags: CRYPT_CONTEXT_CONFIG_FLAGS, - pub dwReserved: u32, -} -impl ::core::marker::Copy for CRYPT_CONTEXT_CONFIG {} -impl ::core::clone::Clone for CRYPT_CONTEXT_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTEXT_FUNCTIONS { - pub cFunctions: u32, - pub rgpszFunctions: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTIONS {} -impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTEXT_FUNCTION_CONFIG { - pub dwFlags: u32, - pub dwReserved: u32, -} -impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTION_CONFIG {} -impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTION_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CONTEXT_FUNCTION_PROVIDERS { - pub cProviders: u32, - pub rgpszProviders: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTION_PROVIDERS {} -impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTION_PROVIDERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CREDENTIALS { - pub cbSize: u32, - pub pszCredentialsOid: ::windows_sys::core::PCSTR, - pub pvCredentials: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CRYPT_CREDENTIALS {} -impl ::core::clone::Clone for CRYPT_CREDENTIALS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_CSP_PROVIDER { - pub dwKeySpec: u32, - pub pwszProviderName: ::windows_sys::core::PWSTR, - pub Signature: CRYPT_BIT_BLOB, -} -impl ::core::marker::Copy for CRYPT_CSP_PROVIDER {} -impl ::core::clone::Clone for CRYPT_CSP_PROVIDER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_DECODE_PARA { - pub cbSize: u32, - pub pfnAlloc: PFN_CRYPT_ALLOC, - pub pfnFree: PFN_CRYPT_FREE, -} -impl ::core::marker::Copy for CRYPT_DECODE_PARA {} -impl ::core::clone::Clone for CRYPT_DECODE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_DECRYPT_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgAndCertEncodingType: u32, - pub cCertStore: u32, - pub rghCertStore: *mut HCERTSTORE, -} -impl ::core::marker::Copy for CRYPT_DECRYPT_MESSAGE_PARA {} -impl ::core::clone::Clone for CRYPT_DECRYPT_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA { - pub cOID: u32, - pub rgpszOID: *mut ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA {} -impl ::core::clone::Clone for CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_DES_KEY_STATE { - pub Key: [u8; 8], - pub IV: [u8; 8], - pub Feedback: [u8; 8], -} -impl ::core::marker::Copy for CRYPT_DES_KEY_STATE {} -impl ::core::clone::Clone for CRYPT_DES_KEY_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ECC_CMS_SHARED_INFO { - pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EntityUInfo: CRYPT_INTEGER_BLOB, - pub rgbSuppPubInfo: [u8; 4], -} -impl ::core::marker::Copy for CRYPT_ECC_CMS_SHARED_INFO {} -impl ::core::clone::Clone for CRYPT_ECC_CMS_SHARED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ECC_PRIVATE_KEY_INFO { - pub dwVersion: u32, - pub PrivateKey: CRYPT_INTEGER_BLOB, - pub szCurveOid: ::windows_sys::core::PSTR, - pub PublicKey: CRYPT_BIT_BLOB, -} -impl ::core::marker::Copy for CRYPT_ECC_PRIVATE_KEY_INFO {} -impl ::core::clone::Clone for CRYPT_ECC_PRIVATE_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ENCODE_PARA { - pub cbSize: u32, - pub pfnAlloc: PFN_CRYPT_ALLOC, - pub pfnFree: PFN_CRYPT_FREE, -} -impl ::core::marker::Copy for CRYPT_ENCODE_PARA {} -impl ::core::clone::Clone for CRYPT_ENCODE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ENCRYPTED_PRIVATE_KEY_INFO { - pub EncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedPrivateKey: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_ENCRYPTED_PRIVATE_KEY_INFO {} -impl ::core::clone::Clone for CRYPT_ENCRYPTED_PRIVATE_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ENCRYPT_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgEncodingType: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void, - pub dwFlags: u32, - pub dwInnerContentType: u32, -} -impl ::core::marker::Copy for CRYPT_ENCRYPT_MESSAGE_PARA {} -impl ::core::clone::Clone for CRYPT_ENCRYPT_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_ENROLLMENT_NAME_VALUE_PAIR { - pub pwszName: ::windows_sys::core::PWSTR, - pub pwszValue: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_ENROLLMENT_NAME_VALUE_PAIR {} -impl ::core::clone::Clone for CRYPT_ENROLLMENT_NAME_VALUE_PAIR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO { - pub cbSize: u32, - pub iDeltaCrlIndicator: i32, - pub pftCacheResync: *mut super::super::Foundation::FILETIME, - pub pLastSyncTime: *mut super::super::Foundation::FILETIME, - pub pMaxAgeTime: *mut super::super::Foundation::FILETIME, - pub pChainPara: *mut CERT_REVOCATION_CHAIN_PARA, - pub pDeltaCrlIndicator: *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_HASH_INFO { - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Hash: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_HASH_INFO {} -impl ::core::clone::Clone for CRYPT_HASH_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_HASH_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgEncodingType: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvHashAuxInfo: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CRYPT_HASH_MESSAGE_PARA {} -impl ::core::clone::Clone for CRYPT_HASH_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_IMAGE_REF { - pub pszImage: ::windows_sys::core::PWSTR, - pub dwFlags: CRYPT_IMAGE_REF_FLAGS, -} -impl ::core::marker::Copy for CRYPT_IMAGE_REF {} -impl ::core::clone::Clone for CRYPT_IMAGE_REF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_IMAGE_REG { - pub pszImage: ::windows_sys::core::PWSTR, - pub cInterfaces: u32, - pub rgpInterfaces: *mut *mut CRYPT_INTERFACE_REG, -} -impl ::core::marker::Copy for CRYPT_IMAGE_REG {} -impl ::core::clone::Clone for CRYPT_IMAGE_REG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_INTEGER_BLOB { - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for CRYPT_INTEGER_BLOB {} -impl ::core::clone::Clone for CRYPT_INTEGER_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_INTERFACE_REG { - pub dwInterface: BCRYPT_INTERFACE, - pub dwFlags: BCRYPT_TABLE, - pub cFunctions: u32, - pub rgpszFunctions: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_INTERFACE_REG {} -impl ::core::clone::Clone for CRYPT_INTERFACE_REG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_KEY_PROV_INFO { - pub pwszContainerName: ::windows_sys::core::PWSTR, - pub pwszProvName: ::windows_sys::core::PWSTR, - pub dwProvType: u32, - pub dwFlags: CRYPT_KEY_FLAGS, - pub cProvParam: u32, - pub rgProvParam: *mut CRYPT_KEY_PROV_PARAM, - pub dwKeySpec: u32, -} -impl ::core::marker::Copy for CRYPT_KEY_PROV_INFO {} -impl ::core::clone::Clone for CRYPT_KEY_PROV_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_KEY_PROV_PARAM { - pub dwParam: u32, - pub pbData: *mut u8, - pub cbData: u32, - pub dwFlags: u32, -} -impl ::core::marker::Copy for CRYPT_KEY_PROV_PARAM {} -impl ::core::clone::Clone for CRYPT_KEY_PROV_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_KEY_SIGN_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgAndCertEncodingType: CERT_QUERY_ENCODING_TYPE, - pub Anonymous: CRYPT_KEY_SIGN_MESSAGE_PARA_0, - pub dwKeySpec: CERT_KEY_SPEC, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvHashAuxInfo: *mut ::core::ffi::c_void, - pub PubKeyAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, -} -impl ::core::marker::Copy for CRYPT_KEY_SIGN_MESSAGE_PARA {} -impl ::core::clone::Clone for CRYPT_KEY_SIGN_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPT_KEY_SIGN_MESSAGE_PARA_0 { - pub hCryptProv: usize, - pub hNCryptKey: NCRYPT_KEY_HANDLE, -} -impl ::core::marker::Copy for CRYPT_KEY_SIGN_MESSAGE_PARA_0 {} -impl ::core::clone::Clone for CRYPT_KEY_SIGN_MESSAGE_PARA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_KEY_VERIFY_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgEncodingType: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, -} -impl ::core::marker::Copy for CRYPT_KEY_VERIFY_MESSAGE_PARA {} -impl ::core::clone::Clone for CRYPT_KEY_VERIFY_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_MASK_GEN_ALGORITHM { - pub pszObjId: ::windows_sys::core::PSTR, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, -} -impl ::core::marker::Copy for CRYPT_MASK_GEN_ALGORITHM {} -impl ::core::clone::Clone for CRYPT_MASK_GEN_ALGORITHM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE { - pub cbSize: u32, - pub pfnGet: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET, - pub pfnRelease: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE, - pub pfnFreePassword: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD, - pub pfnFree: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE, - pub pfnFreeIdentifier: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_OBJID_TABLE { - pub dwAlgId: u32, - pub pszObjId: ::windows_sys::core::PCSTR, -} -impl ::core::marker::Copy for CRYPT_OBJID_TABLE {} -impl ::core::clone::Clone for CRYPT_OBJID_TABLE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_OID_FUNC_ENTRY { - pub pszOID: ::windows_sys::core::PCSTR, - pub pvFuncAddr: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CRYPT_OID_FUNC_ENTRY {} -impl ::core::clone::Clone for CRYPT_OID_FUNC_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_OID_INFO { - pub cbSize: u32, - pub pszOID: ::windows_sys::core::PCSTR, - pub pwszName: ::windows_sys::core::PCWSTR, - pub dwGroupId: u32, - pub Anonymous: CRYPT_OID_INFO_0, - pub ExtraInfo: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_OID_INFO {} -impl ::core::clone::Clone for CRYPT_OID_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPT_OID_INFO_0 { - pub dwValue: u32, - pub Algid: ALG_ID, - pub dwLength: u32, -} -impl ::core::marker::Copy for CRYPT_OID_INFO_0 {} -impl ::core::clone::Clone for CRYPT_OID_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PASSWORD_CREDENTIALSA { - pub cbSize: u32, - pub pszUsername: ::windows_sys::core::PSTR, - pub pszPassword: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CRYPT_PASSWORD_CREDENTIALSA {} -impl ::core::clone::Clone for CRYPT_PASSWORD_CREDENTIALSA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PASSWORD_CREDENTIALSW { - pub cbSize: u32, - pub pszUsername: ::windows_sys::core::PWSTR, - pub pszPassword: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_PASSWORD_CREDENTIALSW {} -impl ::core::clone::Clone for CRYPT_PASSWORD_CREDENTIALSW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PKCS12_PBE_PARAMS { - pub iIterations: i32, - pub cbSalt: u32, -} -impl ::core::marker::Copy for CRYPT_PKCS12_PBE_PARAMS {} -impl ::core::clone::Clone for CRYPT_PKCS12_PBE_PARAMS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_PKCS8_EXPORT_PARAMS { - pub hCryptProv: usize, - pub dwKeySpec: u32, - pub pszPrivateKeyObjId: ::windows_sys::core::PSTR, - pub pEncryptPrivateKeyFunc: PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC, - pub pVoidEncryptFunc: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_PKCS8_EXPORT_PARAMS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_PKCS8_EXPORT_PARAMS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_PKCS8_IMPORT_PARAMS { - pub PrivateKey: CRYPT_INTEGER_BLOB, - pub pResolvehCryptProvFunc: PCRYPT_RESOLVE_HCRYPTPROV_FUNC, - pub pVoidResolveFunc: *mut ::core::ffi::c_void, - pub pDecryptPrivateKeyFunc: PCRYPT_DECRYPT_PRIVATE_KEY_FUNC, - pub pVoidDecryptFunc: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_PKCS8_IMPORT_PARAMS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_PKCS8_IMPORT_PARAMS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PRIVATE_KEY_INFO { - pub Version: u32, - pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub PrivateKey: CRYPT_INTEGER_BLOB, - pub pAttributes: *mut CRYPT_ATTRIBUTES, -} -impl ::core::marker::Copy for CRYPT_PRIVATE_KEY_INFO {} -impl ::core::clone::Clone for CRYPT_PRIVATE_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PROPERTY_REF { - pub pszProperty: ::windows_sys::core::PWSTR, - pub cbValue: u32, - pub pbValue: *mut u8, -} -impl ::core::marker::Copy for CRYPT_PROPERTY_REF {} -impl ::core::clone::Clone for CRYPT_PROPERTY_REF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PROVIDERS { - pub cProviders: u32, - pub rgpszProviders: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_PROVIDERS {} -impl ::core::clone::Clone for CRYPT_PROVIDERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PROVIDER_REF { - pub dwInterface: u32, - pub pszFunction: ::windows_sys::core::PWSTR, - pub pszProvider: ::windows_sys::core::PWSTR, - pub cProperties: u32, - pub rgpProperties: *mut *mut CRYPT_PROPERTY_REF, - pub pUM: *mut CRYPT_IMAGE_REF, - pub pKM: *mut CRYPT_IMAGE_REF, -} -impl ::core::marker::Copy for CRYPT_PROVIDER_REF {} -impl ::core::clone::Clone for CRYPT_PROVIDER_REF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PROVIDER_REFS { - pub cProviders: u32, - pub rgpProviders: *mut *mut CRYPT_PROVIDER_REF, -} -impl ::core::marker::Copy for CRYPT_PROVIDER_REFS {} -impl ::core::clone::Clone for CRYPT_PROVIDER_REFS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PROVIDER_REG { - pub cAliases: u32, - pub rgpszAliases: *mut ::windows_sys::core::PWSTR, - pub pUM: *mut CRYPT_IMAGE_REG, - pub pKM: *mut CRYPT_IMAGE_REG, -} -impl ::core::marker::Copy for CRYPT_PROVIDER_REG {} -impl ::core::clone::Clone for CRYPT_PROVIDER_REG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_PSOURCE_ALGORITHM { - pub pszObjId: ::windows_sys::core::PSTR, - pub EncodingParameters: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_PSOURCE_ALGORITHM {} -impl ::core::clone::Clone for CRYPT_PSOURCE_ALGORITHM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_RC2_CBC_PARAMETERS { - pub dwVersion: u32, - pub fIV: super::super::Foundation::BOOL, - pub rgbIV: [u8; 8], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_RC2_CBC_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_RC2_CBC_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_RC4_KEY_STATE { - pub Key: [u8; 16], - pub SBox: [u8; 256], - pub i: u8, - pub j: u8, -} -impl ::core::marker::Copy for CRYPT_RC4_KEY_STATE {} -impl ::core::clone::Clone for CRYPT_RC4_KEY_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_RETRIEVE_AUX_INFO { - pub cbSize: u32, - pub pLastSyncTime: *mut super::super::Foundation::FILETIME, - pub dwMaxUrlRetrievalByteCount: u32, - pub pPreFetchInfo: *mut CRYPTNET_URL_CACHE_PRE_FETCH_INFO, - pub pFlushInfo: *mut CRYPTNET_URL_CACHE_FLUSH_INFO, - pub ppResponseInfo: *mut *mut CRYPTNET_URL_CACHE_RESPONSE_INFO, - pub pwszCacheFileNamePrefix: ::windows_sys::core::PWSTR, - pub pftCacheResync: *mut super::super::Foundation::FILETIME, - pub fProxyCacheRetrieval: super::super::Foundation::BOOL, - pub dwHttpStatusCode: u32, - pub ppwszErrorResponseHeaders: *mut ::windows_sys::core::PWSTR, - pub ppErrorContentBlob: *mut *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_RETRIEVE_AUX_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_RETRIEVE_AUX_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_RSAES_OAEP_PARAMETERS { - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub MaskGenAlgorithm: CRYPT_MASK_GEN_ALGORITHM, - pub PSourceAlgorithm: CRYPT_PSOURCE_ALGORITHM, -} -impl ::core::marker::Copy for CRYPT_RSAES_OAEP_PARAMETERS {} -impl ::core::clone::Clone for CRYPT_RSAES_OAEP_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_RSA_SSA_PSS_PARAMETERS { - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub MaskGenAlgorithm: CRYPT_MASK_GEN_ALGORITHM, - pub dwSaltLength: u32, - pub dwTrailerField: u32, -} -impl ::core::marker::Copy for CRYPT_RSA_SSA_PSS_PARAMETERS {} -impl ::core::clone::Clone for CRYPT_RSA_SSA_PSS_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_SEQUENCE_OF_ANY { - pub cValue: u32, - pub rgValue: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_SEQUENCE_OF_ANY {} -impl ::core::clone::Clone for CRYPT_SEQUENCE_OF_ANY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_SIGN_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgEncodingType: u32, - pub pSigningCert: *const CERT_CONTEXT, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub pvHashAuxInfo: *mut ::core::ffi::c_void, - pub cMsgCert: u32, - pub rgpMsgCert: *mut *mut CERT_CONTEXT, - pub cMsgCrl: u32, - pub rgpMsgCrl: *mut *mut CRL_CONTEXT, - pub cAuthAttr: u32, - pub rgAuthAttr: *mut CRYPT_ATTRIBUTE, - pub cUnauthAttr: u32, - pub rgUnauthAttr: *mut CRYPT_ATTRIBUTE, - pub dwFlags: u32, - pub dwInnerContentType: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_SIGN_MESSAGE_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_SIGN_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_SMART_CARD_ROOT_INFO { - pub rgbCardID: [u8; 16], - pub luid: ROOT_INFO_LUID, -} -impl ::core::marker::Copy for CRYPT_SMART_CARD_ROOT_INFO {} -impl ::core::clone::Clone for CRYPT_SMART_CARD_ROOT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_SMIME_CAPABILITIES { - pub cCapability: u32, - pub rgCapability: *mut CRYPT_SMIME_CAPABILITY, -} -impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITIES {} -impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_SMIME_CAPABILITY { - pub pszObjId: ::windows_sys::core::PSTR, - pub Parameters: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITY {} -impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_TIMESTAMP_ACCURACY { - pub dwSeconds: u32, - pub dwMillis: u32, - pub dwMicros: u32, -} -impl ::core::marker::Copy for CRYPT_TIMESTAMP_ACCURACY {} -impl ::core::clone::Clone for CRYPT_TIMESTAMP_ACCURACY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_TIMESTAMP_CONTEXT { - pub cbEncoded: u32, - pub pbEncoded: *mut u8, - pub pTimeStamp: *mut CRYPT_TIMESTAMP_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_TIMESTAMP_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_TIMESTAMP_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_TIMESTAMP_INFO { - pub dwVersion: u32, - pub pszTSAPolicyId: ::windows_sys::core::PSTR, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashedMessage: CRYPT_INTEGER_BLOB, - pub SerialNumber: CRYPT_INTEGER_BLOB, - pub ftTime: super::super::Foundation::FILETIME, - pub pvAccuracy: *mut CRYPT_TIMESTAMP_ACCURACY, - pub fOrdering: super::super::Foundation::BOOL, - pub Nonce: CRYPT_INTEGER_BLOB, - pub Tsa: CRYPT_INTEGER_BLOB, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_TIMESTAMP_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_TIMESTAMP_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_TIMESTAMP_PARA { - pub pszTSAPolicyId: ::windows_sys::core::PCSTR, - pub fRequestCerts: super::super::Foundation::BOOL, - pub Nonce: CRYPT_INTEGER_BLOB, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_TIMESTAMP_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_TIMESTAMP_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_TIMESTAMP_REQUEST { - pub dwVersion: CRYPT_TIMESTAMP_VERSION, - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashedMessage: CRYPT_INTEGER_BLOB, - pub pszTSAPolicyId: ::windows_sys::core::PSTR, - pub Nonce: CRYPT_INTEGER_BLOB, - pub fCertReq: super::super::Foundation::BOOL, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_TIMESTAMP_REQUEST {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_TIMESTAMP_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_TIMESTAMP_RESPONSE { - pub dwStatus: CRYPT_TIMESTAMP_RESPONSE_STATUS, - pub cFreeText: u32, - pub rgFreeText: *mut ::windows_sys::core::PWSTR, - pub FailureInfo: CRYPT_BIT_BLOB, - pub ContentInfo: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_TIMESTAMP_RESPONSE {} -impl ::core::clone::Clone for CRYPT_TIMESTAMP_RESPONSE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_TIME_STAMP_REQUEST_INFO { - pub pszTimeStampAlgorithm: ::windows_sys::core::PSTR, - pub pszContentType: ::windows_sys::core::PSTR, - pub Content: CRYPT_INTEGER_BLOB, - pub cAttribute: u32, - pub rgAttribute: *mut CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CRYPT_TIME_STAMP_REQUEST_INFO {} -impl ::core::clone::Clone for CRYPT_TIME_STAMP_REQUEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_URL_ARRAY { - pub cUrl: u32, - pub rgwszUrl: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CRYPT_URL_ARRAY {} -impl ::core::clone::Clone for CRYPT_URL_ARRAY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_URL_INFO { - pub cbSize: u32, - pub dwSyncDeltaTime: u32, - pub cGroup: u32, - pub rgcGroupEntry: *mut u32, -} -impl ::core::marker::Copy for CRYPT_URL_INFO {} -impl ::core::clone::Clone for CRYPT_URL_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO { - pub CertSignHashCNGAlgPropData: CRYPT_INTEGER_BLOB, - pub CertIssuerPubKeyBitLengthPropData: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO {} -impl ::core::clone::Clone for CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO { - pub cCNGHashAlgid: u32, - pub rgpwszCNGHashAlgid: *const ::windows_sys::core::PCWSTR, - pub dwWeakIndex: u32, -} -impl ::core::marker::Copy for CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO {} -impl ::core::clone::Clone for CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CRYPT_VERIFY_MESSAGE_PARA { - pub cbSize: u32, - pub dwMsgAndCertEncodingType: u32, - pub hCryptProv: HCRYPTPROV_LEGACY, - pub pfnGetSignerCertificate: PFN_CRYPT_GET_SIGNER_CERTIFICATE, - pub pvGetArg: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CRYPT_VERIFY_MESSAGE_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CRYPT_VERIFY_MESSAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_X942_OTHER_INFO { - pub pszContentEncryptionObjId: ::windows_sys::core::PSTR, - pub rgbCounter: [u8; 4], - pub rgbKeyLength: [u8; 4], - pub PubInfo: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_X942_OTHER_INFO {} -impl ::core::clone::Clone for CRYPT_X942_OTHER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_ALGORITHM { - pub cbSize: u32, - pub wszAlgorithm: ::windows_sys::core::PCWSTR, - pub Encoded: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_ALGORITHM {} -impl ::core::clone::Clone for CRYPT_XML_ALGORITHM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_ALGORITHM_INFO { - pub cbSize: u32, - pub wszAlgorithmURI: ::windows_sys::core::PWSTR, - pub wszName: ::windows_sys::core::PWSTR, - pub dwGroupId: CRYPT_XML_GROUP_ID, - pub wszCNGAlgid: ::windows_sys::core::PWSTR, - pub wszCNGExtraAlgid: ::windows_sys::core::PWSTR, - pub dwSignFlags: u32, - pub dwVerifyFlags: u32, - pub pvPaddingInfo: *mut ::core::ffi::c_void, - pub pvExtraInfo: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for CRYPT_XML_ALGORITHM_INFO {} -impl ::core::clone::Clone for CRYPT_XML_ALGORITHM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_BLOB { - pub dwCharset: CRYPT_XML_CHARSET, - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for CRYPT_XML_BLOB {} -impl ::core::clone::Clone for CRYPT_XML_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_CRYPTOGRAPHIC_INTERFACE { - pub cbSize: u32, - pub fpCryptXmlEncodeAlgorithm: CryptXmlDllEncodeAlgorithm, - pub fpCryptXmlCreateDigest: CryptXmlDllCreateDigest, - pub fpCryptXmlDigestData: CryptXmlDllDigestData, - pub fpCryptXmlFinalizeDigest: CryptXmlDllFinalizeDigest, - pub fpCryptXmlCloseDigest: CryptXmlDllCloseDigest, - pub fpCryptXmlSignData: CryptXmlDllSignData, - pub fpCryptXmlVerifySignature: CryptXmlDllVerifySignature, - pub fpCryptXmlGetAlgorithmInfo: CryptXmlDllGetAlgorithmInfo, -} -impl ::core::marker::Copy for CRYPT_XML_CRYPTOGRAPHIC_INTERFACE {} -impl ::core::clone::Clone for CRYPT_XML_CRYPTOGRAPHIC_INTERFACE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_DATA_BLOB { - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for CRYPT_XML_DATA_BLOB {} -impl ::core::clone::Clone for CRYPT_XML_DATA_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_DATA_PROVIDER { - pub pvCallbackState: *mut ::core::ffi::c_void, - pub cbBufferSize: u32, - pub pfnRead: PFN_CRYPT_XML_DATA_PROVIDER_READ, - pub pfnClose: PFN_CRYPT_XML_DATA_PROVIDER_CLOSE, -} -impl ::core::marker::Copy for CRYPT_XML_DATA_PROVIDER {} -impl ::core::clone::Clone for CRYPT_XML_DATA_PROVIDER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_DOC_CTXT { - pub cbSize: u32, - pub hDocCtxt: *mut ::core::ffi::c_void, - pub pTransformsConfig: *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG, - pub cSignature: u32, - pub rgpSignature: *mut *mut CRYPT_XML_SIGNATURE, -} -impl ::core::marker::Copy for CRYPT_XML_DOC_CTXT {} -impl ::core::clone::Clone for CRYPT_XML_DOC_CTXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_ISSUER_SERIAL { - pub wszIssuer: ::windows_sys::core::PCWSTR, - pub wszSerial: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CRYPT_XML_ISSUER_SERIAL {} -impl ::core::clone::Clone for CRYPT_XML_ISSUER_SERIAL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEYINFO_PARAM { - pub wszId: ::windows_sys::core::PCWSTR, - pub wszKeyName: ::windows_sys::core::PCWSTR, - pub SKI: CRYPT_INTEGER_BLOB, - pub wszSubjectName: ::windows_sys::core::PCWSTR, - pub cCertificate: u32, - pub rgCertificate: *mut CRYPT_INTEGER_BLOB, - pub cCRL: u32, - pub rgCRL: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEYINFO_PARAM {} -impl ::core::clone::Clone for CRYPT_XML_KEYINFO_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_DSA_KEY_VALUE { - pub P: CRYPT_XML_DATA_BLOB, - pub Q: CRYPT_XML_DATA_BLOB, - pub G: CRYPT_XML_DATA_BLOB, - pub Y: CRYPT_XML_DATA_BLOB, - pub J: CRYPT_XML_DATA_BLOB, - pub Seed: CRYPT_XML_DATA_BLOB, - pub Counter: CRYPT_XML_DATA_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_DSA_KEY_VALUE {} -impl ::core::clone::Clone for CRYPT_XML_KEY_DSA_KEY_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_ECDSA_KEY_VALUE { - pub wszNamedCurve: ::windows_sys::core::PCWSTR, - pub X: CRYPT_XML_DATA_BLOB, - pub Y: CRYPT_XML_DATA_BLOB, - pub ExplicitPara: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_ECDSA_KEY_VALUE {} -impl ::core::clone::Clone for CRYPT_XML_KEY_ECDSA_KEY_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_INFO { - pub cbSize: u32, - pub wszId: ::windows_sys::core::PCWSTR, - pub cKeyInfo: u32, - pub rgKeyInfo: *mut CRYPT_XML_KEY_INFO_ITEM, - pub hVerifyKey: BCRYPT_KEY_HANDLE, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_INFO {} -impl ::core::clone::Clone for CRYPT_XML_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_INFO_ITEM { - pub dwType: CRYPT_XML_KEYINFO_TYPE, - pub Anonymous: CRYPT_XML_KEY_INFO_ITEM_0, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_INFO_ITEM {} -impl ::core::clone::Clone for CRYPT_XML_KEY_INFO_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPT_XML_KEY_INFO_ITEM_0 { - pub wszKeyName: ::windows_sys::core::PCWSTR, - pub KeyValue: CRYPT_XML_KEY_VALUE, - pub RetrievalMethod: CRYPT_XML_BLOB, - pub X509Data: CRYPT_XML_X509DATA, - pub Custom: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_INFO_ITEM_0 {} -impl ::core::clone::Clone for CRYPT_XML_KEY_INFO_ITEM_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_RSA_KEY_VALUE { - pub Modulus: CRYPT_XML_DATA_BLOB, - pub Exponent: CRYPT_XML_DATA_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_RSA_KEY_VALUE {} -impl ::core::clone::Clone for CRYPT_XML_KEY_RSA_KEY_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_KEY_VALUE { - pub dwType: CRYPT_XML_KEY_VALUE_TYPE, - pub Anonymous: CRYPT_XML_KEY_VALUE_0, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_VALUE {} -impl ::core::clone::Clone for CRYPT_XML_KEY_VALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPT_XML_KEY_VALUE_0 { - pub DSAKeyValue: CRYPT_XML_KEY_DSA_KEY_VALUE, - pub RSAKeyValue: CRYPT_XML_KEY_RSA_KEY_VALUE, - pub ECDSAKeyValue: CRYPT_XML_KEY_ECDSA_KEY_VALUE, - pub Custom: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_KEY_VALUE_0 {} -impl ::core::clone::Clone for CRYPT_XML_KEY_VALUE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_OBJECT { - pub cbSize: u32, - pub hObject: *mut ::core::ffi::c_void, - pub wszId: ::windows_sys::core::PCWSTR, - pub wszMimeType: ::windows_sys::core::PCWSTR, - pub wszEncoding: ::windows_sys::core::PCWSTR, - pub Manifest: CRYPT_XML_REFERENCES, - pub Encoded: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_OBJECT {} -impl ::core::clone::Clone for CRYPT_XML_OBJECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_PROPERTY { - pub dwPropId: CRYPT_XML_PROPERTY_ID, - pub pvValue: *const ::core::ffi::c_void, - pub cbValue: u32, -} -impl ::core::marker::Copy for CRYPT_XML_PROPERTY {} -impl ::core::clone::Clone for CRYPT_XML_PROPERTY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_REFERENCE { - pub cbSize: u32, - pub hReference: *mut ::core::ffi::c_void, - pub wszId: ::windows_sys::core::PCWSTR, - pub wszUri: ::windows_sys::core::PCWSTR, - pub wszType: ::windows_sys::core::PCWSTR, - pub DigestMethod: CRYPT_XML_ALGORITHM, - pub DigestValue: CRYPT_INTEGER_BLOB, - pub cTransform: u32, - pub rgTransform: *mut CRYPT_XML_ALGORITHM, -} -impl ::core::marker::Copy for CRYPT_XML_REFERENCE {} -impl ::core::clone::Clone for CRYPT_XML_REFERENCE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_REFERENCES { - pub cReference: u32, - pub rgpReference: *mut *mut CRYPT_XML_REFERENCE, -} -impl ::core::marker::Copy for CRYPT_XML_REFERENCES {} -impl ::core::clone::Clone for CRYPT_XML_REFERENCES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_SIGNATURE { - pub cbSize: u32, - pub hSignature: *mut ::core::ffi::c_void, - pub wszId: ::windows_sys::core::PCWSTR, - pub SignedInfo: CRYPT_XML_SIGNED_INFO, - pub SignatureValue: CRYPT_INTEGER_BLOB, - pub pKeyInfo: *mut CRYPT_XML_KEY_INFO, - pub cObject: u32, - pub rgpObject: *mut *mut CRYPT_XML_OBJECT, -} -impl ::core::marker::Copy for CRYPT_XML_SIGNATURE {} -impl ::core::clone::Clone for CRYPT_XML_SIGNATURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_SIGNED_INFO { - pub cbSize: u32, - pub wszId: ::windows_sys::core::PCWSTR, - pub Canonicalization: CRYPT_XML_ALGORITHM, - pub SignatureMethod: CRYPT_XML_ALGORITHM, - pub cReference: u32, - pub rgpReference: *mut *mut CRYPT_XML_REFERENCE, - pub Encoded: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_SIGNED_INFO {} -impl ::core::clone::Clone for CRYPT_XML_SIGNED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_STATUS { - pub cbSize: u32, - pub dwErrorStatus: CRYPT_XML_STATUS_ERROR_STATUS, - pub dwInfoStatus: CRYPT_XML_STATUS_INFO_STATUS, -} -impl ::core::marker::Copy for CRYPT_XML_STATUS {} -impl ::core::clone::Clone for CRYPT_XML_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_TRANSFORM_CHAIN_CONFIG { - pub cbSize: u32, - pub cTransformInfo: u32, - pub rgpTransformInfo: *mut *mut CRYPT_XML_TRANSFORM_INFO, -} -impl ::core::marker::Copy for CRYPT_XML_TRANSFORM_CHAIN_CONFIG {} -impl ::core::clone::Clone for CRYPT_XML_TRANSFORM_CHAIN_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_TRANSFORM_INFO { - pub cbSize: u32, - pub wszAlgorithm: ::windows_sys::core::PCWSTR, - pub cbBufferSize: u32, - pub dwFlags: CRYPT_XML_TRANSFORM_FLAGS, - pub pfnCreateTransform: PFN_CRYPT_XML_CREATE_TRANSFORM, -} -impl ::core::marker::Copy for CRYPT_XML_TRANSFORM_INFO {} -impl ::core::clone::Clone for CRYPT_XML_TRANSFORM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_X509DATA { - pub cX509Data: u32, - pub rgX509Data: *mut CRYPT_XML_X509DATA_ITEM, -} -impl ::core::marker::Copy for CRYPT_XML_X509DATA {} -impl ::core::clone::Clone for CRYPT_XML_X509DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CRYPT_XML_X509DATA_ITEM { - pub dwType: CRYPT_XML_X509DATA_TYPE, - pub Anonymous: CRYPT_XML_X509DATA_ITEM_0, -} -impl ::core::marker::Copy for CRYPT_XML_X509DATA_ITEM {} -impl ::core::clone::Clone for CRYPT_XML_X509DATA_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CRYPT_XML_X509DATA_ITEM_0 { - pub IssuerSerial: CRYPT_XML_ISSUER_SERIAL, - pub SKI: CRYPT_XML_DATA_BLOB, - pub wszSubjectName: ::windows_sys::core::PCWSTR, - pub Certificate: CRYPT_XML_DATA_BLOB, - pub CRL: CRYPT_XML_DATA_BLOB, - pub Custom: CRYPT_XML_BLOB, -} -impl ::core::marker::Copy for CRYPT_XML_X509DATA_ITEM_0 {} -impl ::core::clone::Clone for CRYPT_XML_X509DATA_ITEM_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CTL_ANY_SUBJECT_INFO { - pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub SubjectIdentifier: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for CTL_ANY_SUBJECT_INFO {} -impl ::core::clone::Clone for CTL_ANY_SUBJECT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_CONTEXT { - pub dwMsgAndCertEncodingType: u32, - pub pbCtlEncoded: *mut u8, - pub cbCtlEncoded: u32, - pub pCtlInfo: *mut CTL_INFO, - pub hCertStore: HCERTSTORE, - pub hCryptMsg: *mut ::core::ffi::c_void, - pub pbCtlContent: *mut u8, - pub cbCtlContent: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CTL_ENTRY { - pub SubjectIdentifier: CRYPT_INTEGER_BLOB, - pub cAttribute: u32, - pub rgAttribute: *mut CRYPT_ATTRIBUTE, -} -impl ::core::marker::Copy for CTL_ENTRY {} -impl ::core::clone::Clone for CTL_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_FIND_SUBJECT_PARA { - pub cbSize: u32, - pub pUsagePara: *mut CTL_FIND_USAGE_PARA, - pub dwSubjectType: u32, - pub pvSubject: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_FIND_SUBJECT_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_FIND_SUBJECT_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_FIND_USAGE_PARA { - pub cbSize: u32, - pub SubjectUsage: CTL_USAGE, - pub ListIdentifier: CRYPT_INTEGER_BLOB, - pub pSigner: *mut CERT_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_FIND_USAGE_PARA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_FIND_USAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_INFO { - pub dwVersion: u32, - pub SubjectUsage: CTL_USAGE, - pub ListIdentifier: CRYPT_INTEGER_BLOB, - pub SequenceNumber: CRYPT_INTEGER_BLOB, - pub ThisUpdate: super::super::Foundation::FILETIME, - pub NextUpdate: super::super::Foundation::FILETIME, - pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub cCTLEntry: u32, - pub rgCTLEntry: *mut CTL_ENTRY, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CTL_USAGE { - pub cUsageIdentifier: u32, - pub rgpszUsageIdentifier: *mut ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for CTL_USAGE {} -impl ::core::clone::Clone for CTL_USAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CTL_USAGE_MATCH { - pub dwType: u32, - pub Usage: CTL_USAGE, -} -impl ::core::marker::Copy for CTL_USAGE_MATCH {} -impl ::core::clone::Clone for CTL_USAGE_MATCH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CTL_VERIFY_USAGE_PARA { - pub cbSize: u32, - pub ListIdentifier: CRYPT_INTEGER_BLOB, - pub cCtlStore: u32, - pub rghCtlStore: *mut HCERTSTORE, - pub cSignerStore: u32, - pub rghSignerStore: *mut HCERTSTORE, -} -impl ::core::marker::Copy for CTL_VERIFY_USAGE_PARA {} -impl ::core::clone::Clone for CTL_VERIFY_USAGE_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CTL_VERIFY_USAGE_STATUS { - pub cbSize: u32, - pub dwError: u32, - pub dwFlags: u32, - pub ppCtl: *mut *mut CTL_CONTEXT, - pub dwCtlEntryIndex: u32, - pub ppSigner: *mut *mut CERT_CONTEXT, - pub dwSignerIndex: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CTL_VERIFY_USAGE_STATUS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CTL_VERIFY_USAGE_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DSSSEED { - pub counter: u32, - pub seed: [u8; 20], -} -impl ::core::marker::Copy for DSSSEED {} -impl ::core::clone::Clone for DSSSEED { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ENDPOINTADDRESS { - pub serviceUrl: ::windows_sys::core::PCWSTR, - pub policyUrl: ::windows_sys::core::PCWSTR, - pub rawCertificate: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for ENDPOINTADDRESS {} -impl ::core::clone::Clone for ENDPOINTADDRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ENDPOINTADDRESS2 { - pub serviceUrl: ::windows_sys::core::PCWSTR, - pub policyUrl: ::windows_sys::core::PCWSTR, - pub identityType: u32, - pub identityBytes: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for ENDPOINTADDRESS2 {} -impl ::core::clone::Clone for ENDPOINTADDRESS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EV_EXTRA_CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwRootProgramQualifierFlags: CERT_ROOT_PROGRAM_FLAGS, -} -impl ::core::marker::Copy for EV_EXTRA_CERT_CHAIN_POLICY_PARA {} -impl ::core::clone::Clone for EV_EXTRA_CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EV_EXTRA_CERT_CHAIN_POLICY_STATUS { - pub cbSize: u32, - pub dwQualifiers: u32, - pub dwIssuanceUsageIndex: u32, -} -impl ::core::marker::Copy for EV_EXTRA_CERT_CHAIN_POLICY_STATUS {} -impl ::core::clone::Clone for EV_EXTRA_CERT_CHAIN_POLICY_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GENERIC_XML_TOKEN { - pub createDate: super::super::Foundation::FILETIME, - pub expiryDate: super::super::Foundation::FILETIME, - pub xmlToken: ::windows_sys::core::PWSTR, - pub internalTokenReference: ::windows_sys::core::PWSTR, - pub externalTokenReference: ::windows_sys::core::PWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GENERIC_XML_TOKEN {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GENERIC_XML_TOKEN { - fn clone(&self) -> Self { - *self - } -} -pub type HCERTCHAINENGINE = isize; -pub type HCERTSTORE = *mut ::core::ffi::c_void; -pub type HCERTSTOREPROV = *mut ::core::ffi::c_void; -pub type HCRYPTASYNC = isize; -pub type HCRYPTPROV_LEGACY = usize; -pub type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = usize; -#[repr(C)] -pub struct HMAC_INFO { - pub HashAlgid: ALG_ID, - pub pbInnerString: *mut u8, - pub cbInnerString: u32, - pub pbOuterString: *mut u8, - pub cbOuterString: u32, -} -impl ::core::marker::Copy for HMAC_INFO {} -impl ::core::clone::Clone for HMAC_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HTTPSPolicyCallbackData { - pub Anonymous: HTTPSPolicyCallbackData_0, - pub dwAuthType: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE, - pub fdwChecks: u32, - pub pwszServerName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for HTTPSPolicyCallbackData {} -impl ::core::clone::Clone for HTTPSPolicyCallbackData { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union HTTPSPolicyCallbackData_0 { - pub cbStruct: u32, - pub cbSize: u32, -} -impl ::core::marker::Copy for HTTPSPolicyCallbackData_0 {} -impl ::core::clone::Clone for HTTPSPolicyCallbackData_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS { - pub keySize: i32, - pub keyExchangeAlgorithm: ::windows_sys::core::PWSTR, - pub signatureAlgorithm: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS {} -impl ::core::clone::Clone for INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INFORMATIONCARD_CRYPTO_HANDLE { - pub r#type: HandleType, - pub expiration: i64, - pub cryptoParameters: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for INFORMATIONCARD_CRYPTO_HANDLE {} -impl ::core::clone::Clone for INFORMATIONCARD_CRYPTO_HANDLE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct INFORMATIONCARD_HASH_CRYPTO_PARAMETERS { - pub hashSize: i32, - pub transform: INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for INFORMATIONCARD_HASH_CRYPTO_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for INFORMATIONCARD_HASH_CRYPTO_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS { - pub keySize: i32, - pub blockSize: i32, - pub feedbackSize: i32, -} -impl ::core::marker::Copy for INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS {} -impl ::core::clone::Clone for INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS { - pub inputBlockSize: i32, - pub outputBlockSize: i32, - pub canTransformMultipleBlocks: super::super::Foundation::BOOL, - pub canReuseTransform: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct KEY_TYPE_SUBTYPE { - pub dwKeySpec: u32, - pub Type: ::windows_sys::core::GUID, - pub Subtype: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for KEY_TYPE_SUBTYPE {} -impl ::core::clone::Clone for KEY_TYPE_SUBTYPE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_ALLOC_PARA { - pub cbSize: u32, - pub pfnAlloc: PFN_NCRYPT_ALLOC, - pub pfnFree: PFN_NCRYPT_FREE, -} -impl ::core::marker::Copy for NCRYPT_ALLOC_PARA {} -impl ::core::clone::Clone for NCRYPT_ALLOC_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_CIPHER_PADDING_INFO { - pub cbSize: u32, - pub dwFlags: u32, - pub pbIV: *mut u8, - pub cbIV: u32, - pub pbOtherInfo: *mut u8, - pub cbOtherInfo: u32, -} -impl ::core::marker::Copy for NCRYPT_CIPHER_PADDING_INFO {} -impl ::core::clone::Clone for NCRYPT_CIPHER_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE { - pub Header: NCRYPT_EXPORTED_ISOLATED_KEY_HEADER, -} -impl ::core::marker::Copy for NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE {} -impl ::core::clone::Clone for NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_EXPORTED_ISOLATED_KEY_HEADER { - pub Version: u32, - pub KeyUsage: u32, - pub _bitfield: u32, - pub cbAlgName: u32, - pub cbNonce: u32, - pub cbAuthTag: u32, - pub cbWrappingKey: u32, - pub cbIsolatedKey: u32, -} -impl ::core::marker::Copy for NCRYPT_EXPORTED_ISOLATED_KEY_HEADER {} -impl ::core::clone::Clone for NCRYPT_EXPORTED_ISOLATED_KEY_HEADER { - fn clone(&self) -> Self { - *self - } -} -pub type NCRYPT_HANDLE = usize; -pub type NCRYPT_HASH_HANDLE = usize; -#[repr(C)] -pub struct NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES { - pub Version: u32, - pub Flags: u32, - pub cbPublicKeyBlob: u32, -} -impl ::core::marker::Copy for NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES {} -impl ::core::clone::Clone for NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_KEY_ACCESS_POLICY_BLOB { - pub dwVersion: u32, - pub dwPolicyFlags: u32, - pub cbUserSid: u32, - pub cbApplicationSid: u32, -} -impl ::core::marker::Copy for NCRYPT_KEY_ACCESS_POLICY_BLOB {} -impl ::core::clone::Clone for NCRYPT_KEY_ACCESS_POLICY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_KEY_ATTEST_PADDING_INFO { - pub magic: u32, - pub pbKeyBlob: *mut u8, - pub cbKeyBlob: u32, - pub pbKeyAuth: *mut u8, - pub cbKeyAuth: u32, -} -impl ::core::marker::Copy for NCRYPT_KEY_ATTEST_PADDING_INFO {} -impl ::core::clone::Clone for NCRYPT_KEY_ATTEST_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_KEY_BLOB_HEADER { - pub cbSize: u32, - pub dwMagic: u32, - pub cbAlgName: u32, - pub cbKeyData: u32, -} -impl ::core::marker::Copy for NCRYPT_KEY_BLOB_HEADER {} -impl ::core::clone::Clone for NCRYPT_KEY_BLOB_HEADER { - fn clone(&self) -> Self { - *self - } -} -pub type NCRYPT_KEY_HANDLE = usize; -#[repr(C)] -pub struct NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO { - pub dwVersion: u32, - pub iExpiration: i32, - pub pabNonce: [u8; 32], - pub pabPolicyRef: [u8; 32], - pub pabHMAC: [u8; 32], -} -impl ::core::marker::Copy for NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO {} -impl ::core::clone::Clone for NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_PCP_RAW_POLICYDIGEST_INFO { - pub dwVersion: u32, - pub cbDigest: u32, -} -impl ::core::marker::Copy for NCRYPT_PCP_RAW_POLICYDIGEST_INFO {} -impl ::core::clone::Clone for NCRYPT_PCP_RAW_POLICYDIGEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_PCP_TPM_FW_VERSION_INFO { - pub major1: u16, - pub major2: u16, - pub minor1: u16, - pub minor2: u16, -} -impl ::core::marker::Copy for NCRYPT_PCP_TPM_FW_VERSION_INFO {} -impl ::core::clone::Clone for NCRYPT_PCP_TPM_FW_VERSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT { - pub Magic: u32, - pub Version: u32, - pub HeaderSize: u32, - pub cbCertifyInfo: u32, - pub cbSignature: u32, - pub cbTpmPublic: u32, -} -impl ::core::marker::Copy for NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT {} -impl ::core::clone::Clone for NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_PLATFORM_ATTEST_PADDING_INFO { - pub magic: u32, - pub pcrMask: u32, -} -impl ::core::marker::Copy for NCRYPT_PLATFORM_ATTEST_PADDING_INFO {} -impl ::core::clone::Clone for NCRYPT_PLATFORM_ATTEST_PADDING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NCRYPT_PROTECT_STREAM_INFO { - pub pfnStreamOutput: PFNCryptStreamOutputCallback, - pub pvCallbackCtxt: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NCRYPT_PROTECT_STREAM_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NCRYPT_PROTECT_STREAM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NCRYPT_PROTECT_STREAM_INFO_EX { - pub pfnStreamOutput: PFNCryptStreamOutputCallbackEx, - pub pvCallbackCtxt: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NCRYPT_PROTECT_STREAM_INFO_EX {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NCRYPT_PROTECT_STREAM_INFO_EX { - fn clone(&self) -> Self { - *self - } -} -pub type NCRYPT_PROV_HANDLE = usize; -pub type NCRYPT_SECRET_HANDLE = usize; -#[repr(C)] -pub struct NCRYPT_SUPPORTED_LENGTHS { - pub dwMinLength: u32, - pub dwMaxLength: u32, - pub dwIncrement: u32, - pub dwDefaultLength: u32, -} -impl ::core::marker::Copy for NCRYPT_SUPPORTED_LENGTHS {} -impl ::core::clone::Clone for NCRYPT_SUPPORTED_LENGTHS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER { - pub magic: u32, - pub cbHeader: u32, - pub cbPublic: u32, - pub cbPrivate: u32, - pub cbName: u32, -} -impl ::core::marker::Copy for NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER {} -impl ::core::clone::Clone for NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT { - pub Magic: u32, - pub Version: u32, - pub pcrAlg: u32, - pub cbSignature: u32, - pub cbQuote: u32, - pub cbPcrs: u32, -} -impl ::core::marker::Copy for NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT {} -impl ::core::clone::Clone for NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_UI_POLICY { - pub dwVersion: u32, - pub dwFlags: u32, - pub pszCreationTitle: ::windows_sys::core::PCWSTR, - pub pszFriendlyName: ::windows_sys::core::PCWSTR, - pub pszDescription: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for NCRYPT_UI_POLICY {} -impl ::core::clone::Clone for NCRYPT_UI_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS { - pub Version: u32, - pub TrustletId: u64, - pub MinSvn: u32, - pub FlagsMask: u32, - pub FlagsExpected: u32, - pub _bitfield: u32, -} -impl ::core::marker::Copy for NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS {} -impl ::core::clone::Clone for NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCRYPT_VSM_KEY_ATTESTATION_STATEMENT { - pub Magic: u32, - pub Version: u32, - pub cbSignature: u32, - pub cbReport: u32, - pub cbAttributes: u32, -} -impl ::core::marker::Copy for NCRYPT_VSM_KEY_ATTESTATION_STATEMENT {} -impl ::core::clone::Clone for NCRYPT_VSM_KEY_ATTESTATION_STATEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCryptAlgorithmName { - pub pszName: ::windows_sys::core::PWSTR, - pub dwClass: NCRYPT_ALGORITHM_NAME_CLASS, - pub dwAlgOperations: NCRYPT_OPERATION, - pub dwFlags: u32, -} -impl ::core::marker::Copy for NCryptAlgorithmName {} -impl ::core::clone::Clone for NCryptAlgorithmName { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCryptKeyName { - pub pszName: ::windows_sys::core::PWSTR, - pub pszAlgid: ::windows_sys::core::PWSTR, - pub dwLegacyKeySpec: CERT_KEY_SPEC, - pub dwFlags: u32, -} -impl ::core::marker::Copy for NCryptKeyName {} -impl ::core::clone::Clone for NCryptKeyName { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NCryptProviderName { - pub pszName: ::windows_sys::core::PWSTR, - pub pszComment: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for NCryptProviderName {} -impl ::core::clone::Clone for NCryptProviderName { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OCSP_BASIC_RESPONSE_ENTRY { - pub CertId: OCSP_CERT_ID, - pub dwCertStatus: u32, - pub Anonymous: OCSP_BASIC_RESPONSE_ENTRY_0, - pub ThisUpdate: super::super::Foundation::FILETIME, - pub NextUpdate: super::super::Foundation::FILETIME, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_ENTRY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union OCSP_BASIC_RESPONSE_ENTRY_0 { - pub pRevokedInfo: *mut OCSP_BASIC_REVOKED_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_ENTRY_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OCSP_BASIC_RESPONSE_INFO { - pub dwVersion: u32, - pub dwResponderIdChoice: u32, - pub Anonymous: OCSP_BASIC_RESPONSE_INFO_0, - pub ProducedAt: super::super::Foundation::FILETIME, - pub cResponseEntry: u32, - pub rgResponseEntry: *mut OCSP_BASIC_RESPONSE_ENTRY, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union OCSP_BASIC_RESPONSE_INFO_0 { - pub ByNameResponderId: CRYPT_INTEGER_BLOB, - pub ByKeyResponderId: CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OCSP_BASIC_REVOKED_INFO { - pub RevocationDate: super::super::Foundation::FILETIME, - pub dwCrlReasonCode: CERT_REVOCATION_STATUS_REASON, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_BASIC_REVOKED_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_BASIC_REVOKED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OCSP_BASIC_SIGNED_RESPONSE_INFO { - pub ToBeSigned: CRYPT_INTEGER_BLOB, - pub SignatureInfo: OCSP_SIGNATURE_INFO, -} -impl ::core::marker::Copy for OCSP_BASIC_SIGNED_RESPONSE_INFO {} -impl ::core::clone::Clone for OCSP_BASIC_SIGNED_RESPONSE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OCSP_CERT_ID { - pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub IssuerNameHash: CRYPT_INTEGER_BLOB, - pub IssuerKeyHash: CRYPT_INTEGER_BLOB, - pub SerialNumber: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for OCSP_CERT_ID {} -impl ::core::clone::Clone for OCSP_CERT_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OCSP_REQUEST_ENTRY { - pub CertId: OCSP_CERT_ID, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_REQUEST_ENTRY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_REQUEST_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OCSP_REQUEST_INFO { - pub dwVersion: u32, - pub pRequestorName: *mut CERT_ALT_NAME_ENTRY, - pub cRequestEntry: u32, - pub rgRequestEntry: *mut OCSP_REQUEST_ENTRY, - pub cExtension: u32, - pub rgExtension: *mut CERT_EXTENSION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OCSP_REQUEST_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OCSP_REQUEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OCSP_RESPONSE_INFO { - pub dwStatus: u32, - pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for OCSP_RESPONSE_INFO {} -impl ::core::clone::Clone for OCSP_RESPONSE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OCSP_SIGNATURE_INFO { - pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Signature: CRYPT_BIT_BLOB, - pub cCertEncoded: u32, - pub rgCertEncoded: *mut CRYPT_INTEGER_BLOB, -} -impl ::core::marker::Copy for OCSP_SIGNATURE_INFO {} -impl ::core::clone::Clone for OCSP_SIGNATURE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OCSP_SIGNED_REQUEST_INFO { - pub ToBeSigned: CRYPT_INTEGER_BLOB, - pub pOptionalSignatureInfo: *mut OCSP_SIGNATURE_INFO, -} -impl ::core::marker::Copy for OCSP_SIGNED_REQUEST_INFO {} -impl ::core::clone::Clone for OCSP_SIGNED_REQUEST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PKCS12_PBES2_EXPORT_PARAMS { - pub dwSize: u32, - pub hNcryptDescriptor: *mut ::core::ffi::c_void, - pub pwszPbes2Alg: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for PKCS12_PBES2_EXPORT_PARAMS {} -impl ::core::clone::Clone for PKCS12_PBES2_EXPORT_PARAMS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct POLICY_ELEMENT { - pub targetEndpointAddress: ::windows_sys::core::PCWSTR, - pub issuerEndpointAddress: ::windows_sys::core::PCWSTR, - pub issuedTokenParameters: ::windows_sys::core::PCWSTR, - pub privacyNoticeLink: ::windows_sys::core::PCWSTR, - pub privacyNoticeVersion: u32, - pub useManagedPresentation: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for POLICY_ELEMENT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for POLICY_ELEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRIVKEYVER3 { - pub magic: u32, - pub bitlenP: u32, - pub bitlenQ: u32, - pub bitlenJ: u32, - pub bitlenX: u32, - pub DSSSeed: DSSSEED, -} -impl ::core::marker::Copy for PRIVKEYVER3 {} -impl ::core::clone::Clone for PRIVKEYVER3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PROV_ENUMALGS { - pub aiAlgid: ALG_ID, - pub dwBitLen: u32, - pub dwNameLen: u32, - pub szName: [u8; 20], -} -impl ::core::marker::Copy for PROV_ENUMALGS {} -impl ::core::clone::Clone for PROV_ENUMALGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PROV_ENUMALGS_EX { - pub aiAlgid: ALG_ID, - pub dwDefaultLen: u32, - pub dwMinLen: u32, - pub dwMaxLen: u32, - pub dwProtocols: u32, - pub dwNameLen: u32, - pub szName: [u8; 20], - pub dwLongNameLen: u32, - pub szLongName: [u8; 40], -} -impl ::core::marker::Copy for PROV_ENUMALGS_EX {} -impl ::core::clone::Clone for PROV_ENUMALGS_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PUBKEY { - pub magic: u32, - pub bitlen: u32, -} -impl ::core::marker::Copy for PUBKEY {} -impl ::core::clone::Clone for PUBKEY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PUBKEYVER3 { - pub magic: u32, - pub bitlenP: u32, - pub bitlenQ: u32, - pub bitlenJ: u32, - pub DSSSeed: DSSSEED, -} -impl ::core::marker::Copy for PUBKEYVER3 {} -impl ::core::clone::Clone for PUBKEYVER3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PUBLICKEYSTRUC { - pub bType: u8, - pub bVersion: u8, - pub reserved: u16, - pub aiKeyAlg: ALG_ID, -} -impl ::core::marker::Copy for PUBLICKEYSTRUC {} -impl ::core::clone::Clone for PUBLICKEYSTRUC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RECIPIENTPOLICY { - pub recipient: ENDPOINTADDRESS, - pub issuer: ENDPOINTADDRESS, - pub tokenType: ::windows_sys::core::PCWSTR, - pub requiredClaims: CLAIMLIST, - pub optionalClaims: CLAIMLIST, - pub privacyUrl: ::windows_sys::core::PCWSTR, - pub privacyVersion: u32, -} -impl ::core::marker::Copy for RECIPIENTPOLICY {} -impl ::core::clone::Clone for RECIPIENTPOLICY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RECIPIENTPOLICY2 { - pub recipient: ENDPOINTADDRESS2, - pub issuer: ENDPOINTADDRESS2, - pub tokenType: ::windows_sys::core::PCWSTR, - pub requiredClaims: CLAIMLIST, - pub optionalClaims: CLAIMLIST, - pub privacyUrl: ::windows_sys::core::PCWSTR, - pub privacyVersion: u32, -} -impl ::core::marker::Copy for RECIPIENTPOLICY2 {} -impl ::core::clone::Clone for RECIPIENTPOLICY2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ROOT_INFO_LUID { - pub LowPart: u32, - pub HighPart: i32, -} -impl ::core::marker::Copy for ROOT_INFO_LUID {} -impl ::core::clone::Clone for ROOT_INFO_LUID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RSAPUBKEY { - pub magic: u32, - pub bitlen: u32, - pub pubexp: u32, -} -impl ::core::marker::Copy for RSAPUBKEY {} -impl ::core::clone::Clone for RSAPUBKEY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCHANNEL_ALG { - pub dwUse: u32, - pub Algid: ALG_ID, - pub cBits: u32, - pub dwFlags: u32, - pub dwReserved: u32, -} -impl ::core::marker::Copy for SCHANNEL_ALG {} -impl ::core::clone::Clone for SCHANNEL_ALG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_ATTR_AUTHCODE { - pub cbSize: u32, - pub fCommercial: super::super::Foundation::BOOL, - pub fIndividual: super::super::Foundation::BOOL, - pub pwszName: ::windows_sys::core::PCWSTR, - pub pwszInfo: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_ATTR_AUTHCODE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_ATTR_AUTHCODE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIGNER_BLOB_INFO { - pub cbSize: u32, - pub pGuidSubject: *mut ::windows_sys::core::GUID, - pub cbBlob: u32, - pub pbBlob: *mut u8, - pub pwszDisplayName: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for SIGNER_BLOB_INFO {} -impl ::core::clone::Clone for SIGNER_BLOB_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_CERT { - pub cbSize: u32, - pub dwCertChoice: SIGNER_CERT_CHOICE, - pub Anonymous: SIGNER_CERT_0, - pub hwnd: super::super::Foundation::HWND, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_CERT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_CERT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SIGNER_CERT_0 { - pub pwszSpcFile: ::windows_sys::core::PCWSTR, - pub pCertStoreInfo: *mut SIGNER_CERT_STORE_INFO, - pub pSpcChainInfo: *mut SIGNER_SPC_CHAIN_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_CERT_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_CERT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_CERT_STORE_INFO { - pub cbSize: u32, - pub pSigningCert: *const CERT_CONTEXT, - pub dwCertPolicy: SIGNER_CERT_POLICY, - pub hCertStore: HCERTSTORE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_CERT_STORE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_CERT_STORE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIGNER_CONTEXT { - pub cbSize: u32, - pub cbBlob: u32, - pub pbBlob: *mut u8, -} -impl ::core::marker::Copy for SIGNER_CONTEXT {} -impl ::core::clone::Clone for SIGNER_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_DIGEST_SIGN_INFO { - pub cbSize: u32, - pub dwDigestSignChoice: u32, - pub Anonymous: SIGNER_DIGEST_SIGN_INFO_0, - pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, - pub dwReserved: u32, - pub dwReserved2: u32, - pub dwReserved3: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SIGNER_DIGEST_SIGN_INFO_0 { - pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, - pub pfnAuthenticodeDigestSignWithFileHandle: PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE, - pub pfnAuthenticodeDigestSignEx: PFN_AUTHENTICODE_DIGEST_SIGN_EX, - pub pfnAuthenticodeDigestSignExWithFileHandle: PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_DIGEST_SIGN_INFO_V1 { - pub cbSize: u32, - pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, - pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_V1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_V1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_DIGEST_SIGN_INFO_V2 { - pub cbSize: u32, - pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, - pub pfnAuthenticodeDigestSignEx: PFN_AUTHENTICODE_DIGEST_SIGN_EX, - pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_V2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_FILE_INFO { - pub cbSize: u32, - pub pwszFileName: ::windows_sys::core::PCWSTR, - pub hFile: super::super::Foundation::HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_FILE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_FILE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIGNER_PROVIDER_INFO { - pub cbSize: u32, - pub pwszProviderName: ::windows_sys::core::PCWSTR, - pub dwProviderType: u32, - pub dwKeySpec: u32, - pub dwPvkChoice: SIGNER_PRIVATE_KEY_CHOICE, - pub Anonymous: SIGNER_PROVIDER_INFO_0, -} -impl ::core::marker::Copy for SIGNER_PROVIDER_INFO {} -impl ::core::clone::Clone for SIGNER_PROVIDER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union SIGNER_PROVIDER_INFO_0 { - pub pwszPvkFileName: ::windows_sys::core::PWSTR, - pub pwszKeyContainer: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SIGNER_PROVIDER_INFO_0 {} -impl ::core::clone::Clone for SIGNER_PROVIDER_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_SIGNATURE_INFO { - pub cbSize: u32, - pub algidHash: ALG_ID, - pub dwAttrChoice: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE, - pub Anonymous: SIGNER_SIGNATURE_INFO_0, - pub psAuthenticated: *mut CRYPT_ATTRIBUTES, - pub psUnauthenticated: *mut CRYPT_ATTRIBUTES, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_SIGNATURE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_SIGNATURE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SIGNER_SIGNATURE_INFO_0 { - pub pAttrAuthcode: *mut SIGNER_ATTR_AUTHCODE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_SIGNATURE_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_SIGNATURE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SIGNER_SPC_CHAIN_INFO { - pub cbSize: u32, - pub pwszSpcFile: ::windows_sys::core::PCWSTR, - pub dwCertPolicy: u32, - pub hCertStore: HCERTSTORE, -} -impl ::core::marker::Copy for SIGNER_SPC_CHAIN_INFO {} -impl ::core::clone::Clone for SIGNER_SPC_CHAIN_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SIGNER_SUBJECT_INFO { - pub cbSize: u32, - pub pdwIndex: *mut u32, - pub dwSubjectChoice: SIGNER_SUBJECT_CHOICE, - pub Anonymous: SIGNER_SUBJECT_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_SUBJECT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_SUBJECT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SIGNER_SUBJECT_INFO_0 { - pub pSignerFileInfo: *mut SIGNER_FILE_INFO, - pub pSignerBlobInfo: *mut SIGNER_BLOB_INFO, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SIGNER_SUBJECT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SIGNER_SUBJECT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SSL_ECCKEY_BLOB { - pub dwCurveType: u32, - pub cbKey: u32, -} -impl ::core::marker::Copy for SSL_ECCKEY_BLOB {} -impl ::core::clone::Clone for SSL_ECCKEY_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS { - pub cbSize: u32, - pub dwErrorLevel: u32, - pub dwErrorCategory: u32, - pub dwReserved: u32, - pub wszErrorText: [u16; 256], -} -impl ::core::marker::Copy for SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS {} -impl ::core::clone::Clone for SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwReserved: u32, - pub pwszServerName: ::windows_sys::core::PWSTR, - pub rgpszHpkpValue: [::windows_sys::core::PSTR; 2], -} -impl ::core::marker::Copy for SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA {} -impl ::core::clone::Clone for SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA { - pub cbSize: u32, - pub dwReserved: u32, - pub pwszServerName: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA {} -impl ::core::clone::Clone for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS { - pub cbSize: u32, - pub lError: i32, - pub wszErrorText: [u16; 512], -} -impl ::core::marker::Copy for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS {} -impl ::core::clone::Clone for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS { - fn clone(&self) -> Self { - *self - } -} -pub type CryptXmlDllCloseDigest = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllCreateDigest = ::core::option::Option<unsafe extern "system" fn(pdigestmethod: *const CRYPT_XML_ALGORITHM, pcbsize: *mut u32, phdigest: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllCreateKey = ::core::option::Option<unsafe extern "system" fn(pencoded: *const CRYPT_XML_BLOB, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllDigestData = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllEncodeAlgorithm = ::core::option::Option<unsafe extern "system" fn(palginfo: *const CRYPT_XML_ALGORITHM_INFO, dwcharset: CRYPT_XML_CHARSET, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllEncodeKeyValue = ::core::option::Option<unsafe extern "system" fn(hkey: NCRYPT_KEY_HANDLE, dwcharset: CRYPT_XML_CHARSET, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllFinalizeDigest = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void, pbdigest: *mut u8, cbdigest: u32) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllGetAlgorithmInfo = ::core::option::Option<unsafe extern "system" fn(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllGetInterface = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pmethod: *const CRYPT_XML_ALGORITHM_INFO, pinterface: *mut CRYPT_XML_CRYPTOGRAPHIC_INTERFACE) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllSignData = ::core::option::Option<unsafe extern "system" fn(psignaturemethod: *const CRYPT_XML_ALGORITHM, hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32) -> ::windows_sys::core::HRESULT>; -pub type CryptXmlDllVerifySignature = ::core::option::Option<unsafe extern "system" fn(psignaturemethod: *const CRYPT_XML_ALGORITHM, hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, pbsignature: *const u8, cbsignature: u32) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PCRYPT_DECRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(algorithm: CRYPT_ALGORITHM_IDENTIFIER, encryptedprivatekey: CRYPT_INTEGER_BLOB, pbcleartextkey: *mut u8, pcbcleartextkey: *mut u32, pvoiddecryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(palgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, pcleartextprivatekey: *const CRYPT_INTEGER_BLOB, pbencryptedkey: *mut u8, pcbencryptedkey: *mut u32, pvoidencryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PCRYPT_RESOLVE_HCRYPTPROV_FUNC = ::core::option::Option<unsafe extern "system" fn(pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, phcryptprov: *mut usize, pvoidresolvefunc: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNCryptStreamOutputCallback = ::core::option::Option<unsafe extern "system" fn(pvcallbackctxt: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: usize, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNCryptStreamOutputCallbackEx = ::core::option::Option<unsafe extern "system" fn(pvcallbackctxt: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: usize, hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option<unsafe extern "system" fn(psigningcert: *const CERT_CONTEXT, pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, psigneddigest: *mut CRYPT_INTEGER_BLOB) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option<unsafe extern "system" fn(pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, psigneddigest: *mut CRYPT_INTEGER_BLOB, ppsignercert: *mut *mut CERT_CONTEXT, hcertchainstore: HCERTSTORE) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option<unsafe extern "system" fn(pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, hfile: super::super::Foundation::HANDLE, psigneddigest: *mut CRYPT_INTEGER_BLOB, ppsignercert: *mut *mut CERT_CONTEXT, hcertchainstore: HCERTSTORE) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option<unsafe extern "system" fn(psigningcert: *const CERT_CONTEXT, pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, hfile: super::super::Foundation::HANDLE, psigneddigest: *mut CRYPT_INTEGER_BLOB) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CANCEL_ASYNC_RETRIEVAL_FUNC = ::core::option::Option<unsafe extern "system" fn(hasyncretrieve: HCRYPTASYNC) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pcert: *const CERT_CONTEXT, pvfindarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_CREATE_CONTEXT_SORT_FUNC = ::core::option::Option<unsafe extern "system" fn(cbtotalencoded: u32, cbremainencoded: u32, centry: u32, pvsort: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_DLL_OPEN_STORE_PROV_FUNC = ::core::option::Option<unsafe extern "system" fn(lpszstoreprovider: ::windows_sys::core::PCSTR, dwencodingtype: CERT_QUERY_ENCODING_TYPE, hcryptprov: HCRYPTPROV_LEGACY, dwflags: CERT_OPEN_STORE_FLAGS, pvpara: *const ::core::ffi::c_void, hcertstore: HCERTSTORE, pstoreprovinfo: *mut CERT_STORE_PROV_INFO) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_ENUM_PHYSICAL_STORE = ::core::option::Option<unsafe extern "system" fn(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR, pstoreinfo: *const CERT_PHYSICAL_STORE_INFO, pvreserved: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_ENUM_SYSTEM_STORE = ::core::option::Option<unsafe extern "system" fn(pvsystemstore: *const ::core::ffi::c_void, dwflags: CERT_SYSTEM_STORE_FLAGS, pstoreinfo: *const CERT_SYSTEM_STORE_INFO, pvreserved: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_ENUM_SYSTEM_STORE_LOCATION = ::core::option::Option<unsafe extern "system" fn(pwszstorelocation: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_IS_WEAK_HASH = ::core::option::Option<unsafe extern "system" fn(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pchaincontext: *const CERT_CHAIN_CONTEXT, pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT, pnewcrlcontext: *const CRL_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pvarg: *mut ::core::ffi::c_void, dwwriteocspfileerror: u32) -> ()>; -pub type PFN_CERT_STORE_PROV_CLOSE = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_CONTROL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_DELETE_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_DELETE_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_DELETE_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FIND_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevcertcontext: *const CERT_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FIND_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevcrlcontext: *const CRL_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FIND_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevctlcontext: *const CTL_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FREE_FIND_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FREE_FIND_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_FREE_FIND_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_GET_CERT_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_GET_CRL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_GET_CTL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_READ_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorecertcontext: *const CERT_CONTEXT, dwflags: u32, ppprovcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_READ_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorecrlcontext: *const CRL_CONTEXT, dwflags: u32, ppprovcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_READ_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorectlcontext: *const CTL_CONTEXT, dwflags: u32, ppprovctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_SET_CERT_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_SET_CRL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_SET_CTL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_WRITE_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_WRITE_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_STORE_PROV_WRITE_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>; -pub type PFN_CMSG_ALLOC = ::core::option::Option<unsafe extern "system" fn(cb: usize) -> *mut ::core::ffi::c_void>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_CNG_IMPORT_CONTENT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_CNG_IMPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, pkeyagreedecryptpara: *const CMSG_CTRL_KEY_AGREE_DECRYPT_PARA, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_CNG_IMPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, pkeytransdecryptpara: *const CMSG_CTRL_KEY_TRANS_DECRYPT_PARA, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_EXPORT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, hencryptkey: usize, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pbdata: *mut u8, pcbdata: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_EXPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pkeyagreeencodeinfo: *const CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO, pkeyagreeencryptinfo: *mut CMSG_KEY_AGREE_ENCRYPT_INFO, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_EXPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pkeytransencodeinfo: *const CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO, pkeytransencryptinfo: *mut CMSG_KEY_TRANS_ENCRYPT_INFO, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_EXPORT_MAIL_LIST = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pmaillistencodeinfo: *const CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO, pmaillistencryptinfo: *mut CMSG_MAIL_LIST_ENCRYPT_INFO, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type PFN_CMSG_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *mut CMSG_CONTENT_ENCRYPT_INFO, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_GEN_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(phcryptprov: *mut usize, paiencrypt: *const CRYPT_ALGORITHM_IDENTIFIER, pvencryptauxinfo: *const ::core::ffi::c_void, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pfnalloc: PFN_CMSG_ALLOC, phencryptkey: *mut usize, ppbencryptparameters: *mut *mut u8, pcbencryptparameters: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_IMPORT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, dwkeyspec: u32, paiencrypt: *const CRYPT_ALGORITHM_IDENTIFIER, paipubkey: *const CRYPT_ALGORITHM_IDENTIFIER, pbencodedkey: *const u8, cbencodedkey: u32, phencryptkey: *mut usize) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_IMPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pkeyagreedecryptpara: *const CMSG_CTRL_KEY_AGREE_DECRYPT_PARA, dwflags: u32, pvreserved: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_IMPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pkeytransdecryptpara: *const CMSG_CTRL_KEY_TRANS_DECRYPT_PARA, dwflags: u32, pvreserved: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_IMPORT_MAIL_LIST = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pmaillistdecryptpara: *const CMSG_CTRL_MAIL_LIST_DECRYPT_PARA, dwflags: u32, pvreserved: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CMSG_STREAM_OUTPUT = ::core::option::Option<unsafe extern "system" fn(pvarg: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32, ffinal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; -pub type PFN_CRYPT_ASYNC_PARAM_FREE_FUNC = ::core::option::Option<unsafe extern "system" fn(pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void) -> ()>; -pub type PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC = ::core::option::Option<unsafe extern "system" fn(pvcompletion: *mut ::core::ffi::c_void, dwcompletioncode: u32, pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, pvobject: *const ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_CANCEL_RETRIEVAL = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_ENUM_KEYID_PROP = ::core::option::Option<unsafe extern "system" fn(pkeyidentifier: *const CRYPT_INTEGER_BLOB, dwflags: u32, pvreserved: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, cprop: u32, rgdwpropid: *const u32, rgpvdata: *const *const ::core::ffi::c_void, rgcbdata: *const u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_ENUM_OID_FUNC = ::core::option::Option<unsafe extern "system" fn(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, cvalue: u32, rgdwvaluetype: *const u32, rgpwszvaluename: *const ::windows_sys::core::PCWSTR, rgpbvaluedata: *const *const u8, rgcbvaluedata: *const u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_ENUM_OID_INFO = ::core::option::Option<unsafe extern "system" fn(pinfo: *const CRYPT_OID_INFO, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(hncryptkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC = ::core::option::Option<unsafe extern "system" fn(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, ppvdecodedsignpara: *mut *mut ::core::ffi::c_void, ppwszcnghashalgid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_GET_SIGNER_CERTIFICATE = ::core::option::Option<unsafe extern "system" fn(pvgetarg: *mut ::core::ffi::c_void, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, psignerid: *const CERT_INFO, hmsgcertstore: HCERTSTORE) -> *mut CERT_CONTEXT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, rgidentifierornamelist: *const *const CRYPT_INTEGER_BLOB, dwidentifierornamelistcount: u32) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pbdata: *const u8) -> ()>; -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPT_INTEGER_BLOB) -> ()>; -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pwszpassword: ::windows_sys::core::PCWSTR) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPT_INTEGER_BLOB, dwnametype: u32, pnameblob: *const CRYPT_INTEGER_BLOB, ppbcontent: *mut *mut u8, pcbcontent: *mut u32, ppwszpassword: *mut ::windows_sys::core::PCWSTR, ppidentifier: *mut *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(pfnflush: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH, pcontext: *const ::core::ffi::c_void, pdwexpectedobjectcount: *mut u32, ppfunctable: *mut *mut CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE, ppplugincontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE = ::core::option::Option<unsafe extern "system" fn(dwreason: CRYPT_OBJECT_LOCATOR_RELEASE_REASON, pplugincontext: *const ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_SIGN_AND_ENCODE_HASH_FUNC = ::core::option::Option<unsafe extern "system" fn(hkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_VERIFY_ENCODED_SIGNATURE_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, ppubkeyinfo: *const CERT_PUBLIC_KEY_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *const u8, cbsignature: u32) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_XML_CREATE_TRANSFORM = ::core::option::Option<unsafe extern "system" fn(ptransform: *const CRYPT_XML_ALGORITHM, pproviderin: *const CRYPT_XML_DATA_PROVIDER, pproviderout: *mut CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT>; -pub type PFN_CRYPT_XML_DATA_PROVIDER_CLOSE = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; -pub type PFN_CRYPT_XML_DATA_PROVIDER_READ = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void, pbdata: *mut u8, cbdata: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_XML_ENUM_ALG_INFO = ::core::option::Option<unsafe extern "system" fn(pinfo: *const CRYPT_XML_ALGORITHM_INFO, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type PFN_CRYPT_XML_WRITE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void, pbdata: *const u8, cbdata: u32) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_EXPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, pcbprivatekeyinfo: *mut u32) -> super::super::Foundation::BOOL>; -pub type PFN_FREE_ENCODED_OBJECT_FUNC = ::core::option::Option<unsafe extern "system" fn(pszobjectoid: ::windows_sys::core::PCSTR, pobject: *mut CRYPT_BLOB_ARRAY, pvfreecontext: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_IMPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, pprivatekeyinfo: *const CRYPT_PRIVATE_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL>; -pub type PFN_NCRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; -pub type PFN_NCRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; |