aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
committerValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
commita990de90fe41456a23e58bd087d2f107d321f3a1 (patch)
tree15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip
parent3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff)
downloadfparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz
fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip
Deleted vendor folder
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs241
1 files changed, 0 insertions, 241 deletions
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>;