]>
Commit | Line | Data |
---|---|---|
353b0b11 FG |
1 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] |
2 | #[inline] | |
3 | pub unsafe fn CertSrvBackupClose(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
4 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupClose ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
5 | CertSrvBackupClose(hbc).ok() | |
6 | } | |
7 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
8 | #[inline] | |
9 | pub unsafe fn CertSrvBackupEnd(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
10 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
11 | CertSrvBackupEnd(hbc).ok() | |
12 | } | |
13 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
14 | #[inline] | |
15 | pub unsafe fn CertSrvBackupFree(pv: *mut ::core::ffi::c_void) { | |
16 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); | |
17 | CertSrvBackupFree(pv) | |
18 | } | |
19 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
20 | #[inline] | |
21 | pub unsafe fn CertSrvBackupGetBackupLogsW(hbc: *const ::core::ffi::c_void, ppwszzbackuplogfiles: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { | |
22 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetBackupLogsW ( hbc : *const ::core::ffi::c_void , ppwszzbackuplogfiles : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); | |
23 | CertSrvBackupGetBackupLogsW(hbc, ppwszzbackuplogfiles, pcbsize).ok() | |
24 | } | |
25 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26 | #[inline] | |
27 | pub unsafe fn CertSrvBackupGetDatabaseNamesW(hbc: *const ::core::ffi::c_void, ppwszzattachmentinformation: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { | |
28 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetDatabaseNamesW ( hbc : *const ::core::ffi::c_void , ppwszzattachmentinformation : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); | |
29 | CertSrvBackupGetDatabaseNamesW(hbc, ppwszzattachmentinformation, pcbsize).ok() | |
30 | } | |
31 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
32 | #[inline] | |
33 | pub unsafe fn CertSrvBackupGetDynamicFileListW(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { | |
34 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetDynamicFileListW ( hbc : *const ::core::ffi::c_void , ppwszzfilelist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); | |
35 | CertSrvBackupGetDynamicFileListW(hbc, ppwszzfilelist, pcbsize).ok() | |
36 | } | |
37 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
38 | #[inline] | |
39 | pub unsafe fn CertSrvBackupOpenFileW<P0>(hbc: *mut ::core::ffi::c_void, pwszattachmentname: P0, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows::core::Result<()> | |
40 | where | |
41 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
42 | { | |
43 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupOpenFileW ( hbc : *mut ::core::ffi::c_void , pwszattachmentname : :: windows::core::PCWSTR , cbreadhintsize : u32 , plifilesize : *mut i64 ) -> :: windows::core::HRESULT ); | |
44 | CertSrvBackupOpenFileW(hbc, pwszattachmentname.into_param().abi(), cbreadhintsize, plifilesize).ok() | |
45 | } | |
46 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
47 | #[inline] | |
48 | pub unsafe fn CertSrvBackupPrepareW<P0>(pwszservername: P0, grbitjet: u32, dwbackupflags: CSBACKUP_TYPE, phbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
49 | where | |
50 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
51 | { | |
52 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupPrepareW ( pwszservername : :: windows::core::PCWSTR , grbitjet : u32 , dwbackupflags : CSBACKUP_TYPE , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
53 | CertSrvBackupPrepareW(pwszservername.into_param().abi(), grbitjet, dwbackupflags, phbc).ok() | |
54 | } | |
55 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
56 | #[inline] | |
57 | pub unsafe fn CertSrvBackupRead(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows::core::Result<()> { | |
58 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupRead ( hbc : *mut ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbread : *mut u32 ) -> :: windows::core::HRESULT ); | |
59 | CertSrvBackupRead(hbc, pvbuffer, cbbuffer, pcbread).ok() | |
60 | } | |
61 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
62 | #[inline] | |
63 | pub unsafe fn CertSrvBackupTruncateLogs(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
64 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupTruncateLogs ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
65 | CertSrvBackupTruncateLogs(hbc).ok() | |
66 | } | |
67 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
68 | #[cfg(feature = "Win32_Foundation")] | |
69 | #[inline] | |
70 | pub unsafe fn CertSrvIsServerOnlineW<P0>(pwszservername: P0, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> | |
71 | where | |
72 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
73 | { | |
74 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvIsServerOnlineW ( pwszservername : :: windows::core::PCWSTR , pfserveronline : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); | |
75 | CertSrvIsServerOnlineW(pwszservername.into_param().abi(), pfserveronline).ok() | |
76 | } | |
77 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
78 | #[inline] | |
79 | pub unsafe fn CertSrvRestoreEnd(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
80 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
81 | CertSrvRestoreEnd(hbc).ok() | |
82 | } | |
83 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
84 | #[inline] | |
85 | pub unsafe fn CertSrvRestoreGetDatabaseLocationsW(hbc: *const ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { | |
86 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreGetDatabaseLocationsW ( hbc : *const ::core::ffi::c_void , ppwszzdatabaselocationlist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); | |
87 | CertSrvRestoreGetDatabaseLocationsW(hbc, ppwszzdatabaselocationlist, pcbsize).ok() | |
88 | } | |
89 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
90 | #[inline] | |
91 | pub unsafe fn CertSrvRestorePrepareW<P0>(pwszservername: P0, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
92 | where | |
93 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
94 | { | |
95 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestorePrepareW ( pwszservername : :: windows::core::PCWSTR , dwrestoreflags : u32 , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
96 | CertSrvRestorePrepareW(pwszservername.into_param().abi(), dwrestoreflags, phbc).ok() | |
97 | } | |
98 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
99 | #[inline] | |
100 | pub unsafe fn CertSrvRestoreRegisterComplete(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows::core::HRESULT) -> ::windows::core::Result<()> { | |
101 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterComplete ( hbc : *mut ::core::ffi::c_void , hrrestorestate : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); | |
102 | CertSrvRestoreRegisterComplete(hbc, hrrestorestate).ok() | |
103 | } | |
104 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
105 | #[inline] | |
106 | pub unsafe fn CertSrvRestoreRegisterThroughFile<P0, P1, P2>(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: P0, pwszlogpath: P1, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: P2, genlow: u32, genhigh: u32) -> ::windows::core::Result<()> | |
107 | where | |
108 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
109 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
110 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
111 | { | |
112 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterThroughFile ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); | |
113 | CertSrvRestoreRegisterThroughFile(hbc, pwszcheckpointfilepath.into_param().abi(), pwszlogpath.into_param().abi(), rgrstmap, crstmap, pwszbackuplogpath.into_param().abi(), genlow, genhigh).ok() | |
114 | } | |
115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
116 | #[inline] | |
117 | pub unsafe fn CertSrvRestoreRegisterW<P0, P1, P2>(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: P0, pwszlogpath: P1, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: P2, genlow: u32, genhigh: u32) -> ::windows::core::Result<()> | |
118 | where | |
119 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
120 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
121 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
122 | { | |
123 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterW ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); | |
124 | CertSrvRestoreRegisterW(hbc, pwszcheckpointfilepath.into_param().abi(), pwszlogpath.into_param().abi(), rgrstmap, crstmap, pwszbackuplogpath.into_param().abi(), genlow, genhigh).ok() | |
125 | } | |
126 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
127 | #[inline] | |
128 | pub unsafe fn CertSrvServerControlW<P0>(pwszservername: P0, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows::core::Result<()> | |
129 | where | |
130 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
131 | { | |
132 | ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvServerControlW ( pwszservername : :: windows::core::PCWSTR , dwcontrolflags : u32 , pcbout : *mut u32 , ppbout : *mut *mut u8 ) -> :: windows::core::HRESULT ); | |
133 | CertSrvServerControlW(pwszservername.into_param().abi(), dwcontrolflags, pcbout, ppbout).ok() | |
134 | } | |
135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
136 | #[cfg(feature = "Win32_Foundation")] | |
137 | #[inline] | |
138 | pub unsafe fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
139 | ::windows::imp::link ! ( "certpoleng.dll""system" fn PstAcquirePrivateKey ( pcert : *const super:: CERT_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); | |
140 | PstAcquirePrivateKey(pcert).ok() | |
141 | } | |
142 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] | |
143 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] | |
144 | #[inline] | |
145 | pub unsafe fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> ::windows::core::Result<()> { | |
146 | ::windows::imp::link ! ( "certpoleng.dll""system" 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 ); | |
147 | PstGetCertificateChain(pcert, ptrustedissuers, ppcertchaincontext).ok() | |
148 | } | |
149 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
150 | #[cfg(feature = "Win32_Foundation")] | |
151 | #[inline] | |
152 | pub unsafe fn PstGetCertificates<P0>(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, bisclient: P0, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> ::windows::core::Result<()> | |
153 | where | |
154 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
155 | { | |
156 | ::windows::imp::link ! ( "certpoleng.dll""system" 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 ); | |
157 | PstGetCertificates(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bisclient.into_param().abi(), pdwcertchaincontextcount, ppcertchaincontexts).ok() | |
158 | } | |
159 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] | |
160 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] | |
161 | #[inline] | |
162 | pub unsafe fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows::core::Result<()> { | |
163 | ::windows::imp::link ! ( "certpoleng.dll""system" 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 ); | |
164 | PstGetTrustAnchors(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pptrustedissuers).ok() | |
165 | } | |
166 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] | |
167 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] | |
168 | #[inline] | |
169 | pub unsafe fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pcertcontext: ::core::option::Option<*const super::CERT_CONTEXT>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows::core::Result<()> { | |
170 | ::windows::imp::link ! ( "certpoleng.dll""system" 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 ); | |
171 | PstGetTrustAnchorsEx(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null())), pptrustedissuers).ok() | |
172 | } | |
173 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
174 | #[cfg(feature = "Win32_Foundation")] | |
175 | #[inline] | |
176 | pub unsafe fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> ::windows::core::Result<()> { | |
177 | ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetUserNameForCertificate ( pcertcontext : *const super:: CERT_CONTEXT , username : *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); | |
178 | PstGetUserNameForCertificate(pcertcontext, username).ok() | |
179 | } | |
180 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] | |
181 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] | |
182 | #[inline] | |
183 | pub unsafe fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
184 | ::windows::imp::link ! ( "certpoleng.dll""system" 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 ); | |
185 | PstMapCertificate(pcert, ptokeninformationtype, pptokeninformation).ok() | |
186 | } | |
187 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
188 | #[cfg(feature = "Win32_Foundation")] | |
189 | #[inline] | |
190 | pub unsafe fn PstValidate<P0>(ptargetname: ::core::option::Option<*const super::super::super::Foundation::UNICODE_STRING>, bisclient: P0, prequestedissuancepolicy: ::core::option::Option<*const super::CERT_USAGE_MATCH>, phadditionalcertstore: ::core::option::Option<*const super::HCERTSTORE>, pcert: *const super::CERT_CONTEXT, pprovguid: ::core::option::Option<*mut ::windows::core::GUID>) -> ::windows::core::Result<()> | |
191 | where | |
192 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
193 | { | |
194 | ::windows::imp::link ! ( "certpoleng.dll""system" 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::core::GUID ) -> super::super::super::Foundation:: NTSTATUS ); | |
195 | PstValidate(::core::mem::transmute(ptargetname.unwrap_or(::std::ptr::null())), bisclient.into_param().abi(), ::core::mem::transmute(prequestedissuancepolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phadditionalcertstore.unwrap_or(::std::ptr::null())), pcert, ::core::mem::transmute(pprovguid.unwrap_or(::std::ptr::null_mut()))).ok() | |
196 | } | |
197 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
198 | #[cfg(feature = "Win32_System_Com")] | |
199 | #[repr(transparent)] | |
200 | pub struct IAlternativeName(::windows::core::IUnknown); | |
201 | #[cfg(feature = "Win32_System_Com")] | |
202 | impl IAlternativeName { | |
203 | pub unsafe fn InitializeFromString<P0>(&self, r#type: AlternativeNameType, strvalue: P0) -> ::windows::core::Result<()> | |
204 | where | |
205 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
206 | { | |
207 | (::windows::core::Interface::vtable(self).InitializeFromString)(::windows::core::Interface::as_raw(self), r#type, strvalue.into_param().abi()).ok() | |
208 | } | |
209 | pub unsafe fn InitializeFromRawData<P0>(&self, r#type: AlternativeNameType, encoding: EncodingType, strrawdata: P0) -> ::windows::core::Result<()> | |
210 | where | |
211 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
212 | { | |
213 | (::windows::core::Interface::vtable(self).InitializeFromRawData)(::windows::core::Interface::as_raw(self), r#type, encoding, strrawdata.into_param().abi()).ok() | |
214 | } | |
215 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
216 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
217 | pub unsafe fn InitializeFromOtherName<P0, P1, P2>(&self, pobjectid: P0, encoding: EncodingType, strrawdata: P1, tobewrapped: P2) -> ::windows::core::Result<()> | |
218 | where | |
219 | P0: ::windows::core::IntoParam<IObjectId>, | |
220 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
221 | P2: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
222 | { | |
223 | (::windows::core::Interface::vtable(self).InitializeFromOtherName)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strrawdata.into_param().abi(), tobewrapped.into_param().abi()).ok() | |
224 | } | |
225 | pub unsafe fn Type(&self) -> ::windows::core::Result<AlternativeNameType> { | |
226 | let mut result__ = ::windows::core::zeroed::<AlternativeNameType>(); | |
227 | (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
228 | } | |
229 | pub unsafe fn StrValue(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
230 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
231 | (::windows::core::Interface::vtable(self).StrValue)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
232 | } | |
233 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
234 | #[cfg(feature = "Win32_System_Com")] | |
235 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
236 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
237 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
238 | } | |
239 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
240 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
241 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
242 | } | |
243 | } | |
244 | #[cfg(feature = "Win32_System_Com")] | |
245 | ::windows::imp::interface_hierarchy!(IAlternativeName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
246 | #[cfg(feature = "Win32_System_Com")] | |
247 | impl ::core::cmp::PartialEq for IAlternativeName { | |
248 | fn eq(&self, other: &Self) -> bool { | |
249 | self.0 == other.0 | |
250 | } | |
251 | } | |
252 | #[cfg(feature = "Win32_System_Com")] | |
253 | impl ::core::cmp::Eq for IAlternativeName {} | |
254 | #[cfg(feature = "Win32_System_Com")] | |
255 | impl ::core::fmt::Debug for IAlternativeName { | |
256 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
257 | f.debug_tuple("IAlternativeName").field(&self.0).finish() | |
258 | } | |
259 | } | |
260 | #[cfg(feature = "Win32_System_Com")] | |
261 | unsafe impl ::windows::core::Interface for IAlternativeName { | |
262 | type Vtable = IAlternativeName_Vtbl; | |
263 | } | |
264 | #[cfg(feature = "Win32_System_Com")] | |
265 | impl ::core::clone::Clone for IAlternativeName { | |
266 | fn clone(&self) -> Self { | |
267 | Self(self.0.clone()) | |
268 | } | |
269 | } | |
270 | #[cfg(feature = "Win32_System_Com")] | |
271 | unsafe impl ::windows::core::ComInterface for IAlternativeName { | |
272 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab313_217d_11da_b2a4_000e7bbb2b09); | |
273 | } | |
274 | #[cfg(feature = "Win32_System_Com")] | |
275 | #[repr(C)] | |
276 | #[doc(hidden)] | |
277 | pub struct IAlternativeName_Vtbl { | |
278 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
279 | pub InitializeFromString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: AlternativeNameType, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
280 | pub InitializeFromRawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: AlternativeNameType, encoding: EncodingType, strrawdata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
281 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
282 | pub InitializeFromOtherName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, encoding: EncodingType, strrawdata: ::std::mem::MaybeUninit<::windows::core::BSTR>, tobewrapped: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
283 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] | |
284 | InitializeFromOtherName: usize, | |
285 | pub Type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut AlternativeNameType) -> ::windows::core::HRESULT, | |
286 | pub StrValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
287 | #[cfg(feature = "Win32_System_Com")] | |
288 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
289 | #[cfg(not(feature = "Win32_System_Com"))] | |
290 | ObjectId: usize, | |
291 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
292 | } | |
293 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
294 | #[cfg(feature = "Win32_System_Com")] | |
295 | #[repr(transparent)] | |
296 | pub struct IAlternativeNames(::windows::core::IUnknown); | |
297 | #[cfg(feature = "Win32_System_Com")] | |
298 | impl IAlternativeNames { | |
299 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
300 | #[cfg(feature = "Win32_System_Com")] | |
301 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IAlternativeName> { | |
302 | let mut result__ = ::windows::core::zeroed::<IAlternativeName>(); | |
303 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
304 | } | |
305 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
306 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
307 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
308 | } | |
309 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
310 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
311 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
312 | } | |
313 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
314 | #[cfg(feature = "Win32_System_Com")] | |
315 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
316 | where | |
317 | P0: ::windows::core::IntoParam<IAlternativeName>, | |
318 | { | |
319 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
320 | } | |
321 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
322 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
323 | } | |
324 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
325 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
326 | } | |
327 | } | |
328 | #[cfg(feature = "Win32_System_Com")] | |
329 | ::windows::imp::interface_hierarchy!(IAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
330 | #[cfg(feature = "Win32_System_Com")] | |
331 | impl ::core::cmp::PartialEq for IAlternativeNames { | |
332 | fn eq(&self, other: &Self) -> bool { | |
333 | self.0 == other.0 | |
334 | } | |
335 | } | |
336 | #[cfg(feature = "Win32_System_Com")] | |
337 | impl ::core::cmp::Eq for IAlternativeNames {} | |
338 | #[cfg(feature = "Win32_System_Com")] | |
339 | impl ::core::fmt::Debug for IAlternativeNames { | |
340 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
341 | f.debug_tuple("IAlternativeNames").field(&self.0).finish() | |
342 | } | |
343 | } | |
344 | #[cfg(feature = "Win32_System_Com")] | |
345 | unsafe impl ::windows::core::Interface for IAlternativeNames { | |
346 | type Vtable = IAlternativeNames_Vtbl; | |
347 | } | |
348 | #[cfg(feature = "Win32_System_Com")] | |
349 | impl ::core::clone::Clone for IAlternativeNames { | |
350 | fn clone(&self) -> Self { | |
351 | Self(self.0.clone()) | |
352 | } | |
353 | } | |
354 | #[cfg(feature = "Win32_System_Com")] | |
355 | unsafe impl ::windows::core::ComInterface for IAlternativeNames { | |
356 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab314_217d_11da_b2a4_000e7bbb2b09); | |
357 | } | |
358 | #[cfg(feature = "Win32_System_Com")] | |
359 | #[repr(C)] | |
360 | #[doc(hidden)] | |
361 | pub struct IAlternativeNames_Vtbl { | |
362 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
363 | #[cfg(feature = "Win32_System_Com")] | |
364 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
365 | #[cfg(not(feature = "Win32_System_Com"))] | |
366 | get_ItemByIndex: usize, | |
367 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
368 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
369 | #[cfg(feature = "Win32_System_Com")] | |
370 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
371 | #[cfg(not(feature = "Win32_System_Com"))] | |
372 | Add: usize, | |
373 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
374 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
375 | } | |
376 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
377 | #[cfg(feature = "Win32_System_Com")] | |
378 | #[repr(transparent)] | |
379 | pub struct IBinaryConverter(::windows::core::IUnknown); | |
380 | #[cfg(feature = "Win32_System_Com")] | |
381 | impl IBinaryConverter { | |
382 | pub unsafe fn StringToString<P0>(&self, strencodedin: P0, encodingin: EncodingType, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
383 | where | |
384 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
385 | { | |
386 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
387 | (::windows::core::Interface::vtable(self).StringToString)(::windows::core::Interface::as_raw(self), strencodedin.into_param().abi(), encodingin, encoding, &mut result__).from_abi(result__) | |
388 | } | |
389 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
390 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
391 | pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const super::super::super::System::Com::VARIANT, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
392 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
393 | (::windows::core::Interface::vtable(self).VariantByteArrayToString)(::windows::core::Interface::as_raw(self), pvarbytearray, encoding, &mut result__).from_abi(result__) | |
394 | } | |
395 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
396 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
397 | pub unsafe fn StringToVariantByteArray<P0>(&self, strencoded: P0, encoding: EncodingType) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
398 | where | |
399 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
400 | { | |
401 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
402 | (::windows::core::Interface::vtable(self).StringToVariantByteArray)(::windows::core::Interface::as_raw(self), strencoded.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
403 | } | |
404 | } | |
405 | #[cfg(feature = "Win32_System_Com")] | |
406 | ::windows::imp::interface_hierarchy!(IBinaryConverter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
407 | #[cfg(feature = "Win32_System_Com")] | |
408 | impl ::core::cmp::PartialEq for IBinaryConverter { | |
409 | fn eq(&self, other: &Self) -> bool { | |
410 | self.0 == other.0 | |
411 | } | |
412 | } | |
413 | #[cfg(feature = "Win32_System_Com")] | |
414 | impl ::core::cmp::Eq for IBinaryConverter {} | |
415 | #[cfg(feature = "Win32_System_Com")] | |
416 | impl ::core::fmt::Debug for IBinaryConverter { | |
417 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
418 | f.debug_tuple("IBinaryConverter").field(&self.0).finish() | |
419 | } | |
420 | } | |
421 | #[cfg(feature = "Win32_System_Com")] | |
422 | unsafe impl ::windows::core::Interface for IBinaryConverter { | |
423 | type Vtable = IBinaryConverter_Vtbl; | |
424 | } | |
425 | #[cfg(feature = "Win32_System_Com")] | |
426 | impl ::core::clone::Clone for IBinaryConverter { | |
427 | fn clone(&self) -> Self { | |
428 | Self(self.0.clone()) | |
429 | } | |
430 | } | |
431 | #[cfg(feature = "Win32_System_Com")] | |
432 | unsafe impl ::windows::core::ComInterface for IBinaryConverter { | |
433 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab302_217d_11da_b2a4_000e7bbb2b09); | |
434 | } | |
435 | #[cfg(feature = "Win32_System_Com")] | |
436 | #[repr(C)] | |
437 | #[doc(hidden)] | |
438 | pub struct IBinaryConverter_Vtbl { | |
439 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
440 | pub StringToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodedin: ::std::mem::MaybeUninit<::windows::core::BSTR>, encodingin: EncodingType, encoding: EncodingType, pstrencoded: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
441 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
442 | pub VariantByteArrayToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarbytearray: *const super::super::super::System::Com::VARIANT, encoding: EncodingType, pstrencoded: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
443 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
444 | VariantByteArrayToString: usize, | |
445 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
446 | pub StringToVariantByteArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencoded: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, pvarbytearray: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
447 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
448 | StringToVariantByteArray: usize, | |
449 | } | |
450 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
451 | #[cfg(feature = "Win32_System_Com")] | |
452 | #[repr(transparent)] | |
453 | pub struct IBinaryConverter2(::windows::core::IUnknown); | |
454 | #[cfg(feature = "Win32_System_Com")] | |
455 | impl IBinaryConverter2 { | |
456 | pub unsafe fn StringToString<P0>(&self, strencodedin: P0, encodingin: EncodingType, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
457 | where | |
458 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
459 | { | |
460 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
461 | (::windows::core::Interface::vtable(self).base__.StringToString)(::windows::core::Interface::as_raw(self), strencodedin.into_param().abi(), encodingin, encoding, &mut result__).from_abi(result__) | |
462 | } | |
463 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
464 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
465 | pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const super::super::super::System::Com::VARIANT, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
466 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
467 | (::windows::core::Interface::vtable(self).base__.VariantByteArrayToString)(::windows::core::Interface::as_raw(self), pvarbytearray, encoding, &mut result__).from_abi(result__) | |
468 | } | |
469 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
470 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
471 | pub unsafe fn StringToVariantByteArray<P0>(&self, strencoded: P0, encoding: EncodingType) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
472 | where | |
473 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
474 | { | |
475 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
476 | (::windows::core::Interface::vtable(self).base__.StringToVariantByteArray)(::windows::core::Interface::as_raw(self), strencoded.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
477 | } | |
478 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
479 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
480 | pub unsafe fn StringArrayToVariantArray(&self, pvarstringarray: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
481 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
482 | (::windows::core::Interface::vtable(self).StringArrayToVariantArray)(::windows::core::Interface::as_raw(self), pvarstringarray, &mut result__).from_abi(result__) | |
483 | } | |
484 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
485 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
486 | pub unsafe fn VariantArrayToStringArray(&self, pvarvariantarray: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
487 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
488 | (::windows::core::Interface::vtable(self).VariantArrayToStringArray)(::windows::core::Interface::as_raw(self), pvarvariantarray, &mut result__).from_abi(result__) | |
489 | } | |
490 | } | |
491 | #[cfg(feature = "Win32_System_Com")] | |
492 | ::windows::imp::interface_hierarchy!(IBinaryConverter2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); | |
493 | #[cfg(feature = "Win32_System_Com")] | |
494 | impl ::core::cmp::PartialEq for IBinaryConverter2 { | |
495 | fn eq(&self, other: &Self) -> bool { | |
496 | self.0 == other.0 | |
497 | } | |
498 | } | |
499 | #[cfg(feature = "Win32_System_Com")] | |
500 | impl ::core::cmp::Eq for IBinaryConverter2 {} | |
501 | #[cfg(feature = "Win32_System_Com")] | |
502 | impl ::core::fmt::Debug for IBinaryConverter2 { | |
503 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
504 | f.debug_tuple("IBinaryConverter2").field(&self.0).finish() | |
505 | } | |
506 | } | |
507 | #[cfg(feature = "Win32_System_Com")] | |
508 | unsafe impl ::windows::core::Interface for IBinaryConverter2 { | |
509 | type Vtable = IBinaryConverter2_Vtbl; | |
510 | } | |
511 | #[cfg(feature = "Win32_System_Com")] | |
512 | impl ::core::clone::Clone for IBinaryConverter2 { | |
513 | fn clone(&self) -> Self { | |
514 | Self(self.0.clone()) | |
515 | } | |
516 | } | |
517 | #[cfg(feature = "Win32_System_Com")] | |
518 | unsafe impl ::windows::core::ComInterface for IBinaryConverter2 { | |
519 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8d7928b4_4e17_428d_9a17_728df00d1b2b); | |
520 | } | |
521 | #[cfg(feature = "Win32_System_Com")] | |
522 | #[repr(C)] | |
523 | #[doc(hidden)] | |
524 | pub struct IBinaryConverter2_Vtbl { | |
525 | pub base__: IBinaryConverter_Vtbl, | |
526 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
527 | pub StringArrayToVariantArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarstringarray: *const super::super::super::System::Com::VARIANT, pvarvariantarray: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
528 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
529 | StringArrayToVariantArray: usize, | |
530 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
531 | pub VariantArrayToStringArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarvariantarray: *const super::super::super::System::Com::VARIANT, pvarstringarray: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
532 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
533 | VariantArrayToStringArray: usize, | |
534 | } | |
535 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
536 | #[cfg(feature = "Win32_System_Com")] | |
537 | #[repr(transparent)] | |
538 | pub struct ICEnroll(::windows::core::IUnknown); | |
539 | #[cfg(feature = "Win32_System_Com")] | |
540 | impl ICEnroll { | |
541 | pub unsafe fn createFilePKCS10<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
542 | where | |
543 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
544 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
545 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
546 | { | |
547 | (::windows::core::Interface::vtable(self).createFilePKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
548 | } | |
549 | pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
550 | where | |
551 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
552 | { | |
553 | (::windows::core::Interface::vtable(self).acceptFilePKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
554 | } | |
555 | pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> ::windows::core::Result<::windows::core::BSTR> | |
556 | where | |
557 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
558 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
559 | { | |
560 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
561 | (::windows::core::Interface::vtable(self).createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), &mut result__).from_abi(result__) | |
562 | } | |
563 | pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
564 | where | |
565 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
566 | { | |
567 | (::windows::core::Interface::vtable(self).acceptPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
568 | } | |
569 | pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
570 | where | |
571 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
572 | { | |
573 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
574 | (::windows::core::Interface::vtable(self).getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into_param().abi(), &mut result__).from_abi(result__) | |
575 | } | |
576 | pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
577 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
578 | (::windows::core::Interface::vtable(self).enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, &mut result__).from_abi(result__) | |
579 | } | |
580 | pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
581 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
582 | (::windows::core::Interface::vtable(self).enumContainers)(::windows::core::Interface::as_raw(self), dwindex, &mut result__).from_abi(result__) | |
583 | } | |
584 | pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> ::windows::core::Result<()> | |
585 | where | |
586 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
587 | { | |
588 | (::windows::core::Interface::vtable(self).freeRequestInfo)(::windows::core::Interface::as_raw(self), pkcs7orpkcs10.into_param().abi()).ok() | |
589 | } | |
590 | pub unsafe fn MyStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
591 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
592 | (::windows::core::Interface::vtable(self).MyStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
593 | } | |
594 | pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
595 | where | |
596 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
597 | { | |
598 | (::windows::core::Interface::vtable(self).SetMyStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
599 | } | |
600 | pub unsafe fn MyStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
601 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
602 | (::windows::core::Interface::vtable(self).MyStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
603 | } | |
604 | pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
605 | where | |
606 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
607 | { | |
608 | (::windows::core::Interface::vtable(self).SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
609 | } | |
610 | pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result<i32> { | |
611 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
612 | (::windows::core::Interface::vtable(self).MyStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
613 | } | |
614 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
615 | (::windows::core::Interface::vtable(self).SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
616 | } | |
617 | pub unsafe fn CAStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
618 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
619 | (::windows::core::Interface::vtable(self).CAStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
620 | } | |
621 | pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
622 | where | |
623 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
624 | { | |
625 | (::windows::core::Interface::vtable(self).SetCAStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
626 | } | |
627 | pub unsafe fn CAStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
628 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
629 | (::windows::core::Interface::vtable(self).CAStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
630 | } | |
631 | pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
632 | where | |
633 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
634 | { | |
635 | (::windows::core::Interface::vtable(self).SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
636 | } | |
637 | pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result<i32> { | |
638 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
639 | (::windows::core::Interface::vtable(self).CAStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
640 | } | |
641 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
642 | (::windows::core::Interface::vtable(self).SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
643 | } | |
644 | pub unsafe fn RootStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
645 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
646 | (::windows::core::Interface::vtable(self).RootStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
647 | } | |
648 | pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
649 | where | |
650 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
651 | { | |
652 | (::windows::core::Interface::vtable(self).SetRootStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
653 | } | |
654 | pub unsafe fn RootStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
655 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
656 | (::windows::core::Interface::vtable(self).RootStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
657 | } | |
658 | pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
659 | where | |
660 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
661 | { | |
662 | (::windows::core::Interface::vtable(self).SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
663 | } | |
664 | pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result<i32> { | |
665 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
666 | (::windows::core::Interface::vtable(self).RootStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
667 | } | |
668 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
669 | (::windows::core::Interface::vtable(self).SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
670 | } | |
671 | pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
672 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
673 | (::windows::core::Interface::vtable(self).RequestStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
674 | } | |
675 | pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
676 | where | |
677 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
678 | { | |
679 | (::windows::core::Interface::vtable(self).SetRequestStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
680 | } | |
681 | pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
682 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
683 | (::windows::core::Interface::vtable(self).RequestStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
684 | } | |
685 | pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
686 | where | |
687 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
688 | { | |
689 | (::windows::core::Interface::vtable(self).SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
690 | } | |
691 | pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result<i32> { | |
692 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
693 | (::windows::core::Interface::vtable(self).RequestStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
694 | } | |
695 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
696 | (::windows::core::Interface::vtable(self).SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
697 | } | |
698 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
699 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
700 | (::windows::core::Interface::vtable(self).ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
701 | } | |
702 | pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> ::windows::core::Result<()> | |
703 | where | |
704 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
705 | { | |
706 | (::windows::core::Interface::vtable(self).SetContainerName)(::windows::core::Interface::as_raw(self), bstrcontainer.into_param().abi()).ok() | |
707 | } | |
708 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
709 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
710 | (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
711 | } | |
712 | pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> ::windows::core::Result<()> | |
713 | where | |
714 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
715 | { | |
716 | (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into_param().abi()).ok() | |
717 | } | |
718 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<i32> { | |
719 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
720 | (::windows::core::Interface::vtable(self).ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
721 | } | |
722 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
723 | (::windows::core::Interface::vtable(self).SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
724 | } | |
725 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<i32> { | |
726 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
727 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
728 | } | |
729 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
730 | (::windows::core::Interface::vtable(self).SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
731 | } | |
732 | pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result<i32> { | |
733 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
734 | (::windows::core::Interface::vtable(self).ProviderFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
735 | } | |
736 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
737 | (::windows::core::Interface::vtable(self).SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
738 | } | |
739 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
740 | #[cfg(feature = "Win32_Foundation")] | |
741 | pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
742 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
743 | (::windows::core::Interface::vtable(self).UseExistingKeySet)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
744 | } | |
745 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
746 | #[cfg(feature = "Win32_Foundation")] | |
747 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
748 | where | |
749 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
750 | { | |
751 | (::windows::core::Interface::vtable(self).SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
752 | } | |
753 | pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result<i32> { | |
754 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
755 | (::windows::core::Interface::vtable(self).GenKeyFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
756 | } | |
757 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
758 | (::windows::core::Interface::vtable(self).SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
759 | } | |
760 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
761 | #[cfg(feature = "Win32_Foundation")] | |
762 | pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
763 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
764 | (::windows::core::Interface::vtable(self).DeleteRequestCert)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
765 | } | |
766 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
767 | #[cfg(feature = "Win32_Foundation")] | |
768 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
769 | where | |
770 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
771 | { | |
772 | (::windows::core::Interface::vtable(self).SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
773 | } | |
774 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
775 | #[cfg(feature = "Win32_Foundation")] | |
776 | pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
777 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
778 | (::windows::core::Interface::vtable(self).WriteCertToCSP)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
779 | } | |
780 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
781 | #[cfg(feature = "Win32_Foundation")] | |
782 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
783 | where | |
784 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
785 | { | |
786 | (::windows::core::Interface::vtable(self).SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
787 | } | |
788 | pub unsafe fn SPCFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
789 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
790 | (::windows::core::Interface::vtable(self).SPCFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
791 | } | |
792 | pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
793 | where | |
794 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
795 | { | |
796 | (::windows::core::Interface::vtable(self).SetSPCFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
797 | } | |
798 | pub unsafe fn PVKFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
799 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
800 | (::windows::core::Interface::vtable(self).PVKFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
801 | } | |
802 | pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
803 | where | |
804 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
805 | { | |
806 | (::windows::core::Interface::vtable(self).SetPVKFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
807 | } | |
808 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
809 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
810 | (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
811 | } | |
812 | pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
813 | where | |
814 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
815 | { | |
816 | (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
817 | } | |
818 | } | |
819 | #[cfg(feature = "Win32_System_Com")] | |
820 | ::windows::imp::interface_hierarchy!(ICEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
821 | #[cfg(feature = "Win32_System_Com")] | |
822 | impl ::core::cmp::PartialEq for ICEnroll { | |
823 | fn eq(&self, other: &Self) -> bool { | |
824 | self.0 == other.0 | |
825 | } | |
826 | } | |
827 | #[cfg(feature = "Win32_System_Com")] | |
828 | impl ::core::cmp::Eq for ICEnroll {} | |
829 | #[cfg(feature = "Win32_System_Com")] | |
830 | impl ::core::fmt::Debug for ICEnroll { | |
831 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
832 | f.debug_tuple("ICEnroll").field(&self.0).finish() | |
833 | } | |
834 | } | |
835 | #[cfg(feature = "Win32_System_Com")] | |
836 | unsafe impl ::windows::core::Interface for ICEnroll { | |
837 | type Vtable = ICEnroll_Vtbl; | |
838 | } | |
839 | #[cfg(feature = "Win32_System_Com")] | |
840 | impl ::core::clone::Clone for ICEnroll { | |
841 | fn clone(&self) -> Self { | |
842 | Self(self.0.clone()) | |
843 | } | |
844 | } | |
845 | #[cfg(feature = "Win32_System_Com")] | |
846 | unsafe impl ::windows::core::ComInterface for ICEnroll { | |
847 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x43f8f288_7a20_11d0_8f06_00c04fc295e1); | |
848 | } | |
849 | #[cfg(feature = "Win32_System_Com")] | |
850 | #[repr(C)] | |
851 | #[doc(hidden)] | |
852 | pub struct ICEnroll_Vtbl { | |
853 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
854 | pub createFilePKCS10: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dnname: ::std::mem::MaybeUninit<::windows::core::BSTR>, usage: ::std::mem::MaybeUninit<::windows::core::BSTR>, wszpkcs10filename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
855 | pub acceptFilePKCS7: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wszpkcs7filename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
856 | pub createPKCS10: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dnname: ::std::mem::MaybeUninit<::windows::core::BSTR>, usage: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppkcs10: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
857 | pub acceptPKCS7: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
858 | pub getCertFromPKCS7: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wszpkcs7: ::std::mem::MaybeUninit<::windows::core::BSTR>, pbstrcert: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
859 | pub enumProviders: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, dwflags: i32, pbstrprovname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
860 | pub enumContainers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, pbstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
861 | pub freeRequestInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7orpkcs10: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
862 | pub MyStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
863 | pub SetMyStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
864 | pub MyStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrtype: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
865 | pub SetMyStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtype: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
866 | pub MyStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
867 | pub SetMyStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
868 | pub CAStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
869 | pub SetCAStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
870 | pub CAStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrtype: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
871 | pub SetCAStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtype: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
872 | pub CAStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
873 | pub SetCAStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
874 | pub RootStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
875 | pub SetRootStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
876 | pub RootStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrtype: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
877 | pub SetRootStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtype: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
878 | pub RootStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
879 | pub SetRootStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
880 | pub RequestStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
881 | pub SetRequestStoreName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
882 | pub RequestStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrtype: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
883 | pub SetRequestStoreType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtype: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
884 | pub RequestStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
885 | pub SetRequestStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
886 | pub ContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrcontainer: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
887 | pub SetContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrcontainer: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
888 | pub ProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrprovider: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
889 | pub SetProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrprovider: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
890 | pub ProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwtype: *mut i32) -> ::windows::core::HRESULT, | |
891 | pub SetProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwtype: i32) -> ::windows::core::HRESULT, | |
892 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdw: *mut i32) -> ::windows::core::HRESULT, | |
893 | pub SetKeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dw: i32) -> ::windows::core::HRESULT, | |
894 | pub ProviderFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
895 | pub SetProviderFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
896 | #[cfg(feature = "Win32_Foundation")] | |
897 | pub UseExistingKeySet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fuseexistingkeys: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
898 | #[cfg(not(feature = "Win32_Foundation"))] | |
899 | UseExistingKeySet: usize, | |
900 | #[cfg(feature = "Win32_Foundation")] | |
901 | pub SetUseExistingKeySet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fuseexistingkeys: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
902 | #[cfg(not(feature = "Win32_Foundation"))] | |
903 | SetUseExistingKeySet: usize, | |
904 | pub GenKeyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
905 | pub SetGenKeyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
906 | #[cfg(feature = "Win32_Foundation")] | |
907 | pub DeleteRequestCert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdelete: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
908 | #[cfg(not(feature = "Win32_Foundation"))] | |
909 | DeleteRequestCert: usize, | |
910 | #[cfg(feature = "Win32_Foundation")] | |
911 | pub SetDeleteRequestCert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdelete: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
912 | #[cfg(not(feature = "Win32_Foundation"))] | |
913 | SetDeleteRequestCert: usize, | |
914 | #[cfg(feature = "Win32_Foundation")] | |
915 | pub WriteCertToCSP: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
916 | #[cfg(not(feature = "Win32_Foundation"))] | |
917 | WriteCertToCSP: usize, | |
918 | #[cfg(feature = "Win32_Foundation")] | |
919 | pub SetWriteCertToCSP: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
920 | #[cfg(not(feature = "Win32_Foundation"))] | |
921 | SetWriteCertToCSP: usize, | |
922 | pub SPCFileName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
923 | pub SetSPCFileName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
924 | pub PVKFileName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
925 | pub SetPVKFileName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
926 | pub HashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
927 | pub SetHashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
928 | } | |
929 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
930 | #[cfg(feature = "Win32_System_Com")] | |
931 | #[repr(transparent)] | |
932 | pub struct ICEnroll2(::windows::core::IUnknown); | |
933 | #[cfg(feature = "Win32_System_Com")] | |
934 | impl ICEnroll2 { | |
935 | pub unsafe fn createFilePKCS10<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
936 | where | |
937 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
938 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
939 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
940 | { | |
941 | (::windows::core::Interface::vtable(self).base__.createFilePKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
942 | } | |
943 | pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
944 | where | |
945 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
946 | { | |
947 | (::windows::core::Interface::vtable(self).base__.acceptFilePKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
948 | } | |
949 | pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> ::windows::core::Result<::windows::core::BSTR> | |
950 | where | |
951 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
952 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
953 | { | |
954 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
955 | (::windows::core::Interface::vtable(self).base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), &mut result__).from_abi(result__) | |
956 | } | |
957 | pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
958 | where | |
959 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
960 | { | |
961 | (::windows::core::Interface::vtable(self).base__.acceptPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
962 | } | |
963 | pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
964 | where | |
965 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
966 | { | |
967 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
968 | (::windows::core::Interface::vtable(self).base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into_param().abi(), &mut result__).from_abi(result__) | |
969 | } | |
970 | pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
971 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
972 | (::windows::core::Interface::vtable(self).base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, &mut result__).from_abi(result__) | |
973 | } | |
974 | pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
975 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
976 | (::windows::core::Interface::vtable(self).base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, &mut result__).from_abi(result__) | |
977 | } | |
978 | pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> ::windows::core::Result<()> | |
979 | where | |
980 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
981 | { | |
982 | (::windows::core::Interface::vtable(self).base__.freeRequestInfo)(::windows::core::Interface::as_raw(self), pkcs7orpkcs10.into_param().abi()).ok() | |
983 | } | |
984 | pub unsafe fn MyStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
985 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
986 | (::windows::core::Interface::vtable(self).base__.MyStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
987 | } | |
988 | pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
989 | where | |
990 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
991 | { | |
992 | (::windows::core::Interface::vtable(self).base__.SetMyStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
993 | } | |
994 | pub unsafe fn MyStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
995 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
996 | (::windows::core::Interface::vtable(self).base__.MyStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
997 | } | |
998 | pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
999 | where | |
1000 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1001 | { | |
1002 | (::windows::core::Interface::vtable(self).base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1003 | } | |
1004 | pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1005 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1006 | (::windows::core::Interface::vtable(self).base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1007 | } | |
1008 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1009 | (::windows::core::Interface::vtable(self).base__.SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1010 | } | |
1011 | pub unsafe fn CAStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1012 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1013 | (::windows::core::Interface::vtable(self).base__.CAStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1014 | } | |
1015 | pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1016 | where | |
1017 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1018 | { | |
1019 | (::windows::core::Interface::vtable(self).base__.SetCAStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1020 | } | |
1021 | pub unsafe fn CAStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1022 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1023 | (::windows::core::Interface::vtable(self).base__.CAStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1024 | } | |
1025 | pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1026 | where | |
1027 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1028 | { | |
1029 | (::windows::core::Interface::vtable(self).base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1030 | } | |
1031 | pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1032 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1033 | (::windows::core::Interface::vtable(self).base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1034 | } | |
1035 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1036 | (::windows::core::Interface::vtable(self).base__.SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1037 | } | |
1038 | pub unsafe fn RootStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1039 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1040 | (::windows::core::Interface::vtable(self).base__.RootStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1041 | } | |
1042 | pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1043 | where | |
1044 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1045 | { | |
1046 | (::windows::core::Interface::vtable(self).base__.SetRootStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1047 | } | |
1048 | pub unsafe fn RootStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1049 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1050 | (::windows::core::Interface::vtable(self).base__.RootStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1051 | } | |
1052 | pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1053 | where | |
1054 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1055 | { | |
1056 | (::windows::core::Interface::vtable(self).base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1057 | } | |
1058 | pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1059 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1060 | (::windows::core::Interface::vtable(self).base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1061 | } | |
1062 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1063 | (::windows::core::Interface::vtable(self).base__.SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1064 | } | |
1065 | pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1066 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1067 | (::windows::core::Interface::vtable(self).base__.RequestStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1068 | } | |
1069 | pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1070 | where | |
1071 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1072 | { | |
1073 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1074 | } | |
1075 | pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1076 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1077 | (::windows::core::Interface::vtable(self).base__.RequestStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1078 | } | |
1079 | pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1080 | where | |
1081 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1082 | { | |
1083 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1084 | } | |
1085 | pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1086 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1087 | (::windows::core::Interface::vtable(self).base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1088 | } | |
1089 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1090 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1091 | } | |
1092 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1093 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1094 | (::windows::core::Interface::vtable(self).base__.ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1095 | } | |
1096 | pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> ::windows::core::Result<()> | |
1097 | where | |
1098 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1099 | { | |
1100 | (::windows::core::Interface::vtable(self).base__.SetContainerName)(::windows::core::Interface::as_raw(self), bstrcontainer.into_param().abi()).ok() | |
1101 | } | |
1102 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1103 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1104 | (::windows::core::Interface::vtable(self).base__.ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1105 | } | |
1106 | pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> ::windows::core::Result<()> | |
1107 | where | |
1108 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1109 | { | |
1110 | (::windows::core::Interface::vtable(self).base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into_param().abi()).ok() | |
1111 | } | |
1112 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<i32> { | |
1113 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1114 | (::windows::core::Interface::vtable(self).base__.ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1115 | } | |
1116 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
1117 | (::windows::core::Interface::vtable(self).base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
1118 | } | |
1119 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<i32> { | |
1120 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1121 | (::windows::core::Interface::vtable(self).base__.KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1122 | } | |
1123 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
1124 | (::windows::core::Interface::vtable(self).base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
1125 | } | |
1126 | pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result<i32> { | |
1127 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1128 | (::windows::core::Interface::vtable(self).base__.ProviderFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1129 | } | |
1130 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1131 | (::windows::core::Interface::vtable(self).base__.SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1132 | } | |
1133 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1134 | #[cfg(feature = "Win32_Foundation")] | |
1135 | pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1136 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1137 | (::windows::core::Interface::vtable(self).base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1138 | } | |
1139 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1140 | #[cfg(feature = "Win32_Foundation")] | |
1141 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
1142 | where | |
1143 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1144 | { | |
1145 | (::windows::core::Interface::vtable(self).base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
1146 | } | |
1147 | pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result<i32> { | |
1148 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1149 | (::windows::core::Interface::vtable(self).base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1150 | } | |
1151 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1152 | (::windows::core::Interface::vtable(self).base__.SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1153 | } | |
1154 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1155 | #[cfg(feature = "Win32_Foundation")] | |
1156 | pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1157 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1158 | (::windows::core::Interface::vtable(self).base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1159 | } | |
1160 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1161 | #[cfg(feature = "Win32_Foundation")] | |
1162 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
1163 | where | |
1164 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1165 | { | |
1166 | (::windows::core::Interface::vtable(self).base__.SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
1167 | } | |
1168 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1169 | #[cfg(feature = "Win32_Foundation")] | |
1170 | pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1171 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1172 | (::windows::core::Interface::vtable(self).base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1173 | } | |
1174 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1175 | #[cfg(feature = "Win32_Foundation")] | |
1176 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1177 | where | |
1178 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1179 | { | |
1180 | (::windows::core::Interface::vtable(self).base__.SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1181 | } | |
1182 | pub unsafe fn SPCFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1183 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1184 | (::windows::core::Interface::vtable(self).base__.SPCFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1185 | } | |
1186 | pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1187 | where | |
1188 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1189 | { | |
1190 | (::windows::core::Interface::vtable(self).base__.SetSPCFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1191 | } | |
1192 | pub unsafe fn PVKFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1193 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1194 | (::windows::core::Interface::vtable(self).base__.PVKFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1195 | } | |
1196 | pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1197 | where | |
1198 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1199 | { | |
1200 | (::windows::core::Interface::vtable(self).base__.SetPVKFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1201 | } | |
1202 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1203 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1204 | (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1205 | } | |
1206 | pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1207 | where | |
1208 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1209 | { | |
1210 | (::windows::core::Interface::vtable(self).base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1211 | } | |
1212 | pub unsafe fn addCertTypeToRequest<P0>(&self, certtype: P0) -> ::windows::core::Result<()> | |
1213 | where | |
1214 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1215 | { | |
1216 | (::windows::core::Interface::vtable(self).addCertTypeToRequest)(::windows::core::Interface::as_raw(self), certtype.into_param().abi()).ok() | |
1217 | } | |
1218 | pub unsafe fn addNameValuePairToSignature<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
1219 | where | |
1220 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1221 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1222 | { | |
1223 | (::windows::core::Interface::vtable(self).addNameValuePairToSignature)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
1224 | } | |
1225 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1226 | #[cfg(feature = "Win32_Foundation")] | |
1227 | pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1228 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1229 | (::windows::core::Interface::vtable(self).WriteCertToUserDS)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1230 | } | |
1231 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1232 | #[cfg(feature = "Win32_Foundation")] | |
1233 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1234 | where | |
1235 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1236 | { | |
1237 | (::windows::core::Interface::vtable(self).SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1238 | } | |
1239 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1240 | #[cfg(feature = "Win32_Foundation")] | |
1241 | pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1242 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1243 | (::windows::core::Interface::vtable(self).EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1244 | } | |
1245 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1246 | #[cfg(feature = "Win32_Foundation")] | |
1247 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1248 | where | |
1249 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1250 | { | |
1251 | (::windows::core::Interface::vtable(self).SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1252 | } | |
1253 | } | |
1254 | #[cfg(feature = "Win32_System_Com")] | |
1255 | ::windows::imp::interface_hierarchy!(ICEnroll2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll); | |
1256 | #[cfg(feature = "Win32_System_Com")] | |
1257 | impl ::core::cmp::PartialEq for ICEnroll2 { | |
1258 | fn eq(&self, other: &Self) -> bool { | |
1259 | self.0 == other.0 | |
1260 | } | |
1261 | } | |
1262 | #[cfg(feature = "Win32_System_Com")] | |
1263 | impl ::core::cmp::Eq for ICEnroll2 {} | |
1264 | #[cfg(feature = "Win32_System_Com")] | |
1265 | impl ::core::fmt::Debug for ICEnroll2 { | |
1266 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1267 | f.debug_tuple("ICEnroll2").field(&self.0).finish() | |
1268 | } | |
1269 | } | |
1270 | #[cfg(feature = "Win32_System_Com")] | |
1271 | unsafe impl ::windows::core::Interface for ICEnroll2 { | |
1272 | type Vtable = ICEnroll2_Vtbl; | |
1273 | } | |
1274 | #[cfg(feature = "Win32_System_Com")] | |
1275 | impl ::core::clone::Clone for ICEnroll2 { | |
1276 | fn clone(&self) -> Self { | |
1277 | Self(self.0.clone()) | |
1278 | } | |
1279 | } | |
1280 | #[cfg(feature = "Win32_System_Com")] | |
1281 | unsafe impl ::windows::core::ComInterface for ICEnroll2 { | |
1282 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x704ca730_c90b_11d1_9bec_00c04fc295e1); | |
1283 | } | |
1284 | #[cfg(feature = "Win32_System_Com")] | |
1285 | #[repr(C)] | |
1286 | #[doc(hidden)] | |
1287 | pub struct ICEnroll2_Vtbl { | |
1288 | pub base__: ICEnroll_Vtbl, | |
1289 | pub addCertTypeToRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certtype: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
1290 | pub addNameValuePairToSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::std::mem::MaybeUninit<::windows::core::BSTR>, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
1291 | #[cfg(feature = "Win32_Foundation")] | |
1292 | pub WriteCertToUserDS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1293 | #[cfg(not(feature = "Win32_Foundation"))] | |
1294 | WriteCertToUserDS: usize, | |
1295 | #[cfg(feature = "Win32_Foundation")] | |
1296 | pub SetWriteCertToUserDS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1297 | #[cfg(not(feature = "Win32_Foundation"))] | |
1298 | SetWriteCertToUserDS: usize, | |
1299 | #[cfg(feature = "Win32_Foundation")] | |
1300 | pub EnableT61DNEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1301 | #[cfg(not(feature = "Win32_Foundation"))] | |
1302 | EnableT61DNEncoding: usize, | |
1303 | #[cfg(feature = "Win32_Foundation")] | |
1304 | pub SetEnableT61DNEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1305 | #[cfg(not(feature = "Win32_Foundation"))] | |
1306 | SetEnableT61DNEncoding: usize, | |
1307 | } | |
1308 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
1309 | #[cfg(feature = "Win32_System_Com")] | |
1310 | #[repr(transparent)] | |
1311 | pub struct ICEnroll3(::windows::core::IUnknown); | |
1312 | #[cfg(feature = "Win32_System_Com")] | |
1313 | impl ICEnroll3 { | |
1314 | pub unsafe fn createFilePKCS10<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
1315 | where | |
1316 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1317 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1318 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1319 | { | |
1320 | (::windows::core::Interface::vtable(self).base__.base__.createFilePKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
1321 | } | |
1322 | pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
1323 | where | |
1324 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1325 | { | |
1326 | (::windows::core::Interface::vtable(self).base__.base__.acceptFilePKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
1327 | } | |
1328 | pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> ::windows::core::Result<::windows::core::BSTR> | |
1329 | where | |
1330 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1331 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1332 | { | |
1333 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1334 | (::windows::core::Interface::vtable(self).base__.base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), &mut result__).from_abi(result__) | |
1335 | } | |
1336 | pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
1337 | where | |
1338 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1339 | { | |
1340 | (::windows::core::Interface::vtable(self).base__.base__.acceptPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
1341 | } | |
1342 | pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
1343 | where | |
1344 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1345 | { | |
1346 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1347 | (::windows::core::Interface::vtable(self).base__.base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into_param().abi(), &mut result__).from_abi(result__) | |
1348 | } | |
1349 | pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
1350 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1351 | (::windows::core::Interface::vtable(self).base__.base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, &mut result__).from_abi(result__) | |
1352 | } | |
1353 | pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
1354 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1355 | (::windows::core::Interface::vtable(self).base__.base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, &mut result__).from_abi(result__) | |
1356 | } | |
1357 | pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> ::windows::core::Result<()> | |
1358 | where | |
1359 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1360 | { | |
1361 | (::windows::core::Interface::vtable(self).base__.base__.freeRequestInfo)(::windows::core::Interface::as_raw(self), pkcs7orpkcs10.into_param().abi()).ok() | |
1362 | } | |
1363 | pub unsafe fn MyStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1364 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1365 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1366 | } | |
1367 | pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1368 | where | |
1369 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1370 | { | |
1371 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1372 | } | |
1373 | pub unsafe fn MyStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1374 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1375 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1376 | } | |
1377 | pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1378 | where | |
1379 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1380 | { | |
1381 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1382 | } | |
1383 | pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1384 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1385 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1386 | } | |
1387 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1388 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1389 | } | |
1390 | pub unsafe fn CAStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1391 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1392 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1393 | } | |
1394 | pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1395 | where | |
1396 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1397 | { | |
1398 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1399 | } | |
1400 | pub unsafe fn CAStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1401 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1402 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1403 | } | |
1404 | pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1405 | where | |
1406 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1407 | { | |
1408 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1409 | } | |
1410 | pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1411 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1412 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1413 | } | |
1414 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1415 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1416 | } | |
1417 | pub unsafe fn RootStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1418 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1419 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1420 | } | |
1421 | pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1422 | where | |
1423 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1424 | { | |
1425 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1426 | } | |
1427 | pub unsafe fn RootStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1428 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1429 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1430 | } | |
1431 | pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1432 | where | |
1433 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1434 | { | |
1435 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1436 | } | |
1437 | pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1438 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1439 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1440 | } | |
1441 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1442 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1443 | } | |
1444 | pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1445 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1446 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1447 | } | |
1448 | pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1449 | where | |
1450 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1451 | { | |
1452 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1453 | } | |
1454 | pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1455 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1456 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1457 | } | |
1458 | pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1459 | where | |
1460 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1461 | { | |
1462 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1463 | } | |
1464 | pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1465 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1466 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1467 | } | |
1468 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1469 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1470 | } | |
1471 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1472 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1473 | (::windows::core::Interface::vtable(self).base__.base__.ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1474 | } | |
1475 | pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> ::windows::core::Result<()> | |
1476 | where | |
1477 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1478 | { | |
1479 | (::windows::core::Interface::vtable(self).base__.base__.SetContainerName)(::windows::core::Interface::as_raw(self), bstrcontainer.into_param().abi()).ok() | |
1480 | } | |
1481 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1482 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1483 | (::windows::core::Interface::vtable(self).base__.base__.ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1484 | } | |
1485 | pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> ::windows::core::Result<()> | |
1486 | where | |
1487 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1488 | { | |
1489 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into_param().abi()).ok() | |
1490 | } | |
1491 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<i32> { | |
1492 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1493 | (::windows::core::Interface::vtable(self).base__.base__.ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1494 | } | |
1495 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
1496 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
1497 | } | |
1498 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<i32> { | |
1499 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1500 | (::windows::core::Interface::vtable(self).base__.base__.KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1501 | } | |
1502 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
1503 | (::windows::core::Interface::vtable(self).base__.base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
1504 | } | |
1505 | pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result<i32> { | |
1506 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1507 | (::windows::core::Interface::vtable(self).base__.base__.ProviderFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1508 | } | |
1509 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1510 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1511 | } | |
1512 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1513 | #[cfg(feature = "Win32_Foundation")] | |
1514 | pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1515 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1516 | (::windows::core::Interface::vtable(self).base__.base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1517 | } | |
1518 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1519 | #[cfg(feature = "Win32_Foundation")] | |
1520 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
1521 | where | |
1522 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1523 | { | |
1524 | (::windows::core::Interface::vtable(self).base__.base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
1525 | } | |
1526 | pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result<i32> { | |
1527 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1528 | (::windows::core::Interface::vtable(self).base__.base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1529 | } | |
1530 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1531 | (::windows::core::Interface::vtable(self).base__.base__.SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1532 | } | |
1533 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1534 | #[cfg(feature = "Win32_Foundation")] | |
1535 | pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1536 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1537 | (::windows::core::Interface::vtable(self).base__.base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1538 | } | |
1539 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1540 | #[cfg(feature = "Win32_Foundation")] | |
1541 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
1542 | where | |
1543 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1544 | { | |
1545 | (::windows::core::Interface::vtable(self).base__.base__.SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
1546 | } | |
1547 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1548 | #[cfg(feature = "Win32_Foundation")] | |
1549 | pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1550 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1551 | (::windows::core::Interface::vtable(self).base__.base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1552 | } | |
1553 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1554 | #[cfg(feature = "Win32_Foundation")] | |
1555 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1556 | where | |
1557 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1558 | { | |
1559 | (::windows::core::Interface::vtable(self).base__.base__.SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1560 | } | |
1561 | pub unsafe fn SPCFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1562 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1563 | (::windows::core::Interface::vtable(self).base__.base__.SPCFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1564 | } | |
1565 | pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1566 | where | |
1567 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1568 | { | |
1569 | (::windows::core::Interface::vtable(self).base__.base__.SetSPCFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1570 | } | |
1571 | pub unsafe fn PVKFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1572 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1573 | (::windows::core::Interface::vtable(self).base__.base__.PVKFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1574 | } | |
1575 | pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1576 | where | |
1577 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1578 | { | |
1579 | (::windows::core::Interface::vtable(self).base__.base__.SetPVKFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1580 | } | |
1581 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1582 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1583 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1584 | } | |
1585 | pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
1586 | where | |
1587 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1588 | { | |
1589 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
1590 | } | |
1591 | pub unsafe fn addCertTypeToRequest<P0>(&self, certtype: P0) -> ::windows::core::Result<()> | |
1592 | where | |
1593 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1594 | { | |
1595 | (::windows::core::Interface::vtable(self).base__.addCertTypeToRequest)(::windows::core::Interface::as_raw(self), certtype.into_param().abi()).ok() | |
1596 | } | |
1597 | pub unsafe fn addNameValuePairToSignature<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
1598 | where | |
1599 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1600 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1601 | { | |
1602 | (::windows::core::Interface::vtable(self).base__.addNameValuePairToSignature)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
1603 | } | |
1604 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1605 | #[cfg(feature = "Win32_Foundation")] | |
1606 | pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1607 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1608 | (::windows::core::Interface::vtable(self).base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1609 | } | |
1610 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1611 | #[cfg(feature = "Win32_Foundation")] | |
1612 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1613 | where | |
1614 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1615 | { | |
1616 | (::windows::core::Interface::vtable(self).base__.SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1617 | } | |
1618 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1619 | #[cfg(feature = "Win32_Foundation")] | |
1620 | pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1621 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1622 | (::windows::core::Interface::vtable(self).base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1623 | } | |
1624 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1625 | #[cfg(feature = "Win32_Foundation")] | |
1626 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
1627 | where | |
1628 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1629 | { | |
1630 | (::windows::core::Interface::vtable(self).base__.SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
1631 | } | |
1632 | pub unsafe fn InstallPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
1633 | where | |
1634 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1635 | { | |
1636 | (::windows::core::Interface::vtable(self).InstallPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
1637 | } | |
1638 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
1639 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
1640 | } | |
1641 | pub unsafe fn GetSupportedKeySpec(&self) -> ::windows::core::Result<i32> { | |
1642 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1643 | (::windows::core::Interface::vtable(self).GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1644 | } | |
1645 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1646 | #[cfg(feature = "Win32_Foundation")] | |
1647 | pub unsafe fn GetKeyLen<P0, P1>(&self, fmin: P0, fexchange: P1) -> ::windows::core::Result<i32> | |
1648 | where | |
1649 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1650 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1651 | { | |
1652 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1653 | (::windows::core::Interface::vtable(self).GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into_param().abi(), fexchange.into_param().abi(), &mut result__).from_abi(result__) | |
1654 | } | |
1655 | pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> ::windows::core::Result<i32> { | |
1656 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1657 | (::windows::core::Interface::vtable(self).EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, &mut result__).from_abi(result__) | |
1658 | } | |
1659 | pub unsafe fn GetAlgName(&self, algid: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
1660 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1661 | (::windows::core::Interface::vtable(self).GetAlgName)(::windows::core::Interface::as_raw(self), algid, &mut result__).from_abi(result__) | |
1662 | } | |
1663 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1664 | #[cfg(feature = "Win32_Foundation")] | |
1665 | pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew<P0>(&self, freusehardwarekeyifunabletogennew: P0) -> ::windows::core::Result<()> | |
1666 | where | |
1667 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1668 | { | |
1669 | (::windows::core::Interface::vtable(self).SetReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew.into_param().abi()).ok() | |
1670 | } | |
1671 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1672 | #[cfg(feature = "Win32_Foundation")] | |
1673 | pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1674 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1675 | (::windows::core::Interface::vtable(self).ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1676 | } | |
1677 | pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { | |
1678 | (::windows::core::Interface::vtable(self).SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
1679 | } | |
1680 | pub unsafe fn HashAlgID(&self) -> ::windows::core::Result<i32> { | |
1681 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1682 | (::windows::core::Interface::vtable(self).HashAlgID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1683 | } | |
1684 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1685 | #[cfg(feature = "Win32_Foundation")] | |
1686 | pub unsafe fn SetLimitExchangeKeyToEncipherment<P0>(&self, flimitexchangekeytoencipherment: P0) -> ::windows::core::Result<()> | |
1687 | where | |
1688 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1689 | { | |
1690 | (::windows::core::Interface::vtable(self).SetLimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment.into_param().abi()).ok() | |
1691 | } | |
1692 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1693 | #[cfg(feature = "Win32_Foundation")] | |
1694 | pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1695 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1696 | (::windows::core::Interface::vtable(self).LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1697 | } | |
1698 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1699 | #[cfg(feature = "Win32_Foundation")] | |
1700 | pub unsafe fn SetEnableSMIMECapabilities<P0>(&self, fenablesmimecapabilities: P0) -> ::windows::core::Result<()> | |
1701 | where | |
1702 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1703 | { | |
1704 | (::windows::core::Interface::vtable(self).SetEnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities.into_param().abi()).ok() | |
1705 | } | |
1706 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1707 | #[cfg(feature = "Win32_Foundation")] | |
1708 | pub unsafe fn EnableSMIMECapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1709 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1710 | (::windows::core::Interface::vtable(self).EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1711 | } | |
1712 | } | |
1713 | #[cfg(feature = "Win32_System_Com")] | |
1714 | ::windows::imp::interface_hierarchy!(ICEnroll3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2); | |
1715 | #[cfg(feature = "Win32_System_Com")] | |
1716 | impl ::core::cmp::PartialEq for ICEnroll3 { | |
1717 | fn eq(&self, other: &Self) -> bool { | |
1718 | self.0 == other.0 | |
1719 | } | |
1720 | } | |
1721 | #[cfg(feature = "Win32_System_Com")] | |
1722 | impl ::core::cmp::Eq for ICEnroll3 {} | |
1723 | #[cfg(feature = "Win32_System_Com")] | |
1724 | impl ::core::fmt::Debug for ICEnroll3 { | |
1725 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1726 | f.debug_tuple("ICEnroll3").field(&self.0).finish() | |
1727 | } | |
1728 | } | |
1729 | #[cfg(feature = "Win32_System_Com")] | |
1730 | unsafe impl ::windows::core::Interface for ICEnroll3 { | |
1731 | type Vtable = ICEnroll3_Vtbl; | |
1732 | } | |
1733 | #[cfg(feature = "Win32_System_Com")] | |
1734 | impl ::core::clone::Clone for ICEnroll3 { | |
1735 | fn clone(&self) -> Self { | |
1736 | Self(self.0.clone()) | |
1737 | } | |
1738 | } | |
1739 | #[cfg(feature = "Win32_System_Com")] | |
1740 | unsafe impl ::windows::core::ComInterface for ICEnroll3 { | |
1741 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc28c2d95_b7de_11d2_a421_00c04f79fe8e); | |
1742 | } | |
1743 | #[cfg(feature = "Win32_System_Com")] | |
1744 | #[repr(C)] | |
1745 | #[doc(hidden)] | |
1746 | pub struct ICEnroll3_Vtbl { | |
1747 | pub base__: ICEnroll2_Vtbl, | |
1748 | pub InstallPKCS7: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
1749 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1750 | pub GetSupportedKeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwkeyspec: *mut i32) -> ::windows::core::HRESULT, | |
1751 | #[cfg(feature = "Win32_Foundation")] | |
1752 | pub GetKeyLen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmin: super::super::super::Foundation::BOOL, fexchange: super::super::super::Foundation::BOOL, pdwkeysize: *mut i32) -> ::windows::core::HRESULT, | |
1753 | #[cfg(not(feature = "Win32_Foundation"))] | |
1754 | GetKeyLen: usize, | |
1755 | pub EnumAlgs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, algclass: i32, pdwalgid: *mut i32) -> ::windows::core::HRESULT, | |
1756 | pub GetAlgName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, algid: i32, pbstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
1757 | #[cfg(feature = "Win32_Foundation")] | |
1758 | pub SetReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, freusehardwarekeyifunabletogennew: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1759 | #[cfg(not(feature = "Win32_Foundation"))] | |
1760 | SetReuseHardwareKeyIfUnableToGenNew: usize, | |
1761 | #[cfg(feature = "Win32_Foundation")] | |
1762 | pub ReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, freusehardwarekeyifunabletogennew: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1763 | #[cfg(not(feature = "Win32_Foundation"))] | |
1764 | ReuseHardwareKeyIfUnableToGenNew: usize, | |
1765 | pub SetHashAlgID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hashalgid: i32) -> ::windows::core::HRESULT, | |
1766 | pub HashAlgID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hashalgid: *mut i32) -> ::windows::core::HRESULT, | |
1767 | #[cfg(feature = "Win32_Foundation")] | |
1768 | pub SetLimitExchangeKeyToEncipherment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flimitexchangekeytoencipherment: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1769 | #[cfg(not(feature = "Win32_Foundation"))] | |
1770 | SetLimitExchangeKeyToEncipherment: usize, | |
1771 | #[cfg(feature = "Win32_Foundation")] | |
1772 | pub LimitExchangeKeyToEncipherment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flimitexchangekeytoencipherment: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1773 | #[cfg(not(feature = "Win32_Foundation"))] | |
1774 | LimitExchangeKeyToEncipherment: usize, | |
1775 | #[cfg(feature = "Win32_Foundation")] | |
1776 | pub SetEnableSMIMECapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenablesmimecapabilities: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1777 | #[cfg(not(feature = "Win32_Foundation"))] | |
1778 | SetEnableSMIMECapabilities: usize, | |
1779 | #[cfg(feature = "Win32_Foundation")] | |
1780 | pub EnableSMIMECapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
1781 | #[cfg(not(feature = "Win32_Foundation"))] | |
1782 | EnableSMIMECapabilities: usize, | |
1783 | } | |
1784 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
1785 | #[cfg(feature = "Win32_System_Com")] | |
1786 | #[repr(transparent)] | |
1787 | pub struct ICEnroll4(::windows::core::IUnknown); | |
1788 | #[cfg(feature = "Win32_System_Com")] | |
1789 | impl ICEnroll4 { | |
1790 | pub unsafe fn createFilePKCS10<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
1791 | where | |
1792 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1793 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1794 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1795 | { | |
1796 | (::windows::core::Interface::vtable(self).base__.base__.base__.createFilePKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
1797 | } | |
1798 | pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
1799 | where | |
1800 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1801 | { | |
1802 | (::windows::core::Interface::vtable(self).base__.base__.base__.acceptFilePKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
1803 | } | |
1804 | pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> ::windows::core::Result<::windows::core::BSTR> | |
1805 | where | |
1806 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1807 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1808 | { | |
1809 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1810 | (::windows::core::Interface::vtable(self).base__.base__.base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), &mut result__).from_abi(result__) | |
1811 | } | |
1812 | pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
1813 | where | |
1814 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1815 | { | |
1816 | (::windows::core::Interface::vtable(self).base__.base__.base__.acceptPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
1817 | } | |
1818 | pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
1819 | where | |
1820 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1821 | { | |
1822 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1823 | (::windows::core::Interface::vtable(self).base__.base__.base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into_param().abi(), &mut result__).from_abi(result__) | |
1824 | } | |
1825 | pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
1826 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1827 | (::windows::core::Interface::vtable(self).base__.base__.base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, &mut result__).from_abi(result__) | |
1828 | } | |
1829 | pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
1830 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1831 | (::windows::core::Interface::vtable(self).base__.base__.base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, &mut result__).from_abi(result__) | |
1832 | } | |
1833 | pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> ::windows::core::Result<()> | |
1834 | where | |
1835 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1836 | { | |
1837 | (::windows::core::Interface::vtable(self).base__.base__.base__.freeRequestInfo)(::windows::core::Interface::as_raw(self), pkcs7orpkcs10.into_param().abi()).ok() | |
1838 | } | |
1839 | pub unsafe fn MyStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1840 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1841 | (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1842 | } | |
1843 | pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1844 | where | |
1845 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1846 | { | |
1847 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetMyStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1848 | } | |
1849 | pub unsafe fn MyStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1850 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1851 | (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1852 | } | |
1853 | pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1854 | where | |
1855 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1856 | { | |
1857 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1858 | } | |
1859 | pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1860 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1861 | (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1862 | } | |
1863 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1864 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1865 | } | |
1866 | pub unsafe fn CAStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1867 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1868 | (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1869 | } | |
1870 | pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1871 | where | |
1872 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1873 | { | |
1874 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCAStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1875 | } | |
1876 | pub unsafe fn CAStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1877 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1878 | (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1879 | } | |
1880 | pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1881 | where | |
1882 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1883 | { | |
1884 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1885 | } | |
1886 | pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1887 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1888 | (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1889 | } | |
1890 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1891 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1892 | } | |
1893 | pub unsafe fn RootStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1894 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1895 | (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1896 | } | |
1897 | pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1898 | where | |
1899 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1900 | { | |
1901 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRootStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1902 | } | |
1903 | pub unsafe fn RootStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1904 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1905 | (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1906 | } | |
1907 | pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1908 | where | |
1909 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1910 | { | |
1911 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1912 | } | |
1913 | pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1914 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1915 | (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1916 | } | |
1917 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1918 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1919 | } | |
1920 | pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1921 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1922 | (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1923 | } | |
1924 | pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> ::windows::core::Result<()> | |
1925 | where | |
1926 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1927 | { | |
1928 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRequestStoreName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi()).ok() | |
1929 | } | |
1930 | pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1931 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1932 | (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1933 | } | |
1934 | pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> ::windows::core::Result<()> | |
1935 | where | |
1936 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1937 | { | |
1938 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into_param().abi()).ok() | |
1939 | } | |
1940 | pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result<i32> { | |
1941 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1942 | (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1943 | } | |
1944 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1945 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1946 | } | |
1947 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1948 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1949 | (::windows::core::Interface::vtable(self).base__.base__.base__.ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1950 | } | |
1951 | pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> ::windows::core::Result<()> | |
1952 | where | |
1953 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1954 | { | |
1955 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetContainerName)(::windows::core::Interface::as_raw(self), bstrcontainer.into_param().abi()).ok() | |
1956 | } | |
1957 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
1958 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
1959 | (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1960 | } | |
1961 | pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> ::windows::core::Result<()> | |
1962 | where | |
1963 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
1964 | { | |
1965 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into_param().abi()).ok() | |
1966 | } | |
1967 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<i32> { | |
1968 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1969 | (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1970 | } | |
1971 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
1972 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
1973 | } | |
1974 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<i32> { | |
1975 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1976 | (::windows::core::Interface::vtable(self).base__.base__.base__.KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1977 | } | |
1978 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
1979 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
1980 | } | |
1981 | pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result<i32> { | |
1982 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
1983 | (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1984 | } | |
1985 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
1986 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
1987 | } | |
1988 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1989 | #[cfg(feature = "Win32_Foundation")] | |
1990 | pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
1991 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
1992 | (::windows::core::Interface::vtable(self).base__.base__.base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1993 | } | |
1994 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1995 | #[cfg(feature = "Win32_Foundation")] | |
1996 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
1997 | where | |
1998 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
1999 | { | |
2000 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
2001 | } | |
2002 | pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result<i32> { | |
2003 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2004 | (::windows::core::Interface::vtable(self).base__.base__.base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2005 | } | |
2006 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
2007 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
2008 | } | |
2009 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2010 | #[cfg(feature = "Win32_Foundation")] | |
2011 | pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2012 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2013 | (::windows::core::Interface::vtable(self).base__.base__.base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2014 | } | |
2015 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2016 | #[cfg(feature = "Win32_Foundation")] | |
2017 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
2018 | where | |
2019 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2020 | { | |
2021 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
2022 | } | |
2023 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2024 | #[cfg(feature = "Win32_Foundation")] | |
2025 | pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2026 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2027 | (::windows::core::Interface::vtable(self).base__.base__.base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2028 | } | |
2029 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2030 | #[cfg(feature = "Win32_Foundation")] | |
2031 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
2032 | where | |
2033 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2034 | { | |
2035 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
2036 | } | |
2037 | pub unsafe fn SPCFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2038 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2039 | (::windows::core::Interface::vtable(self).base__.base__.base__.SPCFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2040 | } | |
2041 | pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
2042 | where | |
2043 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2044 | { | |
2045 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSPCFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
2046 | } | |
2047 | pub unsafe fn PVKFileName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2048 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2049 | (::windows::core::Interface::vtable(self).base__.base__.base__.PVKFileName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2050 | } | |
2051 | pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
2052 | where | |
2053 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2054 | { | |
2055 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPVKFileName)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
2056 | } | |
2057 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2058 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2059 | (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2060 | } | |
2061 | pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> ::windows::core::Result<()> | |
2062 | where | |
2063 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2064 | { | |
2065 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), bstr.into_param().abi()).ok() | |
2066 | } | |
2067 | pub unsafe fn addCertTypeToRequest<P0>(&self, certtype: P0) -> ::windows::core::Result<()> | |
2068 | where | |
2069 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2070 | { | |
2071 | (::windows::core::Interface::vtable(self).base__.base__.addCertTypeToRequest)(::windows::core::Interface::as_raw(self), certtype.into_param().abi()).ok() | |
2072 | } | |
2073 | pub unsafe fn addNameValuePairToSignature<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
2074 | where | |
2075 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2076 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2077 | { | |
2078 | (::windows::core::Interface::vtable(self).base__.base__.addNameValuePairToSignature)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
2079 | } | |
2080 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2081 | #[cfg(feature = "Win32_Foundation")] | |
2082 | pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2083 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2084 | (::windows::core::Interface::vtable(self).base__.base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2085 | } | |
2086 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2087 | #[cfg(feature = "Win32_Foundation")] | |
2088 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
2089 | where | |
2090 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2091 | { | |
2092 | (::windows::core::Interface::vtable(self).base__.base__.SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
2093 | } | |
2094 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2095 | #[cfg(feature = "Win32_Foundation")] | |
2096 | pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2097 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2098 | (::windows::core::Interface::vtable(self).base__.base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2099 | } | |
2100 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2101 | #[cfg(feature = "Win32_Foundation")] | |
2102 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
2103 | where | |
2104 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2105 | { | |
2106 | (::windows::core::Interface::vtable(self).base__.base__.SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
2107 | } | |
2108 | pub unsafe fn InstallPKCS7<P0>(&self, pkcs7: P0) -> ::windows::core::Result<()> | |
2109 | where | |
2110 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2111 | { | |
2112 | (::windows::core::Interface::vtable(self).base__.InstallPKCS7)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi()).ok() | |
2113 | } | |
2114 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
2115 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self)).ok() | |
2116 | } | |
2117 | pub unsafe fn GetSupportedKeySpec(&self) -> ::windows::core::Result<i32> { | |
2118 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2119 | (::windows::core::Interface::vtable(self).base__.GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2120 | } | |
2121 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2122 | #[cfg(feature = "Win32_Foundation")] | |
2123 | pub unsafe fn GetKeyLen<P0, P1>(&self, fmin: P0, fexchange: P1) -> ::windows::core::Result<i32> | |
2124 | where | |
2125 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2126 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2127 | { | |
2128 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2129 | (::windows::core::Interface::vtable(self).base__.GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into_param().abi(), fexchange.into_param().abi(), &mut result__).from_abi(result__) | |
2130 | } | |
2131 | pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> ::windows::core::Result<i32> { | |
2132 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2133 | (::windows::core::Interface::vtable(self).base__.EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, &mut result__).from_abi(result__) | |
2134 | } | |
2135 | pub unsafe fn GetAlgName(&self, algid: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
2136 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2137 | (::windows::core::Interface::vtable(self).base__.GetAlgName)(::windows::core::Interface::as_raw(self), algid, &mut result__).from_abi(result__) | |
2138 | } | |
2139 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2140 | #[cfg(feature = "Win32_Foundation")] | |
2141 | pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew<P0>(&self, freusehardwarekeyifunabletogennew: P0) -> ::windows::core::Result<()> | |
2142 | where | |
2143 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2144 | { | |
2145 | (::windows::core::Interface::vtable(self).base__.SetReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew.into_param().abi()).ok() | |
2146 | } | |
2147 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2148 | #[cfg(feature = "Win32_Foundation")] | |
2149 | pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2150 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2151 | (::windows::core::Interface::vtable(self).base__.ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2152 | } | |
2153 | pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { | |
2154 | (::windows::core::Interface::vtable(self).base__.SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
2155 | } | |
2156 | pub unsafe fn HashAlgID(&self) -> ::windows::core::Result<i32> { | |
2157 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2158 | (::windows::core::Interface::vtable(self).base__.HashAlgID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2159 | } | |
2160 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2161 | #[cfg(feature = "Win32_Foundation")] | |
2162 | pub unsafe fn SetLimitExchangeKeyToEncipherment<P0>(&self, flimitexchangekeytoencipherment: P0) -> ::windows::core::Result<()> | |
2163 | where | |
2164 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2165 | { | |
2166 | (::windows::core::Interface::vtable(self).base__.SetLimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment.into_param().abi()).ok() | |
2167 | } | |
2168 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2169 | #[cfg(feature = "Win32_Foundation")] | |
2170 | pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2171 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2172 | (::windows::core::Interface::vtable(self).base__.LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2173 | } | |
2174 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2175 | #[cfg(feature = "Win32_Foundation")] | |
2176 | pub unsafe fn SetEnableSMIMECapabilities<P0>(&self, fenablesmimecapabilities: P0) -> ::windows::core::Result<()> | |
2177 | where | |
2178 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2179 | { | |
2180 | (::windows::core::Interface::vtable(self).base__.SetEnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities.into_param().abi()).ok() | |
2181 | } | |
2182 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2183 | #[cfg(feature = "Win32_Foundation")] | |
2184 | pub unsafe fn EnableSMIMECapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2185 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2186 | (::windows::core::Interface::vtable(self).base__.EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2187 | } | |
2188 | pub unsafe fn SetPrivateKeyArchiveCertificate<P0>(&self, bstrcert: P0) -> ::windows::core::Result<()> | |
2189 | where | |
2190 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2191 | { | |
2192 | (::windows::core::Interface::vtable(self).SetPrivateKeyArchiveCertificate)(::windows::core::Interface::as_raw(self), bstrcert.into_param().abi()).ok() | |
2193 | } | |
2194 | pub unsafe fn PrivateKeyArchiveCertificate(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2195 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2196 | (::windows::core::Interface::vtable(self).PrivateKeyArchiveCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2197 | } | |
2198 | pub unsafe fn SetThumbPrint<P0>(&self, bstrthumbprint: P0) -> ::windows::core::Result<()> | |
2199 | where | |
2200 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2201 | { | |
2202 | (::windows::core::Interface::vtable(self).SetThumbPrint)(::windows::core::Interface::as_raw(self), bstrthumbprint.into_param().abi()).ok() | |
2203 | } | |
2204 | pub unsafe fn ThumbPrint(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2205 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2206 | (::windows::core::Interface::vtable(self).ThumbPrint)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2207 | } | |
2208 | pub unsafe fn binaryToString<P0>(&self, flags: i32, strbinary: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2209 | where | |
2210 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2211 | { | |
2212 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2213 | (::windows::core::Interface::vtable(self).binaryToString)(::windows::core::Interface::as_raw(self), flags, strbinary.into_param().abi(), &mut result__).from_abi(result__) | |
2214 | } | |
2215 | pub unsafe fn stringToBinary<P0>(&self, flags: i32, strencoded: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2216 | where | |
2217 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2218 | { | |
2219 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2220 | (::windows::core::Interface::vtable(self).stringToBinary)(::windows::core::Interface::as_raw(self), flags, strencoded.into_param().abi(), &mut result__).from_abi(result__) | |
2221 | } | |
2222 | pub unsafe fn addExtensionToRequest<P0, P1>(&self, flags: i32, strname: P0, strvalue: P1) -> ::windows::core::Result<()> | |
2223 | where | |
2224 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2225 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2226 | { | |
2227 | (::windows::core::Interface::vtable(self).addExtensionToRequest)(::windows::core::Interface::as_raw(self), flags, strname.into_param().abi(), strvalue.into_param().abi()).ok() | |
2228 | } | |
2229 | pub unsafe fn addAttributeToRequest<P0, P1>(&self, flags: i32, strname: P0, strvalue: P1) -> ::windows::core::Result<()> | |
2230 | where | |
2231 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2232 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2233 | { | |
2234 | (::windows::core::Interface::vtable(self).addAttributeToRequest)(::windows::core::Interface::as_raw(self), flags, strname.into_param().abi(), strvalue.into_param().abi()).ok() | |
2235 | } | |
2236 | pub unsafe fn addNameValuePairToRequest<P0, P1>(&self, flags: i32, strname: P0, strvalue: P1) -> ::windows::core::Result<()> | |
2237 | where | |
2238 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2239 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2240 | { | |
2241 | (::windows::core::Interface::vtable(self).addNameValuePairToRequest)(::windows::core::Interface::as_raw(self), flags, strname.into_param().abi(), strvalue.into_param().abi()).ok() | |
2242 | } | |
2243 | pub unsafe fn resetExtensions(&self) -> ::windows::core::Result<()> { | |
2244 | (::windows::core::Interface::vtable(self).resetExtensions)(::windows::core::Interface::as_raw(self)).ok() | |
2245 | } | |
2246 | pub unsafe fn resetAttributes(&self) -> ::windows::core::Result<()> { | |
2247 | (::windows::core::Interface::vtable(self).resetAttributes)(::windows::core::Interface::as_raw(self)).ok() | |
2248 | } | |
2249 | pub unsafe fn createRequest<P0, P1>(&self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: P0, usage: P1) -> ::windows::core::Result<::windows::core::BSTR> | |
2250 | where | |
2251 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2252 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2253 | { | |
2254 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2255 | (::windows::core::Interface::vtable(self).createRequest)(::windows::core::Interface::as_raw(self), flags, strdnname.into_param().abi(), usage.into_param().abi(), &mut result__).from_abi(result__) | |
2256 | } | |
2257 | pub unsafe fn createFileRequest<P0, P1, P2>(&self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: P0, strusage: P1, strrequestfilename: P2) -> ::windows::core::Result<()> | |
2258 | where | |
2259 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2260 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2261 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2262 | { | |
2263 | (::windows::core::Interface::vtable(self).createFileRequest)(::windows::core::Interface::as_raw(self), flags, strdnname.into_param().abi(), strusage.into_param().abi(), strrequestfilename.into_param().abi()).ok() | |
2264 | } | |
2265 | pub unsafe fn acceptResponse<P0>(&self, strresponse: P0) -> ::windows::core::Result<()> | |
2266 | where | |
2267 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2268 | { | |
2269 | (::windows::core::Interface::vtable(self).acceptResponse)(::windows::core::Interface::as_raw(self), strresponse.into_param().abi()).ok() | |
2270 | } | |
2271 | pub unsafe fn acceptFileResponse<P0>(&self, strresponsefilename: P0) -> ::windows::core::Result<()> | |
2272 | where | |
2273 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2274 | { | |
2275 | (::windows::core::Interface::vtable(self).acceptFileResponse)(::windows::core::Interface::as_raw(self), strresponsefilename.into_param().abi()).ok() | |
2276 | } | |
2277 | pub unsafe fn getCertFromResponse<P0>(&self, strresponse: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2278 | where | |
2279 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2280 | { | |
2281 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2282 | (::windows::core::Interface::vtable(self).getCertFromResponse)(::windows::core::Interface::as_raw(self), strresponse.into_param().abi(), &mut result__).from_abi(result__) | |
2283 | } | |
2284 | pub unsafe fn getCertFromFileResponse<P0>(&self, strresponsefilename: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2285 | where | |
2286 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2287 | { | |
2288 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2289 | (::windows::core::Interface::vtable(self).getCertFromFileResponse)(::windows::core::Interface::as_raw(self), strresponsefilename.into_param().abi(), &mut result__).from_abi(result__) | |
2290 | } | |
2291 | pub unsafe fn createPFX<P0>(&self, strpassword: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2292 | where | |
2293 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2294 | { | |
2295 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2296 | (::windows::core::Interface::vtable(self).createPFX)(::windows::core::Interface::as_raw(self), strpassword.into_param().abi(), &mut result__).from_abi(result__) | |
2297 | } | |
2298 | pub unsafe fn createFilePFX<P0, P1>(&self, strpassword: P0, strpfxfilename: P1) -> ::windows::core::Result<()> | |
2299 | where | |
2300 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2301 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2302 | { | |
2303 | (::windows::core::Interface::vtable(self).createFilePFX)(::windows::core::Interface::as_raw(self), strpassword.into_param().abi(), strpfxfilename.into_param().abi()).ok() | |
2304 | } | |
2305 | pub unsafe fn setPendingRequestInfo<P0, P1, P2>(&self, lrequestid: i32, strcadns: P0, strcaname: P1, strfriendlyname: P2) -> ::windows::core::Result<()> | |
2306 | where | |
2307 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2308 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2309 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2310 | { | |
2311 | (::windows::core::Interface::vtable(self).setPendingRequestInfo)(::windows::core::Interface::as_raw(self), lrequestid, strcadns.into_param().abi(), strcaname.into_param().abi(), strfriendlyname.into_param().abi()).ok() | |
2312 | } | |
2313 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2314 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2315 | pub unsafe fn enumPendingRequest(&self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
2316 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
2317 | (::windows::core::Interface::vtable(self).enumPendingRequest)(::windows::core::Interface::as_raw(self), lindex, ldesiredproperty, &mut result__).from_abi(result__) | |
2318 | } | |
2319 | pub unsafe fn removePendingRequest<P0>(&self, strthumbprint: P0) -> ::windows::core::Result<()> | |
2320 | where | |
2321 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2322 | { | |
2323 | (::windows::core::Interface::vtable(self).removePendingRequest)(::windows::core::Interface::as_raw(self), strthumbprint.into_param().abi()).ok() | |
2324 | } | |
2325 | pub unsafe fn GetKeyLenEx(&self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC) -> ::windows::core::Result<i32> { | |
2326 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2327 | (::windows::core::Interface::vtable(self).GetKeyLenEx)(::windows::core::Interface::as_raw(self), lsizespec, lkeyspec, &mut result__).from_abi(result__) | |
2328 | } | |
2329 | pub unsafe fn InstallPKCS7Ex<P0>(&self, pkcs7: P0) -> ::windows::core::Result<i32> | |
2330 | where | |
2331 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2332 | { | |
2333 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2334 | (::windows::core::Interface::vtable(self).InstallPKCS7Ex)(::windows::core::Interface::as_raw(self), pkcs7.into_param().abi(), &mut result__).from_abi(result__) | |
2335 | } | |
2336 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2337 | #[cfg(feature = "Win32_Foundation")] | |
2338 | pub unsafe fn addCertTypeToRequestEx<P0, P1>(&self, ltype: ADDED_CERT_TYPE, bstroidorname: P0, lmajorversion: i32, fminorversion: P1, lminorversion: i32) -> ::windows::core::Result<()> | |
2339 | where | |
2340 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2341 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2342 | { | |
2343 | (::windows::core::Interface::vtable(self).addCertTypeToRequestEx)(::windows::core::Interface::as_raw(self), ltype, bstroidorname.into_param().abi(), lmajorversion, fminorversion.into_param().abi(), lminorversion).ok() | |
2344 | } | |
2345 | pub unsafe fn getProviderType<P0>(&self, strprovname: P0) -> ::windows::core::Result<i32> | |
2346 | where | |
2347 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2348 | { | |
2349 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2350 | (::windows::core::Interface::vtable(self).getProviderType)(::windows::core::Interface::as_raw(self), strprovname.into_param().abi(), &mut result__).from_abi(result__) | |
2351 | } | |
2352 | pub unsafe fn SetSignerCertificate<P0>(&self, bstrcert: P0) -> ::windows::core::Result<()> | |
2353 | where | |
2354 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2355 | { | |
2356 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), bstrcert.into_param().abi()).ok() | |
2357 | } | |
2358 | pub unsafe fn SetClientId(&self, lclientid: i32) -> ::windows::core::Result<()> { | |
2359 | (::windows::core::Interface::vtable(self).SetClientId)(::windows::core::Interface::as_raw(self), lclientid).ok() | |
2360 | } | |
2361 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<i32> { | |
2362 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2363 | (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2364 | } | |
2365 | pub unsafe fn addBlobPropertyToCertificate<P0>(&self, lpropertyid: i32, lreserved: i32, bstrproperty: P0) -> ::windows::core::Result<()> | |
2366 | where | |
2367 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2368 | { | |
2369 | (::windows::core::Interface::vtable(self).addBlobPropertyToCertificate)(::windows::core::Interface::as_raw(self), lpropertyid, lreserved, bstrproperty.into_param().abi()).ok() | |
2370 | } | |
2371 | pub unsafe fn resetBlobProperties(&self) -> ::windows::core::Result<()> { | |
2372 | (::windows::core::Interface::vtable(self).resetBlobProperties)(::windows::core::Interface::as_raw(self)).ok() | |
2373 | } | |
2374 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2375 | #[cfg(feature = "Win32_Foundation")] | |
2376 | pub unsafe fn SetIncludeSubjectKeyID<P0>(&self, finclude: P0) -> ::windows::core::Result<()> | |
2377 | where | |
2378 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
2379 | { | |
2380 | (::windows::core::Interface::vtable(self).SetIncludeSubjectKeyID)(::windows::core::Interface::as_raw(self), finclude.into_param().abi()).ok() | |
2381 | } | |
2382 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2383 | #[cfg(feature = "Win32_Foundation")] | |
2384 | pub unsafe fn IncludeSubjectKeyID(&self) -> ::windows::core::Result<super::super::super::Foundation::BOOL> { | |
2385 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::BOOL>(); | |
2386 | (::windows::core::Interface::vtable(self).IncludeSubjectKeyID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2387 | } | |
2388 | } | |
2389 | #[cfg(feature = "Win32_System_Com")] | |
2390 | ::windows::imp::interface_hierarchy!(ICEnroll4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2, ICEnroll3); | |
2391 | #[cfg(feature = "Win32_System_Com")] | |
2392 | impl ::core::cmp::PartialEq for ICEnroll4 { | |
2393 | fn eq(&self, other: &Self) -> bool { | |
2394 | self.0 == other.0 | |
2395 | } | |
2396 | } | |
2397 | #[cfg(feature = "Win32_System_Com")] | |
2398 | impl ::core::cmp::Eq for ICEnroll4 {} | |
2399 | #[cfg(feature = "Win32_System_Com")] | |
2400 | impl ::core::fmt::Debug for ICEnroll4 { | |
2401 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2402 | f.debug_tuple("ICEnroll4").field(&self.0).finish() | |
2403 | } | |
2404 | } | |
2405 | #[cfg(feature = "Win32_System_Com")] | |
2406 | unsafe impl ::windows::core::Interface for ICEnroll4 { | |
2407 | type Vtable = ICEnroll4_Vtbl; | |
2408 | } | |
2409 | #[cfg(feature = "Win32_System_Com")] | |
2410 | impl ::core::clone::Clone for ICEnroll4 { | |
2411 | fn clone(&self) -> Self { | |
2412 | Self(self.0.clone()) | |
2413 | } | |
2414 | } | |
2415 | #[cfg(feature = "Win32_System_Com")] | |
2416 | unsafe impl ::windows::core::ComInterface for ICEnroll4 { | |
2417 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc1f1188a_2eb5_4a80_841b_7e729a356d90); | |
2418 | } | |
2419 | #[cfg(feature = "Win32_System_Com")] | |
2420 | #[repr(C)] | |
2421 | #[doc(hidden)] | |
2422 | pub struct ICEnroll4_Vtbl { | |
2423 | pub base__: ICEnroll3_Vtbl, | |
2424 | pub SetPrivateKeyArchiveCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrcert: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2425 | pub PrivateKeyArchiveCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrcert: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2426 | pub SetThumbPrint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrthumbprint: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2427 | pub ThumbPrint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrthumbprint: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2428 | pub binaryToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrencoded: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2429 | pub stringToBinary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strencoded: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2430 | pub addExtensionToRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2431 | pub addAttributeToRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2432 | pub addNameValuePairToRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2433 | pub resetExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2434 | pub resetAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2435 | pub createRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: ::std::mem::MaybeUninit<::windows::core::BSTR>, usage: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrrequest: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2436 | pub createFileRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strusage: ::std::mem::MaybeUninit<::windows::core::BSTR>, strrequestfilename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2437 | pub acceptResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2438 | pub acceptFileResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strresponsefilename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2439 | pub getCertFromResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrcert: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2440 | pub getCertFromFileResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strresponsefilename: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrcert: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2441 | pub createPFX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrpfx: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2442 | pub createFilePFX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpfxfilename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2443 | pub setPendingRequestInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lrequestid: i32, strcadns: ::std::mem::MaybeUninit<::windows::core::BSTR>, strcaname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strfriendlyname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2444 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2445 | pub enumPendingRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, pvarproperty: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2446 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2447 | enumPendingRequest: usize, | |
2448 | pub removePendingRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strthumbprint: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2449 | pub GetKeyLenEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, pdwkeysize: *mut i32) -> ::windows::core::HRESULT, | |
2450 | pub InstallPKCS7Ex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7: ::std::mem::MaybeUninit<::windows::core::BSTR>, plcertinstalled: *mut i32) -> ::windows::core::HRESULT, | |
2451 | #[cfg(feature = "Win32_Foundation")] | |
2452 | pub addCertTypeToRequestEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ltype: ADDED_CERT_TYPE, bstroidorname: ::std::mem::MaybeUninit<::windows::core::BSTR>, lmajorversion: i32, fminorversion: super::super::super::Foundation::BOOL, lminorversion: i32) -> ::windows::core::HRESULT, | |
2453 | #[cfg(not(feature = "Win32_Foundation"))] | |
2454 | addCertTypeToRequestEx: usize, | |
2455 | pub getProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strprovname: ::std::mem::MaybeUninit<::windows::core::BSTR>, plprovtype: *mut i32) -> ::windows::core::HRESULT, | |
2456 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrcert: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2457 | pub SetClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lclientid: i32) -> ::windows::core::HRESULT, | |
2458 | pub ClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plclientid: *mut i32) -> ::windows::core::HRESULT, | |
2459 | pub addBlobPropertyToCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpropertyid: i32, lreserved: i32, bstrproperty: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2460 | pub resetBlobProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2461 | #[cfg(feature = "Win32_Foundation")] | |
2462 | pub SetIncludeSubjectKeyID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, finclude: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
2463 | #[cfg(not(feature = "Win32_Foundation"))] | |
2464 | SetIncludeSubjectKeyID: usize, | |
2465 | #[cfg(feature = "Win32_Foundation")] | |
2466 | pub IncludeSubjectKeyID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfinclude: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
2467 | #[cfg(not(feature = "Win32_Foundation"))] | |
2468 | IncludeSubjectKeyID: usize, | |
2469 | } | |
2470 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
2471 | #[cfg(feature = "Win32_System_Com")] | |
2472 | #[repr(transparent)] | |
2473 | pub struct ICertAdmin(::windows::core::IUnknown); | |
2474 | #[cfg(feature = "Win32_System_Com")] | |
2475 | impl ICertAdmin { | |
2476 | pub unsafe fn IsValidCertificate<P0, P1>(&self, strconfig: P0, strserialnumber: P1) -> ::windows::core::Result<i32> | |
2477 | where | |
2478 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2479 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2480 | { | |
2481 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2482 | (::windows::core::Interface::vtable(self).IsValidCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strserialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
2483 | } | |
2484 | pub unsafe fn GetRevocationReason(&self) -> ::windows::core::Result<i32> { | |
2485 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2486 | (::windows::core::Interface::vtable(self).GetRevocationReason)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2487 | } | |
2488 | pub unsafe fn RevokeCertificate<P0, P1>(&self, strconfig: P0, strserialnumber: P1, reason: i32, date: f64) -> ::windows::core::Result<()> | |
2489 | where | |
2490 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2491 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2492 | { | |
2493 | (::windows::core::Interface::vtable(self).RevokeCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strserialnumber.into_param().abi(), reason, date).ok() | |
2494 | } | |
2495 | pub unsafe fn SetRequestAttributes<P0, P1>(&self, strconfig: P0, requestid: i32, strattributes: P1) -> ::windows::core::Result<()> | |
2496 | where | |
2497 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2498 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2499 | { | |
2500 | (::windows::core::Interface::vtable(self).SetRequestAttributes)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strattributes.into_param().abi()).ok() | |
2501 | } | |
2502 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2503 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2504 | pub unsafe fn SetCertificateExtension<P0, P1>(&self, strconfig: P0, requestid: i32, strextensionname: P1, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
2505 | where | |
2506 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2507 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2508 | { | |
2509 | (::windows::core::Interface::vtable(self).SetCertificateExtension)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strextensionname.into_param().abi(), r#type, flags, pvarvalue).ok() | |
2510 | } | |
2511 | pub unsafe fn DenyRequest<P0>(&self, strconfig: P0, requestid: i32) -> ::windows::core::Result<()> | |
2512 | where | |
2513 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2514 | { | |
2515 | (::windows::core::Interface::vtable(self).DenyRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid).ok() | |
2516 | } | |
2517 | pub unsafe fn ResubmitRequest<P0>(&self, strconfig: P0, requestid: i32) -> ::windows::core::Result<i32> | |
2518 | where | |
2519 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2520 | { | |
2521 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2522 | (::windows::core::Interface::vtable(self).ResubmitRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, &mut result__).from_abi(result__) | |
2523 | } | |
2524 | pub unsafe fn PublishCRL<P0>(&self, strconfig: P0, date: f64) -> ::windows::core::Result<()> | |
2525 | where | |
2526 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2527 | { | |
2528 | (::windows::core::Interface::vtable(self).PublishCRL)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), date).ok() | |
2529 | } | |
2530 | pub unsafe fn GetCRL<P0>(&self, strconfig: P0, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
2531 | where | |
2532 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2533 | { | |
2534 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2535 | (::windows::core::Interface::vtable(self).GetCRL)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), flags, &mut result__).from_abi(result__) | |
2536 | } | |
2537 | pub unsafe fn ImportCertificate<P0, P1>(&self, strconfig: P0, strcertificate: P1, flags: CERT_IMPORT_FLAGS) -> ::windows::core::Result<i32> | |
2538 | where | |
2539 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2540 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2541 | { | |
2542 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2543 | (::windows::core::Interface::vtable(self).ImportCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strcertificate.into_param().abi(), flags, &mut result__).from_abi(result__) | |
2544 | } | |
2545 | } | |
2546 | #[cfg(feature = "Win32_System_Com")] | |
2547 | ::windows::imp::interface_hierarchy!(ICertAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
2548 | #[cfg(feature = "Win32_System_Com")] | |
2549 | impl ::core::cmp::PartialEq for ICertAdmin { | |
2550 | fn eq(&self, other: &Self) -> bool { | |
2551 | self.0 == other.0 | |
2552 | } | |
2553 | } | |
2554 | #[cfg(feature = "Win32_System_Com")] | |
2555 | impl ::core::cmp::Eq for ICertAdmin {} | |
2556 | #[cfg(feature = "Win32_System_Com")] | |
2557 | impl ::core::fmt::Debug for ICertAdmin { | |
2558 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2559 | f.debug_tuple("ICertAdmin").field(&self.0).finish() | |
2560 | } | |
2561 | } | |
2562 | #[cfg(feature = "Win32_System_Com")] | |
2563 | unsafe impl ::windows::core::Interface for ICertAdmin { | |
2564 | type Vtable = ICertAdmin_Vtbl; | |
2565 | } | |
2566 | #[cfg(feature = "Win32_System_Com")] | |
2567 | impl ::core::clone::Clone for ICertAdmin { | |
2568 | fn clone(&self) -> Self { | |
2569 | Self(self.0.clone()) | |
2570 | } | |
2571 | } | |
2572 | #[cfg(feature = "Win32_System_Com")] | |
2573 | unsafe impl ::windows::core::ComInterface for ICertAdmin { | |
2574 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x34df6950_7fb6_11d0_8817_00a0c903b83c); | |
2575 | } | |
2576 | #[cfg(feature = "Win32_System_Com")] | |
2577 | #[repr(C)] | |
2578 | #[doc(hidden)] | |
2579 | pub struct ICertAdmin_Vtbl { | |
2580 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
2581 | pub IsValidCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strserialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, pdisposition: *mut i32) -> ::windows::core::HRESULT, | |
2582 | pub GetRevocationReason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preason: *mut i32) -> ::windows::core::HRESULT, | |
2583 | pub RevokeCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strserialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, reason: i32, date: f64) -> ::windows::core::HRESULT, | |
2584 | pub SetRequestAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, strattributes: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2585 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2586 | pub SetCertificateExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, strextensionname: ::std::mem::MaybeUninit<::windows::core::BSTR>, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2587 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2588 | SetCertificateExtension: usize, | |
2589 | pub DenyRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32) -> ::windows::core::HRESULT, | |
2590 | pub ResubmitRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, pdisposition: *mut i32) -> ::windows::core::HRESULT, | |
2591 | pub PublishCRL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, date: f64) -> ::windows::core::HRESULT, | |
2592 | pub GetCRL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: i32, pstrcrl: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2593 | pub ImportCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: CERT_IMPORT_FLAGS, prequestid: *mut i32) -> ::windows::core::HRESULT, | |
2594 | } | |
2595 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
2596 | #[cfg(feature = "Win32_System_Com")] | |
2597 | #[repr(transparent)] | |
2598 | pub struct ICertAdmin2(::windows::core::IUnknown); | |
2599 | #[cfg(feature = "Win32_System_Com")] | |
2600 | impl ICertAdmin2 { | |
2601 | pub unsafe fn IsValidCertificate<P0, P1>(&self, strconfig: P0, strserialnumber: P1) -> ::windows::core::Result<i32> | |
2602 | where | |
2603 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2604 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2605 | { | |
2606 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2607 | (::windows::core::Interface::vtable(self).base__.IsValidCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strserialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
2608 | } | |
2609 | pub unsafe fn GetRevocationReason(&self) -> ::windows::core::Result<i32> { | |
2610 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2611 | (::windows::core::Interface::vtable(self).base__.GetRevocationReason)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2612 | } | |
2613 | pub unsafe fn RevokeCertificate<P0, P1>(&self, strconfig: P0, strserialnumber: P1, reason: i32, date: f64) -> ::windows::core::Result<()> | |
2614 | where | |
2615 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2616 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2617 | { | |
2618 | (::windows::core::Interface::vtable(self).base__.RevokeCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strserialnumber.into_param().abi(), reason, date).ok() | |
2619 | } | |
2620 | pub unsafe fn SetRequestAttributes<P0, P1>(&self, strconfig: P0, requestid: i32, strattributes: P1) -> ::windows::core::Result<()> | |
2621 | where | |
2622 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2623 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2624 | { | |
2625 | (::windows::core::Interface::vtable(self).base__.SetRequestAttributes)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strattributes.into_param().abi()).ok() | |
2626 | } | |
2627 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2628 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2629 | pub unsafe fn SetCertificateExtension<P0, P1>(&self, strconfig: P0, requestid: i32, strextensionname: P1, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
2630 | where | |
2631 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2632 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2633 | { | |
2634 | (::windows::core::Interface::vtable(self).base__.SetCertificateExtension)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strextensionname.into_param().abi(), r#type, flags, pvarvalue).ok() | |
2635 | } | |
2636 | pub unsafe fn DenyRequest<P0>(&self, strconfig: P0, requestid: i32) -> ::windows::core::Result<()> | |
2637 | where | |
2638 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2639 | { | |
2640 | (::windows::core::Interface::vtable(self).base__.DenyRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid).ok() | |
2641 | } | |
2642 | pub unsafe fn ResubmitRequest<P0>(&self, strconfig: P0, requestid: i32) -> ::windows::core::Result<i32> | |
2643 | where | |
2644 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2645 | { | |
2646 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2647 | (::windows::core::Interface::vtable(self).base__.ResubmitRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, &mut result__).from_abi(result__) | |
2648 | } | |
2649 | pub unsafe fn PublishCRL<P0>(&self, strconfig: P0, date: f64) -> ::windows::core::Result<()> | |
2650 | where | |
2651 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2652 | { | |
2653 | (::windows::core::Interface::vtable(self).base__.PublishCRL)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), date).ok() | |
2654 | } | |
2655 | pub unsafe fn GetCRL<P0>(&self, strconfig: P0, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
2656 | where | |
2657 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2658 | { | |
2659 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2660 | (::windows::core::Interface::vtable(self).base__.GetCRL)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), flags, &mut result__).from_abi(result__) | |
2661 | } | |
2662 | pub unsafe fn ImportCertificate<P0, P1>(&self, strconfig: P0, strcertificate: P1, flags: CERT_IMPORT_FLAGS) -> ::windows::core::Result<i32> | |
2663 | where | |
2664 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2665 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2666 | { | |
2667 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2668 | (::windows::core::Interface::vtable(self).base__.ImportCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strcertificate.into_param().abi(), flags, &mut result__).from_abi(result__) | |
2669 | } | |
2670 | pub unsafe fn PublishCRLs<P0>(&self, strconfig: P0, date: f64, crlflags: i32) -> ::windows::core::Result<()> | |
2671 | where | |
2672 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2673 | { | |
2674 | (::windows::core::Interface::vtable(self).PublishCRLs)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), date, crlflags).ok() | |
2675 | } | |
2676 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2677 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2678 | pub unsafe fn GetCAProperty<P0>(&self, strconfig: P0, propid: i32, propindex: i32, proptype: i32, flags: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
2679 | where | |
2680 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2681 | { | |
2682 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
2683 | (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, propindex, proptype, flags, &mut result__).from_abi(result__) | |
2684 | } | |
2685 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2686 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2687 | pub unsafe fn SetCAProperty<P0>(&self, strconfig: P0, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
2688 | where | |
2689 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2690 | { | |
2691 | (::windows::core::Interface::vtable(self).SetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, propindex, proptype, pvarpropertyvalue).ok() | |
2692 | } | |
2693 | pub unsafe fn GetCAPropertyFlags<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<i32> | |
2694 | where | |
2695 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2696 | { | |
2697 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2698 | (::windows::core::Interface::vtable(self).GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
2699 | } | |
2700 | pub unsafe fn GetCAPropertyDisplayName<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
2701 | where | |
2702 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2703 | { | |
2704 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2705 | (::windows::core::Interface::vtable(self).GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
2706 | } | |
2707 | pub unsafe fn GetArchivedKey<P0>(&self, strconfig: P0, requestid: i32, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
2708 | where | |
2709 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2710 | { | |
2711 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2712 | (::windows::core::Interface::vtable(self).GetArchivedKey)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, flags, &mut result__).from_abi(result__) | |
2713 | } | |
2714 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2715 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2716 | pub unsafe fn GetConfigEntry<P0, P1, P2>(&self, strconfig: P0, strnodepath: P1, strentryname: P2) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
2717 | where | |
2718 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2719 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2720 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2721 | { | |
2722 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
2723 | (::windows::core::Interface::vtable(self).GetConfigEntry)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strnodepath.into_param().abi(), strentryname.into_param().abi(), &mut result__).from_abi(result__) | |
2724 | } | |
2725 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
2726 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2727 | pub unsafe fn SetConfigEntry<P0, P1, P2>(&self, strconfig: P0, strnodepath: P1, strentryname: P2, pvarentry: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
2728 | where | |
2729 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2730 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2731 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2732 | { | |
2733 | (::windows::core::Interface::vtable(self).SetConfigEntry)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strnodepath.into_param().abi(), strentryname.into_param().abi(), pvarentry).ok() | |
2734 | } | |
2735 | pub unsafe fn ImportKey<P0, P1, P2>(&self, strconfig: P0, requestid: i32, strcerthash: P1, flags: CERT_IMPORT_FLAGS, strkey: P2) -> ::windows::core::Result<()> | |
2736 | where | |
2737 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2738 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2739 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2740 | { | |
2741 | (::windows::core::Interface::vtable(self).ImportKey)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strcerthash.into_param().abi(), flags, strkey.into_param().abi()).ok() | |
2742 | } | |
2743 | pub unsafe fn GetMyRoles<P0>(&self, strconfig: P0) -> ::windows::core::Result<CERTADMIN_GET_ROLES_FLAGS> | |
2744 | where | |
2745 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2746 | { | |
2747 | let mut result__ = ::windows::core::zeroed::<CERTADMIN_GET_ROLES_FLAGS>(); | |
2748 | (::windows::core::Interface::vtable(self).GetMyRoles)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
2749 | } | |
2750 | pub unsafe fn DeleteRow<P0>(&self, strconfig: P0, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32) -> ::windows::core::Result<i32> | |
2751 | where | |
2752 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2753 | { | |
2754 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2755 | (::windows::core::Interface::vtable(self).DeleteRow)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), flags, date, table, rowid, &mut result__).from_abi(result__) | |
2756 | } | |
2757 | } | |
2758 | #[cfg(feature = "Win32_System_Com")] | |
2759 | ::windows::imp::interface_hierarchy!(ICertAdmin2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertAdmin); | |
2760 | #[cfg(feature = "Win32_System_Com")] | |
2761 | impl ::core::cmp::PartialEq for ICertAdmin2 { | |
2762 | fn eq(&self, other: &Self) -> bool { | |
2763 | self.0 == other.0 | |
2764 | } | |
2765 | } | |
2766 | #[cfg(feature = "Win32_System_Com")] | |
2767 | impl ::core::cmp::Eq for ICertAdmin2 {} | |
2768 | #[cfg(feature = "Win32_System_Com")] | |
2769 | impl ::core::fmt::Debug for ICertAdmin2 { | |
2770 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2771 | f.debug_tuple("ICertAdmin2").field(&self.0).finish() | |
2772 | } | |
2773 | } | |
2774 | #[cfg(feature = "Win32_System_Com")] | |
2775 | unsafe impl ::windows::core::Interface for ICertAdmin2 { | |
2776 | type Vtable = ICertAdmin2_Vtbl; | |
2777 | } | |
2778 | #[cfg(feature = "Win32_System_Com")] | |
2779 | impl ::core::clone::Clone for ICertAdmin2 { | |
2780 | fn clone(&self) -> Self { | |
2781 | Self(self.0.clone()) | |
2782 | } | |
2783 | } | |
2784 | #[cfg(feature = "Win32_System_Com")] | |
2785 | unsafe impl ::windows::core::ComInterface for ICertAdmin2 { | |
2786 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); | |
2787 | } | |
2788 | #[cfg(feature = "Win32_System_Com")] | |
2789 | #[repr(C)] | |
2790 | #[doc(hidden)] | |
2791 | pub struct ICertAdmin2_Vtbl { | |
2792 | pub base__: ICertAdmin_Vtbl, | |
2793 | pub PublishCRLs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, date: f64, crlflags: i32) -> ::windows::core::HRESULT, | |
2794 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2795 | pub GetCAProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2796 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2797 | GetCAProperty: usize, | |
2798 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2799 | pub SetCAProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2800 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2801 | SetCAProperty: usize, | |
2802 | pub GetCAPropertyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, ppropflags: *mut i32) -> ::windows::core::HRESULT, | |
2803 | pub GetCAPropertyDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, pstrdisplayname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2804 | pub GetArchivedKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, flags: i32, pstrarchivedkey: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2805 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2806 | pub GetConfigEntry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strnodepath: ::std::mem::MaybeUninit<::windows::core::BSTR>, strentryname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pvarentry: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2807 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2808 | GetConfigEntry: usize, | |
2809 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
2810 | pub SetConfigEntry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strnodepath: ::std::mem::MaybeUninit<::windows::core::BSTR>, strentryname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pvarentry: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
2811 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
2812 | SetConfigEntry: usize, | |
2813 | pub ImportKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, strcerthash: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: CERT_IMPORT_FLAGS, strkey: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2814 | pub GetMyRoles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, proles: *mut CERTADMIN_GET_ROLES_FLAGS) -> ::windows::core::HRESULT, | |
2815 | pub DeleteRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32, pcdeleted: *mut i32) -> ::windows::core::HRESULT, | |
2816 | } | |
2817 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
2818 | #[cfg(feature = "Win32_System_Com")] | |
2819 | #[repr(transparent)] | |
2820 | pub struct ICertConfig(::windows::core::IUnknown); | |
2821 | #[cfg(feature = "Win32_System_Com")] | |
2822 | impl ICertConfig { | |
2823 | pub unsafe fn Reset(&self, index: i32) -> ::windows::core::Result<i32> { | |
2824 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2825 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
2826 | } | |
2827 | pub unsafe fn Next(&self) -> ::windows::core::Result<i32> { | |
2828 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2829 | (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2830 | } | |
2831 | pub unsafe fn GetField<P0>(&self, strfieldname: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2832 | where | |
2833 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2834 | { | |
2835 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2836 | (::windows::core::Interface::vtable(self).GetField)(::windows::core::Interface::as_raw(self), strfieldname.into_param().abi(), &mut result__).from_abi(result__) | |
2837 | } | |
2838 | pub unsafe fn GetConfig(&self, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
2839 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2840 | (::windows::core::Interface::vtable(self).GetConfig)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
2841 | } | |
2842 | } | |
2843 | #[cfg(feature = "Win32_System_Com")] | |
2844 | ::windows::imp::interface_hierarchy!(ICertConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
2845 | #[cfg(feature = "Win32_System_Com")] | |
2846 | impl ::core::cmp::PartialEq for ICertConfig { | |
2847 | fn eq(&self, other: &Self) -> bool { | |
2848 | self.0 == other.0 | |
2849 | } | |
2850 | } | |
2851 | #[cfg(feature = "Win32_System_Com")] | |
2852 | impl ::core::cmp::Eq for ICertConfig {} | |
2853 | #[cfg(feature = "Win32_System_Com")] | |
2854 | impl ::core::fmt::Debug for ICertConfig { | |
2855 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2856 | f.debug_tuple("ICertConfig").field(&self.0).finish() | |
2857 | } | |
2858 | } | |
2859 | #[cfg(feature = "Win32_System_Com")] | |
2860 | unsafe impl ::windows::core::Interface for ICertConfig { | |
2861 | type Vtable = ICertConfig_Vtbl; | |
2862 | } | |
2863 | #[cfg(feature = "Win32_System_Com")] | |
2864 | impl ::core::clone::Clone for ICertConfig { | |
2865 | fn clone(&self) -> Self { | |
2866 | Self(self.0.clone()) | |
2867 | } | |
2868 | } | |
2869 | #[cfg(feature = "Win32_System_Com")] | |
2870 | unsafe impl ::windows::core::ComInterface for ICertConfig { | |
2871 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x372fce34_4324_11d0_8810_00a0c903b83c); | |
2872 | } | |
2873 | #[cfg(feature = "Win32_System_Com")] | |
2874 | #[repr(C)] | |
2875 | #[doc(hidden)] | |
2876 | pub struct ICertConfig_Vtbl { | |
2877 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
2878 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pcount: *mut i32) -> ::windows::core::HRESULT, | |
2879 | pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
2880 | pub GetField: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfieldname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2881 | pub GetConfig: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2882 | } | |
2883 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
2884 | #[cfg(feature = "Win32_System_Com")] | |
2885 | #[repr(transparent)] | |
2886 | pub struct ICertConfig2(::windows::core::IUnknown); | |
2887 | #[cfg(feature = "Win32_System_Com")] | |
2888 | impl ICertConfig2 { | |
2889 | pub unsafe fn Reset(&self, index: i32) -> ::windows::core::Result<i32> { | |
2890 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2891 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
2892 | } | |
2893 | pub unsafe fn Next(&self) -> ::windows::core::Result<i32> { | |
2894 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2895 | (::windows::core::Interface::vtable(self).base__.Next)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2896 | } | |
2897 | pub unsafe fn GetField<P0>(&self, strfieldname: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
2898 | where | |
2899 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2900 | { | |
2901 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2902 | (::windows::core::Interface::vtable(self).base__.GetField)(::windows::core::Interface::as_raw(self), strfieldname.into_param().abi(), &mut result__).from_abi(result__) | |
2903 | } | |
2904 | pub unsafe fn GetConfig(&self, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
2905 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2906 | (::windows::core::Interface::vtable(self).base__.GetConfig)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
2907 | } | |
2908 | pub unsafe fn SetSharedFolder<P0>(&self, strsharedfolder: P0) -> ::windows::core::Result<()> | |
2909 | where | |
2910 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2911 | { | |
2912 | (::windows::core::Interface::vtable(self).SetSharedFolder)(::windows::core::Interface::as_raw(self), strsharedfolder.into_param().abi()).ok() | |
2913 | } | |
2914 | } | |
2915 | #[cfg(feature = "Win32_System_Com")] | |
2916 | ::windows::imp::interface_hierarchy!(ICertConfig2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertConfig); | |
2917 | #[cfg(feature = "Win32_System_Com")] | |
2918 | impl ::core::cmp::PartialEq for ICertConfig2 { | |
2919 | fn eq(&self, other: &Self) -> bool { | |
2920 | self.0 == other.0 | |
2921 | } | |
2922 | } | |
2923 | #[cfg(feature = "Win32_System_Com")] | |
2924 | impl ::core::cmp::Eq for ICertConfig2 {} | |
2925 | #[cfg(feature = "Win32_System_Com")] | |
2926 | impl ::core::fmt::Debug for ICertConfig2 { | |
2927 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2928 | f.debug_tuple("ICertConfig2").field(&self.0).finish() | |
2929 | } | |
2930 | } | |
2931 | #[cfg(feature = "Win32_System_Com")] | |
2932 | unsafe impl ::windows::core::Interface for ICertConfig2 { | |
2933 | type Vtable = ICertConfig2_Vtbl; | |
2934 | } | |
2935 | #[cfg(feature = "Win32_System_Com")] | |
2936 | impl ::core::clone::Clone for ICertConfig2 { | |
2937 | fn clone(&self) -> Self { | |
2938 | Self(self.0.clone()) | |
2939 | } | |
2940 | } | |
2941 | #[cfg(feature = "Win32_System_Com")] | |
2942 | unsafe impl ::windows::core::ComInterface for ICertConfig2 { | |
2943 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7a18edde_7e78_4163_8ded_78e2c9cee924); | |
2944 | } | |
2945 | #[cfg(feature = "Win32_System_Com")] | |
2946 | #[repr(C)] | |
2947 | #[doc(hidden)] | |
2948 | pub struct ICertConfig2_Vtbl { | |
2949 | pub base__: ICertConfig_Vtbl, | |
2950 | pub SetSharedFolder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strsharedfolder: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
2951 | } | |
2952 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
2953 | #[cfg(feature = "Win32_System_Com")] | |
2954 | #[repr(transparent)] | |
2955 | pub struct ICertEncodeAltName(::windows::core::IUnknown); | |
2956 | #[cfg(feature = "Win32_System_Com")] | |
2957 | impl ICertEncodeAltName { | |
2958 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
2959 | where | |
2960 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2961 | { | |
2962 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
2963 | } | |
2964 | pub unsafe fn GetNameCount(&self) -> ::windows::core::Result<i32> { | |
2965 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2966 | (::windows::core::Interface::vtable(self).GetNameCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2967 | } | |
2968 | pub unsafe fn GetNameChoice(&self, nameindex: i32) -> ::windows::core::Result<i32> { | |
2969 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
2970 | (::windows::core::Interface::vtable(self).GetNameChoice)(::windows::core::Interface::as_raw(self), nameindex, &mut result__).from_abi(result__) | |
2971 | } | |
2972 | pub unsafe fn GetName(&self, nameindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
2973 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2974 | (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), nameindex, &mut result__).from_abi(result__) | |
2975 | } | |
2976 | pub unsafe fn Reset(&self, namecount: i32) -> ::windows::core::Result<()> { | |
2977 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), namecount).ok() | |
2978 | } | |
2979 | pub unsafe fn SetNameEntry<P0>(&self, nameindex: i32, namechoice: CERT_ALT_NAME, strname: P0) -> ::windows::core::Result<()> | |
2980 | where | |
2981 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
2982 | { | |
2983 | (::windows::core::Interface::vtable(self).SetNameEntry)(::windows::core::Interface::as_raw(self), nameindex, namechoice, strname.into_param().abi()).ok() | |
2984 | } | |
2985 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
2986 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
2987 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2988 | } | |
2989 | } | |
2990 | #[cfg(feature = "Win32_System_Com")] | |
2991 | ::windows::imp::interface_hierarchy!(ICertEncodeAltName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
2992 | #[cfg(feature = "Win32_System_Com")] | |
2993 | impl ::core::cmp::PartialEq for ICertEncodeAltName { | |
2994 | fn eq(&self, other: &Self) -> bool { | |
2995 | self.0 == other.0 | |
2996 | } | |
2997 | } | |
2998 | #[cfg(feature = "Win32_System_Com")] | |
2999 | impl ::core::cmp::Eq for ICertEncodeAltName {} | |
3000 | #[cfg(feature = "Win32_System_Com")] | |
3001 | impl ::core::fmt::Debug for ICertEncodeAltName { | |
3002 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3003 | f.debug_tuple("ICertEncodeAltName").field(&self.0).finish() | |
3004 | } | |
3005 | } | |
3006 | #[cfg(feature = "Win32_System_Com")] | |
3007 | unsafe impl ::windows::core::Interface for ICertEncodeAltName { | |
3008 | type Vtable = ICertEncodeAltName_Vtbl; | |
3009 | } | |
3010 | #[cfg(feature = "Win32_System_Com")] | |
3011 | impl ::core::clone::Clone for ICertEncodeAltName { | |
3012 | fn clone(&self) -> Self { | |
3013 | Self(self.0.clone()) | |
3014 | } | |
3015 | } | |
3016 | #[cfg(feature = "Win32_System_Com")] | |
3017 | unsafe impl ::windows::core::ComInterface for ICertEncodeAltName { | |
3018 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); | |
3019 | } | |
3020 | #[cfg(feature = "Win32_System_Com")] | |
3021 | #[repr(C)] | |
3022 | #[doc(hidden)] | |
3023 | pub struct ICertEncodeAltName_Vtbl { | |
3024 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3025 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3026 | pub GetNameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnamecount: *mut i32) -> ::windows::core::HRESULT, | |
3027 | pub GetNameChoice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nameindex: i32, pnamechoice: *mut i32) -> ::windows::core::HRESULT, | |
3028 | pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nameindex: i32, pstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3029 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, namecount: i32) -> ::windows::core::HRESULT, | |
3030 | pub SetNameEntry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nameindex: i32, namechoice: CERT_ALT_NAME, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3031 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3032 | } | |
3033 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3034 | #[cfg(feature = "Win32_System_Com")] | |
3035 | #[repr(transparent)] | |
3036 | pub struct ICertEncodeAltName2(::windows::core::IUnknown); | |
3037 | #[cfg(feature = "Win32_System_Com")] | |
3038 | impl ICertEncodeAltName2 { | |
3039 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3040 | where | |
3041 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3042 | { | |
3043 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3044 | } | |
3045 | pub unsafe fn GetNameCount(&self) -> ::windows::core::Result<i32> { | |
3046 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3047 | (::windows::core::Interface::vtable(self).base__.GetNameCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3048 | } | |
3049 | pub unsafe fn GetNameChoice(&self, nameindex: i32) -> ::windows::core::Result<i32> { | |
3050 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3051 | (::windows::core::Interface::vtable(self).base__.GetNameChoice)(::windows::core::Interface::as_raw(self), nameindex, &mut result__).from_abi(result__) | |
3052 | } | |
3053 | pub unsafe fn GetName(&self, nameindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
3054 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3055 | (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), nameindex, &mut result__).from_abi(result__) | |
3056 | } | |
3057 | pub unsafe fn Reset(&self, namecount: i32) -> ::windows::core::Result<()> { | |
3058 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), namecount).ok() | |
3059 | } | |
3060 | pub unsafe fn SetNameEntry<P0>(&self, nameindex: i32, namechoice: CERT_ALT_NAME, strname: P0) -> ::windows::core::Result<()> | |
3061 | where | |
3062 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3063 | { | |
3064 | (::windows::core::Interface::vtable(self).base__.SetNameEntry)(::windows::core::Interface::as_raw(self), nameindex, namechoice, strname.into_param().abi()).ok() | |
3065 | } | |
3066 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3067 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3068 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3069 | } | |
3070 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3071 | where | |
3072 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3073 | { | |
3074 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3075 | } | |
3076 | pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3077 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3078 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3079 | } | |
3080 | pub unsafe fn GetNameBlob(&self, nameindex: i32, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3081 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3082 | (::windows::core::Interface::vtable(self).GetNameBlob)(::windows::core::Interface::as_raw(self), nameindex, encoding, &mut result__).from_abi(result__) | |
3083 | } | |
3084 | pub unsafe fn SetNameEntryBlob<P0>(&self, nameindex: i32, namechoice: i32, strname: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3085 | where | |
3086 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3087 | { | |
3088 | (::windows::core::Interface::vtable(self).SetNameEntryBlob)(::windows::core::Interface::as_raw(self), nameindex, namechoice, strname.into_param().abi(), encoding).ok() | |
3089 | } | |
3090 | } | |
3091 | #[cfg(feature = "Win32_System_Com")] | |
3092 | ::windows::imp::interface_hierarchy!(ICertEncodeAltName2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeAltName); | |
3093 | #[cfg(feature = "Win32_System_Com")] | |
3094 | impl ::core::cmp::PartialEq for ICertEncodeAltName2 { | |
3095 | fn eq(&self, other: &Self) -> bool { | |
3096 | self.0 == other.0 | |
3097 | } | |
3098 | } | |
3099 | #[cfg(feature = "Win32_System_Com")] | |
3100 | impl ::core::cmp::Eq for ICertEncodeAltName2 {} | |
3101 | #[cfg(feature = "Win32_System_Com")] | |
3102 | impl ::core::fmt::Debug for ICertEncodeAltName2 { | |
3103 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3104 | f.debug_tuple("ICertEncodeAltName2").field(&self.0).finish() | |
3105 | } | |
3106 | } | |
3107 | #[cfg(feature = "Win32_System_Com")] | |
3108 | unsafe impl ::windows::core::Interface for ICertEncodeAltName2 { | |
3109 | type Vtable = ICertEncodeAltName2_Vtbl; | |
3110 | } | |
3111 | #[cfg(feature = "Win32_System_Com")] | |
3112 | impl ::core::clone::Clone for ICertEncodeAltName2 { | |
3113 | fn clone(&self) -> Self { | |
3114 | Self(self.0.clone()) | |
3115 | } | |
3116 | } | |
3117 | #[cfg(feature = "Win32_System_Com")] | |
3118 | unsafe impl ::windows::core::ComInterface for ICertEncodeAltName2 { | |
3119 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); | |
3120 | } | |
3121 | #[cfg(feature = "Win32_System_Com")] | |
3122 | #[repr(C)] | |
3123 | #[doc(hidden)] | |
3124 | pub struct ICertEncodeAltName2_Vtbl { | |
3125 | pub base__: ICertEncodeAltName_Vtbl, | |
3126 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3127 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3128 | pub GetNameBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nameindex: i32, encoding: EncodingType, pstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3129 | pub SetNameEntryBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nameindex: i32, namechoice: i32, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3130 | } | |
3131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3132 | #[cfg(feature = "Win32_System_Com")] | |
3133 | #[repr(transparent)] | |
3134 | pub struct ICertEncodeBitString(::windows::core::IUnknown); | |
3135 | #[cfg(feature = "Win32_System_Com")] | |
3136 | impl ICertEncodeBitString { | |
3137 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3138 | where | |
3139 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3140 | { | |
3141 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3142 | } | |
3143 | pub unsafe fn GetBitCount(&self) -> ::windows::core::Result<i32> { | |
3144 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3145 | (::windows::core::Interface::vtable(self).GetBitCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3146 | } | |
3147 | pub unsafe fn GetBitString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3148 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3149 | (::windows::core::Interface::vtable(self).GetBitString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3150 | } | |
3151 | pub unsafe fn Encode<P0>(&self, bitcount: i32, strbitstring: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
3152 | where | |
3153 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3154 | { | |
3155 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3156 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into_param().abi(), &mut result__).from_abi(result__) | |
3157 | } | |
3158 | } | |
3159 | #[cfg(feature = "Win32_System_Com")] | |
3160 | ::windows::imp::interface_hierarchy!(ICertEncodeBitString, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3161 | #[cfg(feature = "Win32_System_Com")] | |
3162 | impl ::core::cmp::PartialEq for ICertEncodeBitString { | |
3163 | fn eq(&self, other: &Self) -> bool { | |
3164 | self.0 == other.0 | |
3165 | } | |
3166 | } | |
3167 | #[cfg(feature = "Win32_System_Com")] | |
3168 | impl ::core::cmp::Eq for ICertEncodeBitString {} | |
3169 | #[cfg(feature = "Win32_System_Com")] | |
3170 | impl ::core::fmt::Debug for ICertEncodeBitString { | |
3171 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3172 | f.debug_tuple("ICertEncodeBitString").field(&self.0).finish() | |
3173 | } | |
3174 | } | |
3175 | #[cfg(feature = "Win32_System_Com")] | |
3176 | unsafe impl ::windows::core::Interface for ICertEncodeBitString { | |
3177 | type Vtable = ICertEncodeBitString_Vtbl; | |
3178 | } | |
3179 | #[cfg(feature = "Win32_System_Com")] | |
3180 | impl ::core::clone::Clone for ICertEncodeBitString { | |
3181 | fn clone(&self) -> Self { | |
3182 | Self(self.0.clone()) | |
3183 | } | |
3184 | } | |
3185 | #[cfg(feature = "Win32_System_Com")] | |
3186 | unsafe impl ::windows::core::ComInterface for ICertEncodeBitString { | |
3187 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6db525be_1278_11d1_9bd4_00c04fb683fa); | |
3188 | } | |
3189 | #[cfg(feature = "Win32_System_Com")] | |
3190 | #[repr(C)] | |
3191 | #[doc(hidden)] | |
3192 | pub struct ICertEncodeBitString_Vtbl { | |
3193 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3194 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3195 | pub GetBitCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbitcount: *mut i32) -> ::windows::core::HRESULT, | |
3196 | pub GetBitString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbitstring: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3197 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bitcount: i32, strbitstring: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3198 | } | |
3199 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3200 | #[cfg(feature = "Win32_System_Com")] | |
3201 | #[repr(transparent)] | |
3202 | pub struct ICertEncodeBitString2(::windows::core::IUnknown); | |
3203 | #[cfg(feature = "Win32_System_Com")] | |
3204 | impl ICertEncodeBitString2 { | |
3205 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3206 | where | |
3207 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3208 | { | |
3209 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3210 | } | |
3211 | pub unsafe fn GetBitCount(&self) -> ::windows::core::Result<i32> { | |
3212 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3213 | (::windows::core::Interface::vtable(self).base__.GetBitCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3214 | } | |
3215 | pub unsafe fn GetBitString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3216 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3217 | (::windows::core::Interface::vtable(self).base__.GetBitString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3218 | } | |
3219 | pub unsafe fn Encode<P0>(&self, bitcount: i32, strbitstring: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
3220 | where | |
3221 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3222 | { | |
3223 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3224 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into_param().abi(), &mut result__).from_abi(result__) | |
3225 | } | |
3226 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3227 | where | |
3228 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3229 | { | |
3230 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3231 | } | |
3232 | pub unsafe fn EncodeBlob<P0>(&self, bitcount: i32, strbitstring: P0, encodingin: EncodingType, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
3233 | where | |
3234 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3235 | { | |
3236 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3237 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into_param().abi(), encodingin, encoding, &mut result__).from_abi(result__) | |
3238 | } | |
3239 | pub unsafe fn GetBitStringBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3240 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3241 | (::windows::core::Interface::vtable(self).GetBitStringBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3242 | } | |
3243 | } | |
3244 | #[cfg(feature = "Win32_System_Com")] | |
3245 | ::windows::imp::interface_hierarchy!(ICertEncodeBitString2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeBitString); | |
3246 | #[cfg(feature = "Win32_System_Com")] | |
3247 | impl ::core::cmp::PartialEq for ICertEncodeBitString2 { | |
3248 | fn eq(&self, other: &Self) -> bool { | |
3249 | self.0 == other.0 | |
3250 | } | |
3251 | } | |
3252 | #[cfg(feature = "Win32_System_Com")] | |
3253 | impl ::core::cmp::Eq for ICertEncodeBitString2 {} | |
3254 | #[cfg(feature = "Win32_System_Com")] | |
3255 | impl ::core::fmt::Debug for ICertEncodeBitString2 { | |
3256 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3257 | f.debug_tuple("ICertEncodeBitString2").field(&self.0).finish() | |
3258 | } | |
3259 | } | |
3260 | #[cfg(feature = "Win32_System_Com")] | |
3261 | unsafe impl ::windows::core::Interface for ICertEncodeBitString2 { | |
3262 | type Vtable = ICertEncodeBitString2_Vtbl; | |
3263 | } | |
3264 | #[cfg(feature = "Win32_System_Com")] | |
3265 | impl ::core::clone::Clone for ICertEncodeBitString2 { | |
3266 | fn clone(&self) -> Self { | |
3267 | Self(self.0.clone()) | |
3268 | } | |
3269 | } | |
3270 | #[cfg(feature = "Win32_System_Com")] | |
3271 | unsafe impl ::windows::core::ComInterface for ICertEncodeBitString2 { | |
3272 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); | |
3273 | } | |
3274 | #[cfg(feature = "Win32_System_Com")] | |
3275 | #[repr(C)] | |
3276 | #[doc(hidden)] | |
3277 | pub struct ICertEncodeBitString2_Vtbl { | |
3278 | pub base__: ICertEncodeBitString_Vtbl, | |
3279 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3280 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bitcount: i32, strbitstring: ::std::mem::MaybeUninit<::windows::core::BSTR>, encodingin: EncodingType, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3281 | pub GetBitStringBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrbitstring: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3282 | } | |
3283 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3284 | #[cfg(feature = "Win32_System_Com")] | |
3285 | #[repr(transparent)] | |
3286 | pub struct ICertEncodeCRLDistInfo(::windows::core::IUnknown); | |
3287 | #[cfg(feature = "Win32_System_Com")] | |
3288 | impl ICertEncodeCRLDistInfo { | |
3289 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3290 | where | |
3291 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3292 | { | |
3293 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3294 | } | |
3295 | pub unsafe fn GetDistPointCount(&self) -> ::windows::core::Result<i32> { | |
3296 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3297 | (::windows::core::Interface::vtable(self).GetDistPointCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3298 | } | |
3299 | pub unsafe fn GetNameCount(&self, distpointindex: i32) -> ::windows::core::Result<i32> { | |
3300 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3301 | (::windows::core::Interface::vtable(self).GetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, &mut result__).from_abi(result__) | |
3302 | } | |
3303 | pub unsafe fn GetNameChoice(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result<i32> { | |
3304 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3305 | (::windows::core::Interface::vtable(self).GetNameChoice)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).from_abi(result__) | |
3306 | } | |
3307 | pub unsafe fn GetName(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
3308 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3309 | (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).from_abi(result__) | |
3310 | } | |
3311 | pub unsafe fn Reset(&self, distpointcount: i32) -> ::windows::core::Result<()> { | |
3312 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), distpointcount).ok() | |
3313 | } | |
3314 | pub unsafe fn SetNameCount(&self, distpointindex: i32, namecount: i32) -> ::windows::core::Result<()> { | |
3315 | (::windows::core::Interface::vtable(self).SetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, namecount).ok() | |
3316 | } | |
3317 | pub unsafe fn SetNameEntry<P0>(&self, distpointindex: i32, nameindex: i32, namechoice: CERT_ALT_NAME, strname: P0) -> ::windows::core::Result<()> | |
3318 | where | |
3319 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3320 | { | |
3321 | (::windows::core::Interface::vtable(self).SetNameEntry)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, namechoice, strname.into_param().abi()).ok() | |
3322 | } | |
3323 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3324 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3325 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3326 | } | |
3327 | } | |
3328 | #[cfg(feature = "Win32_System_Com")] | |
3329 | ::windows::imp::interface_hierarchy!(ICertEncodeCRLDistInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3330 | #[cfg(feature = "Win32_System_Com")] | |
3331 | impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo { | |
3332 | fn eq(&self, other: &Self) -> bool { | |
3333 | self.0 == other.0 | |
3334 | } | |
3335 | } | |
3336 | #[cfg(feature = "Win32_System_Com")] | |
3337 | impl ::core::cmp::Eq for ICertEncodeCRLDistInfo {} | |
3338 | #[cfg(feature = "Win32_System_Com")] | |
3339 | impl ::core::fmt::Debug for ICertEncodeCRLDistInfo { | |
3340 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3341 | f.debug_tuple("ICertEncodeCRLDistInfo").field(&self.0).finish() | |
3342 | } | |
3343 | } | |
3344 | #[cfg(feature = "Win32_System_Com")] | |
3345 | unsafe impl ::windows::core::Interface for ICertEncodeCRLDistInfo { | |
3346 | type Vtable = ICertEncodeCRLDistInfo_Vtbl; | |
3347 | } | |
3348 | #[cfg(feature = "Win32_System_Com")] | |
3349 | impl ::core::clone::Clone for ICertEncodeCRLDistInfo { | |
3350 | fn clone(&self) -> Self { | |
3351 | Self(self.0.clone()) | |
3352 | } | |
3353 | } | |
3354 | #[cfg(feature = "Win32_System_Com")] | |
3355 | unsafe impl ::windows::core::ComInterface for ICertEncodeCRLDistInfo { | |
3356 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x01958640_bbff_11d0_8825_00a0c903b83c); | |
3357 | } | |
3358 | #[cfg(feature = "Win32_System_Com")] | |
3359 | #[repr(C)] | |
3360 | #[doc(hidden)] | |
3361 | pub struct ICertEncodeCRLDistInfo_Vtbl { | |
3362 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3363 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3364 | pub GetDistPointCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdistpointcount: *mut i32) -> ::windows::core::HRESULT, | |
3365 | pub GetNameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointindex: i32, pnamecount: *mut i32) -> ::windows::core::HRESULT, | |
3366 | pub GetNameChoice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointindex: i32, nameindex: i32, pnamechoice: *mut i32) -> ::windows::core::HRESULT, | |
3367 | pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointindex: i32, nameindex: i32, pstrname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3368 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointcount: i32) -> ::windows::core::HRESULT, | |
3369 | pub SetNameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointindex: i32, namecount: i32) -> ::windows::core::HRESULT, | |
3370 | pub SetNameEntry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, distpointindex: i32, nameindex: i32, namechoice: CERT_ALT_NAME, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3371 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3372 | } | |
3373 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3374 | #[cfg(feature = "Win32_System_Com")] | |
3375 | #[repr(transparent)] | |
3376 | pub struct ICertEncodeCRLDistInfo2(::windows::core::IUnknown); | |
3377 | #[cfg(feature = "Win32_System_Com")] | |
3378 | impl ICertEncodeCRLDistInfo2 { | |
3379 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3380 | where | |
3381 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3382 | { | |
3383 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3384 | } | |
3385 | pub unsafe fn GetDistPointCount(&self) -> ::windows::core::Result<i32> { | |
3386 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3387 | (::windows::core::Interface::vtable(self).base__.GetDistPointCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3388 | } | |
3389 | pub unsafe fn GetNameCount(&self, distpointindex: i32) -> ::windows::core::Result<i32> { | |
3390 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3391 | (::windows::core::Interface::vtable(self).base__.GetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, &mut result__).from_abi(result__) | |
3392 | } | |
3393 | pub unsafe fn GetNameChoice(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result<i32> { | |
3394 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3395 | (::windows::core::Interface::vtable(self).base__.GetNameChoice)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).from_abi(result__) | |
3396 | } | |
3397 | pub unsafe fn GetName(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
3398 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3399 | (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).from_abi(result__) | |
3400 | } | |
3401 | pub unsafe fn Reset(&self, distpointcount: i32) -> ::windows::core::Result<()> { | |
3402 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), distpointcount).ok() | |
3403 | } | |
3404 | pub unsafe fn SetNameCount(&self, distpointindex: i32, namecount: i32) -> ::windows::core::Result<()> { | |
3405 | (::windows::core::Interface::vtable(self).base__.SetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, namecount).ok() | |
3406 | } | |
3407 | pub unsafe fn SetNameEntry<P0>(&self, distpointindex: i32, nameindex: i32, namechoice: CERT_ALT_NAME, strname: P0) -> ::windows::core::Result<()> | |
3408 | where | |
3409 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3410 | { | |
3411 | (::windows::core::Interface::vtable(self).base__.SetNameEntry)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, namechoice, strname.into_param().abi()).ok() | |
3412 | } | |
3413 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3414 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3415 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3416 | } | |
3417 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3418 | where | |
3419 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3420 | { | |
3421 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3422 | } | |
3423 | pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3424 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3425 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3426 | } | |
3427 | } | |
3428 | #[cfg(feature = "Win32_System_Com")] | |
3429 | ::windows::imp::interface_hierarchy!(ICertEncodeCRLDistInfo2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeCRLDistInfo); | |
3430 | #[cfg(feature = "Win32_System_Com")] | |
3431 | impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo2 { | |
3432 | fn eq(&self, other: &Self) -> bool { | |
3433 | self.0 == other.0 | |
3434 | } | |
3435 | } | |
3436 | #[cfg(feature = "Win32_System_Com")] | |
3437 | impl ::core::cmp::Eq for ICertEncodeCRLDistInfo2 {} | |
3438 | #[cfg(feature = "Win32_System_Com")] | |
3439 | impl ::core::fmt::Debug for ICertEncodeCRLDistInfo2 { | |
3440 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3441 | f.debug_tuple("ICertEncodeCRLDistInfo2").field(&self.0).finish() | |
3442 | } | |
3443 | } | |
3444 | #[cfg(feature = "Win32_System_Com")] | |
3445 | unsafe impl ::windows::core::Interface for ICertEncodeCRLDistInfo2 { | |
3446 | type Vtable = ICertEncodeCRLDistInfo2_Vtbl; | |
3447 | } | |
3448 | #[cfg(feature = "Win32_System_Com")] | |
3449 | impl ::core::clone::Clone for ICertEncodeCRLDistInfo2 { | |
3450 | fn clone(&self) -> Self { | |
3451 | Self(self.0.clone()) | |
3452 | } | |
3453 | } | |
3454 | #[cfg(feature = "Win32_System_Com")] | |
3455 | unsafe impl ::windows::core::ComInterface for ICertEncodeCRLDistInfo2 { | |
3456 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb4275d4b_3e30_446f_ad36_09d03120b078); | |
3457 | } | |
3458 | #[cfg(feature = "Win32_System_Com")] | |
3459 | #[repr(C)] | |
3460 | #[doc(hidden)] | |
3461 | pub struct ICertEncodeCRLDistInfo2_Vtbl { | |
3462 | pub base__: ICertEncodeCRLDistInfo_Vtbl, | |
3463 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3464 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3465 | } | |
3466 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3467 | #[cfg(feature = "Win32_System_Com")] | |
3468 | #[repr(transparent)] | |
3469 | pub struct ICertEncodeDateArray(::windows::core::IUnknown); | |
3470 | #[cfg(feature = "Win32_System_Com")] | |
3471 | impl ICertEncodeDateArray { | |
3472 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3473 | where | |
3474 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3475 | { | |
3476 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3477 | } | |
3478 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3479 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3480 | (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3481 | } | |
3482 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<f64> { | |
3483 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
3484 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3485 | } | |
3486 | pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { | |
3487 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), count).ok() | |
3488 | } | |
3489 | pub unsafe fn SetValue(&self, index: i32, value: f64) -> ::windows::core::Result<()> { | |
3490 | (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), index, value).ok() | |
3491 | } | |
3492 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3493 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3494 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3495 | } | |
3496 | } | |
3497 | #[cfg(feature = "Win32_System_Com")] | |
3498 | ::windows::imp::interface_hierarchy!(ICertEncodeDateArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3499 | #[cfg(feature = "Win32_System_Com")] | |
3500 | impl ::core::cmp::PartialEq for ICertEncodeDateArray { | |
3501 | fn eq(&self, other: &Self) -> bool { | |
3502 | self.0 == other.0 | |
3503 | } | |
3504 | } | |
3505 | #[cfg(feature = "Win32_System_Com")] | |
3506 | impl ::core::cmp::Eq for ICertEncodeDateArray {} | |
3507 | #[cfg(feature = "Win32_System_Com")] | |
3508 | impl ::core::fmt::Debug for ICertEncodeDateArray { | |
3509 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3510 | f.debug_tuple("ICertEncodeDateArray").field(&self.0).finish() | |
3511 | } | |
3512 | } | |
3513 | #[cfg(feature = "Win32_System_Com")] | |
3514 | unsafe impl ::windows::core::Interface for ICertEncodeDateArray { | |
3515 | type Vtable = ICertEncodeDateArray_Vtbl; | |
3516 | } | |
3517 | #[cfg(feature = "Win32_System_Com")] | |
3518 | impl ::core::clone::Clone for ICertEncodeDateArray { | |
3519 | fn clone(&self) -> Self { | |
3520 | Self(self.0.clone()) | |
3521 | } | |
3522 | } | |
3523 | #[cfg(feature = "Win32_System_Com")] | |
3524 | unsafe impl ::windows::core::ComInterface for ICertEncodeDateArray { | |
3525 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2f9469a0_a470_11d0_8821_00a0c903b83c); | |
3526 | } | |
3527 | #[cfg(feature = "Win32_System_Com")] | |
3528 | #[repr(C)] | |
3529 | #[doc(hidden)] | |
3530 | pub struct ICertEncodeDateArray_Vtbl { | |
3531 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3532 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3533 | pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcount: *mut i32) -> ::windows::core::HRESULT, | |
3534 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
3535 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32) -> ::windows::core::HRESULT, | |
3536 | pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, value: f64) -> ::windows::core::HRESULT, | |
3537 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3538 | } | |
3539 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3540 | #[cfg(feature = "Win32_System_Com")] | |
3541 | #[repr(transparent)] | |
3542 | pub struct ICertEncodeDateArray2(::windows::core::IUnknown); | |
3543 | #[cfg(feature = "Win32_System_Com")] | |
3544 | impl ICertEncodeDateArray2 { | |
3545 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3546 | where | |
3547 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3548 | { | |
3549 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3550 | } | |
3551 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3552 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3553 | (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3554 | } | |
3555 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<f64> { | |
3556 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
3557 | (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3558 | } | |
3559 | pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { | |
3560 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), count).ok() | |
3561 | } | |
3562 | pub unsafe fn SetValue(&self, index: i32, value: f64) -> ::windows::core::Result<()> { | |
3563 | (::windows::core::Interface::vtable(self).base__.SetValue)(::windows::core::Interface::as_raw(self), index, value).ok() | |
3564 | } | |
3565 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3566 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3567 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3568 | } | |
3569 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3570 | where | |
3571 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3572 | { | |
3573 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3574 | } | |
3575 | pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3576 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3577 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3578 | } | |
3579 | } | |
3580 | #[cfg(feature = "Win32_System_Com")] | |
3581 | ::windows::imp::interface_hierarchy!(ICertEncodeDateArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeDateArray); | |
3582 | #[cfg(feature = "Win32_System_Com")] | |
3583 | impl ::core::cmp::PartialEq for ICertEncodeDateArray2 { | |
3584 | fn eq(&self, other: &Self) -> bool { | |
3585 | self.0 == other.0 | |
3586 | } | |
3587 | } | |
3588 | #[cfg(feature = "Win32_System_Com")] | |
3589 | impl ::core::cmp::Eq for ICertEncodeDateArray2 {} | |
3590 | #[cfg(feature = "Win32_System_Com")] | |
3591 | impl ::core::fmt::Debug for ICertEncodeDateArray2 { | |
3592 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3593 | f.debug_tuple("ICertEncodeDateArray2").field(&self.0).finish() | |
3594 | } | |
3595 | } | |
3596 | #[cfg(feature = "Win32_System_Com")] | |
3597 | unsafe impl ::windows::core::Interface for ICertEncodeDateArray2 { | |
3598 | type Vtable = ICertEncodeDateArray2_Vtbl; | |
3599 | } | |
3600 | #[cfg(feature = "Win32_System_Com")] | |
3601 | impl ::core::clone::Clone for ICertEncodeDateArray2 { | |
3602 | fn clone(&self) -> Self { | |
3603 | Self(self.0.clone()) | |
3604 | } | |
3605 | } | |
3606 | #[cfg(feature = "Win32_System_Com")] | |
3607 | unsafe impl ::windows::core::ComInterface for ICertEncodeDateArray2 { | |
3608 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); | |
3609 | } | |
3610 | #[cfg(feature = "Win32_System_Com")] | |
3611 | #[repr(C)] | |
3612 | #[doc(hidden)] | |
3613 | pub struct ICertEncodeDateArray2_Vtbl { | |
3614 | pub base__: ICertEncodeDateArray_Vtbl, | |
3615 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3616 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3617 | } | |
3618 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3619 | #[cfg(feature = "Win32_System_Com")] | |
3620 | #[repr(transparent)] | |
3621 | pub struct ICertEncodeLongArray(::windows::core::IUnknown); | |
3622 | #[cfg(feature = "Win32_System_Com")] | |
3623 | impl ICertEncodeLongArray { | |
3624 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3625 | where | |
3626 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3627 | { | |
3628 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3629 | } | |
3630 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3631 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3632 | (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3633 | } | |
3634 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<i32> { | |
3635 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3636 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3637 | } | |
3638 | pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { | |
3639 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), count).ok() | |
3640 | } | |
3641 | pub unsafe fn SetValue(&self, index: i32, value: i32) -> ::windows::core::Result<()> { | |
3642 | (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), index, value).ok() | |
3643 | } | |
3644 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3645 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3646 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3647 | } | |
3648 | } | |
3649 | #[cfg(feature = "Win32_System_Com")] | |
3650 | ::windows::imp::interface_hierarchy!(ICertEncodeLongArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3651 | #[cfg(feature = "Win32_System_Com")] | |
3652 | impl ::core::cmp::PartialEq for ICertEncodeLongArray { | |
3653 | fn eq(&self, other: &Self) -> bool { | |
3654 | self.0 == other.0 | |
3655 | } | |
3656 | } | |
3657 | #[cfg(feature = "Win32_System_Com")] | |
3658 | impl ::core::cmp::Eq for ICertEncodeLongArray {} | |
3659 | #[cfg(feature = "Win32_System_Com")] | |
3660 | impl ::core::fmt::Debug for ICertEncodeLongArray { | |
3661 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3662 | f.debug_tuple("ICertEncodeLongArray").field(&self.0).finish() | |
3663 | } | |
3664 | } | |
3665 | #[cfg(feature = "Win32_System_Com")] | |
3666 | unsafe impl ::windows::core::Interface for ICertEncodeLongArray { | |
3667 | type Vtable = ICertEncodeLongArray_Vtbl; | |
3668 | } | |
3669 | #[cfg(feature = "Win32_System_Com")] | |
3670 | impl ::core::clone::Clone for ICertEncodeLongArray { | |
3671 | fn clone(&self) -> Self { | |
3672 | Self(self.0.clone()) | |
3673 | } | |
3674 | } | |
3675 | #[cfg(feature = "Win32_System_Com")] | |
3676 | unsafe impl ::windows::core::ComInterface for ICertEncodeLongArray { | |
3677 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x15e2f230_a0a2_11d0_8821_00a0c903b83c); | |
3678 | } | |
3679 | #[cfg(feature = "Win32_System_Com")] | |
3680 | #[repr(C)] | |
3681 | #[doc(hidden)] | |
3682 | pub struct ICertEncodeLongArray_Vtbl { | |
3683 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3684 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3685 | pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcount: *mut i32) -> ::windows::core::HRESULT, | |
3686 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
3687 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32) -> ::windows::core::HRESULT, | |
3688 | pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, value: i32) -> ::windows::core::HRESULT, | |
3689 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3690 | } | |
3691 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3692 | #[cfg(feature = "Win32_System_Com")] | |
3693 | #[repr(transparent)] | |
3694 | pub struct ICertEncodeLongArray2(::windows::core::IUnknown); | |
3695 | #[cfg(feature = "Win32_System_Com")] | |
3696 | impl ICertEncodeLongArray2 { | |
3697 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3698 | where | |
3699 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3700 | { | |
3701 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3702 | } | |
3703 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3704 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3705 | (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3706 | } | |
3707 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<i32> { | |
3708 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3709 | (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3710 | } | |
3711 | pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { | |
3712 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), count).ok() | |
3713 | } | |
3714 | pub unsafe fn SetValue(&self, index: i32, value: i32) -> ::windows::core::Result<()> { | |
3715 | (::windows::core::Interface::vtable(self).base__.SetValue)(::windows::core::Interface::as_raw(self), index, value).ok() | |
3716 | } | |
3717 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3718 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3719 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3720 | } | |
3721 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3722 | where | |
3723 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3724 | { | |
3725 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3726 | } | |
3727 | pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3728 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3729 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3730 | } | |
3731 | } | |
3732 | #[cfg(feature = "Win32_System_Com")] | |
3733 | ::windows::imp::interface_hierarchy!(ICertEncodeLongArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeLongArray); | |
3734 | #[cfg(feature = "Win32_System_Com")] | |
3735 | impl ::core::cmp::PartialEq for ICertEncodeLongArray2 { | |
3736 | fn eq(&self, other: &Self) -> bool { | |
3737 | self.0 == other.0 | |
3738 | } | |
3739 | } | |
3740 | #[cfg(feature = "Win32_System_Com")] | |
3741 | impl ::core::cmp::Eq for ICertEncodeLongArray2 {} | |
3742 | #[cfg(feature = "Win32_System_Com")] | |
3743 | impl ::core::fmt::Debug for ICertEncodeLongArray2 { | |
3744 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3745 | f.debug_tuple("ICertEncodeLongArray2").field(&self.0).finish() | |
3746 | } | |
3747 | } | |
3748 | #[cfg(feature = "Win32_System_Com")] | |
3749 | unsafe impl ::windows::core::Interface for ICertEncodeLongArray2 { | |
3750 | type Vtable = ICertEncodeLongArray2_Vtbl; | |
3751 | } | |
3752 | #[cfg(feature = "Win32_System_Com")] | |
3753 | impl ::core::clone::Clone for ICertEncodeLongArray2 { | |
3754 | fn clone(&self) -> Self { | |
3755 | Self(self.0.clone()) | |
3756 | } | |
3757 | } | |
3758 | #[cfg(feature = "Win32_System_Com")] | |
3759 | unsafe impl ::windows::core::ComInterface for ICertEncodeLongArray2 { | |
3760 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4efde84a_bd9b_4fc2_a108_c347d478840f); | |
3761 | } | |
3762 | #[cfg(feature = "Win32_System_Com")] | |
3763 | #[repr(C)] | |
3764 | #[doc(hidden)] | |
3765 | pub struct ICertEncodeLongArray2_Vtbl { | |
3766 | pub base__: ICertEncodeLongArray_Vtbl, | |
3767 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3768 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3769 | } | |
3770 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3771 | #[cfg(feature = "Win32_System_Com")] | |
3772 | #[repr(transparent)] | |
3773 | pub struct ICertEncodeStringArray(::windows::core::IUnknown); | |
3774 | #[cfg(feature = "Win32_System_Com")] | |
3775 | impl ICertEncodeStringArray { | |
3776 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3777 | where | |
3778 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3779 | { | |
3780 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3781 | } | |
3782 | pub unsafe fn GetStringType(&self) -> ::windows::core::Result<i32> { | |
3783 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3784 | (::windows::core::Interface::vtable(self).GetStringType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3785 | } | |
3786 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3787 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3788 | (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3789 | } | |
3790 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
3791 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3792 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3793 | } | |
3794 | pub unsafe fn Reset(&self, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> ::windows::core::Result<()> { | |
3795 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), count, stringtype).ok() | |
3796 | } | |
3797 | pub unsafe fn SetValue<P0>(&self, index: i32, str: P0) -> ::windows::core::Result<()> | |
3798 | where | |
3799 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3800 | { | |
3801 | (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), index, str.into_param().abi()).ok() | |
3802 | } | |
3803 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3804 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3805 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3806 | } | |
3807 | } | |
3808 | #[cfg(feature = "Win32_System_Com")] | |
3809 | ::windows::imp::interface_hierarchy!(ICertEncodeStringArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3810 | #[cfg(feature = "Win32_System_Com")] | |
3811 | impl ::core::cmp::PartialEq for ICertEncodeStringArray { | |
3812 | fn eq(&self, other: &Self) -> bool { | |
3813 | self.0 == other.0 | |
3814 | } | |
3815 | } | |
3816 | #[cfg(feature = "Win32_System_Com")] | |
3817 | impl ::core::cmp::Eq for ICertEncodeStringArray {} | |
3818 | #[cfg(feature = "Win32_System_Com")] | |
3819 | impl ::core::fmt::Debug for ICertEncodeStringArray { | |
3820 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3821 | f.debug_tuple("ICertEncodeStringArray").field(&self.0).finish() | |
3822 | } | |
3823 | } | |
3824 | #[cfg(feature = "Win32_System_Com")] | |
3825 | unsafe impl ::windows::core::Interface for ICertEncodeStringArray { | |
3826 | type Vtable = ICertEncodeStringArray_Vtbl; | |
3827 | } | |
3828 | #[cfg(feature = "Win32_System_Com")] | |
3829 | impl ::core::clone::Clone for ICertEncodeStringArray { | |
3830 | fn clone(&self) -> Self { | |
3831 | Self(self.0.clone()) | |
3832 | } | |
3833 | } | |
3834 | #[cfg(feature = "Win32_System_Com")] | |
3835 | unsafe impl ::windows::core::ComInterface for ICertEncodeStringArray { | |
3836 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x12a88820_7494_11d0_8816_00a0c903b83c); | |
3837 | } | |
3838 | #[cfg(feature = "Win32_System_Com")] | |
3839 | #[repr(C)] | |
3840 | #[doc(hidden)] | |
3841 | pub struct ICertEncodeStringArray_Vtbl { | |
3842 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3843 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strbinary: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3844 | pub GetStringType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstringtype: *mut i32) -> ::windows::core::HRESULT, | |
3845 | pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcount: *mut i32) -> ::windows::core::HRESULT, | |
3846 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pstr: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3847 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> ::windows::core::HRESULT, | |
3848 | pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, str: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3849 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrbinary: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3850 | } | |
3851 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3852 | #[cfg(feature = "Win32_System_Com")] | |
3853 | #[repr(transparent)] | |
3854 | pub struct ICertEncodeStringArray2(::windows::core::IUnknown); | |
3855 | #[cfg(feature = "Win32_System_Com")] | |
3856 | impl ICertEncodeStringArray2 { | |
3857 | pub unsafe fn Decode<P0>(&self, strbinary: P0) -> ::windows::core::Result<()> | |
3858 | where | |
3859 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3860 | { | |
3861 | (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into_param().abi()).ok() | |
3862 | } | |
3863 | pub unsafe fn GetStringType(&self) -> ::windows::core::Result<i32> { | |
3864 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3865 | (::windows::core::Interface::vtable(self).base__.GetStringType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3866 | } | |
3867 | pub unsafe fn GetCount(&self) -> ::windows::core::Result<i32> { | |
3868 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3869 | (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3870 | } | |
3871 | pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
3872 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3873 | (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
3874 | } | |
3875 | pub unsafe fn Reset(&self, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> ::windows::core::Result<()> { | |
3876 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), count, stringtype).ok() | |
3877 | } | |
3878 | pub unsafe fn SetValue<P0>(&self, index: i32, str: P0) -> ::windows::core::Result<()> | |
3879 | where | |
3880 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3881 | { | |
3882 | (::windows::core::Interface::vtable(self).base__.SetValue)(::windows::core::Interface::as_raw(self), index, str.into_param().abi()).ok() | |
3883 | } | |
3884 | pub unsafe fn Encode(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3885 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3886 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3887 | } | |
3888 | pub unsafe fn DecodeBlob<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
3889 | where | |
3890 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3891 | { | |
3892 | (::windows::core::Interface::vtable(self).DecodeBlob)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
3893 | } | |
3894 | pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
3895 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3896 | (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
3897 | } | |
3898 | } | |
3899 | #[cfg(feature = "Win32_System_Com")] | |
3900 | ::windows::imp::interface_hierarchy!(ICertEncodeStringArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeStringArray); | |
3901 | #[cfg(feature = "Win32_System_Com")] | |
3902 | impl ::core::cmp::PartialEq for ICertEncodeStringArray2 { | |
3903 | fn eq(&self, other: &Self) -> bool { | |
3904 | self.0 == other.0 | |
3905 | } | |
3906 | } | |
3907 | #[cfg(feature = "Win32_System_Com")] | |
3908 | impl ::core::cmp::Eq for ICertEncodeStringArray2 {} | |
3909 | #[cfg(feature = "Win32_System_Com")] | |
3910 | impl ::core::fmt::Debug for ICertEncodeStringArray2 { | |
3911 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3912 | f.debug_tuple("ICertEncodeStringArray2").field(&self.0).finish() | |
3913 | } | |
3914 | } | |
3915 | #[cfg(feature = "Win32_System_Com")] | |
3916 | unsafe impl ::windows::core::Interface for ICertEncodeStringArray2 { | |
3917 | type Vtable = ICertEncodeStringArray2_Vtbl; | |
3918 | } | |
3919 | #[cfg(feature = "Win32_System_Com")] | |
3920 | impl ::core::clone::Clone for ICertEncodeStringArray2 { | |
3921 | fn clone(&self) -> Self { | |
3922 | Self(self.0.clone()) | |
3923 | } | |
3924 | } | |
3925 | #[cfg(feature = "Win32_System_Com")] | |
3926 | unsafe impl ::windows::core::ComInterface for ICertEncodeStringArray2 { | |
3927 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); | |
3928 | } | |
3929 | #[cfg(feature = "Win32_System_Com")] | |
3930 | #[repr(C)] | |
3931 | #[doc(hidden)] | |
3932 | pub struct ICertEncodeStringArray2_Vtbl { | |
3933 | pub base__: ICertEncodeStringArray_Vtbl, | |
3934 | pub DecodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
3935 | pub EncodeBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3936 | } | |
3937 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3938 | #[cfg(feature = "Win32_System_Com")] | |
3939 | #[repr(transparent)] | |
3940 | pub struct ICertExit(::windows::core::IUnknown); | |
3941 | #[cfg(feature = "Win32_System_Com")] | |
3942 | impl ICertExit { | |
3943 | pub unsafe fn Initialize<P0>(&self, strconfig: P0) -> ::windows::core::Result<CERT_EXIT_EVENT_MASK> | |
3944 | where | |
3945 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
3946 | { | |
3947 | let mut result__ = ::windows::core::zeroed::<CERT_EXIT_EVENT_MASK>(); | |
3948 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
3949 | } | |
3950 | pub unsafe fn Notify(&self, exitevent: i32, context: i32) -> ::windows::core::Result<()> { | |
3951 | (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), exitevent, context).ok() | |
3952 | } | |
3953 | pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
3954 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
3955 | (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
3956 | } | |
3957 | } | |
3958 | #[cfg(feature = "Win32_System_Com")] | |
3959 | ::windows::imp::interface_hierarchy!(ICertExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
3960 | #[cfg(feature = "Win32_System_Com")] | |
3961 | impl ::core::cmp::PartialEq for ICertExit { | |
3962 | fn eq(&self, other: &Self) -> bool { | |
3963 | self.0 == other.0 | |
3964 | } | |
3965 | } | |
3966 | #[cfg(feature = "Win32_System_Com")] | |
3967 | impl ::core::cmp::Eq for ICertExit {} | |
3968 | #[cfg(feature = "Win32_System_Com")] | |
3969 | impl ::core::fmt::Debug for ICertExit { | |
3970 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3971 | f.debug_tuple("ICertExit").field(&self.0).finish() | |
3972 | } | |
3973 | } | |
3974 | #[cfg(feature = "Win32_System_Com")] | |
3975 | unsafe impl ::windows::core::Interface for ICertExit { | |
3976 | type Vtable = ICertExit_Vtbl; | |
3977 | } | |
3978 | #[cfg(feature = "Win32_System_Com")] | |
3979 | impl ::core::clone::Clone for ICertExit { | |
3980 | fn clone(&self) -> Self { | |
3981 | Self(self.0.clone()) | |
3982 | } | |
3983 | } | |
3984 | #[cfg(feature = "Win32_System_Com")] | |
3985 | unsafe impl ::windows::core::ComInterface for ICertExit { | |
3986 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe19ae1a0_7364_11d0_8816_00a0c903b83c); | |
3987 | } | |
3988 | #[cfg(feature = "Win32_System_Com")] | |
3989 | #[repr(C)] | |
3990 | #[doc(hidden)] | |
3991 | pub struct ICertExit_Vtbl { | |
3992 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
3993 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, peventmask: *mut CERT_EXIT_EVENT_MASK) -> ::windows::core::HRESULT, | |
3994 | pub Notify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, exitevent: i32, context: i32) -> ::windows::core::HRESULT, | |
3995 | pub GetDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrdescription: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
3996 | } | |
3997 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
3998 | #[cfg(feature = "Win32_System_Com")] | |
3999 | #[repr(transparent)] | |
4000 | pub struct ICertExit2(::windows::core::IUnknown); | |
4001 | #[cfg(feature = "Win32_System_Com")] | |
4002 | impl ICertExit2 { | |
4003 | pub unsafe fn Initialize<P0>(&self, strconfig: P0) -> ::windows::core::Result<CERT_EXIT_EVENT_MASK> | |
4004 | where | |
4005 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4006 | { | |
4007 | let mut result__ = ::windows::core::zeroed::<CERT_EXIT_EVENT_MASK>(); | |
4008 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
4009 | } | |
4010 | pub unsafe fn Notify(&self, exitevent: i32, context: i32) -> ::windows::core::Result<()> { | |
4011 | (::windows::core::Interface::vtable(self).base__.Notify)(::windows::core::Interface::as_raw(self), exitevent, context).ok() | |
4012 | } | |
4013 | pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
4014 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4015 | (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4016 | } | |
4017 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
4018 | #[cfg(feature = "Win32_System_Com")] | |
4019 | pub unsafe fn GetManageModule(&self) -> ::windows::core::Result<ICertManageModule> { | |
4020 | let mut result__ = ::windows::core::zeroed::<ICertManageModule>(); | |
4021 | (::windows::core::Interface::vtable(self).GetManageModule)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4022 | } | |
4023 | } | |
4024 | #[cfg(feature = "Win32_System_Com")] | |
4025 | ::windows::imp::interface_hierarchy!(ICertExit2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertExit); | |
4026 | #[cfg(feature = "Win32_System_Com")] | |
4027 | impl ::core::cmp::PartialEq for ICertExit2 { | |
4028 | fn eq(&self, other: &Self) -> bool { | |
4029 | self.0 == other.0 | |
4030 | } | |
4031 | } | |
4032 | #[cfg(feature = "Win32_System_Com")] | |
4033 | impl ::core::cmp::Eq for ICertExit2 {} | |
4034 | #[cfg(feature = "Win32_System_Com")] | |
4035 | impl ::core::fmt::Debug for ICertExit2 { | |
4036 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4037 | f.debug_tuple("ICertExit2").field(&self.0).finish() | |
4038 | } | |
4039 | } | |
4040 | #[cfg(feature = "Win32_System_Com")] | |
4041 | unsafe impl ::windows::core::Interface for ICertExit2 { | |
4042 | type Vtable = ICertExit2_Vtbl; | |
4043 | } | |
4044 | #[cfg(feature = "Win32_System_Com")] | |
4045 | impl ::core::clone::Clone for ICertExit2 { | |
4046 | fn clone(&self) -> Self { | |
4047 | Self(self.0.clone()) | |
4048 | } | |
4049 | } | |
4050 | #[cfg(feature = "Win32_System_Com")] | |
4051 | unsafe impl ::windows::core::ComInterface for ICertExit2 { | |
4052 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0abf484b_d049_464d_a7ed_552e7529b0ff); | |
4053 | } | |
4054 | #[cfg(feature = "Win32_System_Com")] | |
4055 | #[repr(C)] | |
4056 | #[doc(hidden)] | |
4057 | pub struct ICertExit2_Vtbl { | |
4058 | pub base__: ICertExit_Vtbl, | |
4059 | #[cfg(feature = "Win32_System_Com")] | |
4060 | pub GetManageModule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppmanagemodule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4061 | #[cfg(not(feature = "Win32_System_Com"))] | |
4062 | GetManageModule: usize, | |
4063 | } | |
4064 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4065 | #[cfg(feature = "Win32_System_Com")] | |
4066 | #[repr(transparent)] | |
4067 | pub struct ICertGetConfig(::windows::core::IUnknown); | |
4068 | #[cfg(feature = "Win32_System_Com")] | |
4069 | impl ICertGetConfig { | |
4070 | pub unsafe fn GetConfig(&self, flags: CERT_GET_CONFIG_FLAGS) -> ::windows::core::Result<::windows::core::BSTR> { | |
4071 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4072 | (::windows::core::Interface::vtable(self).GetConfig)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
4073 | } | |
4074 | } | |
4075 | #[cfg(feature = "Win32_System_Com")] | |
4076 | ::windows::imp::interface_hierarchy!(ICertGetConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
4077 | #[cfg(feature = "Win32_System_Com")] | |
4078 | impl ::core::cmp::PartialEq for ICertGetConfig { | |
4079 | fn eq(&self, other: &Self) -> bool { | |
4080 | self.0 == other.0 | |
4081 | } | |
4082 | } | |
4083 | #[cfg(feature = "Win32_System_Com")] | |
4084 | impl ::core::cmp::Eq for ICertGetConfig {} | |
4085 | #[cfg(feature = "Win32_System_Com")] | |
4086 | impl ::core::fmt::Debug for ICertGetConfig { | |
4087 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4088 | f.debug_tuple("ICertGetConfig").field(&self.0).finish() | |
4089 | } | |
4090 | } | |
4091 | #[cfg(feature = "Win32_System_Com")] | |
4092 | unsafe impl ::windows::core::Interface for ICertGetConfig { | |
4093 | type Vtable = ICertGetConfig_Vtbl; | |
4094 | } | |
4095 | #[cfg(feature = "Win32_System_Com")] | |
4096 | impl ::core::clone::Clone for ICertGetConfig { | |
4097 | fn clone(&self) -> Self { | |
4098 | Self(self.0.clone()) | |
4099 | } | |
4100 | } | |
4101 | #[cfg(feature = "Win32_System_Com")] | |
4102 | unsafe impl ::windows::core::ComInterface for ICertGetConfig { | |
4103 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc7ea09c0_ce17_11d0_8833_00a0c903b83c); | |
4104 | } | |
4105 | #[cfg(feature = "Win32_System_Com")] | |
4106 | #[repr(C)] | |
4107 | #[doc(hidden)] | |
4108 | pub struct ICertGetConfig_Vtbl { | |
4109 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
4110 | pub GetConfig: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: CERT_GET_CONFIG_FLAGS, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4111 | } | |
4112 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4113 | #[cfg(feature = "Win32_System_Com")] | |
4114 | #[repr(transparent)] | |
4115 | pub struct ICertManageModule(::windows::core::IUnknown); | |
4116 | #[cfg(feature = "Win32_System_Com")] | |
4117 | impl ICertManageModule { | |
4118 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
4119 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
4120 | pub unsafe fn GetProperty<P0, P1, P2>(&self, strconfig: P0, strstoragelocation: P1, strpropertyname: P2, flags: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
4121 | where | |
4122 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4123 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4124 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4125 | { | |
4126 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
4127 | (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strstoragelocation.into_param().abi(), strpropertyname.into_param().abi(), flags, &mut result__).from_abi(result__) | |
4128 | } | |
4129 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
4130 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
4131 | pub unsafe fn SetProperty<P0, P1, P2>(&self, strconfig: P0, strstoragelocation: P1, strpropertyname: P2, flags: i32, pvarproperty: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
4132 | where | |
4133 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4134 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4135 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4136 | { | |
4137 | (::windows::core::Interface::vtable(self).SetProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strstoragelocation.into_param().abi(), strpropertyname.into_param().abi(), flags, pvarproperty).ok() | |
4138 | } | |
4139 | pub unsafe fn Configure<P0, P1>(&self, strconfig: P0, strstoragelocation: P1, flags: i32) -> ::windows::core::Result<()> | |
4140 | where | |
4141 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4142 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4143 | { | |
4144 | (::windows::core::Interface::vtable(self).Configure)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strstoragelocation.into_param().abi(), flags).ok() | |
4145 | } | |
4146 | } | |
4147 | #[cfg(feature = "Win32_System_Com")] | |
4148 | ::windows::imp::interface_hierarchy!(ICertManageModule, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
4149 | #[cfg(feature = "Win32_System_Com")] | |
4150 | impl ::core::cmp::PartialEq for ICertManageModule { | |
4151 | fn eq(&self, other: &Self) -> bool { | |
4152 | self.0 == other.0 | |
4153 | } | |
4154 | } | |
4155 | #[cfg(feature = "Win32_System_Com")] | |
4156 | impl ::core::cmp::Eq for ICertManageModule {} | |
4157 | #[cfg(feature = "Win32_System_Com")] | |
4158 | impl ::core::fmt::Debug for ICertManageModule { | |
4159 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4160 | f.debug_tuple("ICertManageModule").field(&self.0).finish() | |
4161 | } | |
4162 | } | |
4163 | #[cfg(feature = "Win32_System_Com")] | |
4164 | unsafe impl ::windows::core::Interface for ICertManageModule { | |
4165 | type Vtable = ICertManageModule_Vtbl; | |
4166 | } | |
4167 | #[cfg(feature = "Win32_System_Com")] | |
4168 | impl ::core::clone::Clone for ICertManageModule { | |
4169 | fn clone(&self) -> Self { | |
4170 | Self(self.0.clone()) | |
4171 | } | |
4172 | } | |
4173 | #[cfg(feature = "Win32_System_Com")] | |
4174 | unsafe impl ::windows::core::ComInterface for ICertManageModule { | |
4175 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); | |
4176 | } | |
4177 | #[cfg(feature = "Win32_System_Com")] | |
4178 | #[repr(C)] | |
4179 | #[doc(hidden)] | |
4180 | pub struct ICertManageModule_Vtbl { | |
4181 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
4182 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
4183 | pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strstoragelocation: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: i32, pvarproperty: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
4184 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
4185 | GetProperty: usize, | |
4186 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
4187 | pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strstoragelocation: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: i32, pvarproperty: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
4188 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
4189 | SetProperty: usize, | |
4190 | pub Configure: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strstoragelocation: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: i32) -> ::windows::core::HRESULT, | |
4191 | } | |
4192 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4193 | #[cfg(feature = "Win32_System_Com")] | |
4194 | #[repr(transparent)] | |
4195 | pub struct ICertPolicy(::windows::core::IUnknown); | |
4196 | #[cfg(feature = "Win32_System_Com")] | |
4197 | impl ICertPolicy { | |
4198 | pub unsafe fn Initialize<P0>(&self, strconfig: P0) -> ::windows::core::Result<()> | |
4199 | where | |
4200 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4201 | { | |
4202 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi()).ok() | |
4203 | } | |
4204 | pub unsafe fn VerifyRequest<P0>(&self, strconfig: P0, context: i32, bnewrequest: i32, flags: i32) -> ::windows::core::Result<i32> | |
4205 | where | |
4206 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4207 | { | |
4208 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4209 | (::windows::core::Interface::vtable(self).VerifyRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), context, bnewrequest, flags, &mut result__).from_abi(result__) | |
4210 | } | |
4211 | pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
4212 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4213 | (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4214 | } | |
4215 | pub unsafe fn ShutDown(&self) -> ::windows::core::Result<()> { | |
4216 | (::windows::core::Interface::vtable(self).ShutDown)(::windows::core::Interface::as_raw(self)).ok() | |
4217 | } | |
4218 | } | |
4219 | #[cfg(feature = "Win32_System_Com")] | |
4220 | ::windows::imp::interface_hierarchy!(ICertPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
4221 | #[cfg(feature = "Win32_System_Com")] | |
4222 | impl ::core::cmp::PartialEq for ICertPolicy { | |
4223 | fn eq(&self, other: &Self) -> bool { | |
4224 | self.0 == other.0 | |
4225 | } | |
4226 | } | |
4227 | #[cfg(feature = "Win32_System_Com")] | |
4228 | impl ::core::cmp::Eq for ICertPolicy {} | |
4229 | #[cfg(feature = "Win32_System_Com")] | |
4230 | impl ::core::fmt::Debug for ICertPolicy { | |
4231 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4232 | f.debug_tuple("ICertPolicy").field(&self.0).finish() | |
4233 | } | |
4234 | } | |
4235 | #[cfg(feature = "Win32_System_Com")] | |
4236 | unsafe impl ::windows::core::Interface for ICertPolicy { | |
4237 | type Vtable = ICertPolicy_Vtbl; | |
4238 | } | |
4239 | #[cfg(feature = "Win32_System_Com")] | |
4240 | impl ::core::clone::Clone for ICertPolicy { | |
4241 | fn clone(&self) -> Self { | |
4242 | Self(self.0.clone()) | |
4243 | } | |
4244 | } | |
4245 | #[cfg(feature = "Win32_System_Com")] | |
4246 | unsafe impl ::windows::core::ComInterface for ICertPolicy { | |
4247 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); | |
4248 | } | |
4249 | #[cfg(feature = "Win32_System_Com")] | |
4250 | #[repr(C)] | |
4251 | #[doc(hidden)] | |
4252 | pub struct ICertPolicy_Vtbl { | |
4253 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
4254 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4255 | pub VerifyRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, context: i32, bnewrequest: i32, flags: i32, pdisposition: *mut i32) -> ::windows::core::HRESULT, | |
4256 | pub GetDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrdescription: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4257 | pub ShutDown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4258 | } | |
4259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4260 | #[cfg(feature = "Win32_System_Com")] | |
4261 | #[repr(transparent)] | |
4262 | pub struct ICertPolicy2(::windows::core::IUnknown); | |
4263 | #[cfg(feature = "Win32_System_Com")] | |
4264 | impl ICertPolicy2 { | |
4265 | pub unsafe fn Initialize<P0>(&self, strconfig: P0) -> ::windows::core::Result<()> | |
4266 | where | |
4267 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4268 | { | |
4269 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi()).ok() | |
4270 | } | |
4271 | pub unsafe fn VerifyRequest<P0>(&self, strconfig: P0, context: i32, bnewrequest: i32, flags: i32) -> ::windows::core::Result<i32> | |
4272 | where | |
4273 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4274 | { | |
4275 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4276 | (::windows::core::Interface::vtable(self).base__.VerifyRequest)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), context, bnewrequest, flags, &mut result__).from_abi(result__) | |
4277 | } | |
4278 | pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
4279 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4280 | (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4281 | } | |
4282 | pub unsafe fn ShutDown(&self) -> ::windows::core::Result<()> { | |
4283 | (::windows::core::Interface::vtable(self).base__.ShutDown)(::windows::core::Interface::as_raw(self)).ok() | |
4284 | } | |
4285 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
4286 | #[cfg(feature = "Win32_System_Com")] | |
4287 | pub unsafe fn GetManageModule(&self) -> ::windows::core::Result<ICertManageModule> { | |
4288 | let mut result__ = ::windows::core::zeroed::<ICertManageModule>(); | |
4289 | (::windows::core::Interface::vtable(self).GetManageModule)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4290 | } | |
4291 | } | |
4292 | #[cfg(feature = "Win32_System_Com")] | |
4293 | ::windows::imp::interface_hierarchy!(ICertPolicy2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertPolicy); | |
4294 | #[cfg(feature = "Win32_System_Com")] | |
4295 | impl ::core::cmp::PartialEq for ICertPolicy2 { | |
4296 | fn eq(&self, other: &Self) -> bool { | |
4297 | self.0 == other.0 | |
4298 | } | |
4299 | } | |
4300 | #[cfg(feature = "Win32_System_Com")] | |
4301 | impl ::core::cmp::Eq for ICertPolicy2 {} | |
4302 | #[cfg(feature = "Win32_System_Com")] | |
4303 | impl ::core::fmt::Debug for ICertPolicy2 { | |
4304 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4305 | f.debug_tuple("ICertPolicy2").field(&self.0).finish() | |
4306 | } | |
4307 | } | |
4308 | #[cfg(feature = "Win32_System_Com")] | |
4309 | unsafe impl ::windows::core::Interface for ICertPolicy2 { | |
4310 | type Vtable = ICertPolicy2_Vtbl; | |
4311 | } | |
4312 | #[cfg(feature = "Win32_System_Com")] | |
4313 | impl ::core::clone::Clone for ICertPolicy2 { | |
4314 | fn clone(&self) -> Self { | |
4315 | Self(self.0.clone()) | |
4316 | } | |
4317 | } | |
4318 | #[cfg(feature = "Win32_System_Com")] | |
4319 | unsafe impl ::windows::core::ComInterface for ICertPolicy2 { | |
4320 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3db4910e_8001_4bf1_aa1b_f43a808317a0); | |
4321 | } | |
4322 | #[cfg(feature = "Win32_System_Com")] | |
4323 | #[repr(C)] | |
4324 | #[doc(hidden)] | |
4325 | pub struct ICertPolicy2_Vtbl { | |
4326 | pub base__: ICertPolicy_Vtbl, | |
4327 | #[cfg(feature = "Win32_System_Com")] | |
4328 | pub GetManageModule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppmanagemodule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4329 | #[cfg(not(feature = "Win32_System_Com"))] | |
4330 | GetManageModule: usize, | |
4331 | } | |
4332 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4333 | #[cfg(feature = "Win32_System_Com")] | |
4334 | #[repr(transparent)] | |
4335 | pub struct ICertProperties(::windows::core::IUnknown); | |
4336 | #[cfg(feature = "Win32_System_Com")] | |
4337 | impl ICertProperties { | |
4338 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
4339 | #[cfg(feature = "Win32_System_Com")] | |
4340 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICertProperty> { | |
4341 | let mut result__ = ::windows::core::zeroed::<ICertProperty>(); | |
4342 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
4343 | } | |
4344 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
4345 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4346 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4347 | } | |
4348 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
4349 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
4350 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4351 | } | |
4352 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
4353 | #[cfg(feature = "Win32_System_Com")] | |
4354 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
4355 | where | |
4356 | P0: ::windows::core::IntoParam<ICertProperty>, | |
4357 | { | |
4358 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
4359 | } | |
4360 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
4361 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
4362 | } | |
4363 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
4364 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
4365 | } | |
4366 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4367 | #[cfg(feature = "Win32_Foundation")] | |
4368 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4369 | where | |
4370 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4371 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4372 | { | |
4373 | (::windows::core::Interface::vtable(self).InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4374 | } | |
4375 | } | |
4376 | #[cfg(feature = "Win32_System_Com")] | |
4377 | ::windows::imp::interface_hierarchy!(ICertProperties, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
4378 | #[cfg(feature = "Win32_System_Com")] | |
4379 | impl ::core::cmp::PartialEq for ICertProperties { | |
4380 | fn eq(&self, other: &Self) -> bool { | |
4381 | self.0 == other.0 | |
4382 | } | |
4383 | } | |
4384 | #[cfg(feature = "Win32_System_Com")] | |
4385 | impl ::core::cmp::Eq for ICertProperties {} | |
4386 | #[cfg(feature = "Win32_System_Com")] | |
4387 | impl ::core::fmt::Debug for ICertProperties { | |
4388 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4389 | f.debug_tuple("ICertProperties").field(&self.0).finish() | |
4390 | } | |
4391 | } | |
4392 | #[cfg(feature = "Win32_System_Com")] | |
4393 | unsafe impl ::windows::core::Interface for ICertProperties { | |
4394 | type Vtable = ICertProperties_Vtbl; | |
4395 | } | |
4396 | #[cfg(feature = "Win32_System_Com")] | |
4397 | impl ::core::clone::Clone for ICertProperties { | |
4398 | fn clone(&self) -> Self { | |
4399 | Self(self.0.clone()) | |
4400 | } | |
4401 | } | |
4402 | #[cfg(feature = "Win32_System_Com")] | |
4403 | unsafe impl ::windows::core::ComInterface for ICertProperties { | |
4404 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32f_217d_11da_b2a4_000e7bbb2b09); | |
4405 | } | |
4406 | #[cfg(feature = "Win32_System_Com")] | |
4407 | #[repr(C)] | |
4408 | #[doc(hidden)] | |
4409 | pub struct ICertProperties_Vtbl { | |
4410 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
4411 | #[cfg(feature = "Win32_System_Com")] | |
4412 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4413 | #[cfg(not(feature = "Win32_System_Com"))] | |
4414 | get_ItemByIndex: usize, | |
4415 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
4416 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4417 | #[cfg(feature = "Win32_System_Com")] | |
4418 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4419 | #[cfg(not(feature = "Win32_System_Com"))] | |
4420 | Add: usize, | |
4421 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
4422 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
4423 | #[cfg(feature = "Win32_Foundation")] | |
4424 | pub InitializeFromCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4425 | #[cfg(not(feature = "Win32_Foundation"))] | |
4426 | InitializeFromCertificate: usize, | |
4427 | } | |
4428 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4429 | #[cfg(feature = "Win32_System_Com")] | |
4430 | #[repr(transparent)] | |
4431 | pub struct ICertProperty(::windows::core::IUnknown); | |
4432 | #[cfg(feature = "Win32_System_Com")] | |
4433 | impl ICertProperty { | |
4434 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4435 | #[cfg(feature = "Win32_Foundation")] | |
4436 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4437 | where | |
4438 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4439 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4440 | { | |
4441 | (::windows::core::Interface::vtable(self).InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4442 | } | |
4443 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4444 | where | |
4445 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4446 | { | |
4447 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4448 | } | |
4449 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4450 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4451 | (::windows::core::Interface::vtable(self).PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4452 | } | |
4453 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4454 | (::windows::core::Interface::vtable(self).SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4455 | } | |
4456 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4457 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4458 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4459 | } | |
4460 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4461 | #[cfg(feature = "Win32_Foundation")] | |
4462 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4463 | where | |
4464 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4465 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4466 | { | |
4467 | (::windows::core::Interface::vtable(self).RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4468 | } | |
4469 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4470 | #[cfg(feature = "Win32_Foundation")] | |
4471 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4472 | where | |
4473 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4474 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4475 | { | |
4476 | (::windows::core::Interface::vtable(self).SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4477 | } | |
4478 | } | |
4479 | #[cfg(feature = "Win32_System_Com")] | |
4480 | ::windows::imp::interface_hierarchy!(ICertProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
4481 | #[cfg(feature = "Win32_System_Com")] | |
4482 | impl ::core::cmp::PartialEq for ICertProperty { | |
4483 | fn eq(&self, other: &Self) -> bool { | |
4484 | self.0 == other.0 | |
4485 | } | |
4486 | } | |
4487 | #[cfg(feature = "Win32_System_Com")] | |
4488 | impl ::core::cmp::Eq for ICertProperty {} | |
4489 | #[cfg(feature = "Win32_System_Com")] | |
4490 | impl ::core::fmt::Debug for ICertProperty { | |
4491 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4492 | f.debug_tuple("ICertProperty").field(&self.0).finish() | |
4493 | } | |
4494 | } | |
4495 | #[cfg(feature = "Win32_System_Com")] | |
4496 | unsafe impl ::windows::core::Interface for ICertProperty { | |
4497 | type Vtable = ICertProperty_Vtbl; | |
4498 | } | |
4499 | #[cfg(feature = "Win32_System_Com")] | |
4500 | impl ::core::clone::Clone for ICertProperty { | |
4501 | fn clone(&self) -> Self { | |
4502 | Self(self.0.clone()) | |
4503 | } | |
4504 | } | |
4505 | #[cfg(feature = "Win32_System_Com")] | |
4506 | unsafe impl ::windows::core::ComInterface for ICertProperty { | |
4507 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32e_217d_11da_b2a4_000e7bbb2b09); | |
4508 | } | |
4509 | #[cfg(feature = "Win32_System_Com")] | |
4510 | #[repr(C)] | |
4511 | #[doc(hidden)] | |
4512 | pub struct ICertProperty_Vtbl { | |
4513 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
4514 | #[cfg(feature = "Win32_Foundation")] | |
4515 | pub InitializeFromCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4516 | #[cfg(not(feature = "Win32_Foundation"))] | |
4517 | InitializeFromCertificate: usize, | |
4518 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4519 | pub PropertyId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut CERTENROLL_PROPERTYID) -> ::windows::core::HRESULT, | |
4520 | pub SetPropertyId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: CERTENROLL_PROPERTYID) -> ::windows::core::HRESULT, | |
4521 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4522 | #[cfg(feature = "Win32_Foundation")] | |
4523 | pub RemoveFromCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4524 | #[cfg(not(feature = "Win32_Foundation"))] | |
4525 | RemoveFromCertificate: usize, | |
4526 | #[cfg(feature = "Win32_Foundation")] | |
4527 | pub SetValueOnCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4528 | #[cfg(not(feature = "Win32_Foundation"))] | |
4529 | SetValueOnCertificate: usize, | |
4530 | } | |
4531 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4532 | #[cfg(feature = "Win32_System_Com")] | |
4533 | #[repr(transparent)] | |
4534 | pub struct ICertPropertyArchived(::windows::core::IUnknown); | |
4535 | #[cfg(feature = "Win32_System_Com")] | |
4536 | impl ICertPropertyArchived { | |
4537 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4538 | #[cfg(feature = "Win32_Foundation")] | |
4539 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4540 | where | |
4541 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4542 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4543 | { | |
4544 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4545 | } | |
4546 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4547 | where | |
4548 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4549 | { | |
4550 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4551 | } | |
4552 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4553 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4554 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4555 | } | |
4556 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4557 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4558 | } | |
4559 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4560 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4561 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4562 | } | |
4563 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4564 | #[cfg(feature = "Win32_Foundation")] | |
4565 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4566 | where | |
4567 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4568 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4569 | { | |
4570 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4571 | } | |
4572 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4573 | #[cfg(feature = "Win32_Foundation")] | |
4574 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4575 | where | |
4576 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4577 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4578 | { | |
4579 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4580 | } | |
4581 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4582 | #[cfg(feature = "Win32_Foundation")] | |
4583 | pub unsafe fn Initialize<P0>(&self, archivedvalue: P0) -> ::windows::core::Result<()> | |
4584 | where | |
4585 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4586 | { | |
4587 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), archivedvalue.into_param().abi()).ok() | |
4588 | } | |
4589 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4590 | #[cfg(feature = "Win32_Foundation")] | |
4591 | pub unsafe fn Archived(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
4592 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
4593 | (::windows::core::Interface::vtable(self).Archived)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4594 | } | |
4595 | } | |
4596 | #[cfg(feature = "Win32_System_Com")] | |
4597 | ::windows::imp::interface_hierarchy!(ICertPropertyArchived, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
4598 | #[cfg(feature = "Win32_System_Com")] | |
4599 | impl ::core::cmp::PartialEq for ICertPropertyArchived { | |
4600 | fn eq(&self, other: &Self) -> bool { | |
4601 | self.0 == other.0 | |
4602 | } | |
4603 | } | |
4604 | #[cfg(feature = "Win32_System_Com")] | |
4605 | impl ::core::cmp::Eq for ICertPropertyArchived {} | |
4606 | #[cfg(feature = "Win32_System_Com")] | |
4607 | impl ::core::fmt::Debug for ICertPropertyArchived { | |
4608 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4609 | f.debug_tuple("ICertPropertyArchived").field(&self.0).finish() | |
4610 | } | |
4611 | } | |
4612 | #[cfg(feature = "Win32_System_Com")] | |
4613 | unsafe impl ::windows::core::Interface for ICertPropertyArchived { | |
4614 | type Vtable = ICertPropertyArchived_Vtbl; | |
4615 | } | |
4616 | #[cfg(feature = "Win32_System_Com")] | |
4617 | impl ::core::clone::Clone for ICertPropertyArchived { | |
4618 | fn clone(&self) -> Self { | |
4619 | Self(self.0.clone()) | |
4620 | } | |
4621 | } | |
4622 | #[cfg(feature = "Win32_System_Com")] | |
4623 | unsafe impl ::windows::core::ComInterface for ICertPropertyArchived { | |
4624 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab337_217d_11da_b2a4_000e7bbb2b09); | |
4625 | } | |
4626 | #[cfg(feature = "Win32_System_Com")] | |
4627 | #[repr(C)] | |
4628 | #[doc(hidden)] | |
4629 | pub struct ICertPropertyArchived_Vtbl { | |
4630 | pub base__: ICertProperty_Vtbl, | |
4631 | #[cfg(feature = "Win32_Foundation")] | |
4632 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, archivedvalue: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
4633 | #[cfg(not(feature = "Win32_Foundation"))] | |
4634 | Initialize: usize, | |
4635 | #[cfg(feature = "Win32_Foundation")] | |
4636 | pub Archived: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
4637 | #[cfg(not(feature = "Win32_Foundation"))] | |
4638 | Archived: usize, | |
4639 | } | |
4640 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4641 | #[cfg(feature = "Win32_System_Com")] | |
4642 | #[repr(transparent)] | |
4643 | pub struct ICertPropertyArchivedKeyHash(::windows::core::IUnknown); | |
4644 | #[cfg(feature = "Win32_System_Com")] | |
4645 | impl ICertPropertyArchivedKeyHash { | |
4646 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4647 | #[cfg(feature = "Win32_Foundation")] | |
4648 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4649 | where | |
4650 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4651 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4652 | { | |
4653 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4654 | } | |
4655 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4656 | where | |
4657 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4658 | { | |
4659 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4660 | } | |
4661 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4662 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4663 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4664 | } | |
4665 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4666 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4667 | } | |
4668 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4669 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4670 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4671 | } | |
4672 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4673 | #[cfg(feature = "Win32_Foundation")] | |
4674 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4675 | where | |
4676 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4677 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4678 | { | |
4679 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4680 | } | |
4681 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4682 | #[cfg(feature = "Win32_Foundation")] | |
4683 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4684 | where | |
4685 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4686 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4687 | { | |
4688 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4689 | } | |
4690 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, strarchivedkeyhashvalue: P0) -> ::windows::core::Result<()> | |
4691 | where | |
4692 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4693 | { | |
4694 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), encoding, strarchivedkeyhashvalue.into_param().abi()).ok() | |
4695 | } | |
4696 | pub unsafe fn get_ArchivedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4697 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4698 | (::windows::core::Interface::vtable(self).get_ArchivedKeyHash)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4699 | } | |
4700 | } | |
4701 | #[cfg(feature = "Win32_System_Com")] | |
4702 | ::windows::imp::interface_hierarchy!(ICertPropertyArchivedKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
4703 | #[cfg(feature = "Win32_System_Com")] | |
4704 | impl ::core::cmp::PartialEq for ICertPropertyArchivedKeyHash { | |
4705 | fn eq(&self, other: &Self) -> bool { | |
4706 | self.0 == other.0 | |
4707 | } | |
4708 | } | |
4709 | #[cfg(feature = "Win32_System_Com")] | |
4710 | impl ::core::cmp::Eq for ICertPropertyArchivedKeyHash {} | |
4711 | #[cfg(feature = "Win32_System_Com")] | |
4712 | impl ::core::fmt::Debug for ICertPropertyArchivedKeyHash { | |
4713 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4714 | f.debug_tuple("ICertPropertyArchivedKeyHash").field(&self.0).finish() | |
4715 | } | |
4716 | } | |
4717 | #[cfg(feature = "Win32_System_Com")] | |
4718 | unsafe impl ::windows::core::Interface for ICertPropertyArchivedKeyHash { | |
4719 | type Vtable = ICertPropertyArchivedKeyHash_Vtbl; | |
4720 | } | |
4721 | #[cfg(feature = "Win32_System_Com")] | |
4722 | impl ::core::clone::Clone for ICertPropertyArchivedKeyHash { | |
4723 | fn clone(&self) -> Self { | |
4724 | Self(self.0.clone()) | |
4725 | } | |
4726 | } | |
4727 | #[cfg(feature = "Win32_System_Com")] | |
4728 | unsafe impl ::windows::core::ComInterface for ICertPropertyArchivedKeyHash { | |
4729 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33b_217d_11da_b2a4_000e7bbb2b09); | |
4730 | } | |
4731 | #[cfg(feature = "Win32_System_Com")] | |
4732 | #[repr(C)] | |
4733 | #[doc(hidden)] | |
4734 | pub struct ICertPropertyArchivedKeyHash_Vtbl { | |
4735 | pub base__: ICertProperty_Vtbl, | |
4736 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strarchivedkeyhashvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4737 | pub get_ArchivedKeyHash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4738 | } | |
4739 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4740 | #[cfg(feature = "Win32_System_Com")] | |
4741 | #[repr(transparent)] | |
4742 | pub struct ICertPropertyAutoEnroll(::windows::core::IUnknown); | |
4743 | #[cfg(feature = "Win32_System_Com")] | |
4744 | impl ICertPropertyAutoEnroll { | |
4745 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4746 | #[cfg(feature = "Win32_Foundation")] | |
4747 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4748 | where | |
4749 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4750 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4751 | { | |
4752 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4753 | } | |
4754 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4755 | where | |
4756 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4757 | { | |
4758 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4759 | } | |
4760 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4761 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4762 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4763 | } | |
4764 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4765 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4766 | } | |
4767 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4768 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4769 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4770 | } | |
4771 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4772 | #[cfg(feature = "Win32_Foundation")] | |
4773 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4774 | where | |
4775 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4776 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4777 | { | |
4778 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4779 | } | |
4780 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4781 | #[cfg(feature = "Win32_Foundation")] | |
4782 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4783 | where | |
4784 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4785 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4786 | { | |
4787 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4788 | } | |
4789 | pub unsafe fn Initialize<P0>(&self, strtemplatename: P0) -> ::windows::core::Result<()> | |
4790 | where | |
4791 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4792 | { | |
4793 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strtemplatename.into_param().abi()).ok() | |
4794 | } | |
4795 | pub unsafe fn TemplateName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
4796 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4797 | (::windows::core::Interface::vtable(self).TemplateName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4798 | } | |
4799 | } | |
4800 | #[cfg(feature = "Win32_System_Com")] | |
4801 | ::windows::imp::interface_hierarchy!(ICertPropertyAutoEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
4802 | #[cfg(feature = "Win32_System_Com")] | |
4803 | impl ::core::cmp::PartialEq for ICertPropertyAutoEnroll { | |
4804 | fn eq(&self, other: &Self) -> bool { | |
4805 | self.0 == other.0 | |
4806 | } | |
4807 | } | |
4808 | #[cfg(feature = "Win32_System_Com")] | |
4809 | impl ::core::cmp::Eq for ICertPropertyAutoEnroll {} | |
4810 | #[cfg(feature = "Win32_System_Com")] | |
4811 | impl ::core::fmt::Debug for ICertPropertyAutoEnroll { | |
4812 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4813 | f.debug_tuple("ICertPropertyAutoEnroll").field(&self.0).finish() | |
4814 | } | |
4815 | } | |
4816 | #[cfg(feature = "Win32_System_Com")] | |
4817 | unsafe impl ::windows::core::Interface for ICertPropertyAutoEnroll { | |
4818 | type Vtable = ICertPropertyAutoEnroll_Vtbl; | |
4819 | } | |
4820 | #[cfg(feature = "Win32_System_Com")] | |
4821 | impl ::core::clone::Clone for ICertPropertyAutoEnroll { | |
4822 | fn clone(&self) -> Self { | |
4823 | Self(self.0.clone()) | |
4824 | } | |
4825 | } | |
4826 | #[cfg(feature = "Win32_System_Com")] | |
4827 | unsafe impl ::windows::core::ComInterface for ICertPropertyAutoEnroll { | |
4828 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab332_217d_11da_b2a4_000e7bbb2b09); | |
4829 | } | |
4830 | #[cfg(feature = "Win32_System_Com")] | |
4831 | #[repr(C)] | |
4832 | #[doc(hidden)] | |
4833 | pub struct ICertPropertyAutoEnroll_Vtbl { | |
4834 | pub base__: ICertProperty_Vtbl, | |
4835 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4836 | pub TemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
4837 | } | |
4838 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4839 | #[cfg(feature = "Win32_System_Com")] | |
4840 | #[repr(transparent)] | |
4841 | pub struct ICertPropertyBackedUp(::windows::core::IUnknown); | |
4842 | #[cfg(feature = "Win32_System_Com")] | |
4843 | impl ICertPropertyBackedUp { | |
4844 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4845 | #[cfg(feature = "Win32_Foundation")] | |
4846 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4847 | where | |
4848 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4849 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4850 | { | |
4851 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4852 | } | |
4853 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4854 | where | |
4855 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4856 | { | |
4857 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4858 | } | |
4859 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4860 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4861 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4862 | } | |
4863 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4864 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4865 | } | |
4866 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4867 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4868 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4869 | } | |
4870 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4871 | #[cfg(feature = "Win32_Foundation")] | |
4872 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4873 | where | |
4874 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4875 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4876 | { | |
4877 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4878 | } | |
4879 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4880 | #[cfg(feature = "Win32_Foundation")] | |
4881 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4882 | where | |
4883 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4884 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4885 | { | |
4886 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4887 | } | |
4888 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4889 | #[cfg(feature = "Win32_Foundation")] | |
4890 | pub unsafe fn InitializeFromCurrentTime<P0>(&self, backedupvalue: P0) -> ::windows::core::Result<()> | |
4891 | where | |
4892 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4893 | { | |
4894 | (::windows::core::Interface::vtable(self).InitializeFromCurrentTime)(::windows::core::Interface::as_raw(self), backedupvalue.into_param().abi()).ok() | |
4895 | } | |
4896 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4897 | #[cfg(feature = "Win32_Foundation")] | |
4898 | pub unsafe fn Initialize<P0>(&self, backedupvalue: P0, date: f64) -> ::windows::core::Result<()> | |
4899 | where | |
4900 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4901 | { | |
4902 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), backedupvalue.into_param().abi(), date).ok() | |
4903 | } | |
4904 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4905 | #[cfg(feature = "Win32_Foundation")] | |
4906 | pub unsafe fn BackedUpValue(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
4907 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
4908 | (::windows::core::Interface::vtable(self).BackedUpValue)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4909 | } | |
4910 | pub unsafe fn BackedUpTime(&self) -> ::windows::core::Result<f64> { | |
4911 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
4912 | (::windows::core::Interface::vtable(self).BackedUpTime)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4913 | } | |
4914 | } | |
4915 | #[cfg(feature = "Win32_System_Com")] | |
4916 | ::windows::imp::interface_hierarchy!(ICertPropertyBackedUp, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
4917 | #[cfg(feature = "Win32_System_Com")] | |
4918 | impl ::core::cmp::PartialEq for ICertPropertyBackedUp { | |
4919 | fn eq(&self, other: &Self) -> bool { | |
4920 | self.0 == other.0 | |
4921 | } | |
4922 | } | |
4923 | #[cfg(feature = "Win32_System_Com")] | |
4924 | impl ::core::cmp::Eq for ICertPropertyBackedUp {} | |
4925 | #[cfg(feature = "Win32_System_Com")] | |
4926 | impl ::core::fmt::Debug for ICertPropertyBackedUp { | |
4927 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4928 | f.debug_tuple("ICertPropertyBackedUp").field(&self.0).finish() | |
4929 | } | |
4930 | } | |
4931 | #[cfg(feature = "Win32_System_Com")] | |
4932 | unsafe impl ::windows::core::Interface for ICertPropertyBackedUp { | |
4933 | type Vtable = ICertPropertyBackedUp_Vtbl; | |
4934 | } | |
4935 | #[cfg(feature = "Win32_System_Com")] | |
4936 | impl ::core::clone::Clone for ICertPropertyBackedUp { | |
4937 | fn clone(&self) -> Self { | |
4938 | Self(self.0.clone()) | |
4939 | } | |
4940 | } | |
4941 | #[cfg(feature = "Win32_System_Com")] | |
4942 | unsafe impl ::windows::core::ComInterface for ICertPropertyBackedUp { | |
4943 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab338_217d_11da_b2a4_000e7bbb2b09); | |
4944 | } | |
4945 | #[cfg(feature = "Win32_System_Com")] | |
4946 | #[repr(C)] | |
4947 | #[doc(hidden)] | |
4948 | pub struct ICertPropertyBackedUp_Vtbl { | |
4949 | pub base__: ICertProperty_Vtbl, | |
4950 | #[cfg(feature = "Win32_Foundation")] | |
4951 | pub InitializeFromCurrentTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, backedupvalue: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
4952 | #[cfg(not(feature = "Win32_Foundation"))] | |
4953 | InitializeFromCurrentTime: usize, | |
4954 | #[cfg(feature = "Win32_Foundation")] | |
4955 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, backedupvalue: super::super::super::Foundation::VARIANT_BOOL, date: f64) -> ::windows::core::HRESULT, | |
4956 | #[cfg(not(feature = "Win32_Foundation"))] | |
4957 | Initialize: usize, | |
4958 | #[cfg(feature = "Win32_Foundation")] | |
4959 | pub BackedUpValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
4960 | #[cfg(not(feature = "Win32_Foundation"))] | |
4961 | BackedUpValue: usize, | |
4962 | pub BackedUpTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdate: *mut f64) -> ::windows::core::HRESULT, | |
4963 | } | |
4964 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
4965 | #[cfg(feature = "Win32_System_Com")] | |
4966 | #[repr(transparent)] | |
4967 | pub struct ICertPropertyDescription(::windows::core::IUnknown); | |
4968 | #[cfg(feature = "Win32_System_Com")] | |
4969 | impl ICertPropertyDescription { | |
4970 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4971 | #[cfg(feature = "Win32_Foundation")] | |
4972 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4973 | where | |
4974 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
4975 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4976 | { | |
4977 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
4978 | } | |
4979 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
4980 | where | |
4981 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
4982 | { | |
4983 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
4984 | } | |
4985 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
4986 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
4987 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
4988 | } | |
4989 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
4990 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
4991 | } | |
4992 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
4993 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
4994 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
4995 | } | |
4996 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4997 | #[cfg(feature = "Win32_Foundation")] | |
4998 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
4999 | where | |
5000 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5001 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5002 | { | |
5003 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5004 | } | |
5005 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5006 | #[cfg(feature = "Win32_Foundation")] | |
5007 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5008 | where | |
5009 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5010 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5011 | { | |
5012 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5013 | } | |
5014 | pub unsafe fn Initialize<P0>(&self, strdescription: P0) -> ::windows::core::Result<()> | |
5015 | where | |
5016 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5017 | { | |
5018 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strdescription.into_param().abi()).ok() | |
5019 | } | |
5020 | pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5021 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5022 | (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5023 | } | |
5024 | } | |
5025 | #[cfg(feature = "Win32_System_Com")] | |
5026 | ::windows::imp::interface_hierarchy!(ICertPropertyDescription, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5027 | #[cfg(feature = "Win32_System_Com")] | |
5028 | impl ::core::cmp::PartialEq for ICertPropertyDescription { | |
5029 | fn eq(&self, other: &Self) -> bool { | |
5030 | self.0 == other.0 | |
5031 | } | |
5032 | } | |
5033 | #[cfg(feature = "Win32_System_Com")] | |
5034 | impl ::core::cmp::Eq for ICertPropertyDescription {} | |
5035 | #[cfg(feature = "Win32_System_Com")] | |
5036 | impl ::core::fmt::Debug for ICertPropertyDescription { | |
5037 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5038 | f.debug_tuple("ICertPropertyDescription").field(&self.0).finish() | |
5039 | } | |
5040 | } | |
5041 | #[cfg(feature = "Win32_System_Com")] | |
5042 | unsafe impl ::windows::core::Interface for ICertPropertyDescription { | |
5043 | type Vtable = ICertPropertyDescription_Vtbl; | |
5044 | } | |
5045 | #[cfg(feature = "Win32_System_Com")] | |
5046 | impl ::core::clone::Clone for ICertPropertyDescription { | |
5047 | fn clone(&self) -> Self { | |
5048 | Self(self.0.clone()) | |
5049 | } | |
5050 | } | |
5051 | #[cfg(feature = "Win32_System_Com")] | |
5052 | unsafe impl ::windows::core::ComInterface for ICertPropertyDescription { | |
5053 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab331_217d_11da_b2a4_000e7bbb2b09); | |
5054 | } | |
5055 | #[cfg(feature = "Win32_System_Com")] | |
5056 | #[repr(C)] | |
5057 | #[doc(hidden)] | |
5058 | pub struct ICertPropertyDescription_Vtbl { | |
5059 | pub base__: ICertProperty_Vtbl, | |
5060 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strdescription: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5061 | pub Description: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5062 | } | |
5063 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5064 | #[cfg(feature = "Win32_System_Com")] | |
5065 | #[repr(transparent)] | |
5066 | pub struct ICertPropertyEnrollment(::windows::core::IUnknown); | |
5067 | #[cfg(feature = "Win32_System_Com")] | |
5068 | impl ICertPropertyEnrollment { | |
5069 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5070 | #[cfg(feature = "Win32_Foundation")] | |
5071 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5072 | where | |
5073 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5074 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5075 | { | |
5076 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5077 | } | |
5078 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5079 | where | |
5080 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5081 | { | |
5082 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5083 | } | |
5084 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5085 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5086 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5087 | } | |
5088 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5089 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5090 | } | |
5091 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5092 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5093 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5094 | } | |
5095 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5096 | #[cfg(feature = "Win32_Foundation")] | |
5097 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5098 | where | |
5099 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5100 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5101 | { | |
5102 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5103 | } | |
5104 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5105 | #[cfg(feature = "Win32_Foundation")] | |
5106 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5107 | where | |
5108 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5109 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5110 | { | |
5111 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5112 | } | |
5113 | pub unsafe fn Initialize<P0, P1, P2>(&self, requestid: i32, strcadnsname: P0, strcaname: P1, strfriendlyname: P2) -> ::windows::core::Result<()> | |
5114 | where | |
5115 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5116 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5117 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5118 | { | |
5119 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), requestid, strcadnsname.into_param().abi(), strcaname.into_param().abi(), strfriendlyname.into_param().abi()).ok() | |
5120 | } | |
5121 | pub unsafe fn RequestId(&self) -> ::windows::core::Result<i32> { | |
5122 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5123 | (::windows::core::Interface::vtable(self).RequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5124 | } | |
5125 | pub unsafe fn CADnsName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5126 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5127 | (::windows::core::Interface::vtable(self).CADnsName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5128 | } | |
5129 | pub unsafe fn CAName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5130 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5131 | (::windows::core::Interface::vtable(self).CAName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5132 | } | |
5133 | pub unsafe fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5134 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5135 | (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5136 | } | |
5137 | } | |
5138 | #[cfg(feature = "Win32_System_Com")] | |
5139 | ::windows::imp::interface_hierarchy!(ICertPropertyEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5140 | #[cfg(feature = "Win32_System_Com")] | |
5141 | impl ::core::cmp::PartialEq for ICertPropertyEnrollment { | |
5142 | fn eq(&self, other: &Self) -> bool { | |
5143 | self.0 == other.0 | |
5144 | } | |
5145 | } | |
5146 | #[cfg(feature = "Win32_System_Com")] | |
5147 | impl ::core::cmp::Eq for ICertPropertyEnrollment {} | |
5148 | #[cfg(feature = "Win32_System_Com")] | |
5149 | impl ::core::fmt::Debug for ICertPropertyEnrollment { | |
5150 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5151 | f.debug_tuple("ICertPropertyEnrollment").field(&self.0).finish() | |
5152 | } | |
5153 | } | |
5154 | #[cfg(feature = "Win32_System_Com")] | |
5155 | unsafe impl ::windows::core::Interface for ICertPropertyEnrollment { | |
5156 | type Vtable = ICertPropertyEnrollment_Vtbl; | |
5157 | } | |
5158 | #[cfg(feature = "Win32_System_Com")] | |
5159 | impl ::core::clone::Clone for ICertPropertyEnrollment { | |
5160 | fn clone(&self) -> Self { | |
5161 | Self(self.0.clone()) | |
5162 | } | |
5163 | } | |
5164 | #[cfg(feature = "Win32_System_Com")] | |
5165 | unsafe impl ::windows::core::ComInterface for ICertPropertyEnrollment { | |
5166 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab339_217d_11da_b2a4_000e7bbb2b09); | |
5167 | } | |
5168 | #[cfg(feature = "Win32_System_Com")] | |
5169 | #[repr(C)] | |
5170 | #[doc(hidden)] | |
5171 | pub struct ICertPropertyEnrollment_Vtbl { | |
5172 | pub base__: ICertProperty_Vtbl, | |
5173 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requestid: i32, strcadnsname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strcaname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strfriendlyname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5174 | pub RequestId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
5175 | pub CADnsName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5176 | pub CAName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5177 | pub FriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5178 | } | |
5179 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5180 | #[cfg(feature = "Win32_System_Com")] | |
5181 | #[repr(transparent)] | |
5182 | pub struct ICertPropertyEnrollmentPolicyServer(::windows::core::IUnknown); | |
5183 | #[cfg(feature = "Win32_System_Com")] | |
5184 | impl ICertPropertyEnrollmentPolicyServer { | |
5185 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5186 | #[cfg(feature = "Win32_Foundation")] | |
5187 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5188 | where | |
5189 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5190 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5191 | { | |
5192 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5193 | } | |
5194 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5195 | where | |
5196 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5197 | { | |
5198 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5199 | } | |
5200 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5201 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5202 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5203 | } | |
5204 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5205 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5206 | } | |
5207 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5208 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5209 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5210 | } | |
5211 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5212 | #[cfg(feature = "Win32_Foundation")] | |
5213 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5214 | where | |
5215 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5216 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5217 | { | |
5218 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5219 | } | |
5220 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5221 | #[cfg(feature = "Win32_Foundation")] | |
5222 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5223 | where | |
5224 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5225 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5226 | { | |
5227 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5228 | } | |
5229 | pub unsafe fn Initialize<P0, P1, P2, P3>(&self, propertyflags: EnrollmentPolicyServerPropertyFlags, authflags: X509EnrollmentAuthFlags, enrollmentserverauthflags: X509EnrollmentAuthFlags, urlflags: PolicyServerUrlFlags, strrequestid: P0, strurl: P1, strid: P2, strenrollmentserverurl: P3) -> ::windows::core::Result<()> | |
5230 | where | |
5231 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5232 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5233 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5234 | P3: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5235 | { | |
5236 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), propertyflags, authflags, enrollmentserverauthflags, urlflags, strrequestid.into_param().abi(), strurl.into_param().abi(), strid.into_param().abi(), strenrollmentserverurl.into_param().abi()).ok() | |
5237 | } | |
5238 | pub unsafe fn GetPolicyServerUrl(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5239 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5240 | (::windows::core::Interface::vtable(self).GetPolicyServerUrl)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5241 | } | |
5242 | pub unsafe fn GetPolicyServerId(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5243 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5244 | (::windows::core::Interface::vtable(self).GetPolicyServerId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5245 | } | |
5246 | pub unsafe fn GetEnrollmentServerUrl(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5247 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5248 | (::windows::core::Interface::vtable(self).GetEnrollmentServerUrl)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5249 | } | |
5250 | pub unsafe fn GetRequestIdString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5251 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5252 | (::windows::core::Interface::vtable(self).GetRequestIdString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5253 | } | |
5254 | pub unsafe fn GetPropertyFlags(&self) -> ::windows::core::Result<EnrollmentPolicyServerPropertyFlags> { | |
5255 | let mut result__ = ::windows::core::zeroed::<EnrollmentPolicyServerPropertyFlags>(); | |
5256 | (::windows::core::Interface::vtable(self).GetPropertyFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5257 | } | |
5258 | pub unsafe fn GetUrlFlags(&self) -> ::windows::core::Result<PolicyServerUrlFlags> { | |
5259 | let mut result__ = ::windows::core::zeroed::<PolicyServerUrlFlags>(); | |
5260 | (::windows::core::Interface::vtable(self).GetUrlFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5261 | } | |
5262 | pub unsafe fn GetAuthentication(&self) -> ::windows::core::Result<X509EnrollmentAuthFlags> { | |
5263 | let mut result__ = ::windows::core::zeroed::<X509EnrollmentAuthFlags>(); | |
5264 | (::windows::core::Interface::vtable(self).GetAuthentication)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5265 | } | |
5266 | pub unsafe fn GetEnrollmentServerAuthentication(&self) -> ::windows::core::Result<X509EnrollmentAuthFlags> { | |
5267 | let mut result__ = ::windows::core::zeroed::<X509EnrollmentAuthFlags>(); | |
5268 | (::windows::core::Interface::vtable(self).GetEnrollmentServerAuthentication)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5269 | } | |
5270 | } | |
5271 | #[cfg(feature = "Win32_System_Com")] | |
5272 | ::windows::imp::interface_hierarchy!(ICertPropertyEnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5273 | #[cfg(feature = "Win32_System_Com")] | |
5274 | impl ::core::cmp::PartialEq for ICertPropertyEnrollmentPolicyServer { | |
5275 | fn eq(&self, other: &Self) -> bool { | |
5276 | self.0 == other.0 | |
5277 | } | |
5278 | } | |
5279 | #[cfg(feature = "Win32_System_Com")] | |
5280 | impl ::core::cmp::Eq for ICertPropertyEnrollmentPolicyServer {} | |
5281 | #[cfg(feature = "Win32_System_Com")] | |
5282 | impl ::core::fmt::Debug for ICertPropertyEnrollmentPolicyServer { | |
5283 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5284 | f.debug_tuple("ICertPropertyEnrollmentPolicyServer").field(&self.0).finish() | |
5285 | } | |
5286 | } | |
5287 | #[cfg(feature = "Win32_System_Com")] | |
5288 | unsafe impl ::windows::core::Interface for ICertPropertyEnrollmentPolicyServer { | |
5289 | type Vtable = ICertPropertyEnrollmentPolicyServer_Vtbl; | |
5290 | } | |
5291 | #[cfg(feature = "Win32_System_Com")] | |
5292 | impl ::core::clone::Clone for ICertPropertyEnrollmentPolicyServer { | |
5293 | fn clone(&self) -> Self { | |
5294 | Self(self.0.clone()) | |
5295 | } | |
5296 | } | |
5297 | #[cfg(feature = "Win32_System_Com")] | |
5298 | unsafe impl ::windows::core::ComInterface for ICertPropertyEnrollmentPolicyServer { | |
5299 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab34a_217d_11da_b2a4_000e7bbb2b09); | |
5300 | } | |
5301 | #[cfg(feature = "Win32_System_Com")] | |
5302 | #[repr(C)] | |
5303 | #[doc(hidden)] | |
5304 | pub struct ICertPropertyEnrollmentPolicyServer_Vtbl { | |
5305 | pub base__: ICertProperty_Vtbl, | |
5306 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertyflags: EnrollmentPolicyServerPropertyFlags, authflags: X509EnrollmentAuthFlags, enrollmentserverauthflags: X509EnrollmentAuthFlags, urlflags: PolicyServerUrlFlags, strrequestid: ::std::mem::MaybeUninit<::windows::core::BSTR>, strurl: ::std::mem::MaybeUninit<::windows::core::BSTR>, strid: ::std::mem::MaybeUninit<::windows::core::BSTR>, strenrollmentserverurl: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5307 | pub GetPolicyServerUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5308 | pub GetPolicyServerId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5309 | pub GetEnrollmentServerUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5310 | pub GetRequestIdString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5311 | pub GetPropertyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut EnrollmentPolicyServerPropertyFlags) -> ::windows::core::HRESULT, | |
5312 | pub GetUrlFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut PolicyServerUrlFlags) -> ::windows::core::HRESULT, | |
5313 | pub GetAuthentication: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
5314 | pub GetEnrollmentServerAuthentication: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
5315 | } | |
5316 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5317 | #[cfg(feature = "Win32_System_Com")] | |
5318 | #[repr(transparent)] | |
5319 | pub struct ICertPropertyFriendlyName(::windows::core::IUnknown); | |
5320 | #[cfg(feature = "Win32_System_Com")] | |
5321 | impl ICertPropertyFriendlyName { | |
5322 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5323 | #[cfg(feature = "Win32_Foundation")] | |
5324 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5325 | where | |
5326 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5327 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5328 | { | |
5329 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5330 | } | |
5331 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5332 | where | |
5333 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5334 | { | |
5335 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5336 | } | |
5337 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5338 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5339 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5340 | } | |
5341 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5342 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5343 | } | |
5344 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5345 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5346 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5347 | } | |
5348 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5349 | #[cfg(feature = "Win32_Foundation")] | |
5350 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5351 | where | |
5352 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5353 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5354 | { | |
5355 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5356 | } | |
5357 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5358 | #[cfg(feature = "Win32_Foundation")] | |
5359 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5360 | where | |
5361 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5362 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5363 | { | |
5364 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5365 | } | |
5366 | pub unsafe fn Initialize<P0>(&self, strfriendlyname: P0) -> ::windows::core::Result<()> | |
5367 | where | |
5368 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5369 | { | |
5370 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strfriendlyname.into_param().abi()).ok() | |
5371 | } | |
5372 | pub unsafe fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5373 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5374 | (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5375 | } | |
5376 | } | |
5377 | #[cfg(feature = "Win32_System_Com")] | |
5378 | ::windows::imp::interface_hierarchy!(ICertPropertyFriendlyName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5379 | #[cfg(feature = "Win32_System_Com")] | |
5380 | impl ::core::cmp::PartialEq for ICertPropertyFriendlyName { | |
5381 | fn eq(&self, other: &Self) -> bool { | |
5382 | self.0 == other.0 | |
5383 | } | |
5384 | } | |
5385 | #[cfg(feature = "Win32_System_Com")] | |
5386 | impl ::core::cmp::Eq for ICertPropertyFriendlyName {} | |
5387 | #[cfg(feature = "Win32_System_Com")] | |
5388 | impl ::core::fmt::Debug for ICertPropertyFriendlyName { | |
5389 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5390 | f.debug_tuple("ICertPropertyFriendlyName").field(&self.0).finish() | |
5391 | } | |
5392 | } | |
5393 | #[cfg(feature = "Win32_System_Com")] | |
5394 | unsafe impl ::windows::core::Interface for ICertPropertyFriendlyName { | |
5395 | type Vtable = ICertPropertyFriendlyName_Vtbl; | |
5396 | } | |
5397 | #[cfg(feature = "Win32_System_Com")] | |
5398 | impl ::core::clone::Clone for ICertPropertyFriendlyName { | |
5399 | fn clone(&self) -> Self { | |
5400 | Self(self.0.clone()) | |
5401 | } | |
5402 | } | |
5403 | #[cfg(feature = "Win32_System_Com")] | |
5404 | unsafe impl ::windows::core::ComInterface for ICertPropertyFriendlyName { | |
5405 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab330_217d_11da_b2a4_000e7bbb2b09); | |
5406 | } | |
5407 | #[cfg(feature = "Win32_System_Com")] | |
5408 | #[repr(C)] | |
5409 | #[doc(hidden)] | |
5410 | pub struct ICertPropertyFriendlyName_Vtbl { | |
5411 | pub base__: ICertProperty_Vtbl, | |
5412 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfriendlyname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5413 | pub FriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5414 | } | |
5415 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5416 | #[cfg(feature = "Win32_System_Com")] | |
5417 | #[repr(transparent)] | |
5418 | pub struct ICertPropertyKeyProvInfo(::windows::core::IUnknown); | |
5419 | #[cfg(feature = "Win32_System_Com")] | |
5420 | impl ICertPropertyKeyProvInfo { | |
5421 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5422 | #[cfg(feature = "Win32_Foundation")] | |
5423 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5424 | where | |
5425 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5426 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5427 | { | |
5428 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5429 | } | |
5430 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5431 | where | |
5432 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5433 | { | |
5434 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5435 | } | |
5436 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5437 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5438 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5439 | } | |
5440 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5441 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5442 | } | |
5443 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5444 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5445 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5446 | } | |
5447 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5448 | #[cfg(feature = "Win32_Foundation")] | |
5449 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5450 | where | |
5451 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5452 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5453 | { | |
5454 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5455 | } | |
5456 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5457 | #[cfg(feature = "Win32_Foundation")] | |
5458 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5459 | where | |
5460 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5461 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5462 | { | |
5463 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5464 | } | |
5465 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
5466 | #[cfg(feature = "Win32_System_Com")] | |
5467 | pub unsafe fn Initialize<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
5468 | where | |
5469 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
5470 | { | |
5471 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
5472 | } | |
5473 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
5474 | #[cfg(feature = "Win32_System_Com")] | |
5475 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
5476 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
5477 | (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5478 | } | |
5479 | } | |
5480 | #[cfg(feature = "Win32_System_Com")] | |
5481 | ::windows::imp::interface_hierarchy!(ICertPropertyKeyProvInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5482 | #[cfg(feature = "Win32_System_Com")] | |
5483 | impl ::core::cmp::PartialEq for ICertPropertyKeyProvInfo { | |
5484 | fn eq(&self, other: &Self) -> bool { | |
5485 | self.0 == other.0 | |
5486 | } | |
5487 | } | |
5488 | #[cfg(feature = "Win32_System_Com")] | |
5489 | impl ::core::cmp::Eq for ICertPropertyKeyProvInfo {} | |
5490 | #[cfg(feature = "Win32_System_Com")] | |
5491 | impl ::core::fmt::Debug for ICertPropertyKeyProvInfo { | |
5492 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5493 | f.debug_tuple("ICertPropertyKeyProvInfo").field(&self.0).finish() | |
5494 | } | |
5495 | } | |
5496 | #[cfg(feature = "Win32_System_Com")] | |
5497 | unsafe impl ::windows::core::Interface for ICertPropertyKeyProvInfo { | |
5498 | type Vtable = ICertPropertyKeyProvInfo_Vtbl; | |
5499 | } | |
5500 | #[cfg(feature = "Win32_System_Com")] | |
5501 | impl ::core::clone::Clone for ICertPropertyKeyProvInfo { | |
5502 | fn clone(&self) -> Self { | |
5503 | Self(self.0.clone()) | |
5504 | } | |
5505 | } | |
5506 | #[cfg(feature = "Win32_System_Com")] | |
5507 | unsafe impl ::windows::core::ComInterface for ICertPropertyKeyProvInfo { | |
5508 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab336_217d_11da_b2a4_000e7bbb2b09); | |
5509 | } | |
5510 | #[cfg(feature = "Win32_System_Com")] | |
5511 | #[repr(C)] | |
5512 | #[doc(hidden)] | |
5513 | pub struct ICertPropertyKeyProvInfo_Vtbl { | |
5514 | pub base__: ICertProperty_Vtbl, | |
5515 | #[cfg(feature = "Win32_System_Com")] | |
5516 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
5517 | #[cfg(not(feature = "Win32_System_Com"))] | |
5518 | Initialize: usize, | |
5519 | #[cfg(feature = "Win32_System_Com")] | |
5520 | pub PrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
5521 | #[cfg(not(feature = "Win32_System_Com"))] | |
5522 | PrivateKey: usize, | |
5523 | } | |
5524 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5525 | #[cfg(feature = "Win32_System_Com")] | |
5526 | #[repr(transparent)] | |
5527 | pub struct ICertPropertyRenewal(::windows::core::IUnknown); | |
5528 | #[cfg(feature = "Win32_System_Com")] | |
5529 | impl ICertPropertyRenewal { | |
5530 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5531 | #[cfg(feature = "Win32_Foundation")] | |
5532 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5533 | where | |
5534 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5535 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5536 | { | |
5537 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5538 | } | |
5539 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5540 | where | |
5541 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5542 | { | |
5543 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5544 | } | |
5545 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5546 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5547 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5548 | } | |
5549 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5550 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5551 | } | |
5552 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5553 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5554 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5555 | } | |
5556 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5557 | #[cfg(feature = "Win32_Foundation")] | |
5558 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5559 | where | |
5560 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5561 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5562 | { | |
5563 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5564 | } | |
5565 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5566 | #[cfg(feature = "Win32_Foundation")] | |
5567 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5568 | where | |
5569 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5570 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5571 | { | |
5572 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5573 | } | |
5574 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, strrenewalvalue: P0) -> ::windows::core::Result<()> | |
5575 | where | |
5576 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5577 | { | |
5578 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), encoding, strrenewalvalue.into_param().abi()).ok() | |
5579 | } | |
5580 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5581 | #[cfg(feature = "Win32_Foundation")] | |
5582 | pub unsafe fn InitializeFromCertificateHash<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5583 | where | |
5584 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5585 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5586 | { | |
5587 | (::windows::core::Interface::vtable(self).InitializeFromCertificateHash)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5588 | } | |
5589 | pub unsafe fn get_Renewal(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5590 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5591 | (::windows::core::Interface::vtable(self).get_Renewal)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5592 | } | |
5593 | } | |
5594 | #[cfg(feature = "Win32_System_Com")] | |
5595 | ::windows::imp::interface_hierarchy!(ICertPropertyRenewal, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5596 | #[cfg(feature = "Win32_System_Com")] | |
5597 | impl ::core::cmp::PartialEq for ICertPropertyRenewal { | |
5598 | fn eq(&self, other: &Self) -> bool { | |
5599 | self.0 == other.0 | |
5600 | } | |
5601 | } | |
5602 | #[cfg(feature = "Win32_System_Com")] | |
5603 | impl ::core::cmp::Eq for ICertPropertyRenewal {} | |
5604 | #[cfg(feature = "Win32_System_Com")] | |
5605 | impl ::core::fmt::Debug for ICertPropertyRenewal { | |
5606 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5607 | f.debug_tuple("ICertPropertyRenewal").field(&self.0).finish() | |
5608 | } | |
5609 | } | |
5610 | #[cfg(feature = "Win32_System_Com")] | |
5611 | unsafe impl ::windows::core::Interface for ICertPropertyRenewal { | |
5612 | type Vtable = ICertPropertyRenewal_Vtbl; | |
5613 | } | |
5614 | #[cfg(feature = "Win32_System_Com")] | |
5615 | impl ::core::clone::Clone for ICertPropertyRenewal { | |
5616 | fn clone(&self) -> Self { | |
5617 | Self(self.0.clone()) | |
5618 | } | |
5619 | } | |
5620 | #[cfg(feature = "Win32_System_Com")] | |
5621 | unsafe impl ::windows::core::ComInterface for ICertPropertyRenewal { | |
5622 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33a_217d_11da_b2a4_000e7bbb2b09); | |
5623 | } | |
5624 | #[cfg(feature = "Win32_System_Com")] | |
5625 | #[repr(C)] | |
5626 | #[doc(hidden)] | |
5627 | pub struct ICertPropertyRenewal_Vtbl { | |
5628 | pub base__: ICertProperty_Vtbl, | |
5629 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strrenewalvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5630 | #[cfg(feature = "Win32_Foundation")] | |
5631 | pub InitializeFromCertificateHash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5632 | #[cfg(not(feature = "Win32_Foundation"))] | |
5633 | InitializeFromCertificateHash: usize, | |
5634 | pub get_Renewal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5635 | } | |
5636 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5637 | #[cfg(feature = "Win32_System_Com")] | |
5638 | #[repr(transparent)] | |
5639 | pub struct ICertPropertyRequestOriginator(::windows::core::IUnknown); | |
5640 | #[cfg(feature = "Win32_System_Com")] | |
5641 | impl ICertPropertyRequestOriginator { | |
5642 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5643 | #[cfg(feature = "Win32_Foundation")] | |
5644 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5645 | where | |
5646 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5647 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5648 | { | |
5649 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5650 | } | |
5651 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5652 | where | |
5653 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5654 | { | |
5655 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5656 | } | |
5657 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5658 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5659 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5660 | } | |
5661 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5662 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5663 | } | |
5664 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5665 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5666 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5667 | } | |
5668 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5669 | #[cfg(feature = "Win32_Foundation")] | |
5670 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5671 | where | |
5672 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5673 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5674 | { | |
5675 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5676 | } | |
5677 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5678 | #[cfg(feature = "Win32_Foundation")] | |
5679 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5680 | where | |
5681 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5682 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5683 | { | |
5684 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5685 | } | |
5686 | pub unsafe fn Initialize<P0>(&self, strrequestoriginator: P0) -> ::windows::core::Result<()> | |
5687 | where | |
5688 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5689 | { | |
5690 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strrequestoriginator.into_param().abi()).ok() | |
5691 | } | |
5692 | pub unsafe fn InitializeFromLocalRequestOriginator(&self) -> ::windows::core::Result<()> { | |
5693 | (::windows::core::Interface::vtable(self).InitializeFromLocalRequestOriginator)(::windows::core::Interface::as_raw(self)).ok() | |
5694 | } | |
5695 | pub unsafe fn RequestOriginator(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5696 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5697 | (::windows::core::Interface::vtable(self).RequestOriginator)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5698 | } | |
5699 | } | |
5700 | #[cfg(feature = "Win32_System_Com")] | |
5701 | ::windows::imp::interface_hierarchy!(ICertPropertyRequestOriginator, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5702 | #[cfg(feature = "Win32_System_Com")] | |
5703 | impl ::core::cmp::PartialEq for ICertPropertyRequestOriginator { | |
5704 | fn eq(&self, other: &Self) -> bool { | |
5705 | self.0 == other.0 | |
5706 | } | |
5707 | } | |
5708 | #[cfg(feature = "Win32_System_Com")] | |
5709 | impl ::core::cmp::Eq for ICertPropertyRequestOriginator {} | |
5710 | #[cfg(feature = "Win32_System_Com")] | |
5711 | impl ::core::fmt::Debug for ICertPropertyRequestOriginator { | |
5712 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5713 | f.debug_tuple("ICertPropertyRequestOriginator").field(&self.0).finish() | |
5714 | } | |
5715 | } | |
5716 | #[cfg(feature = "Win32_System_Com")] | |
5717 | unsafe impl ::windows::core::Interface for ICertPropertyRequestOriginator { | |
5718 | type Vtable = ICertPropertyRequestOriginator_Vtbl; | |
5719 | } | |
5720 | #[cfg(feature = "Win32_System_Com")] | |
5721 | impl ::core::clone::Clone for ICertPropertyRequestOriginator { | |
5722 | fn clone(&self) -> Self { | |
5723 | Self(self.0.clone()) | |
5724 | } | |
5725 | } | |
5726 | #[cfg(feature = "Win32_System_Com")] | |
5727 | unsafe impl ::windows::core::ComInterface for ICertPropertyRequestOriginator { | |
5728 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab333_217d_11da_b2a4_000e7bbb2b09); | |
5729 | } | |
5730 | #[cfg(feature = "Win32_System_Com")] | |
5731 | #[repr(C)] | |
5732 | #[doc(hidden)] | |
5733 | pub struct ICertPropertyRequestOriginator_Vtbl { | |
5734 | pub base__: ICertProperty_Vtbl, | |
5735 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strrequestoriginator: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5736 | pub InitializeFromLocalRequestOriginator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
5737 | pub RequestOriginator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5738 | } | |
5739 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5740 | #[cfg(feature = "Win32_System_Com")] | |
5741 | #[repr(transparent)] | |
5742 | pub struct ICertPropertySHA1Hash(::windows::core::IUnknown); | |
5743 | #[cfg(feature = "Win32_System_Com")] | |
5744 | impl ICertPropertySHA1Hash { | |
5745 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5746 | #[cfg(feature = "Win32_Foundation")] | |
5747 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5748 | where | |
5749 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5750 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5751 | { | |
5752 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5753 | } | |
5754 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
5755 | where | |
5756 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5757 | { | |
5758 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
5759 | } | |
5760 | pub unsafe fn PropertyId(&self) -> ::windows::core::Result<CERTENROLL_PROPERTYID> { | |
5761 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_PROPERTYID>(); | |
5762 | (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5763 | } | |
5764 | pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { | |
5765 | (::windows::core::Interface::vtable(self).base__.SetPropertyId)(::windows::core::Interface::as_raw(self), value).ok() | |
5766 | } | |
5767 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5768 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5769 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5770 | } | |
5771 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5772 | #[cfg(feature = "Win32_Foundation")] | |
5773 | pub unsafe fn RemoveFromCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5774 | where | |
5775 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5776 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5777 | { | |
5778 | (::windows::core::Interface::vtable(self).base__.RemoveFromCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5779 | } | |
5780 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5781 | #[cfg(feature = "Win32_Foundation")] | |
5782 | pub unsafe fn SetValueOnCertificate<P0, P1>(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
5783 | where | |
5784 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
5785 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5786 | { | |
5787 | (::windows::core::Interface::vtable(self).base__.SetValueOnCertificate)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), encoding, strcertificate.into_param().abi()).ok() | |
5788 | } | |
5789 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, strrenewalvalue: P0) -> ::windows::core::Result<()> | |
5790 | where | |
5791 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5792 | { | |
5793 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), encoding, strrenewalvalue.into_param().abi()).ok() | |
5794 | } | |
5795 | pub unsafe fn get_SHA1Hash(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
5796 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5797 | (::windows::core::Interface::vtable(self).get_SHA1Hash)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
5798 | } | |
5799 | } | |
5800 | #[cfg(feature = "Win32_System_Com")] | |
5801 | ::windows::imp::interface_hierarchy!(ICertPropertySHA1Hash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); | |
5802 | #[cfg(feature = "Win32_System_Com")] | |
5803 | impl ::core::cmp::PartialEq for ICertPropertySHA1Hash { | |
5804 | fn eq(&self, other: &Self) -> bool { | |
5805 | self.0 == other.0 | |
5806 | } | |
5807 | } | |
5808 | #[cfg(feature = "Win32_System_Com")] | |
5809 | impl ::core::cmp::Eq for ICertPropertySHA1Hash {} | |
5810 | #[cfg(feature = "Win32_System_Com")] | |
5811 | impl ::core::fmt::Debug for ICertPropertySHA1Hash { | |
5812 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5813 | f.debug_tuple("ICertPropertySHA1Hash").field(&self.0).finish() | |
5814 | } | |
5815 | } | |
5816 | #[cfg(feature = "Win32_System_Com")] | |
5817 | unsafe impl ::windows::core::Interface for ICertPropertySHA1Hash { | |
5818 | type Vtable = ICertPropertySHA1Hash_Vtbl; | |
5819 | } | |
5820 | #[cfg(feature = "Win32_System_Com")] | |
5821 | impl ::core::clone::Clone for ICertPropertySHA1Hash { | |
5822 | fn clone(&self) -> Self { | |
5823 | Self(self.0.clone()) | |
5824 | } | |
5825 | } | |
5826 | #[cfg(feature = "Win32_System_Com")] | |
5827 | unsafe impl ::windows::core::ComInterface for ICertPropertySHA1Hash { | |
5828 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab334_217d_11da_b2a4_000e7bbb2b09); | |
5829 | } | |
5830 | #[cfg(feature = "Win32_System_Com")] | |
5831 | #[repr(C)] | |
5832 | #[doc(hidden)] | |
5833 | pub struct ICertPropertySHA1Hash_Vtbl { | |
5834 | pub base__: ICertProperty_Vtbl, | |
5835 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strrenewalvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5836 | pub get_SHA1Hash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5837 | } | |
5838 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5839 | #[cfg(feature = "Win32_System_Com")] | |
5840 | #[repr(transparent)] | |
5841 | pub struct ICertRequest(::windows::core::IUnknown); | |
5842 | #[cfg(feature = "Win32_System_Com")] | |
5843 | impl ICertRequest { | |
5844 | pub unsafe fn Submit<P0, P1, P2>(&self, flags: i32, strrequest: P0, strattributes: P1, strconfig: P2) -> ::windows::core::Result<i32> | |
5845 | where | |
5846 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5847 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5848 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5849 | { | |
5850 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5851 | (::windows::core::Interface::vtable(self).Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into_param().abi(), strattributes.into_param().abi(), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
5852 | } | |
5853 | pub unsafe fn RetrievePending<P0>(&self, requestid: i32, strconfig: P0) -> ::windows::core::Result<i32> | |
5854 | where | |
5855 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5856 | { | |
5857 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5858 | (::windows::core::Interface::vtable(self).RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
5859 | } | |
5860 | pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result<i32> { | |
5861 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5862 | (::windows::core::Interface::vtable(self).GetLastStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5863 | } | |
5864 | pub unsafe fn GetRequestId(&self) -> ::windows::core::Result<i32> { | |
5865 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5866 | (::windows::core::Interface::vtable(self).GetRequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5867 | } | |
5868 | pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5869 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5870 | (::windows::core::Interface::vtable(self).GetDispositionMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5871 | } | |
5872 | pub unsafe fn GetCACertificate<P0>(&self, fexchangecertificate: i32, strconfig: P0, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
5873 | where | |
5874 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5875 | { | |
5876 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5877 | (::windows::core::Interface::vtable(self).GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into_param().abi(), flags, &mut result__).from_abi(result__) | |
5878 | } | |
5879 | pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
5880 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5881 | (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
5882 | } | |
5883 | } | |
5884 | #[cfg(feature = "Win32_System_Com")] | |
5885 | ::windows::imp::interface_hierarchy!(ICertRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
5886 | #[cfg(feature = "Win32_System_Com")] | |
5887 | impl ::core::cmp::PartialEq for ICertRequest { | |
5888 | fn eq(&self, other: &Self) -> bool { | |
5889 | self.0 == other.0 | |
5890 | } | |
5891 | } | |
5892 | #[cfg(feature = "Win32_System_Com")] | |
5893 | impl ::core::cmp::Eq for ICertRequest {} | |
5894 | #[cfg(feature = "Win32_System_Com")] | |
5895 | impl ::core::fmt::Debug for ICertRequest { | |
5896 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5897 | f.debug_tuple("ICertRequest").field(&self.0).finish() | |
5898 | } | |
5899 | } | |
5900 | #[cfg(feature = "Win32_System_Com")] | |
5901 | unsafe impl ::windows::core::Interface for ICertRequest { | |
5902 | type Vtable = ICertRequest_Vtbl; | |
5903 | } | |
5904 | #[cfg(feature = "Win32_System_Com")] | |
5905 | impl ::core::clone::Clone for ICertRequest { | |
5906 | fn clone(&self) -> Self { | |
5907 | Self(self.0.clone()) | |
5908 | } | |
5909 | } | |
5910 | #[cfg(feature = "Win32_System_Com")] | |
5911 | unsafe impl ::windows::core::ComInterface for ICertRequest { | |
5912 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x014e4840_5523_11d0_8812_00a0c903b83c); | |
5913 | } | |
5914 | #[cfg(feature = "Win32_System_Com")] | |
5915 | #[repr(C)] | |
5916 | #[doc(hidden)] | |
5917 | pub struct ICertRequest_Vtbl { | |
5918 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
5919 | pub Submit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, strrequest: ::std::mem::MaybeUninit<::windows::core::BSTR>, strattributes: ::std::mem::MaybeUninit<::windows::core::BSTR>, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, pdisposition: *mut i32) -> ::windows::core::HRESULT, | |
5920 | pub RetrievePending: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requestid: i32, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, pdisposition: *mut i32) -> ::windows::core::HRESULT, | |
5921 | pub GetLastStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstatus: *mut i32) -> ::windows::core::HRESULT, | |
5922 | pub GetRequestId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prequestid: *mut i32) -> ::windows::core::HRESULT, | |
5923 | pub GetDispositionMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrdispositionmessage: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5924 | pub GetCACertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fexchangecertificate: i32, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, flags: i32, pstrcertificate: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5925 | pub GetCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pstrcertificate: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
5926 | } | |
5927 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
5928 | #[cfg(feature = "Win32_System_Com")] | |
5929 | #[repr(transparent)] | |
5930 | pub struct ICertRequest2(::windows::core::IUnknown); | |
5931 | #[cfg(feature = "Win32_System_Com")] | |
5932 | impl ICertRequest2 { | |
5933 | pub unsafe fn Submit<P0, P1, P2>(&self, flags: i32, strrequest: P0, strattributes: P1, strconfig: P2) -> ::windows::core::Result<i32> | |
5934 | where | |
5935 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5936 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5937 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5938 | { | |
5939 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5940 | (::windows::core::Interface::vtable(self).base__.Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into_param().abi(), strattributes.into_param().abi(), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
5941 | } | |
5942 | pub unsafe fn RetrievePending<P0>(&self, requestid: i32, strconfig: P0) -> ::windows::core::Result<i32> | |
5943 | where | |
5944 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5945 | { | |
5946 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5947 | (::windows::core::Interface::vtable(self).base__.RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
5948 | } | |
5949 | pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result<i32> { | |
5950 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5951 | (::windows::core::Interface::vtable(self).base__.GetLastStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5952 | } | |
5953 | pub unsafe fn GetRequestId(&self) -> ::windows::core::Result<i32> { | |
5954 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5955 | (::windows::core::Interface::vtable(self).base__.GetRequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5956 | } | |
5957 | pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
5958 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5959 | (::windows::core::Interface::vtable(self).base__.GetDispositionMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
5960 | } | |
5961 | pub unsafe fn GetCACertificate<P0>(&self, fexchangecertificate: i32, strconfig: P0, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
5962 | where | |
5963 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5964 | { | |
5965 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5966 | (::windows::core::Interface::vtable(self).base__.GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into_param().abi(), flags, &mut result__).from_abi(result__) | |
5967 | } | |
5968 | pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
5969 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5970 | (::windows::core::Interface::vtable(self).base__.GetCertificate)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
5971 | } | |
5972 | pub unsafe fn GetIssuedCertificate<P0, P1>(&self, strconfig: P0, requestid: i32, strserialnumber: P1) -> ::windows::core::Result<CR_DISP> | |
5973 | where | |
5974 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5975 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5976 | { | |
5977 | let mut result__ = ::windows::core::zeroed::<CR_DISP>(); | |
5978 | (::windows::core::Interface::vtable(self).GetIssuedCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strserialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
5979 | } | |
5980 | pub unsafe fn GetErrorMessageText(&self, hrmessage: i32, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
5981 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
5982 | (::windows::core::Interface::vtable(self).GetErrorMessageText)(::windows::core::Interface::as_raw(self), hrmessage, flags, &mut result__).from_abi(result__) | |
5983 | } | |
5984 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
5985 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
5986 | pub unsafe fn GetCAProperty<P0>(&self, strconfig: P0, propid: i32, propindex: i32, proptype: i32, flags: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
5987 | where | |
5988 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5989 | { | |
5990 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
5991 | (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, propindex, proptype, flags, &mut result__).from_abi(result__) | |
5992 | } | |
5993 | pub unsafe fn GetCAPropertyFlags<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<i32> | |
5994 | where | |
5995 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
5996 | { | |
5997 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5998 | (::windows::core::Interface::vtable(self).GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
5999 | } | |
6000 | pub unsafe fn GetCAPropertyDisplayName<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
6001 | where | |
6002 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6003 | { | |
6004 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6005 | (::windows::core::Interface::vtable(self).GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
6006 | } | |
6007 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6008 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6009 | pub unsafe fn GetFullResponseProperty(&self, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
6010 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6011 | (::windows::core::Interface::vtable(self).GetFullResponseProperty)(::windows::core::Interface::as_raw(self), propid, propindex, proptype, flags, &mut result__).from_abi(result__) | |
6012 | } | |
6013 | } | |
6014 | #[cfg(feature = "Win32_System_Com")] | |
6015 | ::windows::imp::interface_hierarchy!(ICertRequest2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest); | |
6016 | #[cfg(feature = "Win32_System_Com")] | |
6017 | impl ::core::cmp::PartialEq for ICertRequest2 { | |
6018 | fn eq(&self, other: &Self) -> bool { | |
6019 | self.0 == other.0 | |
6020 | } | |
6021 | } | |
6022 | #[cfg(feature = "Win32_System_Com")] | |
6023 | impl ::core::cmp::Eq for ICertRequest2 {} | |
6024 | #[cfg(feature = "Win32_System_Com")] | |
6025 | impl ::core::fmt::Debug for ICertRequest2 { | |
6026 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6027 | f.debug_tuple("ICertRequest2").field(&self.0).finish() | |
6028 | } | |
6029 | } | |
6030 | #[cfg(feature = "Win32_System_Com")] | |
6031 | unsafe impl ::windows::core::Interface for ICertRequest2 { | |
6032 | type Vtable = ICertRequest2_Vtbl; | |
6033 | } | |
6034 | #[cfg(feature = "Win32_System_Com")] | |
6035 | impl ::core::clone::Clone for ICertRequest2 { | |
6036 | fn clone(&self) -> Self { | |
6037 | Self(self.0.clone()) | |
6038 | } | |
6039 | } | |
6040 | #[cfg(feature = "Win32_System_Com")] | |
6041 | unsafe impl ::windows::core::ComInterface for ICertRequest2 { | |
6042 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa4772988_4a85_4fa9_824e_b5cf5c16405a); | |
6043 | } | |
6044 | #[cfg(feature = "Win32_System_Com")] | |
6045 | #[repr(C)] | |
6046 | #[doc(hidden)] | |
6047 | pub struct ICertRequest2_Vtbl { | |
6048 | pub base__: ICertRequest_Vtbl, | |
6049 | pub GetIssuedCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, requestid: i32, strserialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, pdisposition: *mut CR_DISP) -> ::windows::core::HRESULT, | |
6050 | pub GetErrorMessageText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hrmessage: i32, flags: i32, pstrerrormessagetext: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6051 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6052 | pub GetCAProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6053 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6054 | GetCAProperty: usize, | |
6055 | pub GetCAPropertyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, ppropflags: *mut i32) -> ::windows::core::HRESULT, | |
6056 | pub GetCAPropertyDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, propid: i32, pstrdisplayname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6057 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6058 | pub GetFullResponseProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6059 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6060 | GetFullResponseProperty: usize, | |
6061 | } | |
6062 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6063 | #[cfg(feature = "Win32_System_Com")] | |
6064 | #[repr(transparent)] | |
6065 | pub struct ICertRequest3(::windows::core::IUnknown); | |
6066 | #[cfg(feature = "Win32_System_Com")] | |
6067 | impl ICertRequest3 { | |
6068 | pub unsafe fn Submit<P0, P1, P2>(&self, flags: i32, strrequest: P0, strattributes: P1, strconfig: P2) -> ::windows::core::Result<i32> | |
6069 | where | |
6070 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6071 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6072 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6073 | { | |
6074 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6075 | (::windows::core::Interface::vtable(self).base__.base__.Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into_param().abi(), strattributes.into_param().abi(), strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
6076 | } | |
6077 | pub unsafe fn RetrievePending<P0>(&self, requestid: i32, strconfig: P0) -> ::windows::core::Result<i32> | |
6078 | where | |
6079 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6080 | { | |
6081 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6082 | (::windows::core::Interface::vtable(self).base__.base__.RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into_param().abi(), &mut result__).from_abi(result__) | |
6083 | } | |
6084 | pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result<i32> { | |
6085 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6086 | (::windows::core::Interface::vtable(self).base__.base__.GetLastStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6087 | } | |
6088 | pub unsafe fn GetRequestId(&self) -> ::windows::core::Result<i32> { | |
6089 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6090 | (::windows::core::Interface::vtable(self).base__.base__.GetRequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6091 | } | |
6092 | pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6093 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6094 | (::windows::core::Interface::vtable(self).base__.base__.GetDispositionMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6095 | } | |
6096 | pub unsafe fn GetCACertificate<P0>(&self, fexchangecertificate: i32, strconfig: P0, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
6097 | where | |
6098 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6099 | { | |
6100 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6101 | (::windows::core::Interface::vtable(self).base__.base__.GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into_param().abi(), flags, &mut result__).from_abi(result__) | |
6102 | } | |
6103 | pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
6104 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6105 | (::windows::core::Interface::vtable(self).base__.base__.GetCertificate)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
6106 | } | |
6107 | pub unsafe fn GetIssuedCertificate<P0, P1>(&self, strconfig: P0, requestid: i32, strserialnumber: P1) -> ::windows::core::Result<CR_DISP> | |
6108 | where | |
6109 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6110 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6111 | { | |
6112 | let mut result__ = ::windows::core::zeroed::<CR_DISP>(); | |
6113 | (::windows::core::Interface::vtable(self).base__.GetIssuedCertificate)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), requestid, strserialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
6114 | } | |
6115 | pub unsafe fn GetErrorMessageText(&self, hrmessage: i32, flags: i32) -> ::windows::core::Result<::windows::core::BSTR> { | |
6116 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6117 | (::windows::core::Interface::vtable(self).base__.GetErrorMessageText)(::windows::core::Interface::as_raw(self), hrmessage, flags, &mut result__).from_abi(result__) | |
6118 | } | |
6119 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6120 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6121 | pub unsafe fn GetCAProperty<P0>(&self, strconfig: P0, propid: i32, propindex: i32, proptype: i32, flags: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6122 | where | |
6123 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6124 | { | |
6125 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6126 | (::windows::core::Interface::vtable(self).base__.GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, propindex, proptype, flags, &mut result__).from_abi(result__) | |
6127 | } | |
6128 | pub unsafe fn GetCAPropertyFlags<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<i32> | |
6129 | where | |
6130 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6131 | { | |
6132 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6133 | (::windows::core::Interface::vtable(self).base__.GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
6134 | } | |
6135 | pub unsafe fn GetCAPropertyDisplayName<P0>(&self, strconfig: P0, propid: i32) -> ::windows::core::Result<::windows::core::BSTR> | |
6136 | where | |
6137 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6138 | { | |
6139 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6140 | (::windows::core::Interface::vtable(self).base__.GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), propid, &mut result__).from_abi(result__) | |
6141 | } | |
6142 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6143 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6144 | pub unsafe fn GetFullResponseProperty(&self, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
6145 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6146 | (::windows::core::Interface::vtable(self).base__.GetFullResponseProperty)(::windows::core::Interface::as_raw(self), propid, propindex, proptype, flags, &mut result__).from_abi(result__) | |
6147 | } | |
6148 | pub unsafe fn SetCredential<P0, P1>(&self, hwnd: i32, authtype: X509EnrollmentAuthFlags, strcredential: P0, strpassword: P1) -> ::windows::core::Result<()> | |
6149 | where | |
6150 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6151 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6152 | { | |
6153 | (::windows::core::Interface::vtable(self).SetCredential)(::windows::core::Interface::as_raw(self), hwnd, authtype, strcredential.into_param().abi(), strpassword.into_param().abi()).ok() | |
6154 | } | |
6155 | pub unsafe fn GetRequestIdString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6156 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6157 | (::windows::core::Interface::vtable(self).GetRequestIdString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6158 | } | |
6159 | pub unsafe fn GetIssuedCertificate2<P0, P1, P2>(&self, strconfig: P0, strrequestid: P1, strserialnumber: P2) -> ::windows::core::Result<CR_DISP> | |
6160 | where | |
6161 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6162 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6163 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6164 | { | |
6165 | let mut result__ = ::windows::core::zeroed::<CR_DISP>(); | |
6166 | (::windows::core::Interface::vtable(self).GetIssuedCertificate2)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi(), strrequestid.into_param().abi(), strserialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
6167 | } | |
6168 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6169 | #[cfg(feature = "Win32_Foundation")] | |
6170 | pub unsafe fn GetRefreshPolicy(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
6171 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
6172 | (::windows::core::Interface::vtable(self).GetRefreshPolicy)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6173 | } | |
6174 | } | |
6175 | #[cfg(feature = "Win32_System_Com")] | |
6176 | ::windows::imp::interface_hierarchy!(ICertRequest3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest, ICertRequest2); | |
6177 | #[cfg(feature = "Win32_System_Com")] | |
6178 | impl ::core::cmp::PartialEq for ICertRequest3 { | |
6179 | fn eq(&self, other: &Self) -> bool { | |
6180 | self.0 == other.0 | |
6181 | } | |
6182 | } | |
6183 | #[cfg(feature = "Win32_System_Com")] | |
6184 | impl ::core::cmp::Eq for ICertRequest3 {} | |
6185 | #[cfg(feature = "Win32_System_Com")] | |
6186 | impl ::core::fmt::Debug for ICertRequest3 { | |
6187 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6188 | f.debug_tuple("ICertRequest3").field(&self.0).finish() | |
6189 | } | |
6190 | } | |
6191 | #[cfg(feature = "Win32_System_Com")] | |
6192 | unsafe impl ::windows::core::Interface for ICertRequest3 { | |
6193 | type Vtable = ICertRequest3_Vtbl; | |
6194 | } | |
6195 | #[cfg(feature = "Win32_System_Com")] | |
6196 | impl ::core::clone::Clone for ICertRequest3 { | |
6197 | fn clone(&self) -> Self { | |
6198 | Self(self.0.clone()) | |
6199 | } | |
6200 | } | |
6201 | #[cfg(feature = "Win32_System_Com")] | |
6202 | unsafe impl ::windows::core::ComInterface for ICertRequest3 { | |
6203 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); | |
6204 | } | |
6205 | #[cfg(feature = "Win32_System_Com")] | |
6206 | #[repr(C)] | |
6207 | #[doc(hidden)] | |
6208 | pub struct ICertRequest3_Vtbl { | |
6209 | pub base__: ICertRequest2_Vtbl, | |
6210 | pub SetCredential: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: i32, authtype: X509EnrollmentAuthFlags, strcredential: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6211 | pub GetRequestIdString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrrequestid: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6212 | pub GetIssuedCertificate2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>, strrequestid: ::std::mem::MaybeUninit<::windows::core::BSTR>, strserialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, pdisposition: *mut CR_DISP) -> ::windows::core::HRESULT, | |
6213 | #[cfg(feature = "Win32_Foundation")] | |
6214 | pub GetRefreshPolicy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
6215 | #[cfg(not(feature = "Win32_Foundation"))] | |
6216 | GetRefreshPolicy: usize, | |
6217 | } | |
6218 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
6219 | #[repr(transparent)] | |
6220 | pub struct ICertRequestD(::windows::core::IUnknown); | |
6221 | impl ICertRequestD { | |
6222 | pub unsafe fn Request<P0, P1>(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> | |
6223 | where | |
6224 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6225 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6226 | { | |
6227 | (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), dwflags, pwszauthority.into_param().abi(), pdwrequestid, pdwdisposition, pwszattributes.into_param().abi(), pctbrequest, pctbcertchain, pctbencodedcert, pctbdispositionmessage).ok() | |
6228 | } | |
6229 | pub unsafe fn GetCACert<P0>(&self, fchain: u32, pwszauthority: P0) -> ::windows::core::Result<CERTTRANSBLOB> | |
6230 | where | |
6231 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6232 | { | |
6233 | let mut result__ = ::windows::core::zeroed::<CERTTRANSBLOB>(); | |
6234 | (::windows::core::Interface::vtable(self).GetCACert)(::windows::core::Interface::as_raw(self), fchain, pwszauthority.into_param().abi(), &mut result__).from_abi(result__) | |
6235 | } | |
6236 | pub unsafe fn Ping<P0>(&self, pwszauthority: P0) -> ::windows::core::Result<()> | |
6237 | where | |
6238 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6239 | { | |
6240 | (::windows::core::Interface::vtable(self).Ping)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi()).ok() | |
6241 | } | |
6242 | } | |
6243 | ::windows::imp::interface_hierarchy!(ICertRequestD, ::windows::core::IUnknown); | |
6244 | impl ::core::cmp::PartialEq for ICertRequestD { | |
6245 | fn eq(&self, other: &Self) -> bool { | |
6246 | self.0 == other.0 | |
6247 | } | |
6248 | } | |
6249 | impl ::core::cmp::Eq for ICertRequestD {} | |
6250 | impl ::core::fmt::Debug for ICertRequestD { | |
6251 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6252 | f.debug_tuple("ICertRequestD").field(&self.0).finish() | |
6253 | } | |
6254 | } | |
6255 | unsafe impl ::windows::core::Interface for ICertRequestD { | |
6256 | type Vtable = ICertRequestD_Vtbl; | |
6257 | } | |
6258 | impl ::core::clone::Clone for ICertRequestD { | |
6259 | fn clone(&self) -> Self { | |
6260 | Self(self.0.clone()) | |
6261 | } | |
6262 | } | |
6263 | unsafe impl ::windows::core::ComInterface for ICertRequestD { | |
6264 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd99e6e70_fc88_11d0_b498_00a0c90312f3); | |
6265 | } | |
6266 | #[repr(C)] | |
6267 | #[doc(hidden)] | |
6268 | pub struct ICertRequestD_Vtbl { | |
6269 | pub base__: ::windows::core::IUnknown_Vtbl, | |
6270 | pub Request: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: u32, pwszauthority: ::windows::core::PCWSTR, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: ::windows::core::PCWSTR, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
6271 | pub GetCACert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fchain: u32, pwszauthority: ::windows::core::PCWSTR, pctbout: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
6272 | pub Ping: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszauthority: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
6273 | } | |
6274 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
6275 | #[repr(transparent)] | |
6276 | pub struct ICertRequestD2(::windows::core::IUnknown); | |
6277 | impl ICertRequestD2 { | |
6278 | pub unsafe fn Request<P0, P1>(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> | |
6279 | where | |
6280 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6281 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6282 | { | |
6283 | (::windows::core::Interface::vtable(self).base__.Request)(::windows::core::Interface::as_raw(self), dwflags, pwszauthority.into_param().abi(), pdwrequestid, pdwdisposition, pwszattributes.into_param().abi(), pctbrequest, pctbcertchain, pctbencodedcert, pctbdispositionmessage).ok() | |
6284 | } | |
6285 | pub unsafe fn GetCACert<P0>(&self, fchain: u32, pwszauthority: P0) -> ::windows::core::Result<CERTTRANSBLOB> | |
6286 | where | |
6287 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6288 | { | |
6289 | let mut result__ = ::windows::core::zeroed::<CERTTRANSBLOB>(); | |
6290 | (::windows::core::Interface::vtable(self).base__.GetCACert)(::windows::core::Interface::as_raw(self), fchain, pwszauthority.into_param().abi(), &mut result__).from_abi(result__) | |
6291 | } | |
6292 | pub unsafe fn Ping<P0>(&self, pwszauthority: P0) -> ::windows::core::Result<()> | |
6293 | where | |
6294 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6295 | { | |
6296 | (::windows::core::Interface::vtable(self).base__.Ping)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi()).ok() | |
6297 | } | |
6298 | pub unsafe fn Request2<P0, P1, P2>(&self, pwszauthority: P0, dwflags: u32, pwszserialnumber: P1, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P2, pctbrequest: *const CERTTRANSBLOB, pctbfullresponse: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> | |
6299 | where | |
6300 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6301 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6302 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6303 | { | |
6304 | (::windows::core::Interface::vtable(self).Request2)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi(), dwflags, pwszserialnumber.into_param().abi(), pdwrequestid, pdwdisposition, pwszattributes.into_param().abi(), pctbrequest, pctbfullresponse, pctbencodedcert, pctbdispositionmessage).ok() | |
6305 | } | |
6306 | pub unsafe fn GetCAProperty<P0>(&self, pwszauthority: P0, propid: i32, propindex: i32, proptype: i32) -> ::windows::core::Result<CERTTRANSBLOB> | |
6307 | where | |
6308 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6309 | { | |
6310 | let mut result__ = ::windows::core::zeroed::<CERTTRANSBLOB>(); | |
6311 | (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi(), propid, propindex, proptype, &mut result__).from_abi(result__) | |
6312 | } | |
6313 | pub unsafe fn GetCAPropertyInfo<P0>(&self, pwszauthority: P0, pcproperty: *mut i32, pctbpropinfo: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> | |
6314 | where | |
6315 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6316 | { | |
6317 | (::windows::core::Interface::vtable(self).GetCAPropertyInfo)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi(), pcproperty, pctbpropinfo).ok() | |
6318 | } | |
6319 | pub unsafe fn Ping2<P0>(&self, pwszauthority: P0) -> ::windows::core::Result<()> | |
6320 | where | |
6321 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6322 | { | |
6323 | (::windows::core::Interface::vtable(self).Ping2)(::windows::core::Interface::as_raw(self), pwszauthority.into_param().abi()).ok() | |
6324 | } | |
6325 | } | |
6326 | ::windows::imp::interface_hierarchy!(ICertRequestD2, ::windows::core::IUnknown, ICertRequestD); | |
6327 | impl ::core::cmp::PartialEq for ICertRequestD2 { | |
6328 | fn eq(&self, other: &Self) -> bool { | |
6329 | self.0 == other.0 | |
6330 | } | |
6331 | } | |
6332 | impl ::core::cmp::Eq for ICertRequestD2 {} | |
6333 | impl ::core::fmt::Debug for ICertRequestD2 { | |
6334 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6335 | f.debug_tuple("ICertRequestD2").field(&self.0).finish() | |
6336 | } | |
6337 | } | |
6338 | unsafe impl ::windows::core::Interface for ICertRequestD2 { | |
6339 | type Vtable = ICertRequestD2_Vtbl; | |
6340 | } | |
6341 | impl ::core::clone::Clone for ICertRequestD2 { | |
6342 | fn clone(&self) -> Self { | |
6343 | Self(self.0.clone()) | |
6344 | } | |
6345 | } | |
6346 | unsafe impl ::windows::core::ComInterface for ICertRequestD2 { | |
6347 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5422fd3a_d4b8_4cef_a12e_e87d4ca22e90); | |
6348 | } | |
6349 | #[repr(C)] | |
6350 | #[doc(hidden)] | |
6351 | pub struct ICertRequestD2_Vtbl { | |
6352 | pub base__: ICertRequestD_Vtbl, | |
6353 | pub Request2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszauthority: ::windows::core::PCWSTR, dwflags: u32, pwszserialnumber: ::windows::core::PCWSTR, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: ::windows::core::PCWSTR, pctbrequest: *const CERTTRANSBLOB, pctbfullresponse: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
6354 | pub GetCAProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszauthority: ::windows::core::PCWSTR, propid: i32, propindex: i32, proptype: i32, pctbpropertyvalue: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
6355 | pub GetCAPropertyInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszauthority: ::windows::core::PCWSTR, pcproperty: *mut i32, pctbpropinfo: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
6356 | pub Ping2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszauthority: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
6357 | } | |
6358 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6359 | #[cfg(feature = "Win32_System_Com")] | |
6360 | #[repr(transparent)] | |
6361 | pub struct ICertServerExit(::windows::core::IUnknown); | |
6362 | #[cfg(feature = "Win32_System_Com")] | |
6363 | impl ICertServerExit { | |
6364 | pub unsafe fn SetContext(&self, context: i32) -> ::windows::core::Result<()> { | |
6365 | (::windows::core::Interface::vtable(self).SetContext)(::windows::core::Interface::as_raw(self), context).ok() | |
6366 | } | |
6367 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6368 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6369 | pub unsafe fn GetRequestProperty<P0>(&self, strpropertyname: P0, propertytype: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6370 | where | |
6371 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6372 | { | |
6373 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6374 | (::windows::core::Interface::vtable(self).GetRequestProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into_param().abi(), propertytype, &mut result__).from_abi(result__) | |
6375 | } | |
6376 | pub unsafe fn GetRequestAttribute<P0>(&self, strattributename: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
6377 | where | |
6378 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6379 | { | |
6380 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6381 | (::windows::core::Interface::vtable(self).GetRequestAttribute)(::windows::core::Interface::as_raw(self), strattributename.into_param().abi(), &mut result__).from_abi(result__) | |
6382 | } | |
6383 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6384 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6385 | pub unsafe fn GetCertificateProperty<P0>(&self, strpropertyname: P0, propertytype: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6386 | where | |
6387 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6388 | { | |
6389 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6390 | (::windows::core::Interface::vtable(self).GetCertificateProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into_param().abi(), propertytype, &mut result__).from_abi(result__) | |
6391 | } | |
6392 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6393 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6394 | pub unsafe fn GetCertificateExtension<P0>(&self, strextensionname: P0, r#type: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6395 | where | |
6396 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6397 | { | |
6398 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6399 | (::windows::core::Interface::vtable(self).GetCertificateExtension)(::windows::core::Interface::as_raw(self), strextensionname.into_param().abi(), r#type, &mut result__).from_abi(result__) | |
6400 | } | |
6401 | pub unsafe fn GetCertificateExtensionFlags(&self) -> ::windows::core::Result<i32> { | |
6402 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6403 | (::windows::core::Interface::vtable(self).GetCertificateExtensionFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6404 | } | |
6405 | pub unsafe fn EnumerateExtensionsSetup(&self, flags: i32) -> ::windows::core::Result<()> { | |
6406 | (::windows::core::Interface::vtable(self).EnumerateExtensionsSetup)(::windows::core::Interface::as_raw(self), flags).ok() | |
6407 | } | |
6408 | pub unsafe fn EnumerateExtensions(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6409 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6410 | (::windows::core::Interface::vtable(self).EnumerateExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6411 | } | |
6412 | pub unsafe fn EnumerateExtensionsClose(&self) -> ::windows::core::Result<()> { | |
6413 | (::windows::core::Interface::vtable(self).EnumerateExtensionsClose)(::windows::core::Interface::as_raw(self)).ok() | |
6414 | } | |
6415 | pub unsafe fn EnumerateAttributesSetup(&self, flags: i32) -> ::windows::core::Result<()> { | |
6416 | (::windows::core::Interface::vtable(self).EnumerateAttributesSetup)(::windows::core::Interface::as_raw(self), flags).ok() | |
6417 | } | |
6418 | pub unsafe fn EnumerateAttributes(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6419 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6420 | (::windows::core::Interface::vtable(self).EnumerateAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6421 | } | |
6422 | pub unsafe fn EnumerateAttributesClose(&self) -> ::windows::core::Result<()> { | |
6423 | (::windows::core::Interface::vtable(self).EnumerateAttributesClose)(::windows::core::Interface::as_raw(self)).ok() | |
6424 | } | |
6425 | } | |
6426 | #[cfg(feature = "Win32_System_Com")] | |
6427 | ::windows::imp::interface_hierarchy!(ICertServerExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
6428 | #[cfg(feature = "Win32_System_Com")] | |
6429 | impl ::core::cmp::PartialEq for ICertServerExit { | |
6430 | fn eq(&self, other: &Self) -> bool { | |
6431 | self.0 == other.0 | |
6432 | } | |
6433 | } | |
6434 | #[cfg(feature = "Win32_System_Com")] | |
6435 | impl ::core::cmp::Eq for ICertServerExit {} | |
6436 | #[cfg(feature = "Win32_System_Com")] | |
6437 | impl ::core::fmt::Debug for ICertServerExit { | |
6438 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6439 | f.debug_tuple("ICertServerExit").field(&self.0).finish() | |
6440 | } | |
6441 | } | |
6442 | #[cfg(feature = "Win32_System_Com")] | |
6443 | unsafe impl ::windows::core::Interface for ICertServerExit { | |
6444 | type Vtable = ICertServerExit_Vtbl; | |
6445 | } | |
6446 | #[cfg(feature = "Win32_System_Com")] | |
6447 | impl ::core::clone::Clone for ICertServerExit { | |
6448 | fn clone(&self) -> Self { | |
6449 | Self(self.0.clone()) | |
6450 | } | |
6451 | } | |
6452 | #[cfg(feature = "Win32_System_Com")] | |
6453 | unsafe impl ::windows::core::ComInterface for ICertServerExit { | |
6454 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4ba9eb90_732c_11d0_8816_00a0c903b83c); | |
6455 | } | |
6456 | #[cfg(feature = "Win32_System_Com")] | |
6457 | #[repr(C)] | |
6458 | #[doc(hidden)] | |
6459 | pub struct ICertServerExit_Vtbl { | |
6460 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
6461 | pub SetContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: i32) -> ::windows::core::HRESULT, | |
6462 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6463 | pub GetRequestProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, propertytype: i32, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6464 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6465 | GetRequestProperty: usize, | |
6466 | pub GetRequestAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrattributevalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6467 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6468 | pub GetCertificateProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, propertytype: i32, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6469 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6470 | GetCertificateProperty: usize, | |
6471 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6472 | pub GetCertificateExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strextensionname: ::std::mem::MaybeUninit<::windows::core::BSTR>, r#type: i32, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6473 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6474 | GetCertificateExtension: usize, | |
6475 | pub GetCertificateExtensionFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pextflags: *mut i32) -> ::windows::core::HRESULT, | |
6476 | pub EnumerateExtensionsSetup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32) -> ::windows::core::HRESULT, | |
6477 | pub EnumerateExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrextensionname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6478 | pub EnumerateExtensionsClose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6479 | pub EnumerateAttributesSetup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32) -> ::windows::core::HRESULT, | |
6480 | pub EnumerateAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrattributename: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6481 | pub EnumerateAttributesClose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6482 | } | |
6483 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6484 | #[cfg(feature = "Win32_System_Com")] | |
6485 | #[repr(transparent)] | |
6486 | pub struct ICertServerPolicy(::windows::core::IUnknown); | |
6487 | #[cfg(feature = "Win32_System_Com")] | |
6488 | impl ICertServerPolicy { | |
6489 | pub unsafe fn SetContext(&self, context: i32) -> ::windows::core::Result<()> { | |
6490 | (::windows::core::Interface::vtable(self).SetContext)(::windows::core::Interface::as_raw(self), context).ok() | |
6491 | } | |
6492 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6493 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6494 | pub unsafe fn GetRequestProperty<P0>(&self, strpropertyname: P0, propertytype: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6495 | where | |
6496 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6497 | { | |
6498 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6499 | (::windows::core::Interface::vtable(self).GetRequestProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into_param().abi(), propertytype, &mut result__).from_abi(result__) | |
6500 | } | |
6501 | pub unsafe fn GetRequestAttribute<P0>(&self, strattributename: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
6502 | where | |
6503 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6504 | { | |
6505 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6506 | (::windows::core::Interface::vtable(self).GetRequestAttribute)(::windows::core::Interface::as_raw(self), strattributename.into_param().abi(), &mut result__).from_abi(result__) | |
6507 | } | |
6508 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6509 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6510 | pub unsafe fn GetCertificateProperty<P0>(&self, strpropertyname: P0, propertytype: CERT_PROPERTY_TYPE) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6511 | where | |
6512 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6513 | { | |
6514 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6515 | (::windows::core::Interface::vtable(self).GetCertificateProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into_param().abi(), propertytype, &mut result__).from_abi(result__) | |
6516 | } | |
6517 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6518 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6519 | pub unsafe fn SetCertificateProperty<P0>(&self, strpropertyname: P0, propertytype: i32, pvarpropertyvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
6520 | where | |
6521 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6522 | { | |
6523 | (::windows::core::Interface::vtable(self).SetCertificateProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into_param().abi(), propertytype, pvarpropertyvalue).ok() | |
6524 | } | |
6525 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6526 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6527 | pub unsafe fn GetCertificateExtension<P0>(&self, strextensionname: P0, r#type: CERT_PROPERTY_TYPE) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
6528 | where | |
6529 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6530 | { | |
6531 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
6532 | (::windows::core::Interface::vtable(self).GetCertificateExtension)(::windows::core::Interface::as_raw(self), strextensionname.into_param().abi(), r#type, &mut result__).from_abi(result__) | |
6533 | } | |
6534 | pub unsafe fn GetCertificateExtensionFlags(&self) -> ::windows::core::Result<i32> { | |
6535 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6536 | (::windows::core::Interface::vtable(self).GetCertificateExtensionFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6537 | } | |
6538 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6539 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6540 | pub unsafe fn SetCertificateExtension<P0>(&self, strextensionname: P0, r#type: i32, extflags: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> | |
6541 | where | |
6542 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6543 | { | |
6544 | (::windows::core::Interface::vtable(self).SetCertificateExtension)(::windows::core::Interface::as_raw(self), strextensionname.into_param().abi(), r#type, extflags, pvarvalue).ok() | |
6545 | } | |
6546 | pub unsafe fn EnumerateExtensionsSetup(&self, flags: i32) -> ::windows::core::Result<()> { | |
6547 | (::windows::core::Interface::vtable(self).EnumerateExtensionsSetup)(::windows::core::Interface::as_raw(self), flags).ok() | |
6548 | } | |
6549 | pub unsafe fn EnumerateExtensions(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6550 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6551 | (::windows::core::Interface::vtable(self).EnumerateExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6552 | } | |
6553 | pub unsafe fn EnumerateExtensionsClose(&self) -> ::windows::core::Result<()> { | |
6554 | (::windows::core::Interface::vtable(self).EnumerateExtensionsClose)(::windows::core::Interface::as_raw(self)).ok() | |
6555 | } | |
6556 | pub unsafe fn EnumerateAttributesSetup(&self, flags: i32) -> ::windows::core::Result<()> { | |
6557 | (::windows::core::Interface::vtable(self).EnumerateAttributesSetup)(::windows::core::Interface::as_raw(self), flags).ok() | |
6558 | } | |
6559 | pub unsafe fn EnumerateAttributes(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6560 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6561 | (::windows::core::Interface::vtable(self).EnumerateAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6562 | } | |
6563 | pub unsafe fn EnumerateAttributesClose(&self) -> ::windows::core::Result<()> { | |
6564 | (::windows::core::Interface::vtable(self).EnumerateAttributesClose)(::windows::core::Interface::as_raw(self)).ok() | |
6565 | } | |
6566 | } | |
6567 | #[cfg(feature = "Win32_System_Com")] | |
6568 | ::windows::imp::interface_hierarchy!(ICertServerPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
6569 | #[cfg(feature = "Win32_System_Com")] | |
6570 | impl ::core::cmp::PartialEq for ICertServerPolicy { | |
6571 | fn eq(&self, other: &Self) -> bool { | |
6572 | self.0 == other.0 | |
6573 | } | |
6574 | } | |
6575 | #[cfg(feature = "Win32_System_Com")] | |
6576 | impl ::core::cmp::Eq for ICertServerPolicy {} | |
6577 | #[cfg(feature = "Win32_System_Com")] | |
6578 | impl ::core::fmt::Debug for ICertServerPolicy { | |
6579 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6580 | f.debug_tuple("ICertServerPolicy").field(&self.0).finish() | |
6581 | } | |
6582 | } | |
6583 | #[cfg(feature = "Win32_System_Com")] | |
6584 | unsafe impl ::windows::core::Interface for ICertServerPolicy { | |
6585 | type Vtable = ICertServerPolicy_Vtbl; | |
6586 | } | |
6587 | #[cfg(feature = "Win32_System_Com")] | |
6588 | impl ::core::clone::Clone for ICertServerPolicy { | |
6589 | fn clone(&self) -> Self { | |
6590 | Self(self.0.clone()) | |
6591 | } | |
6592 | } | |
6593 | #[cfg(feature = "Win32_System_Com")] | |
6594 | unsafe impl ::windows::core::ComInterface for ICertServerPolicy { | |
6595 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaa000922_ffbe_11cf_8800_00a0c903b83c); | |
6596 | } | |
6597 | #[cfg(feature = "Win32_System_Com")] | |
6598 | #[repr(C)] | |
6599 | #[doc(hidden)] | |
6600 | pub struct ICertServerPolicy_Vtbl { | |
6601 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
6602 | pub SetContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: i32) -> ::windows::core::HRESULT, | |
6603 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6604 | pub GetRequestProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, propertytype: i32, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6605 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6606 | GetRequestProperty: usize, | |
6607 | pub GetRequestAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::std::mem::MaybeUninit<::windows::core::BSTR>, pstrattributevalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6608 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6609 | pub GetCertificateProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, propertytype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6610 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6611 | GetCertificateProperty: usize, | |
6612 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6613 | pub SetCertificateProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpropertyname: ::std::mem::MaybeUninit<::windows::core::BSTR>, propertytype: i32, pvarpropertyvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6614 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6615 | SetCertificateProperty: usize, | |
6616 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6617 | pub GetCertificateExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strextensionname: ::std::mem::MaybeUninit<::windows::core::BSTR>, r#type: CERT_PROPERTY_TYPE, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6618 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6619 | GetCertificateExtension: usize, | |
6620 | pub GetCertificateExtensionFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pextflags: *mut i32) -> ::windows::core::HRESULT, | |
6621 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6622 | pub SetCertificateExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strextensionname: ::std::mem::MaybeUninit<::windows::core::BSTR>, r#type: i32, extflags: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6623 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6624 | SetCertificateExtension: usize, | |
6625 | pub EnumerateExtensionsSetup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32) -> ::windows::core::HRESULT, | |
6626 | pub EnumerateExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrextensionname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6627 | pub EnumerateExtensionsClose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6628 | pub EnumerateAttributesSetup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32) -> ::windows::core::HRESULT, | |
6629 | pub EnumerateAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrattributename: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6630 | pub EnumerateAttributesClose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6631 | } | |
6632 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6633 | #[cfg(feature = "Win32_System_Com")] | |
6634 | #[repr(transparent)] | |
6635 | pub struct ICertView(::windows::core::IUnknown); | |
6636 | #[cfg(feature = "Win32_System_Com")] | |
6637 | impl ICertView { | |
6638 | pub unsafe fn OpenConnection<P0>(&self, strconfig: P0) -> ::windows::core::Result<()> | |
6639 | where | |
6640 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6641 | { | |
6642 | (::windows::core::Interface::vtable(self).OpenConnection)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi()).ok() | |
6643 | } | |
6644 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6645 | #[cfg(feature = "Win32_System_Com")] | |
6646 | pub unsafe fn EnumCertViewColumn(&self, fresultcolumn: CVRC_COLUMN) -> ::windows::core::Result<IEnumCERTVIEWCOLUMN> { | |
6647 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWCOLUMN>(); | |
6648 | (::windows::core::Interface::vtable(self).EnumCertViewColumn)(::windows::core::Interface::as_raw(self), fresultcolumn, &mut result__).from_abi(result__) | |
6649 | } | |
6650 | pub unsafe fn GetColumnCount(&self, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> ::windows::core::Result<()> { | |
6651 | (::windows::core::Interface::vtable(self).GetColumnCount)(::windows::core::Interface::as_raw(self), fresultcolumn, pccolumn).ok() | |
6652 | } | |
6653 | pub unsafe fn GetColumnIndex<P0>(&self, fresultcolumn: CVRC_COLUMN, strcolumnname: P0, pcolumnindex: *mut i32) -> ::windows::core::Result<()> | |
6654 | where | |
6655 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6656 | { | |
6657 | (::windows::core::Interface::vtable(self).GetColumnIndex)(::windows::core::Interface::as_raw(self), fresultcolumn, strcolumnname.into_param().abi(), pcolumnindex).ok() | |
6658 | } | |
6659 | pub unsafe fn SetResultColumnCount(&self, cresultcolumn: i32) -> ::windows::core::Result<()> { | |
6660 | (::windows::core::Interface::vtable(self).SetResultColumnCount)(::windows::core::Interface::as_raw(self), cresultcolumn).ok() | |
6661 | } | |
6662 | pub unsafe fn SetResultColumn(&self, columnindex: i32) -> ::windows::core::Result<()> { | |
6663 | (::windows::core::Interface::vtable(self).SetResultColumn)(::windows::core::Interface::as_raw(self), columnindex).ok() | |
6664 | } | |
6665 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6666 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6667 | pub unsafe fn SetRestriction(&self, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
6668 | (::windows::core::Interface::vtable(self).SetRestriction)(::windows::core::Interface::as_raw(self), columnindex, seekoperator, sortorder, pvarvalue).ok() | |
6669 | } | |
6670 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6671 | #[cfg(feature = "Win32_System_Com")] | |
6672 | pub unsafe fn OpenView(&self) -> ::windows::core::Result<IEnumCERTVIEWROW> { | |
6673 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWROW>(); | |
6674 | (::windows::core::Interface::vtable(self).OpenView)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6675 | } | |
6676 | } | |
6677 | #[cfg(feature = "Win32_System_Com")] | |
6678 | ::windows::imp::interface_hierarchy!(ICertView, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
6679 | #[cfg(feature = "Win32_System_Com")] | |
6680 | impl ::core::cmp::PartialEq for ICertView { | |
6681 | fn eq(&self, other: &Self) -> bool { | |
6682 | self.0 == other.0 | |
6683 | } | |
6684 | } | |
6685 | #[cfg(feature = "Win32_System_Com")] | |
6686 | impl ::core::cmp::Eq for ICertView {} | |
6687 | #[cfg(feature = "Win32_System_Com")] | |
6688 | impl ::core::fmt::Debug for ICertView { | |
6689 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6690 | f.debug_tuple("ICertView").field(&self.0).finish() | |
6691 | } | |
6692 | } | |
6693 | #[cfg(feature = "Win32_System_Com")] | |
6694 | unsafe impl ::windows::core::Interface for ICertView { | |
6695 | type Vtable = ICertView_Vtbl; | |
6696 | } | |
6697 | #[cfg(feature = "Win32_System_Com")] | |
6698 | impl ::core::clone::Clone for ICertView { | |
6699 | fn clone(&self) -> Self { | |
6700 | Self(self.0.clone()) | |
6701 | } | |
6702 | } | |
6703 | #[cfg(feature = "Win32_System_Com")] | |
6704 | unsafe impl ::windows::core::ComInterface for ICertView { | |
6705 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc3fac344_1e84_11d1_9bd6_00c04fb683fa); | |
6706 | } | |
6707 | #[cfg(feature = "Win32_System_Com")] | |
6708 | #[repr(C)] | |
6709 | #[doc(hidden)] | |
6710 | pub struct ICertView_Vtbl { | |
6711 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
6712 | pub OpenConnection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strconfig: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6713 | #[cfg(feature = "Win32_System_Com")] | |
6714 | pub EnumCertViewColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fresultcolumn: CVRC_COLUMN, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6715 | #[cfg(not(feature = "Win32_System_Com"))] | |
6716 | EnumCertViewColumn: usize, | |
6717 | pub GetColumnCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> ::windows::core::HRESULT, | |
6718 | pub GetColumnIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fresultcolumn: CVRC_COLUMN, strcolumnname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pcolumnindex: *mut i32) -> ::windows::core::HRESULT, | |
6719 | pub SetResultColumnCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cresultcolumn: i32) -> ::windows::core::HRESULT, | |
6720 | pub SetResultColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, columnindex: i32) -> ::windows::core::HRESULT, | |
6721 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6722 | pub SetRestriction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
6723 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
6724 | SetRestriction: usize, | |
6725 | #[cfg(feature = "Win32_System_Com")] | |
6726 | pub OpenView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6727 | #[cfg(not(feature = "Win32_System_Com"))] | |
6728 | OpenView: usize, | |
6729 | } | |
6730 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6731 | #[cfg(feature = "Win32_System_Com")] | |
6732 | #[repr(transparent)] | |
6733 | pub struct ICertView2(::windows::core::IUnknown); | |
6734 | #[cfg(feature = "Win32_System_Com")] | |
6735 | impl ICertView2 { | |
6736 | pub unsafe fn OpenConnection<P0>(&self, strconfig: P0) -> ::windows::core::Result<()> | |
6737 | where | |
6738 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6739 | { | |
6740 | (::windows::core::Interface::vtable(self).base__.OpenConnection)(::windows::core::Interface::as_raw(self), strconfig.into_param().abi()).ok() | |
6741 | } | |
6742 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6743 | #[cfg(feature = "Win32_System_Com")] | |
6744 | pub unsafe fn EnumCertViewColumn(&self, fresultcolumn: CVRC_COLUMN) -> ::windows::core::Result<IEnumCERTVIEWCOLUMN> { | |
6745 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWCOLUMN>(); | |
6746 | (::windows::core::Interface::vtable(self).base__.EnumCertViewColumn)(::windows::core::Interface::as_raw(self), fresultcolumn, &mut result__).from_abi(result__) | |
6747 | } | |
6748 | pub unsafe fn GetColumnCount(&self, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> ::windows::core::Result<()> { | |
6749 | (::windows::core::Interface::vtable(self).base__.GetColumnCount)(::windows::core::Interface::as_raw(self), fresultcolumn, pccolumn).ok() | |
6750 | } | |
6751 | pub unsafe fn GetColumnIndex<P0>(&self, fresultcolumn: CVRC_COLUMN, strcolumnname: P0, pcolumnindex: *mut i32) -> ::windows::core::Result<()> | |
6752 | where | |
6753 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6754 | { | |
6755 | (::windows::core::Interface::vtable(self).base__.GetColumnIndex)(::windows::core::Interface::as_raw(self), fresultcolumn, strcolumnname.into_param().abi(), pcolumnindex).ok() | |
6756 | } | |
6757 | pub unsafe fn SetResultColumnCount(&self, cresultcolumn: i32) -> ::windows::core::Result<()> { | |
6758 | (::windows::core::Interface::vtable(self).base__.SetResultColumnCount)(::windows::core::Interface::as_raw(self), cresultcolumn).ok() | |
6759 | } | |
6760 | pub unsafe fn SetResultColumn(&self, columnindex: i32) -> ::windows::core::Result<()> { | |
6761 | (::windows::core::Interface::vtable(self).base__.SetResultColumn)(::windows::core::Interface::as_raw(self), columnindex).ok() | |
6762 | } | |
6763 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
6764 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
6765 | pub unsafe fn SetRestriction(&self, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
6766 | (::windows::core::Interface::vtable(self).base__.SetRestriction)(::windows::core::Interface::as_raw(self), columnindex, seekoperator, sortorder, pvarvalue).ok() | |
6767 | } | |
6768 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6769 | #[cfg(feature = "Win32_System_Com")] | |
6770 | pub unsafe fn OpenView(&self) -> ::windows::core::Result<IEnumCERTVIEWROW> { | |
6771 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWROW>(); | |
6772 | (::windows::core::Interface::vtable(self).base__.OpenView)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6773 | } | |
6774 | pub unsafe fn SetTable(&self, table: CVRC_TABLE) -> ::windows::core::Result<()> { | |
6775 | (::windows::core::Interface::vtable(self).SetTable)(::windows::core::Interface::as_raw(self), table).ok() | |
6776 | } | |
6777 | } | |
6778 | #[cfg(feature = "Win32_System_Com")] | |
6779 | ::windows::imp::interface_hierarchy!(ICertView2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertView); | |
6780 | #[cfg(feature = "Win32_System_Com")] | |
6781 | impl ::core::cmp::PartialEq for ICertView2 { | |
6782 | fn eq(&self, other: &Self) -> bool { | |
6783 | self.0 == other.0 | |
6784 | } | |
6785 | } | |
6786 | #[cfg(feature = "Win32_System_Com")] | |
6787 | impl ::core::cmp::Eq for ICertView2 {} | |
6788 | #[cfg(feature = "Win32_System_Com")] | |
6789 | impl ::core::fmt::Debug for ICertView2 { | |
6790 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6791 | f.debug_tuple("ICertView2").field(&self.0).finish() | |
6792 | } | |
6793 | } | |
6794 | #[cfg(feature = "Win32_System_Com")] | |
6795 | unsafe impl ::windows::core::Interface for ICertView2 { | |
6796 | type Vtable = ICertView2_Vtbl; | |
6797 | } | |
6798 | #[cfg(feature = "Win32_System_Com")] | |
6799 | impl ::core::clone::Clone for ICertView2 { | |
6800 | fn clone(&self) -> Self { | |
6801 | Self(self.0.clone()) | |
6802 | } | |
6803 | } | |
6804 | #[cfg(feature = "Win32_System_Com")] | |
6805 | unsafe impl ::windows::core::ComInterface for ICertView2 { | |
6806 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd594b282_8851_4b61_9c66_3edadf848863); | |
6807 | } | |
6808 | #[cfg(feature = "Win32_System_Com")] | |
6809 | #[repr(C)] | |
6810 | #[doc(hidden)] | |
6811 | pub struct ICertView2_Vtbl { | |
6812 | pub base__: ICertView_Vtbl, | |
6813 | pub SetTable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, table: CVRC_TABLE) -> ::windows::core::HRESULT, | |
6814 | } | |
6815 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6816 | #[cfg(feature = "Win32_System_Com")] | |
6817 | #[repr(transparent)] | |
6818 | pub struct ICertificateAttestationChallenge(::windows::core::IUnknown); | |
6819 | #[cfg(feature = "Win32_System_Com")] | |
6820 | impl ICertificateAttestationChallenge { | |
6821 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, strpendingfullcmcresponsewithchallenge: P0) -> ::windows::core::Result<()> | |
6822 | where | |
6823 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6824 | { | |
6825 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), encoding, strpendingfullcmcresponsewithchallenge.into_param().abi()).ok() | |
6826 | } | |
6827 | pub unsafe fn DecryptChallenge(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
6828 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6829 | (::windows::core::Interface::vtable(self).DecryptChallenge)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
6830 | } | |
6831 | pub unsafe fn RequestID(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6832 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6833 | (::windows::core::Interface::vtable(self).RequestID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6834 | } | |
6835 | } | |
6836 | #[cfg(feature = "Win32_System_Com")] | |
6837 | ::windows::imp::interface_hierarchy!(ICertificateAttestationChallenge, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
6838 | #[cfg(feature = "Win32_System_Com")] | |
6839 | impl ::core::cmp::PartialEq for ICertificateAttestationChallenge { | |
6840 | fn eq(&self, other: &Self) -> bool { | |
6841 | self.0 == other.0 | |
6842 | } | |
6843 | } | |
6844 | #[cfg(feature = "Win32_System_Com")] | |
6845 | impl ::core::cmp::Eq for ICertificateAttestationChallenge {} | |
6846 | #[cfg(feature = "Win32_System_Com")] | |
6847 | impl ::core::fmt::Debug for ICertificateAttestationChallenge { | |
6848 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6849 | f.debug_tuple("ICertificateAttestationChallenge").field(&self.0).finish() | |
6850 | } | |
6851 | } | |
6852 | #[cfg(feature = "Win32_System_Com")] | |
6853 | unsafe impl ::windows::core::Interface for ICertificateAttestationChallenge { | |
6854 | type Vtable = ICertificateAttestationChallenge_Vtbl; | |
6855 | } | |
6856 | #[cfg(feature = "Win32_System_Com")] | |
6857 | impl ::core::clone::Clone for ICertificateAttestationChallenge { | |
6858 | fn clone(&self) -> Self { | |
6859 | Self(self.0.clone()) | |
6860 | } | |
6861 | } | |
6862 | #[cfg(feature = "Win32_System_Com")] | |
6863 | unsafe impl ::windows::core::ComInterface for ICertificateAttestationChallenge { | |
6864 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6f175a7c_4a3a_40ae_9dba_592fd6bbf9b8); | |
6865 | } | |
6866 | #[cfg(feature = "Win32_System_Com")] | |
6867 | #[repr(C)] | |
6868 | #[doc(hidden)] | |
6869 | pub struct ICertificateAttestationChallenge_Vtbl { | |
6870 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
6871 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strpendingfullcmcresponsewithchallenge: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6872 | pub DecryptChallenge: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pstrenvelopedpkcs7reencryptedtoca: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6873 | pub RequestID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrrequestid: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6874 | } | |
6875 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6876 | #[cfg(feature = "Win32_System_Com")] | |
6877 | #[repr(transparent)] | |
6878 | pub struct ICertificateAttestationChallenge2(::windows::core::IUnknown); | |
6879 | #[cfg(feature = "Win32_System_Com")] | |
6880 | impl ICertificateAttestationChallenge2 { | |
6881 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, strpendingfullcmcresponsewithchallenge: P0) -> ::windows::core::Result<()> | |
6882 | where | |
6883 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6884 | { | |
6885 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), encoding, strpendingfullcmcresponsewithchallenge.into_param().abi()).ok() | |
6886 | } | |
6887 | pub unsafe fn DecryptChallenge(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
6888 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6889 | (::windows::core::Interface::vtable(self).base__.DecryptChallenge)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
6890 | } | |
6891 | pub unsafe fn RequestID(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
6892 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
6893 | (::windows::core::Interface::vtable(self).base__.RequestID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6894 | } | |
6895 | pub unsafe fn SetKeyContainerName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
6896 | where | |
6897 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6898 | { | |
6899 | (::windows::core::Interface::vtable(self).SetKeyContainerName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
6900 | } | |
6901 | pub unsafe fn put_KeyBlob<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
6902 | where | |
6903 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
6904 | { | |
6905 | (::windows::core::Interface::vtable(self).put_KeyBlob)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
6906 | } | |
6907 | } | |
6908 | #[cfg(feature = "Win32_System_Com")] | |
6909 | ::windows::imp::interface_hierarchy!(ICertificateAttestationChallenge2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertificateAttestationChallenge); | |
6910 | #[cfg(feature = "Win32_System_Com")] | |
6911 | impl ::core::cmp::PartialEq for ICertificateAttestationChallenge2 { | |
6912 | fn eq(&self, other: &Self) -> bool { | |
6913 | self.0 == other.0 | |
6914 | } | |
6915 | } | |
6916 | #[cfg(feature = "Win32_System_Com")] | |
6917 | impl ::core::cmp::Eq for ICertificateAttestationChallenge2 {} | |
6918 | #[cfg(feature = "Win32_System_Com")] | |
6919 | impl ::core::fmt::Debug for ICertificateAttestationChallenge2 { | |
6920 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6921 | f.debug_tuple("ICertificateAttestationChallenge2").field(&self.0).finish() | |
6922 | } | |
6923 | } | |
6924 | #[cfg(feature = "Win32_System_Com")] | |
6925 | unsafe impl ::windows::core::Interface for ICertificateAttestationChallenge2 { | |
6926 | type Vtable = ICertificateAttestationChallenge2_Vtbl; | |
6927 | } | |
6928 | #[cfg(feature = "Win32_System_Com")] | |
6929 | impl ::core::clone::Clone for ICertificateAttestationChallenge2 { | |
6930 | fn clone(&self) -> Self { | |
6931 | Self(self.0.clone()) | |
6932 | } | |
6933 | } | |
6934 | #[cfg(feature = "Win32_System_Com")] | |
6935 | unsafe impl ::windows::core::ComInterface for ICertificateAttestationChallenge2 { | |
6936 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4631334d_e266_47d6_bd79_be53cb2e2753); | |
6937 | } | |
6938 | #[cfg(feature = "Win32_System_Com")] | |
6939 | #[repr(C)] | |
6940 | #[doc(hidden)] | |
6941 | pub struct ICertificateAttestationChallenge2_Vtbl { | |
6942 | pub base__: ICertificateAttestationChallenge_Vtbl, | |
6943 | pub SetKeyContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6944 | pub put_KeyBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
6945 | } | |
6946 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
6947 | #[cfg(feature = "Win32_System_Com")] | |
6948 | #[repr(transparent)] | |
6949 | pub struct ICertificatePolicies(::windows::core::IUnknown); | |
6950 | #[cfg(feature = "Win32_System_Com")] | |
6951 | impl ICertificatePolicies { | |
6952 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6953 | #[cfg(feature = "Win32_System_Com")] | |
6954 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICertificatePolicy> { | |
6955 | let mut result__ = ::windows::core::zeroed::<ICertificatePolicy>(); | |
6956 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
6957 | } | |
6958 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
6959 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6960 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6961 | } | |
6962 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
6963 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
6964 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
6965 | } | |
6966 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
6967 | #[cfg(feature = "Win32_System_Com")] | |
6968 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
6969 | where | |
6970 | P0: ::windows::core::IntoParam<ICertificatePolicy>, | |
6971 | { | |
6972 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
6973 | } | |
6974 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
6975 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
6976 | } | |
6977 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
6978 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
6979 | } | |
6980 | } | |
6981 | #[cfg(feature = "Win32_System_Com")] | |
6982 | ::windows::imp::interface_hierarchy!(ICertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
6983 | #[cfg(feature = "Win32_System_Com")] | |
6984 | impl ::core::cmp::PartialEq for ICertificatePolicies { | |
6985 | fn eq(&self, other: &Self) -> bool { | |
6986 | self.0 == other.0 | |
6987 | } | |
6988 | } | |
6989 | #[cfg(feature = "Win32_System_Com")] | |
6990 | impl ::core::cmp::Eq for ICertificatePolicies {} | |
6991 | #[cfg(feature = "Win32_System_Com")] | |
6992 | impl ::core::fmt::Debug for ICertificatePolicies { | |
6993 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6994 | f.debug_tuple("ICertificatePolicies").field(&self.0).finish() | |
6995 | } | |
6996 | } | |
6997 | #[cfg(feature = "Win32_System_Com")] | |
6998 | unsafe impl ::windows::core::Interface for ICertificatePolicies { | |
6999 | type Vtable = ICertificatePolicies_Vtbl; | |
7000 | } | |
7001 | #[cfg(feature = "Win32_System_Com")] | |
7002 | impl ::core::clone::Clone for ICertificatePolicies { | |
7003 | fn clone(&self) -> Self { | |
7004 | Self(self.0.clone()) | |
7005 | } | |
7006 | } | |
7007 | #[cfg(feature = "Win32_System_Com")] | |
7008 | unsafe impl ::windows::core::ComInterface for ICertificatePolicies { | |
7009 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31f_217d_11da_b2a4_000e7bbb2b09); | |
7010 | } | |
7011 | #[cfg(feature = "Win32_System_Com")] | |
7012 | #[repr(C)] | |
7013 | #[doc(hidden)] | |
7014 | pub struct ICertificatePolicies_Vtbl { | |
7015 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7016 | #[cfg(feature = "Win32_System_Com")] | |
7017 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7018 | #[cfg(not(feature = "Win32_System_Com"))] | |
7019 | get_ItemByIndex: usize, | |
7020 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
7021 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7022 | #[cfg(feature = "Win32_System_Com")] | |
7023 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7024 | #[cfg(not(feature = "Win32_System_Com"))] | |
7025 | Add: usize, | |
7026 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
7027 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7028 | } | |
7029 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7030 | #[cfg(feature = "Win32_System_Com")] | |
7031 | #[repr(transparent)] | |
7032 | pub struct ICertificatePolicy(::windows::core::IUnknown); | |
7033 | #[cfg(feature = "Win32_System_Com")] | |
7034 | impl ICertificatePolicy { | |
7035 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7036 | #[cfg(feature = "Win32_System_Com")] | |
7037 | pub unsafe fn Initialize<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
7038 | where | |
7039 | P0: ::windows::core::IntoParam<IObjectId>, | |
7040 | { | |
7041 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
7042 | } | |
7043 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7044 | #[cfg(feature = "Win32_System_Com")] | |
7045 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
7046 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
7047 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7048 | } | |
7049 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7050 | #[cfg(feature = "Win32_System_Com")] | |
7051 | pub unsafe fn PolicyQualifiers(&self) -> ::windows::core::Result<IPolicyQualifiers> { | |
7052 | let mut result__ = ::windows::core::zeroed::<IPolicyQualifiers>(); | |
7053 | (::windows::core::Interface::vtable(self).PolicyQualifiers)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7054 | } | |
7055 | } | |
7056 | #[cfg(feature = "Win32_System_Com")] | |
7057 | ::windows::imp::interface_hierarchy!(ICertificatePolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7058 | #[cfg(feature = "Win32_System_Com")] | |
7059 | impl ::core::cmp::PartialEq for ICertificatePolicy { | |
7060 | fn eq(&self, other: &Self) -> bool { | |
7061 | self.0 == other.0 | |
7062 | } | |
7063 | } | |
7064 | #[cfg(feature = "Win32_System_Com")] | |
7065 | impl ::core::cmp::Eq for ICertificatePolicy {} | |
7066 | #[cfg(feature = "Win32_System_Com")] | |
7067 | impl ::core::fmt::Debug for ICertificatePolicy { | |
7068 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7069 | f.debug_tuple("ICertificatePolicy").field(&self.0).finish() | |
7070 | } | |
7071 | } | |
7072 | #[cfg(feature = "Win32_System_Com")] | |
7073 | unsafe impl ::windows::core::Interface for ICertificatePolicy { | |
7074 | type Vtable = ICertificatePolicy_Vtbl; | |
7075 | } | |
7076 | #[cfg(feature = "Win32_System_Com")] | |
7077 | impl ::core::clone::Clone for ICertificatePolicy { | |
7078 | fn clone(&self) -> Self { | |
7079 | Self(self.0.clone()) | |
7080 | } | |
7081 | } | |
7082 | #[cfg(feature = "Win32_System_Com")] | |
7083 | unsafe impl ::windows::core::ComInterface for ICertificatePolicy { | |
7084 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31e_217d_11da_b2a4_000e7bbb2b09); | |
7085 | } | |
7086 | #[cfg(feature = "Win32_System_Com")] | |
7087 | #[repr(C)] | |
7088 | #[doc(hidden)] | |
7089 | pub struct ICertificatePolicy_Vtbl { | |
7090 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7091 | #[cfg(feature = "Win32_System_Com")] | |
7092 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7093 | #[cfg(not(feature = "Win32_System_Com"))] | |
7094 | Initialize: usize, | |
7095 | #[cfg(feature = "Win32_System_Com")] | |
7096 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7097 | #[cfg(not(feature = "Win32_System_Com"))] | |
7098 | ObjectId: usize, | |
7099 | #[cfg(feature = "Win32_System_Com")] | |
7100 | pub PolicyQualifiers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7101 | #[cfg(not(feature = "Win32_System_Com"))] | |
7102 | PolicyQualifiers: usize, | |
7103 | } | |
7104 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7105 | #[cfg(feature = "Win32_System_Com")] | |
7106 | #[repr(transparent)] | |
7107 | pub struct ICertificationAuthorities(::windows::core::IUnknown); | |
7108 | #[cfg(feature = "Win32_System_Com")] | |
7109 | impl ICertificationAuthorities { | |
7110 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7111 | #[cfg(feature = "Win32_System_Com")] | |
7112 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICertificationAuthority> { | |
7113 | let mut result__ = ::windows::core::zeroed::<ICertificationAuthority>(); | |
7114 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
7115 | } | |
7116 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
7117 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7118 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7119 | } | |
7120 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
7121 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
7122 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7123 | } | |
7124 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7125 | #[cfg(feature = "Win32_System_Com")] | |
7126 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
7127 | where | |
7128 | P0: ::windows::core::IntoParam<ICertificationAuthority>, | |
7129 | { | |
7130 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
7131 | } | |
7132 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
7133 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
7134 | } | |
7135 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
7136 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
7137 | } | |
7138 | pub unsafe fn ComputeSiteCosts(&self) -> ::windows::core::Result<()> { | |
7139 | (::windows::core::Interface::vtable(self).ComputeSiteCosts)(::windows::core::Interface::as_raw(self)).ok() | |
7140 | } | |
7141 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7142 | #[cfg(feature = "Win32_System_Com")] | |
7143 | pub unsafe fn get_ItemByName<P0>(&self, strname: P0) -> ::windows::core::Result<ICertificationAuthority> | |
7144 | where | |
7145 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
7146 | { | |
7147 | let mut result__ = ::windows::core::zeroed::<ICertificationAuthority>(); | |
7148 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into_param().abi(), &mut result__).from_abi(result__) | |
7149 | } | |
7150 | } | |
7151 | #[cfg(feature = "Win32_System_Com")] | |
7152 | ::windows::imp::interface_hierarchy!(ICertificationAuthorities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7153 | #[cfg(feature = "Win32_System_Com")] | |
7154 | impl ::core::cmp::PartialEq for ICertificationAuthorities { | |
7155 | fn eq(&self, other: &Self) -> bool { | |
7156 | self.0 == other.0 | |
7157 | } | |
7158 | } | |
7159 | #[cfg(feature = "Win32_System_Com")] | |
7160 | impl ::core::cmp::Eq for ICertificationAuthorities {} | |
7161 | #[cfg(feature = "Win32_System_Com")] | |
7162 | impl ::core::fmt::Debug for ICertificationAuthorities { | |
7163 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7164 | f.debug_tuple("ICertificationAuthorities").field(&self.0).finish() | |
7165 | } | |
7166 | } | |
7167 | #[cfg(feature = "Win32_System_Com")] | |
7168 | unsafe impl ::windows::core::Interface for ICertificationAuthorities { | |
7169 | type Vtable = ICertificationAuthorities_Vtbl; | |
7170 | } | |
7171 | #[cfg(feature = "Win32_System_Com")] | |
7172 | impl ::core::clone::Clone for ICertificationAuthorities { | |
7173 | fn clone(&self) -> Self { | |
7174 | Self(self.0.clone()) | |
7175 | } | |
7176 | } | |
7177 | #[cfg(feature = "Win32_System_Com")] | |
7178 | unsafe impl ::windows::core::ComInterface for ICertificationAuthorities { | |
7179 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13b79005_2181_11da_b2a4_000e7bbb2b09); | |
7180 | } | |
7181 | #[cfg(feature = "Win32_System_Com")] | |
7182 | #[repr(C)] | |
7183 | #[doc(hidden)] | |
7184 | pub struct ICertificationAuthorities_Vtbl { | |
7185 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7186 | #[cfg(feature = "Win32_System_Com")] | |
7187 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7188 | #[cfg(not(feature = "Win32_System_Com"))] | |
7189 | get_ItemByIndex: usize, | |
7190 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
7191 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7192 | #[cfg(feature = "Win32_System_Com")] | |
7193 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7194 | #[cfg(not(feature = "Win32_System_Com"))] | |
7195 | Add: usize, | |
7196 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
7197 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7198 | pub ComputeSiteCosts: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7199 | #[cfg(feature = "Win32_System_Com")] | |
7200 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7201 | #[cfg(not(feature = "Win32_System_Com"))] | |
7202 | get_ItemByName: usize, | |
7203 | } | |
7204 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7205 | #[cfg(feature = "Win32_System_Com")] | |
7206 | #[repr(transparent)] | |
7207 | pub struct ICertificationAuthority(::windows::core::IUnknown); | |
7208 | #[cfg(feature = "Win32_System_Com")] | |
7209 | impl ICertificationAuthority { | |
7210 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
7211 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
7212 | pub unsafe fn get_Property(&self, property: EnrollmentCAProperty) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
7213 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
7214 | (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, &mut result__).from_abi(result__) | |
7215 | } | |
7216 | } | |
7217 | #[cfg(feature = "Win32_System_Com")] | |
7218 | ::windows::imp::interface_hierarchy!(ICertificationAuthority, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7219 | #[cfg(feature = "Win32_System_Com")] | |
7220 | impl ::core::cmp::PartialEq for ICertificationAuthority { | |
7221 | fn eq(&self, other: &Self) -> bool { | |
7222 | self.0 == other.0 | |
7223 | } | |
7224 | } | |
7225 | #[cfg(feature = "Win32_System_Com")] | |
7226 | impl ::core::cmp::Eq for ICertificationAuthority {} | |
7227 | #[cfg(feature = "Win32_System_Com")] | |
7228 | impl ::core::fmt::Debug for ICertificationAuthority { | |
7229 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7230 | f.debug_tuple("ICertificationAuthority").field(&self.0).finish() | |
7231 | } | |
7232 | } | |
7233 | #[cfg(feature = "Win32_System_Com")] | |
7234 | unsafe impl ::windows::core::Interface for ICertificationAuthority { | |
7235 | type Vtable = ICertificationAuthority_Vtbl; | |
7236 | } | |
7237 | #[cfg(feature = "Win32_System_Com")] | |
7238 | impl ::core::clone::Clone for ICertificationAuthority { | |
7239 | fn clone(&self) -> Self { | |
7240 | Self(self.0.clone()) | |
7241 | } | |
7242 | } | |
7243 | #[cfg(feature = "Win32_System_Com")] | |
7244 | unsafe impl ::windows::core::ComInterface for ICertificationAuthority { | |
7245 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x835d1f61_1e95_4bc8_b4d3_976c42b968f7); | |
7246 | } | |
7247 | #[cfg(feature = "Win32_System_Com")] | |
7248 | #[repr(C)] | |
7249 | #[doc(hidden)] | |
7250 | pub struct ICertificationAuthority_Vtbl { | |
7251 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7252 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
7253 | pub get_Property: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, property: EnrollmentCAProperty, pvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
7254 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
7255 | get_Property: usize, | |
7256 | } | |
7257 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7258 | #[cfg(feature = "Win32_System_Com")] | |
7259 | #[repr(transparent)] | |
7260 | pub struct ICryptAttribute(::windows::core::IUnknown); | |
7261 | #[cfg(feature = "Win32_System_Com")] | |
7262 | impl ICryptAttribute { | |
7263 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7264 | #[cfg(feature = "Win32_System_Com")] | |
7265 | pub unsafe fn InitializeFromObjectId<P0>(&self, pobjectid: P0) -> ::windows::core::Result<()> | |
7266 | where | |
7267 | P0: ::windows::core::IntoParam<IObjectId>, | |
7268 | { | |
7269 | (::windows::core::Interface::vtable(self).InitializeFromObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi()).ok() | |
7270 | } | |
7271 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7272 | #[cfg(feature = "Win32_System_Com")] | |
7273 | pub unsafe fn InitializeFromValues<P0>(&self, pattributes: P0) -> ::windows::core::Result<()> | |
7274 | where | |
7275 | P0: ::windows::core::IntoParam<IX509Attributes>, | |
7276 | { | |
7277 | (::windows::core::Interface::vtable(self).InitializeFromValues)(::windows::core::Interface::as_raw(self), pattributes.into_param().abi()).ok() | |
7278 | } | |
7279 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7280 | #[cfg(feature = "Win32_System_Com")] | |
7281 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
7282 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
7283 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7284 | } | |
7285 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7286 | #[cfg(feature = "Win32_System_Com")] | |
7287 | pub unsafe fn Values(&self) -> ::windows::core::Result<IX509Attributes> { | |
7288 | let mut result__ = ::windows::core::zeroed::<IX509Attributes>(); | |
7289 | (::windows::core::Interface::vtable(self).Values)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7290 | } | |
7291 | } | |
7292 | #[cfg(feature = "Win32_System_Com")] | |
7293 | ::windows::imp::interface_hierarchy!(ICryptAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7294 | #[cfg(feature = "Win32_System_Com")] | |
7295 | impl ::core::cmp::PartialEq for ICryptAttribute { | |
7296 | fn eq(&self, other: &Self) -> bool { | |
7297 | self.0 == other.0 | |
7298 | } | |
7299 | } | |
7300 | #[cfg(feature = "Win32_System_Com")] | |
7301 | impl ::core::cmp::Eq for ICryptAttribute {} | |
7302 | #[cfg(feature = "Win32_System_Com")] | |
7303 | impl ::core::fmt::Debug for ICryptAttribute { | |
7304 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7305 | f.debug_tuple("ICryptAttribute").field(&self.0).finish() | |
7306 | } | |
7307 | } | |
7308 | #[cfg(feature = "Win32_System_Com")] | |
7309 | unsafe impl ::windows::core::Interface for ICryptAttribute { | |
7310 | type Vtable = ICryptAttribute_Vtbl; | |
7311 | } | |
7312 | #[cfg(feature = "Win32_System_Com")] | |
7313 | impl ::core::clone::Clone for ICryptAttribute { | |
7314 | fn clone(&self) -> Self { | |
7315 | Self(self.0.clone()) | |
7316 | } | |
7317 | } | |
7318 | #[cfg(feature = "Win32_System_Com")] | |
7319 | unsafe impl ::windows::core::ComInterface for ICryptAttribute { | |
7320 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32c_217d_11da_b2a4_000e7bbb2b09); | |
7321 | } | |
7322 | #[cfg(feature = "Win32_System_Com")] | |
7323 | #[repr(C)] | |
7324 | #[doc(hidden)] | |
7325 | pub struct ICryptAttribute_Vtbl { | |
7326 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7327 | #[cfg(feature = "Win32_System_Com")] | |
7328 | pub InitializeFromObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7329 | #[cfg(not(feature = "Win32_System_Com"))] | |
7330 | InitializeFromObjectId: usize, | |
7331 | #[cfg(feature = "Win32_System_Com")] | |
7332 | pub InitializeFromValues: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattributes: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7333 | #[cfg(not(feature = "Win32_System_Com"))] | |
7334 | InitializeFromValues: usize, | |
7335 | #[cfg(feature = "Win32_System_Com")] | |
7336 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7337 | #[cfg(not(feature = "Win32_System_Com"))] | |
7338 | ObjectId: usize, | |
7339 | #[cfg(feature = "Win32_System_Com")] | |
7340 | pub Values: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7341 | #[cfg(not(feature = "Win32_System_Com"))] | |
7342 | Values: usize, | |
7343 | } | |
7344 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7345 | #[cfg(feature = "Win32_System_Com")] | |
7346 | #[repr(transparent)] | |
7347 | pub struct ICryptAttributes(::windows::core::IUnknown); | |
7348 | #[cfg(feature = "Win32_System_Com")] | |
7349 | impl ICryptAttributes { | |
7350 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7351 | #[cfg(feature = "Win32_System_Com")] | |
7352 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICryptAttribute> { | |
7353 | let mut result__ = ::windows::core::zeroed::<ICryptAttribute>(); | |
7354 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
7355 | } | |
7356 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
7357 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7358 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7359 | } | |
7360 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
7361 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
7362 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7363 | } | |
7364 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7365 | #[cfg(feature = "Win32_System_Com")] | |
7366 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
7367 | where | |
7368 | P0: ::windows::core::IntoParam<ICryptAttribute>, | |
7369 | { | |
7370 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
7371 | } | |
7372 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
7373 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
7374 | } | |
7375 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
7376 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
7377 | } | |
7378 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7379 | #[cfg(feature = "Win32_System_Com")] | |
7380 | pub unsafe fn get_IndexByObjectId<P0>(&self, pobjectid: P0) -> ::windows::core::Result<i32> | |
7381 | where | |
7382 | P0: ::windows::core::IntoParam<IObjectId>, | |
7383 | { | |
7384 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7385 | (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), &mut result__).from_abi(result__) | |
7386 | } | |
7387 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7388 | #[cfg(feature = "Win32_System_Com")] | |
7389 | pub unsafe fn AddRange<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
7390 | where | |
7391 | P0: ::windows::core::IntoParam<ICryptAttributes>, | |
7392 | { | |
7393 | (::windows::core::Interface::vtable(self).AddRange)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
7394 | } | |
7395 | } | |
7396 | #[cfg(feature = "Win32_System_Com")] | |
7397 | ::windows::imp::interface_hierarchy!(ICryptAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7398 | #[cfg(feature = "Win32_System_Com")] | |
7399 | impl ::core::cmp::PartialEq for ICryptAttributes { | |
7400 | fn eq(&self, other: &Self) -> bool { | |
7401 | self.0 == other.0 | |
7402 | } | |
7403 | } | |
7404 | #[cfg(feature = "Win32_System_Com")] | |
7405 | impl ::core::cmp::Eq for ICryptAttributes {} | |
7406 | #[cfg(feature = "Win32_System_Com")] | |
7407 | impl ::core::fmt::Debug for ICryptAttributes { | |
7408 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7409 | f.debug_tuple("ICryptAttributes").field(&self.0).finish() | |
7410 | } | |
7411 | } | |
7412 | #[cfg(feature = "Win32_System_Com")] | |
7413 | unsafe impl ::windows::core::Interface for ICryptAttributes { | |
7414 | type Vtable = ICryptAttributes_Vtbl; | |
7415 | } | |
7416 | #[cfg(feature = "Win32_System_Com")] | |
7417 | impl ::core::clone::Clone for ICryptAttributes { | |
7418 | fn clone(&self) -> Self { | |
7419 | Self(self.0.clone()) | |
7420 | } | |
7421 | } | |
7422 | #[cfg(feature = "Win32_System_Com")] | |
7423 | unsafe impl ::windows::core::ComInterface for ICryptAttributes { | |
7424 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32d_217d_11da_b2a4_000e7bbb2b09); | |
7425 | } | |
7426 | #[cfg(feature = "Win32_System_Com")] | |
7427 | #[repr(C)] | |
7428 | #[doc(hidden)] | |
7429 | pub struct ICryptAttributes_Vtbl { | |
7430 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7431 | #[cfg(feature = "Win32_System_Com")] | |
7432 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7433 | #[cfg(not(feature = "Win32_System_Com"))] | |
7434 | get_ItemByIndex: usize, | |
7435 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
7436 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7437 | #[cfg(feature = "Win32_System_Com")] | |
7438 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7439 | #[cfg(not(feature = "Win32_System_Com"))] | |
7440 | Add: usize, | |
7441 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
7442 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7443 | #[cfg(feature = "Win32_System_Com")] | |
7444 | pub get_IndexByObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
7445 | #[cfg(not(feature = "Win32_System_Com"))] | |
7446 | get_IndexByObjectId: usize, | |
7447 | #[cfg(feature = "Win32_System_Com")] | |
7448 | pub AddRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7449 | #[cfg(not(feature = "Win32_System_Com"))] | |
7450 | AddRange: usize, | |
7451 | } | |
7452 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7453 | #[cfg(feature = "Win32_System_Com")] | |
7454 | #[repr(transparent)] | |
7455 | pub struct ICspAlgorithm(::windows::core::IUnknown); | |
7456 | #[cfg(feature = "Win32_System_Com")] | |
7457 | impl ICspAlgorithm { | |
7458 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7459 | #[cfg(feature = "Win32_System_Com")] | |
7460 | pub unsafe fn GetAlgorithmOid(&self, length: i32, algflags: AlgorithmFlags) -> ::windows::core::Result<IObjectId> { | |
7461 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
7462 | (::windows::core::Interface::vtable(self).GetAlgorithmOid)(::windows::core::Interface::as_raw(self), length, algflags, &mut result__).from_abi(result__) | |
7463 | } | |
7464 | pub unsafe fn DefaultLength(&self) -> ::windows::core::Result<i32> { | |
7465 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7466 | (::windows::core::Interface::vtable(self).DefaultLength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7467 | } | |
7468 | pub unsafe fn IncrementLength(&self) -> ::windows::core::Result<i32> { | |
7469 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7470 | (::windows::core::Interface::vtable(self).IncrementLength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7471 | } | |
7472 | pub unsafe fn LongName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
7473 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
7474 | (::windows::core::Interface::vtable(self).LongName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7475 | } | |
7476 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7477 | #[cfg(feature = "Win32_Foundation")] | |
7478 | pub unsafe fn Valid(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7479 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7480 | (::windows::core::Interface::vtable(self).Valid)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7481 | } | |
7482 | pub unsafe fn MaxLength(&self) -> ::windows::core::Result<i32> { | |
7483 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7484 | (::windows::core::Interface::vtable(self).MaxLength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7485 | } | |
7486 | pub unsafe fn MinLength(&self) -> ::windows::core::Result<i32> { | |
7487 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7488 | (::windows::core::Interface::vtable(self).MinLength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7489 | } | |
7490 | pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
7491 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
7492 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7493 | } | |
7494 | pub unsafe fn Type(&self) -> ::windows::core::Result<AlgorithmType> { | |
7495 | let mut result__ = ::windows::core::zeroed::<AlgorithmType>(); | |
7496 | (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7497 | } | |
7498 | pub unsafe fn Operations(&self) -> ::windows::core::Result<AlgorithmOperationFlags> { | |
7499 | let mut result__ = ::windows::core::zeroed::<AlgorithmOperationFlags>(); | |
7500 | (::windows::core::Interface::vtable(self).Operations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7501 | } | |
7502 | } | |
7503 | #[cfg(feature = "Win32_System_Com")] | |
7504 | ::windows::imp::interface_hierarchy!(ICspAlgorithm, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7505 | #[cfg(feature = "Win32_System_Com")] | |
7506 | impl ::core::cmp::PartialEq for ICspAlgorithm { | |
7507 | fn eq(&self, other: &Self) -> bool { | |
7508 | self.0 == other.0 | |
7509 | } | |
7510 | } | |
7511 | #[cfg(feature = "Win32_System_Com")] | |
7512 | impl ::core::cmp::Eq for ICspAlgorithm {} | |
7513 | #[cfg(feature = "Win32_System_Com")] | |
7514 | impl ::core::fmt::Debug for ICspAlgorithm { | |
7515 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7516 | f.debug_tuple("ICspAlgorithm").field(&self.0).finish() | |
7517 | } | |
7518 | } | |
7519 | #[cfg(feature = "Win32_System_Com")] | |
7520 | unsafe impl ::windows::core::Interface for ICspAlgorithm { | |
7521 | type Vtable = ICspAlgorithm_Vtbl; | |
7522 | } | |
7523 | #[cfg(feature = "Win32_System_Com")] | |
7524 | impl ::core::clone::Clone for ICspAlgorithm { | |
7525 | fn clone(&self) -> Self { | |
7526 | Self(self.0.clone()) | |
7527 | } | |
7528 | } | |
7529 | #[cfg(feature = "Win32_System_Com")] | |
7530 | unsafe impl ::windows::core::ComInterface for ICspAlgorithm { | |
7531 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab305_217d_11da_b2a4_000e7bbb2b09); | |
7532 | } | |
7533 | #[cfg(feature = "Win32_System_Com")] | |
7534 | #[repr(C)] | |
7535 | #[doc(hidden)] | |
7536 | pub struct ICspAlgorithm_Vtbl { | |
7537 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7538 | #[cfg(feature = "Win32_System_Com")] | |
7539 | pub GetAlgorithmOid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, length: i32, algflags: AlgorithmFlags, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7540 | #[cfg(not(feature = "Win32_System_Com"))] | |
7541 | GetAlgorithmOid: usize, | |
7542 | pub DefaultLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7543 | pub IncrementLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7544 | pub LongName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
7545 | #[cfg(feature = "Win32_Foundation")] | |
7546 | pub Valid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7547 | #[cfg(not(feature = "Win32_Foundation"))] | |
7548 | Valid: usize, | |
7549 | pub MaxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7550 | pub MinLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7551 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
7552 | pub Type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut AlgorithmType) -> ::windows::core::HRESULT, | |
7553 | pub Operations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut AlgorithmOperationFlags) -> ::windows::core::HRESULT, | |
7554 | } | |
7555 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7556 | #[cfg(feature = "Win32_System_Com")] | |
7557 | #[repr(transparent)] | |
7558 | pub struct ICspAlgorithms(::windows::core::IUnknown); | |
7559 | #[cfg(feature = "Win32_System_Com")] | |
7560 | impl ICspAlgorithms { | |
7561 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7562 | #[cfg(feature = "Win32_System_Com")] | |
7563 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICspAlgorithm> { | |
7564 | let mut result__ = ::windows::core::zeroed::<ICspAlgorithm>(); | |
7565 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
7566 | } | |
7567 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
7568 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7569 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7570 | } | |
7571 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
7572 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
7573 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7574 | } | |
7575 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7576 | #[cfg(feature = "Win32_System_Com")] | |
7577 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
7578 | where | |
7579 | P0: ::windows::core::IntoParam<ICspAlgorithm>, | |
7580 | { | |
7581 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
7582 | } | |
7583 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
7584 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
7585 | } | |
7586 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
7587 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
7588 | } | |
7589 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7590 | #[cfg(feature = "Win32_System_Com")] | |
7591 | pub unsafe fn get_ItemByName<P0>(&self, strname: P0) -> ::windows::core::Result<ICspAlgorithm> | |
7592 | where | |
7593 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
7594 | { | |
7595 | let mut result__ = ::windows::core::zeroed::<ICspAlgorithm>(); | |
7596 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into_param().abi(), &mut result__).from_abi(result__) | |
7597 | } | |
7598 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7599 | #[cfg(feature = "Win32_System_Com")] | |
7600 | pub unsafe fn get_IndexByObjectId<P0>(&self, pobjectid: P0) -> ::windows::core::Result<i32> | |
7601 | where | |
7602 | P0: ::windows::core::IntoParam<IObjectId>, | |
7603 | { | |
7604 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7605 | (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), &mut result__).from_abi(result__) | |
7606 | } | |
7607 | } | |
7608 | #[cfg(feature = "Win32_System_Com")] | |
7609 | ::windows::imp::interface_hierarchy!(ICspAlgorithms, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7610 | #[cfg(feature = "Win32_System_Com")] | |
7611 | impl ::core::cmp::PartialEq for ICspAlgorithms { | |
7612 | fn eq(&self, other: &Self) -> bool { | |
7613 | self.0 == other.0 | |
7614 | } | |
7615 | } | |
7616 | #[cfg(feature = "Win32_System_Com")] | |
7617 | impl ::core::cmp::Eq for ICspAlgorithms {} | |
7618 | #[cfg(feature = "Win32_System_Com")] | |
7619 | impl ::core::fmt::Debug for ICspAlgorithms { | |
7620 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7621 | f.debug_tuple("ICspAlgorithms").field(&self.0).finish() | |
7622 | } | |
7623 | } | |
7624 | #[cfg(feature = "Win32_System_Com")] | |
7625 | unsafe impl ::windows::core::Interface for ICspAlgorithms { | |
7626 | type Vtable = ICspAlgorithms_Vtbl; | |
7627 | } | |
7628 | #[cfg(feature = "Win32_System_Com")] | |
7629 | impl ::core::clone::Clone for ICspAlgorithms { | |
7630 | fn clone(&self) -> Self { | |
7631 | Self(self.0.clone()) | |
7632 | } | |
7633 | } | |
7634 | #[cfg(feature = "Win32_System_Com")] | |
7635 | unsafe impl ::windows::core::ComInterface for ICspAlgorithms { | |
7636 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab306_217d_11da_b2a4_000e7bbb2b09); | |
7637 | } | |
7638 | #[cfg(feature = "Win32_System_Com")] | |
7639 | #[repr(C)] | |
7640 | #[doc(hidden)] | |
7641 | pub struct ICspAlgorithms_Vtbl { | |
7642 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7643 | #[cfg(feature = "Win32_System_Com")] | |
7644 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7645 | #[cfg(not(feature = "Win32_System_Com"))] | |
7646 | get_ItemByIndex: usize, | |
7647 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
7648 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7649 | #[cfg(feature = "Win32_System_Com")] | |
7650 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7651 | #[cfg(not(feature = "Win32_System_Com"))] | |
7652 | Add: usize, | |
7653 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
7654 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7655 | #[cfg(feature = "Win32_System_Com")] | |
7656 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7657 | #[cfg(not(feature = "Win32_System_Com"))] | |
7658 | get_ItemByName: usize, | |
7659 | #[cfg(feature = "Win32_System_Com")] | |
7660 | pub get_IndexByObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
7661 | #[cfg(not(feature = "Win32_System_Com"))] | |
7662 | get_IndexByObjectId: usize, | |
7663 | } | |
7664 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7665 | #[cfg(feature = "Win32_System_Com")] | |
7666 | #[repr(transparent)] | |
7667 | pub struct ICspInformation(::windows::core::IUnknown); | |
7668 | #[cfg(feature = "Win32_System_Com")] | |
7669 | impl ICspInformation { | |
7670 | pub unsafe fn InitializeFromName<P0>(&self, strname: P0) -> ::windows::core::Result<()> | |
7671 | where | |
7672 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
7673 | { | |
7674 | (::windows::core::Interface::vtable(self).InitializeFromName)(::windows::core::Interface::as_raw(self), strname.into_param().abi()).ok() | |
7675 | } | |
7676 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
7677 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
7678 | pub unsafe fn InitializeFromType<P0, P1>(&self, r#type: X509ProviderType, palgorithm: P0, machinecontext: P1) -> ::windows::core::Result<()> | |
7679 | where | |
7680 | P0: ::windows::core::IntoParam<IObjectId>, | |
7681 | P1: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
7682 | { | |
7683 | (::windows::core::Interface::vtable(self).InitializeFromType)(::windows::core::Interface::as_raw(self), r#type, palgorithm.into_param().abi(), machinecontext.into_param().abi()).ok() | |
7684 | } | |
7685 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7686 | #[cfg(feature = "Win32_System_Com")] | |
7687 | pub unsafe fn CspAlgorithms(&self) -> ::windows::core::Result<ICspAlgorithms> { | |
7688 | let mut result__ = ::windows::core::zeroed::<ICspAlgorithms>(); | |
7689 | (::windows::core::Interface::vtable(self).CspAlgorithms)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7690 | } | |
7691 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7692 | #[cfg(feature = "Win32_Foundation")] | |
7693 | pub unsafe fn HasHardwareRandomNumberGenerator(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7694 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7695 | (::windows::core::Interface::vtable(self).HasHardwareRandomNumberGenerator)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7696 | } | |
7697 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7698 | #[cfg(feature = "Win32_Foundation")] | |
7699 | pub unsafe fn IsHardwareDevice(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7700 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7701 | (::windows::core::Interface::vtable(self).IsHardwareDevice)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7702 | } | |
7703 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7704 | #[cfg(feature = "Win32_Foundation")] | |
7705 | pub unsafe fn IsRemovable(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7706 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7707 | (::windows::core::Interface::vtable(self).IsRemovable)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7708 | } | |
7709 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7710 | #[cfg(feature = "Win32_Foundation")] | |
7711 | pub unsafe fn IsSoftwareDevice(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7712 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7713 | (::windows::core::Interface::vtable(self).IsSoftwareDevice)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7714 | } | |
7715 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7716 | #[cfg(feature = "Win32_Foundation")] | |
7717 | pub unsafe fn Valid(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7718 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7719 | (::windows::core::Interface::vtable(self).Valid)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7720 | } | |
7721 | pub unsafe fn MaxKeyContainerNameLength(&self) -> ::windows::core::Result<i32> { | |
7722 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7723 | (::windows::core::Interface::vtable(self).MaxKeyContainerNameLength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7724 | } | |
7725 | pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
7726 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
7727 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7728 | } | |
7729 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509ProviderType> { | |
7730 | let mut result__ = ::windows::core::zeroed::<X509ProviderType>(); | |
7731 | (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7732 | } | |
7733 | pub unsafe fn Version(&self) -> ::windows::core::Result<i32> { | |
7734 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7735 | (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7736 | } | |
7737 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<X509KeySpec> { | |
7738 | let mut result__ = ::windows::core::zeroed::<X509KeySpec>(); | |
7739 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7740 | } | |
7741 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7742 | #[cfg(feature = "Win32_Foundation")] | |
7743 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7744 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7745 | (::windows::core::Interface::vtable(self).IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7746 | } | |
7747 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7748 | #[cfg(feature = "Win32_Foundation")] | |
7749 | pub unsafe fn GetDefaultSecurityDescriptor<P0>(&self, machinecontext: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
7750 | where | |
7751 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
7752 | { | |
7753 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
7754 | (::windows::core::Interface::vtable(self).GetDefaultSecurityDescriptor)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), &mut result__).from_abi(result__) | |
7755 | } | |
7756 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7757 | #[cfg(feature = "Win32_Foundation")] | |
7758 | pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
7759 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
7760 | (::windows::core::Interface::vtable(self).LegacyCsp)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7761 | } | |
7762 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7763 | #[cfg(feature = "Win32_System_Com")] | |
7764 | pub unsafe fn GetCspStatusFromOperations<P0>(&self, palgorithm: P0, operations: AlgorithmOperationFlags) -> ::windows::core::Result<ICspStatus> | |
7765 | where | |
7766 | P0: ::windows::core::IntoParam<IObjectId>, | |
7767 | { | |
7768 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
7769 | (::windows::core::Interface::vtable(self).GetCspStatusFromOperations)(::windows::core::Interface::as_raw(self), palgorithm.into_param().abi(), operations, &mut result__).from_abi(result__) | |
7770 | } | |
7771 | } | |
7772 | #[cfg(feature = "Win32_System_Com")] | |
7773 | ::windows::imp::interface_hierarchy!(ICspInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7774 | #[cfg(feature = "Win32_System_Com")] | |
7775 | impl ::core::cmp::PartialEq for ICspInformation { | |
7776 | fn eq(&self, other: &Self) -> bool { | |
7777 | self.0 == other.0 | |
7778 | } | |
7779 | } | |
7780 | #[cfg(feature = "Win32_System_Com")] | |
7781 | impl ::core::cmp::Eq for ICspInformation {} | |
7782 | #[cfg(feature = "Win32_System_Com")] | |
7783 | impl ::core::fmt::Debug for ICspInformation { | |
7784 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7785 | f.debug_tuple("ICspInformation").field(&self.0).finish() | |
7786 | } | |
7787 | } | |
7788 | #[cfg(feature = "Win32_System_Com")] | |
7789 | unsafe impl ::windows::core::Interface for ICspInformation { | |
7790 | type Vtable = ICspInformation_Vtbl; | |
7791 | } | |
7792 | #[cfg(feature = "Win32_System_Com")] | |
7793 | impl ::core::clone::Clone for ICspInformation { | |
7794 | fn clone(&self) -> Self { | |
7795 | Self(self.0.clone()) | |
7796 | } | |
7797 | } | |
7798 | #[cfg(feature = "Win32_System_Com")] | |
7799 | unsafe impl ::windows::core::ComInterface for ICspInformation { | |
7800 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab307_217d_11da_b2a4_000e7bbb2b09); | |
7801 | } | |
7802 | #[cfg(feature = "Win32_System_Com")] | |
7803 | #[repr(C)] | |
7804 | #[doc(hidden)] | |
7805 | pub struct ICspInformation_Vtbl { | |
7806 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7807 | pub InitializeFromName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
7808 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
7809 | pub InitializeFromType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: X509ProviderType, palgorithm: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7810 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] | |
7811 | InitializeFromType: usize, | |
7812 | #[cfg(feature = "Win32_System_Com")] | |
7813 | pub CspAlgorithms: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7814 | #[cfg(not(feature = "Win32_System_Com"))] | |
7815 | CspAlgorithms: usize, | |
7816 | #[cfg(feature = "Win32_Foundation")] | |
7817 | pub HasHardwareRandomNumberGenerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7818 | #[cfg(not(feature = "Win32_Foundation"))] | |
7819 | HasHardwareRandomNumberGenerator: usize, | |
7820 | #[cfg(feature = "Win32_Foundation")] | |
7821 | pub IsHardwareDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7822 | #[cfg(not(feature = "Win32_Foundation"))] | |
7823 | IsHardwareDevice: usize, | |
7824 | #[cfg(feature = "Win32_Foundation")] | |
7825 | pub IsRemovable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7826 | #[cfg(not(feature = "Win32_Foundation"))] | |
7827 | IsRemovable: usize, | |
7828 | #[cfg(feature = "Win32_Foundation")] | |
7829 | pub IsSoftwareDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7830 | #[cfg(not(feature = "Win32_Foundation"))] | |
7831 | IsSoftwareDevice: usize, | |
7832 | #[cfg(feature = "Win32_Foundation")] | |
7833 | pub Valid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7834 | #[cfg(not(feature = "Win32_Foundation"))] | |
7835 | Valid: usize, | |
7836 | pub MaxKeyContainerNameLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7837 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
7838 | pub Type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509ProviderType) -> ::windows::core::HRESULT, | |
7839 | pub Version: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
7840 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509KeySpec) -> ::windows::core::HRESULT, | |
7841 | #[cfg(feature = "Win32_Foundation")] | |
7842 | pub IsSmartCard: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7843 | #[cfg(not(feature = "Win32_Foundation"))] | |
7844 | IsSmartCard: usize, | |
7845 | #[cfg(feature = "Win32_Foundation")] | |
7846 | pub GetDefaultSecurityDescriptor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
7847 | #[cfg(not(feature = "Win32_Foundation"))] | |
7848 | GetDefaultSecurityDescriptor: usize, | |
7849 | #[cfg(feature = "Win32_Foundation")] | |
7850 | pub LegacyCsp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
7851 | #[cfg(not(feature = "Win32_Foundation"))] | |
7852 | LegacyCsp: usize, | |
7853 | #[cfg(feature = "Win32_System_Com")] | |
7854 | pub GetCspStatusFromOperations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, palgorithm: *mut ::core::ffi::c_void, operations: AlgorithmOperationFlags, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7855 | #[cfg(not(feature = "Win32_System_Com"))] | |
7856 | GetCspStatusFromOperations: usize, | |
7857 | } | |
7858 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
7859 | #[cfg(feature = "Win32_System_Com")] | |
7860 | #[repr(transparent)] | |
7861 | pub struct ICspInformations(::windows::core::IUnknown); | |
7862 | #[cfg(feature = "Win32_System_Com")] | |
7863 | impl ICspInformations { | |
7864 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7865 | #[cfg(feature = "Win32_System_Com")] | |
7866 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICspInformation> { | |
7867 | let mut result__ = ::windows::core::zeroed::<ICspInformation>(); | |
7868 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
7869 | } | |
7870 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
7871 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
7872 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7873 | } | |
7874 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
7875 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
7876 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7877 | } | |
7878 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7879 | #[cfg(feature = "Win32_System_Com")] | |
7880 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
7881 | where | |
7882 | P0: ::windows::core::IntoParam<ICspInformation>, | |
7883 | { | |
7884 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
7885 | } | |
7886 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
7887 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
7888 | } | |
7889 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
7890 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
7891 | } | |
7892 | pub unsafe fn AddAvailableCsps(&self) -> ::windows::core::Result<()> { | |
7893 | (::windows::core::Interface::vtable(self).AddAvailableCsps)(::windows::core::Interface::as_raw(self)).ok() | |
7894 | } | |
7895 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7896 | #[cfg(feature = "Win32_System_Com")] | |
7897 | pub unsafe fn get_ItemByName<P0>(&self, strname: P0) -> ::windows::core::Result<ICspInformation> | |
7898 | where | |
7899 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
7900 | { | |
7901 | let mut result__ = ::windows::core::zeroed::<ICspInformation>(); | |
7902 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into_param().abi(), &mut result__).from_abi(result__) | |
7903 | } | |
7904 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7905 | #[cfg(feature = "Win32_System_Com")] | |
7906 | pub unsafe fn GetCspStatusFromProviderName<P0>(&self, strprovidername: P0, legacykeyspec: X509KeySpec) -> ::windows::core::Result<ICspStatus> | |
7907 | where | |
7908 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
7909 | { | |
7910 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
7911 | (::windows::core::Interface::vtable(self).GetCspStatusFromProviderName)(::windows::core::Interface::as_raw(self), strprovidername.into_param().abi(), legacykeyspec, &mut result__).from_abi(result__) | |
7912 | } | |
7913 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7914 | #[cfg(feature = "Win32_System_Com")] | |
7915 | pub unsafe fn GetCspStatusesFromOperations<P0>(&self, operations: AlgorithmOperationFlags, pcspinformation: P0) -> ::windows::core::Result<ICspStatuses> | |
7916 | where | |
7917 | P0: ::windows::core::IntoParam<ICspInformation>, | |
7918 | { | |
7919 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
7920 | (::windows::core::Interface::vtable(self).GetCspStatusesFromOperations)(::windows::core::Interface::as_raw(self), operations, pcspinformation.into_param().abi(), &mut result__).from_abi(result__) | |
7921 | } | |
7922 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7923 | #[cfg(feature = "Win32_System_Com")] | |
7924 | pub unsafe fn GetEncryptionCspAlgorithms<P0>(&self, pcspinformation: P0) -> ::windows::core::Result<ICspAlgorithms> | |
7925 | where | |
7926 | P0: ::windows::core::IntoParam<ICspInformation>, | |
7927 | { | |
7928 | let mut result__ = ::windows::core::zeroed::<ICspAlgorithms>(); | |
7929 | (::windows::core::Interface::vtable(self).GetEncryptionCspAlgorithms)(::windows::core::Interface::as_raw(self), pcspinformation.into_param().abi(), &mut result__).from_abi(result__) | |
7930 | } | |
7931 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
7932 | #[cfg(feature = "Win32_System_Com")] | |
7933 | pub unsafe fn GetHashAlgorithms<P0>(&self, pcspinformation: P0) -> ::windows::core::Result<IObjectIds> | |
7934 | where | |
7935 | P0: ::windows::core::IntoParam<ICspInformation>, | |
7936 | { | |
7937 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
7938 | (::windows::core::Interface::vtable(self).GetHashAlgorithms)(::windows::core::Interface::as_raw(self), pcspinformation.into_param().abi(), &mut result__).from_abi(result__) | |
7939 | } | |
7940 | } | |
7941 | #[cfg(feature = "Win32_System_Com")] | |
7942 | ::windows::imp::interface_hierarchy!(ICspInformations, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
7943 | #[cfg(feature = "Win32_System_Com")] | |
7944 | impl ::core::cmp::PartialEq for ICspInformations { | |
7945 | fn eq(&self, other: &Self) -> bool { | |
7946 | self.0 == other.0 | |
7947 | } | |
7948 | } | |
7949 | #[cfg(feature = "Win32_System_Com")] | |
7950 | impl ::core::cmp::Eq for ICspInformations {} | |
7951 | #[cfg(feature = "Win32_System_Com")] | |
7952 | impl ::core::fmt::Debug for ICspInformations { | |
7953 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7954 | f.debug_tuple("ICspInformations").field(&self.0).finish() | |
7955 | } | |
7956 | } | |
7957 | #[cfg(feature = "Win32_System_Com")] | |
7958 | unsafe impl ::windows::core::Interface for ICspInformations { | |
7959 | type Vtable = ICspInformations_Vtbl; | |
7960 | } | |
7961 | #[cfg(feature = "Win32_System_Com")] | |
7962 | impl ::core::clone::Clone for ICspInformations { | |
7963 | fn clone(&self) -> Self { | |
7964 | Self(self.0.clone()) | |
7965 | } | |
7966 | } | |
7967 | #[cfg(feature = "Win32_System_Com")] | |
7968 | unsafe impl ::windows::core::ComInterface for ICspInformations { | |
7969 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab308_217d_11da_b2a4_000e7bbb2b09); | |
7970 | } | |
7971 | #[cfg(feature = "Win32_System_Com")] | |
7972 | #[repr(C)] | |
7973 | #[doc(hidden)] | |
7974 | pub struct ICspInformations_Vtbl { | |
7975 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
7976 | #[cfg(feature = "Win32_System_Com")] | |
7977 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7978 | #[cfg(not(feature = "Win32_System_Com"))] | |
7979 | get_ItemByIndex: usize, | |
7980 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
7981 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7982 | #[cfg(feature = "Win32_System_Com")] | |
7983 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7984 | #[cfg(not(feature = "Win32_System_Com"))] | |
7985 | Add: usize, | |
7986 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
7987 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7988 | pub AddAvailableCsps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7989 | #[cfg(feature = "Win32_System_Com")] | |
7990 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppcspinformation: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7991 | #[cfg(not(feature = "Win32_System_Com"))] | |
7992 | get_ItemByName: usize, | |
7993 | #[cfg(feature = "Win32_System_Com")] | |
7994 | pub GetCspStatusFromProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strprovidername: ::std::mem::MaybeUninit<::windows::core::BSTR>, legacykeyspec: X509KeySpec, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7995 | #[cfg(not(feature = "Win32_System_Com"))] | |
7996 | GetCspStatusFromProviderName: usize, | |
7997 | #[cfg(feature = "Win32_System_Com")] | |
7998 | pub GetCspStatusesFromOperations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, operations: AlgorithmOperationFlags, pcspinformation: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7999 | #[cfg(not(feature = "Win32_System_Com"))] | |
8000 | GetCspStatusesFromOperations: usize, | |
8001 | #[cfg(feature = "Win32_System_Com")] | |
8002 | pub GetEncryptionCspAlgorithms: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcspinformation: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8003 | #[cfg(not(feature = "Win32_System_Com"))] | |
8004 | GetEncryptionCspAlgorithms: usize, | |
8005 | #[cfg(feature = "Win32_System_Com")] | |
8006 | pub GetHashAlgorithms: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcspinformation: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8007 | #[cfg(not(feature = "Win32_System_Com"))] | |
8008 | GetHashAlgorithms: usize, | |
8009 | } | |
8010 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
8011 | #[cfg(feature = "Win32_System_Com")] | |
8012 | #[repr(transparent)] | |
8013 | pub struct ICspStatus(::windows::core::IUnknown); | |
8014 | #[cfg(feature = "Win32_System_Com")] | |
8015 | impl ICspStatus { | |
8016 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8017 | #[cfg(feature = "Win32_System_Com")] | |
8018 | pub unsafe fn Initialize<P0, P1>(&self, pcsp: P0, palgorithm: P1) -> ::windows::core::Result<()> | |
8019 | where | |
8020 | P0: ::windows::core::IntoParam<ICspInformation>, | |
8021 | P1: ::windows::core::IntoParam<ICspAlgorithm>, | |
8022 | { | |
8023 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pcsp.into_param().abi(), palgorithm.into_param().abi()).ok() | |
8024 | } | |
8025 | pub unsafe fn Ordinal(&self) -> ::windows::core::Result<i32> { | |
8026 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
8027 | (::windows::core::Interface::vtable(self).Ordinal)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8028 | } | |
8029 | pub unsafe fn SetOrdinal(&self, value: i32) -> ::windows::core::Result<()> { | |
8030 | (::windows::core::Interface::vtable(self).SetOrdinal)(::windows::core::Interface::as_raw(self), value).ok() | |
8031 | } | |
8032 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8033 | #[cfg(feature = "Win32_System_Com")] | |
8034 | pub unsafe fn CspAlgorithm(&self) -> ::windows::core::Result<ICspAlgorithm> { | |
8035 | let mut result__ = ::windows::core::zeroed::<ICspAlgorithm>(); | |
8036 | (::windows::core::Interface::vtable(self).CspAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8037 | } | |
8038 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8039 | #[cfg(feature = "Win32_System_Com")] | |
8040 | pub unsafe fn CspInformation(&self) -> ::windows::core::Result<ICspInformation> { | |
8041 | let mut result__ = ::windows::core::zeroed::<ICspInformation>(); | |
8042 | (::windows::core::Interface::vtable(self).CspInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8043 | } | |
8044 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8045 | #[cfg(feature = "Win32_System_Com")] | |
8046 | pub unsafe fn EnrollmentStatus(&self) -> ::windows::core::Result<IX509EnrollmentStatus> { | |
8047 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentStatus>(); | |
8048 | (::windows::core::Interface::vtable(self).EnrollmentStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8049 | } | |
8050 | pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
8051 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
8052 | (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8053 | } | |
8054 | } | |
8055 | #[cfg(feature = "Win32_System_Com")] | |
8056 | ::windows::imp::interface_hierarchy!(ICspStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
8057 | #[cfg(feature = "Win32_System_Com")] | |
8058 | impl ::core::cmp::PartialEq for ICspStatus { | |
8059 | fn eq(&self, other: &Self) -> bool { | |
8060 | self.0 == other.0 | |
8061 | } | |
8062 | } | |
8063 | #[cfg(feature = "Win32_System_Com")] | |
8064 | impl ::core::cmp::Eq for ICspStatus {} | |
8065 | #[cfg(feature = "Win32_System_Com")] | |
8066 | impl ::core::fmt::Debug for ICspStatus { | |
8067 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8068 | f.debug_tuple("ICspStatus").field(&self.0).finish() | |
8069 | } | |
8070 | } | |
8071 | #[cfg(feature = "Win32_System_Com")] | |
8072 | unsafe impl ::windows::core::Interface for ICspStatus { | |
8073 | type Vtable = ICspStatus_Vtbl; | |
8074 | } | |
8075 | #[cfg(feature = "Win32_System_Com")] | |
8076 | impl ::core::clone::Clone for ICspStatus { | |
8077 | fn clone(&self) -> Self { | |
8078 | Self(self.0.clone()) | |
8079 | } | |
8080 | } | |
8081 | #[cfg(feature = "Win32_System_Com")] | |
8082 | unsafe impl ::windows::core::ComInterface for ICspStatus { | |
8083 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab309_217d_11da_b2a4_000e7bbb2b09); | |
8084 | } | |
8085 | #[cfg(feature = "Win32_System_Com")] | |
8086 | #[repr(C)] | |
8087 | #[doc(hidden)] | |
8088 | pub struct ICspStatus_Vtbl { | |
8089 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
8090 | #[cfg(feature = "Win32_System_Com")] | |
8091 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcsp: *mut ::core::ffi::c_void, palgorithm: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8092 | #[cfg(not(feature = "Win32_System_Com"))] | |
8093 | Initialize: usize, | |
8094 | pub Ordinal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
8095 | pub SetOrdinal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
8096 | #[cfg(feature = "Win32_System_Com")] | |
8097 | pub CspAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8098 | #[cfg(not(feature = "Win32_System_Com"))] | |
8099 | CspAlgorithm: usize, | |
8100 | #[cfg(feature = "Win32_System_Com")] | |
8101 | pub CspInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8102 | #[cfg(not(feature = "Win32_System_Com"))] | |
8103 | CspInformation: usize, | |
8104 | #[cfg(feature = "Win32_System_Com")] | |
8105 | pub EnrollmentStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8106 | #[cfg(not(feature = "Win32_System_Com"))] | |
8107 | EnrollmentStatus: usize, | |
8108 | pub DisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
8109 | } | |
8110 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
8111 | #[cfg(feature = "Win32_System_Com")] | |
8112 | #[repr(transparent)] | |
8113 | pub struct ICspStatuses(::windows::core::IUnknown); | |
8114 | #[cfg(feature = "Win32_System_Com")] | |
8115 | impl ICspStatuses { | |
8116 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8117 | #[cfg(feature = "Win32_System_Com")] | |
8118 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ICspStatus> { | |
8119 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
8120 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
8121 | } | |
8122 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
8123 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
8124 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8125 | } | |
8126 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
8127 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
8128 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8129 | } | |
8130 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8131 | #[cfg(feature = "Win32_System_Com")] | |
8132 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
8133 | where | |
8134 | P0: ::windows::core::IntoParam<ICspStatus>, | |
8135 | { | |
8136 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
8137 | } | |
8138 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
8139 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
8140 | } | |
8141 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
8142 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
8143 | } | |
8144 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8145 | #[cfg(feature = "Win32_System_Com")] | |
8146 | pub unsafe fn get_ItemByName<P0, P1>(&self, strcspname: P0, stralgorithmname: P1) -> ::windows::core::Result<ICspStatus> | |
8147 | where | |
8148 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
8149 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
8150 | { | |
8151 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
8152 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strcspname.into_param().abi(), stralgorithmname.into_param().abi(), &mut result__).from_abi(result__) | |
8153 | } | |
8154 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8155 | #[cfg(feature = "Win32_System_Com")] | |
8156 | pub unsafe fn get_ItemByOrdinal(&self, ordinal: i32) -> ::windows::core::Result<ICspStatus> { | |
8157 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
8158 | (::windows::core::Interface::vtable(self).get_ItemByOrdinal)(::windows::core::Interface::as_raw(self), ordinal, &mut result__).from_abi(result__) | |
8159 | } | |
8160 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8161 | #[cfg(feature = "Win32_System_Com")] | |
8162 | pub unsafe fn get_ItemByOperations<P0, P1>(&self, strcspname: P0, stralgorithmname: P1, operations: AlgorithmOperationFlags) -> ::windows::core::Result<ICspStatus> | |
8163 | where | |
8164 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
8165 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
8166 | { | |
8167 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
8168 | (::windows::core::Interface::vtable(self).get_ItemByOperations)(::windows::core::Interface::as_raw(self), strcspname.into_param().abi(), stralgorithmname.into_param().abi(), operations, &mut result__).from_abi(result__) | |
8169 | } | |
8170 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
8171 | #[cfg(feature = "Win32_System_Com")] | |
8172 | pub unsafe fn get_ItemByProvider<P0>(&self, pcspstatus: P0) -> ::windows::core::Result<ICspStatus> | |
8173 | where | |
8174 | P0: ::windows::core::IntoParam<ICspStatus>, | |
8175 | { | |
8176 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
8177 | (::windows::core::Interface::vtable(self).get_ItemByProvider)(::windows::core::Interface::as_raw(self), pcspstatus.into_param().abi(), &mut result__).from_abi(result__) | |
8178 | } | |
8179 | } | |
8180 | #[cfg(feature = "Win32_System_Com")] | |
8181 | ::windows::imp::interface_hierarchy!(ICspStatuses, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
8182 | #[cfg(feature = "Win32_System_Com")] | |
8183 | impl ::core::cmp::PartialEq for ICspStatuses { | |
8184 | fn eq(&self, other: &Self) -> bool { | |
8185 | self.0 == other.0 | |
8186 | } | |
8187 | } | |
8188 | #[cfg(feature = "Win32_System_Com")] | |
8189 | impl ::core::cmp::Eq for ICspStatuses {} | |
8190 | #[cfg(feature = "Win32_System_Com")] | |
8191 | impl ::core::fmt::Debug for ICspStatuses { | |
8192 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8193 | f.debug_tuple("ICspStatuses").field(&self.0).finish() | |
8194 | } | |
8195 | } | |
8196 | #[cfg(feature = "Win32_System_Com")] | |
8197 | unsafe impl ::windows::core::Interface for ICspStatuses { | |
8198 | type Vtable = ICspStatuses_Vtbl; | |
8199 | } | |
8200 | #[cfg(feature = "Win32_System_Com")] | |
8201 | impl ::core::clone::Clone for ICspStatuses { | |
8202 | fn clone(&self) -> Self { | |
8203 | Self(self.0.clone()) | |
8204 | } | |
8205 | } | |
8206 | #[cfg(feature = "Win32_System_Com")] | |
8207 | unsafe impl ::windows::core::ComInterface for ICspStatuses { | |
8208 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30a_217d_11da_b2a4_000e7bbb2b09); | |
8209 | } | |
8210 | #[cfg(feature = "Win32_System_Com")] | |
8211 | #[repr(C)] | |
8212 | #[doc(hidden)] | |
8213 | pub struct ICspStatuses_Vtbl { | |
8214 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
8215 | #[cfg(feature = "Win32_System_Com")] | |
8216 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8217 | #[cfg(not(feature = "Win32_System_Com"))] | |
8218 | get_ItemByIndex: usize, | |
8219 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
8220 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8221 | #[cfg(feature = "Win32_System_Com")] | |
8222 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8223 | #[cfg(not(feature = "Win32_System_Com"))] | |
8224 | Add: usize, | |
8225 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
8226 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8227 | #[cfg(feature = "Win32_System_Com")] | |
8228 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strcspname: ::std::mem::MaybeUninit<::windows::core::BSTR>, stralgorithmname: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8229 | #[cfg(not(feature = "Win32_System_Com"))] | |
8230 | get_ItemByName: usize, | |
8231 | #[cfg(feature = "Win32_System_Com")] | |
8232 | pub get_ItemByOrdinal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ordinal: i32, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8233 | #[cfg(not(feature = "Win32_System_Com"))] | |
8234 | get_ItemByOrdinal: usize, | |
8235 | #[cfg(feature = "Win32_System_Com")] | |
8236 | pub get_ItemByOperations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strcspname: ::std::mem::MaybeUninit<::windows::core::BSTR>, stralgorithmname: ::std::mem::MaybeUninit<::windows::core::BSTR>, operations: AlgorithmOperationFlags, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8237 | #[cfg(not(feature = "Win32_System_Com"))] | |
8238 | get_ItemByOperations: usize, | |
8239 | #[cfg(feature = "Win32_System_Com")] | |
8240 | pub get_ItemByProvider: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcspstatus: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8241 | #[cfg(not(feature = "Win32_System_Com"))] | |
8242 | get_ItemByProvider: usize, | |
8243 | } | |
8244 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
8245 | #[repr(transparent)] | |
8246 | pub struct IEnroll(::windows::core::IUnknown); | |
8247 | impl IEnroll { | |
8248 | pub unsafe fn createFilePKCS10WStr<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
8249 | where | |
8250 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8251 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8252 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8253 | { | |
8254 | (::windows::core::Interface::vtable(self).createFilePKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
8255 | } | |
8256 | pub unsafe fn acceptFilePKCS7WStr<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
8257 | where | |
8258 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8259 | { | |
8260 | (::windows::core::Interface::vtable(self).acceptFilePKCS7WStr)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
8261 | } | |
8262 | pub unsafe fn createPKCS10WStr<P0, P1>(&self, dnname: P0, usage: P1, ppkcs10blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
8263 | where | |
8264 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8265 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8266 | { | |
8267 | (::windows::core::Interface::vtable(self).createPKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), ppkcs10blob).ok() | |
8268 | } | |
8269 | pub unsafe fn acceptPKCS7Blob(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
8270 | (::windows::core::Interface::vtable(self).acceptPKCS7Blob)(::windows::core::Interface::as_raw(self), pblobpkcs7).ok() | |
8271 | } | |
8272 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8273 | #[cfg(feature = "Win32_Foundation")] | |
8274 | pub unsafe fn getCertContextFromPKCS7(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> *mut super::CERT_CONTEXT { | |
8275 | (::windows::core::Interface::vtable(self).getCertContextFromPKCS7)(::windows::core::Interface::as_raw(self), pblobpkcs7) | |
8276 | } | |
8277 | pub unsafe fn getMyStore(&self) -> super::HCERTSTORE { | |
8278 | (::windows::core::Interface::vtable(self).getMyStore)(::windows::core::Interface::as_raw(self)) | |
8279 | } | |
8280 | pub unsafe fn getCAStore(&self) -> super::HCERTSTORE { | |
8281 | (::windows::core::Interface::vtable(self).getCAStore)(::windows::core::Interface::as_raw(self)) | |
8282 | } | |
8283 | pub unsafe fn getROOTHStore(&self) -> super::HCERTSTORE { | |
8284 | (::windows::core::Interface::vtable(self).getROOTHStore)(::windows::core::Interface::as_raw(self)) | |
8285 | } | |
8286 | pub unsafe fn enumProvidersWStr(&self, dwindex: i32, dwflags: i32, pbstrprovname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8287 | (::windows::core::Interface::vtable(self).enumProvidersWStr)(::windows::core::Interface::as_raw(self), dwindex, dwflags, pbstrprovname).ok() | |
8288 | } | |
8289 | pub unsafe fn enumContainersWStr(&self, dwindex: i32, pbstr: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8290 | (::windows::core::Interface::vtable(self).enumContainersWStr)(::windows::core::Interface::as_raw(self), dwindex, pbstr).ok() | |
8291 | } | |
8292 | pub unsafe fn freeRequestInfoBlob(&self, pkcs7orpkcs10: super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
8293 | (::windows::core::Interface::vtable(self).freeRequestInfoBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkcs7orpkcs10)).ok() | |
8294 | } | |
8295 | pub unsafe fn MyStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8296 | (::windows::core::Interface::vtable(self).MyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8297 | } | |
8298 | pub unsafe fn SetMyStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8299 | where | |
8300 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8301 | { | |
8302 | (::windows::core::Interface::vtable(self).SetMyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8303 | } | |
8304 | pub unsafe fn MyStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8305 | (::windows::core::Interface::vtable(self).MyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8306 | } | |
8307 | pub unsafe fn SetMyStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8308 | where | |
8309 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8310 | { | |
8311 | (::windows::core::Interface::vtable(self).SetMyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8312 | } | |
8313 | pub unsafe fn MyStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8314 | (::windows::core::Interface::vtable(self).MyStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8315 | } | |
8316 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8317 | (::windows::core::Interface::vtable(self).SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8318 | } | |
8319 | pub unsafe fn CAStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8320 | (::windows::core::Interface::vtable(self).CAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8321 | } | |
8322 | pub unsafe fn SetCAStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8323 | where | |
8324 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8325 | { | |
8326 | (::windows::core::Interface::vtable(self).SetCAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8327 | } | |
8328 | pub unsafe fn CAStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8329 | (::windows::core::Interface::vtable(self).CAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8330 | } | |
8331 | pub unsafe fn SetCAStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8332 | where | |
8333 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8334 | { | |
8335 | (::windows::core::Interface::vtable(self).SetCAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8336 | } | |
8337 | pub unsafe fn CAStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8338 | (::windows::core::Interface::vtable(self).CAStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8339 | } | |
8340 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8341 | (::windows::core::Interface::vtable(self).SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8342 | } | |
8343 | pub unsafe fn RootStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8344 | (::windows::core::Interface::vtable(self).RootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8345 | } | |
8346 | pub unsafe fn SetRootStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8347 | where | |
8348 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8349 | { | |
8350 | (::windows::core::Interface::vtable(self).SetRootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8351 | } | |
8352 | pub unsafe fn RootStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8353 | (::windows::core::Interface::vtable(self).RootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8354 | } | |
8355 | pub unsafe fn SetRootStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8356 | where | |
8357 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8358 | { | |
8359 | (::windows::core::Interface::vtable(self).SetRootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8360 | } | |
8361 | pub unsafe fn RootStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8362 | (::windows::core::Interface::vtable(self).RootStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8363 | } | |
8364 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8365 | (::windows::core::Interface::vtable(self).SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8366 | } | |
8367 | pub unsafe fn RequestStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8368 | (::windows::core::Interface::vtable(self).RequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8369 | } | |
8370 | pub unsafe fn SetRequestStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8371 | where | |
8372 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8373 | { | |
8374 | (::windows::core::Interface::vtable(self).SetRequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8375 | } | |
8376 | pub unsafe fn RequestStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8377 | (::windows::core::Interface::vtable(self).RequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8378 | } | |
8379 | pub unsafe fn SetRequestStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8380 | where | |
8381 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8382 | { | |
8383 | (::windows::core::Interface::vtable(self).SetRequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8384 | } | |
8385 | pub unsafe fn RequestStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8386 | (::windows::core::Interface::vtable(self).RequestStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8387 | } | |
8388 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8389 | (::windows::core::Interface::vtable(self).SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8390 | } | |
8391 | pub unsafe fn ContainerNameWStr(&self, szwcontainer: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8392 | (::windows::core::Interface::vtable(self).ContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer).ok() | |
8393 | } | |
8394 | pub unsafe fn SetContainerNameWStr<P0>(&self, szwcontainer: P0) -> ::windows::core::Result<()> | |
8395 | where | |
8396 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8397 | { | |
8398 | (::windows::core::Interface::vtable(self).SetContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer.into_param().abi()).ok() | |
8399 | } | |
8400 | pub unsafe fn ProviderNameWStr(&self, szwprovider: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8401 | (::windows::core::Interface::vtable(self).ProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider).ok() | |
8402 | } | |
8403 | pub unsafe fn SetProviderNameWStr<P0>(&self, szwprovider: P0) -> ::windows::core::Result<()> | |
8404 | where | |
8405 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8406 | { | |
8407 | (::windows::core::Interface::vtable(self).SetProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider.into_param().abi()).ok() | |
8408 | } | |
8409 | pub unsafe fn ProviderType(&self, pdwtype: *mut i32) -> ::windows::core::Result<()> { | |
8410 | (::windows::core::Interface::vtable(self).ProviderType)(::windows::core::Interface::as_raw(self), pdwtype).ok() | |
8411 | } | |
8412 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
8413 | (::windows::core::Interface::vtable(self).SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
8414 | } | |
8415 | pub unsafe fn KeySpec(&self, pdw: *mut i32) -> ::windows::core::Result<()> { | |
8416 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), pdw).ok() | |
8417 | } | |
8418 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
8419 | (::windows::core::Interface::vtable(self).SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
8420 | } | |
8421 | pub unsafe fn ProviderFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8422 | (::windows::core::Interface::vtable(self).ProviderFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8423 | } | |
8424 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8425 | (::windows::core::Interface::vtable(self).SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8426 | } | |
8427 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8428 | #[cfg(feature = "Win32_Foundation")] | |
8429 | pub unsafe fn UseExistingKeySet(&self, fuseexistingkeys: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8430 | (::windows::core::Interface::vtable(self).UseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys).ok() | |
8431 | } | |
8432 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8433 | #[cfg(feature = "Win32_Foundation")] | |
8434 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
8435 | where | |
8436 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8437 | { | |
8438 | (::windows::core::Interface::vtable(self).SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
8439 | } | |
8440 | pub unsafe fn GenKeyFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8441 | (::windows::core::Interface::vtable(self).GenKeyFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8442 | } | |
8443 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8444 | (::windows::core::Interface::vtable(self).SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8445 | } | |
8446 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8447 | #[cfg(feature = "Win32_Foundation")] | |
8448 | pub unsafe fn DeleteRequestCert(&self, fdelete: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8449 | (::windows::core::Interface::vtable(self).DeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete).ok() | |
8450 | } | |
8451 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8452 | #[cfg(feature = "Win32_Foundation")] | |
8453 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
8454 | where | |
8455 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8456 | { | |
8457 | (::windows::core::Interface::vtable(self).SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
8458 | } | |
8459 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8460 | #[cfg(feature = "Win32_Foundation")] | |
8461 | pub unsafe fn WriteCertToUserDS(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8462 | (::windows::core::Interface::vtable(self).WriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8463 | } | |
8464 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8465 | #[cfg(feature = "Win32_Foundation")] | |
8466 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8467 | where | |
8468 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8469 | { | |
8470 | (::windows::core::Interface::vtable(self).SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8471 | } | |
8472 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8473 | #[cfg(feature = "Win32_Foundation")] | |
8474 | pub unsafe fn EnableT61DNEncoding(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8475 | (::windows::core::Interface::vtable(self).EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8476 | } | |
8477 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8478 | #[cfg(feature = "Win32_Foundation")] | |
8479 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8480 | where | |
8481 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8482 | { | |
8483 | (::windows::core::Interface::vtable(self).SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8484 | } | |
8485 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8486 | #[cfg(feature = "Win32_Foundation")] | |
8487 | pub unsafe fn WriteCertToCSP(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8488 | (::windows::core::Interface::vtable(self).WriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8489 | } | |
8490 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8491 | #[cfg(feature = "Win32_Foundation")] | |
8492 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8493 | where | |
8494 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8495 | { | |
8496 | (::windows::core::Interface::vtable(self).SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8497 | } | |
8498 | pub unsafe fn SPCFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8499 | (::windows::core::Interface::vtable(self).SPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8500 | } | |
8501 | pub unsafe fn SetSPCFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8502 | where | |
8503 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8504 | { | |
8505 | (::windows::core::Interface::vtable(self).SetSPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8506 | } | |
8507 | pub unsafe fn PVKFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8508 | (::windows::core::Interface::vtable(self).PVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8509 | } | |
8510 | pub unsafe fn SetPVKFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8511 | where | |
8512 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8513 | { | |
8514 | (::windows::core::Interface::vtable(self).SetPVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8515 | } | |
8516 | pub unsafe fn HashAlgorithmWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8517 | (::windows::core::Interface::vtable(self).HashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8518 | } | |
8519 | pub unsafe fn SetHashAlgorithmWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8520 | where | |
8521 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8522 | { | |
8523 | (::windows::core::Interface::vtable(self).SetHashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8524 | } | |
8525 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8526 | #[cfg(feature = "Win32_Foundation")] | |
8527 | pub unsafe fn RenewalCertificate(&self, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
8528 | (::windows::core::Interface::vtable(self).RenewalCertificate)(::windows::core::Interface::as_raw(self), ppcertcontext).ok() | |
8529 | } | |
8530 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8531 | #[cfg(feature = "Win32_Foundation")] | |
8532 | pub unsafe fn SetRenewalCertificate(&self, pcertcontext: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
8533 | (::windows::core::Interface::vtable(self).SetRenewalCertificate)(::windows::core::Interface::as_raw(self), pcertcontext).ok() | |
8534 | } | |
8535 | pub unsafe fn AddCertTypeToRequestWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8536 | where | |
8537 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8538 | { | |
8539 | (::windows::core::Interface::vtable(self).AddCertTypeToRequestWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8540 | } | |
8541 | pub unsafe fn AddNameValuePairToSignatureWStr<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
8542 | where | |
8543 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8544 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8545 | { | |
8546 | (::windows::core::Interface::vtable(self).AddNameValuePairToSignatureWStr)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
8547 | } | |
8548 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8549 | #[cfg(feature = "Win32_Foundation")] | |
8550 | pub unsafe fn AddExtensionsToRequest(&self, pcertextensions: *mut super::CERT_EXTENSIONS) -> ::windows::core::Result<()> { | |
8551 | (::windows::core::Interface::vtable(self).AddExtensionsToRequest)(::windows::core::Interface::as_raw(self), pcertextensions).ok() | |
8552 | } | |
8553 | pub unsafe fn AddAuthenticatedAttributesToPKCS7Request(&self, pattributes: *mut super::CRYPT_ATTRIBUTES) -> ::windows::core::Result<()> { | |
8554 | (::windows::core::Interface::vtable(self).AddAuthenticatedAttributesToPKCS7Request)(::windows::core::Interface::as_raw(self), pattributes).ok() | |
8555 | } | |
8556 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8557 | #[cfg(feature = "Win32_Foundation")] | |
8558 | pub unsafe fn CreatePKCS7RequestFromRequest(&self, prequest: *mut super::CRYPT_INTEGER_BLOB, psigningcertcontext: *const super::CERT_CONTEXT, ppkcs7blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
8559 | (::windows::core::Interface::vtable(self).CreatePKCS7RequestFromRequest)(::windows::core::Interface::as_raw(self), prequest, psigningcertcontext, ppkcs7blob).ok() | |
8560 | } | |
8561 | } | |
8562 | ::windows::imp::interface_hierarchy!(IEnroll, ::windows::core::IUnknown); | |
8563 | impl ::core::cmp::PartialEq for IEnroll { | |
8564 | fn eq(&self, other: &Self) -> bool { | |
8565 | self.0 == other.0 | |
8566 | } | |
8567 | } | |
8568 | impl ::core::cmp::Eq for IEnroll {} | |
8569 | impl ::core::fmt::Debug for IEnroll { | |
8570 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8571 | f.debug_tuple("IEnroll").field(&self.0).finish() | |
8572 | } | |
8573 | } | |
8574 | unsafe impl ::windows::core::Interface for IEnroll { | |
8575 | type Vtable = IEnroll_Vtbl; | |
8576 | } | |
8577 | impl ::core::clone::Clone for IEnroll { | |
8578 | fn clone(&self) -> Self { | |
8579 | Self(self.0.clone()) | |
8580 | } | |
8581 | } | |
8582 | unsafe impl ::windows::core::ComInterface for IEnroll { | |
8583 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xacaa7838_4585_11d1_ab57_00c04fc295e1); | |
8584 | } | |
8585 | #[repr(C)] | |
8586 | #[doc(hidden)] | |
8587 | pub struct IEnroll_Vtbl { | |
8588 | pub base__: ::windows::core::IUnknown_Vtbl, | |
8589 | pub createFilePKCS10WStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dnname: ::windows::core::PCWSTR, usage: ::windows::core::PCWSTR, wszpkcs10filename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8590 | pub acceptFilePKCS7WStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wszpkcs7filename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8591 | pub createPKCS10WStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dnname: ::windows::core::PCWSTR, usage: ::windows::core::PCWSTR, ppkcs10blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
8592 | pub acceptPKCS7Blob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
8593 | #[cfg(feature = "Win32_Foundation")] | |
8594 | pub getCertContextFromPKCS7: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> *mut super::CERT_CONTEXT, | |
8595 | #[cfg(not(feature = "Win32_Foundation"))] | |
8596 | getCertContextFromPKCS7: usize, | |
8597 | pub getMyStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::HCERTSTORE, | |
8598 | pub getCAStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::HCERTSTORE, | |
8599 | pub getROOTHStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::HCERTSTORE, | |
8600 | pub enumProvidersWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, dwflags: i32, pbstrprovname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8601 | pub enumContainersWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, pbstr: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8602 | pub freeRequestInfoBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7orpkcs10: super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
8603 | pub MyStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8604 | pub SetMyStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8605 | pub MyStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8606 | pub SetMyStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8607 | pub MyStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8608 | pub SetMyStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8609 | pub CAStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8610 | pub SetCAStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8611 | pub CAStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8612 | pub SetCAStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8613 | pub CAStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8614 | pub SetCAStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8615 | pub RootStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8616 | pub SetRootStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8617 | pub RootStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8618 | pub SetRootStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8619 | pub RootStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8620 | pub SetRootStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8621 | pub RequestStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8622 | pub SetRequestStoreNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8623 | pub RequestStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8624 | pub SetRequestStoreTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwtype: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8625 | pub RequestStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8626 | pub SetRequestStoreFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8627 | pub ContainerNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwcontainer: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8628 | pub SetContainerNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwcontainer: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8629 | pub ProviderNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwprovider: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8630 | pub SetProviderNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szwprovider: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8631 | pub ProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwtype: *mut i32) -> ::windows::core::HRESULT, | |
8632 | pub SetProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwtype: i32) -> ::windows::core::HRESULT, | |
8633 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdw: *mut i32) -> ::windows::core::HRESULT, | |
8634 | pub SetKeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dw: i32) -> ::windows::core::HRESULT, | |
8635 | pub ProviderFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8636 | pub SetProviderFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8637 | #[cfg(feature = "Win32_Foundation")] | |
8638 | pub UseExistingKeySet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fuseexistingkeys: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8639 | #[cfg(not(feature = "Win32_Foundation"))] | |
8640 | UseExistingKeySet: usize, | |
8641 | #[cfg(feature = "Win32_Foundation")] | |
8642 | pub SetUseExistingKeySet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fuseexistingkeys: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8643 | #[cfg(not(feature = "Win32_Foundation"))] | |
8644 | SetUseExistingKeySet: usize, | |
8645 | pub GenKeyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
8646 | pub SetGenKeyFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32) -> ::windows::core::HRESULT, | |
8647 | #[cfg(feature = "Win32_Foundation")] | |
8648 | pub DeleteRequestCert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdelete: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8649 | #[cfg(not(feature = "Win32_Foundation"))] | |
8650 | DeleteRequestCert: usize, | |
8651 | #[cfg(feature = "Win32_Foundation")] | |
8652 | pub SetDeleteRequestCert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdelete: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8653 | #[cfg(not(feature = "Win32_Foundation"))] | |
8654 | SetDeleteRequestCert: usize, | |
8655 | #[cfg(feature = "Win32_Foundation")] | |
8656 | pub WriteCertToUserDS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8657 | #[cfg(not(feature = "Win32_Foundation"))] | |
8658 | WriteCertToUserDS: usize, | |
8659 | #[cfg(feature = "Win32_Foundation")] | |
8660 | pub SetWriteCertToUserDS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8661 | #[cfg(not(feature = "Win32_Foundation"))] | |
8662 | SetWriteCertToUserDS: usize, | |
8663 | #[cfg(feature = "Win32_Foundation")] | |
8664 | pub EnableT61DNEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8665 | #[cfg(not(feature = "Win32_Foundation"))] | |
8666 | EnableT61DNEncoding: usize, | |
8667 | #[cfg(feature = "Win32_Foundation")] | |
8668 | pub SetEnableT61DNEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8669 | #[cfg(not(feature = "Win32_Foundation"))] | |
8670 | SetEnableT61DNEncoding: usize, | |
8671 | #[cfg(feature = "Win32_Foundation")] | |
8672 | pub WriteCertToCSP: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8673 | #[cfg(not(feature = "Win32_Foundation"))] | |
8674 | WriteCertToCSP: usize, | |
8675 | #[cfg(feature = "Win32_Foundation")] | |
8676 | pub SetWriteCertToCSP: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fbool: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
8677 | #[cfg(not(feature = "Win32_Foundation"))] | |
8678 | SetWriteCertToCSP: usize, | |
8679 | pub SPCFileNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8680 | pub SetSPCFileNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8681 | pub PVKFileNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8682 | pub SetPVKFileNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8683 | pub HashAlgorithmWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
8684 | pub SetHashAlgorithmWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8685 | #[cfg(feature = "Win32_Foundation")] | |
8686 | pub RenewalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
8687 | #[cfg(not(feature = "Win32_Foundation"))] | |
8688 | RenewalCertificate: usize, | |
8689 | #[cfg(feature = "Win32_Foundation")] | |
8690 | pub SetRenewalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcertcontext: *const super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
8691 | #[cfg(not(feature = "Win32_Foundation"))] | |
8692 | SetRenewalCertificate: usize, | |
8693 | pub AddCertTypeToRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, szw: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8694 | pub AddNameValuePairToSignatureWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCWSTR, value: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
8695 | #[cfg(feature = "Win32_Foundation")] | |
8696 | pub AddExtensionsToRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcertextensions: *mut super::CERT_EXTENSIONS) -> ::windows::core::HRESULT, | |
8697 | #[cfg(not(feature = "Win32_Foundation"))] | |
8698 | AddExtensionsToRequest: usize, | |
8699 | pub AddAuthenticatedAttributesToPKCS7Request: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattributes: *mut super::CRYPT_ATTRIBUTES) -> ::windows::core::HRESULT, | |
8700 | #[cfg(feature = "Win32_Foundation")] | |
8701 | pub CreatePKCS7RequestFromRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prequest: *mut super::CRYPT_INTEGER_BLOB, psigningcertcontext: *const super::CERT_CONTEXT, ppkcs7blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
8702 | #[cfg(not(feature = "Win32_Foundation"))] | |
8703 | CreatePKCS7RequestFromRequest: usize, | |
8704 | } | |
8705 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
8706 | #[repr(transparent)] | |
8707 | pub struct IEnroll2(::windows::core::IUnknown); | |
8708 | impl IEnroll2 { | |
8709 | pub unsafe fn createFilePKCS10WStr<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
8710 | where | |
8711 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8712 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8713 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8714 | { | |
8715 | (::windows::core::Interface::vtable(self).base__.createFilePKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
8716 | } | |
8717 | pub unsafe fn acceptFilePKCS7WStr<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
8718 | where | |
8719 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8720 | { | |
8721 | (::windows::core::Interface::vtable(self).base__.acceptFilePKCS7WStr)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
8722 | } | |
8723 | pub unsafe fn createPKCS10WStr<P0, P1>(&self, dnname: P0, usage: P1, ppkcs10blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
8724 | where | |
8725 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8726 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8727 | { | |
8728 | (::windows::core::Interface::vtable(self).base__.createPKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), ppkcs10blob).ok() | |
8729 | } | |
8730 | pub unsafe fn acceptPKCS7Blob(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
8731 | (::windows::core::Interface::vtable(self).base__.acceptPKCS7Blob)(::windows::core::Interface::as_raw(self), pblobpkcs7).ok() | |
8732 | } | |
8733 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8734 | #[cfg(feature = "Win32_Foundation")] | |
8735 | pub unsafe fn getCertContextFromPKCS7(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> *mut super::CERT_CONTEXT { | |
8736 | (::windows::core::Interface::vtable(self).base__.getCertContextFromPKCS7)(::windows::core::Interface::as_raw(self), pblobpkcs7) | |
8737 | } | |
8738 | pub unsafe fn getMyStore(&self) -> super::HCERTSTORE { | |
8739 | (::windows::core::Interface::vtable(self).base__.getMyStore)(::windows::core::Interface::as_raw(self)) | |
8740 | } | |
8741 | pub unsafe fn getCAStore(&self) -> super::HCERTSTORE { | |
8742 | (::windows::core::Interface::vtable(self).base__.getCAStore)(::windows::core::Interface::as_raw(self)) | |
8743 | } | |
8744 | pub unsafe fn getROOTHStore(&self) -> super::HCERTSTORE { | |
8745 | (::windows::core::Interface::vtable(self).base__.getROOTHStore)(::windows::core::Interface::as_raw(self)) | |
8746 | } | |
8747 | pub unsafe fn enumProvidersWStr(&self, dwindex: i32, dwflags: i32, pbstrprovname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8748 | (::windows::core::Interface::vtable(self).base__.enumProvidersWStr)(::windows::core::Interface::as_raw(self), dwindex, dwflags, pbstrprovname).ok() | |
8749 | } | |
8750 | pub unsafe fn enumContainersWStr(&self, dwindex: i32, pbstr: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8751 | (::windows::core::Interface::vtable(self).base__.enumContainersWStr)(::windows::core::Interface::as_raw(self), dwindex, pbstr).ok() | |
8752 | } | |
8753 | pub unsafe fn freeRequestInfoBlob(&self, pkcs7orpkcs10: super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
8754 | (::windows::core::Interface::vtable(self).base__.freeRequestInfoBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkcs7orpkcs10)).ok() | |
8755 | } | |
8756 | pub unsafe fn MyStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8757 | (::windows::core::Interface::vtable(self).base__.MyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8758 | } | |
8759 | pub unsafe fn SetMyStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8760 | where | |
8761 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8762 | { | |
8763 | (::windows::core::Interface::vtable(self).base__.SetMyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8764 | } | |
8765 | pub unsafe fn MyStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8766 | (::windows::core::Interface::vtable(self).base__.MyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8767 | } | |
8768 | pub unsafe fn SetMyStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8769 | where | |
8770 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8771 | { | |
8772 | (::windows::core::Interface::vtable(self).base__.SetMyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8773 | } | |
8774 | pub unsafe fn MyStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8775 | (::windows::core::Interface::vtable(self).base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8776 | } | |
8777 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8778 | (::windows::core::Interface::vtable(self).base__.SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8779 | } | |
8780 | pub unsafe fn CAStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8781 | (::windows::core::Interface::vtable(self).base__.CAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8782 | } | |
8783 | pub unsafe fn SetCAStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8784 | where | |
8785 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8786 | { | |
8787 | (::windows::core::Interface::vtable(self).base__.SetCAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8788 | } | |
8789 | pub unsafe fn CAStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8790 | (::windows::core::Interface::vtable(self).base__.CAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8791 | } | |
8792 | pub unsafe fn SetCAStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8793 | where | |
8794 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8795 | { | |
8796 | (::windows::core::Interface::vtable(self).base__.SetCAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8797 | } | |
8798 | pub unsafe fn CAStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8799 | (::windows::core::Interface::vtable(self).base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8800 | } | |
8801 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8802 | (::windows::core::Interface::vtable(self).base__.SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8803 | } | |
8804 | pub unsafe fn RootStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8805 | (::windows::core::Interface::vtable(self).base__.RootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8806 | } | |
8807 | pub unsafe fn SetRootStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8808 | where | |
8809 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8810 | { | |
8811 | (::windows::core::Interface::vtable(self).base__.SetRootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8812 | } | |
8813 | pub unsafe fn RootStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8814 | (::windows::core::Interface::vtable(self).base__.RootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8815 | } | |
8816 | pub unsafe fn SetRootStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8817 | where | |
8818 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8819 | { | |
8820 | (::windows::core::Interface::vtable(self).base__.SetRootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8821 | } | |
8822 | pub unsafe fn RootStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8823 | (::windows::core::Interface::vtable(self).base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8824 | } | |
8825 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8826 | (::windows::core::Interface::vtable(self).base__.SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8827 | } | |
8828 | pub unsafe fn RequestStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8829 | (::windows::core::Interface::vtable(self).base__.RequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
8830 | } | |
8831 | pub unsafe fn SetRequestStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
8832 | where | |
8833 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8834 | { | |
8835 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
8836 | } | |
8837 | pub unsafe fn RequestStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8838 | (::windows::core::Interface::vtable(self).base__.RequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
8839 | } | |
8840 | pub unsafe fn SetRequestStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
8841 | where | |
8842 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8843 | { | |
8844 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
8845 | } | |
8846 | pub unsafe fn RequestStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8847 | (::windows::core::Interface::vtable(self).base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8848 | } | |
8849 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8850 | (::windows::core::Interface::vtable(self).base__.SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8851 | } | |
8852 | pub unsafe fn ContainerNameWStr(&self, szwcontainer: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8853 | (::windows::core::Interface::vtable(self).base__.ContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer).ok() | |
8854 | } | |
8855 | pub unsafe fn SetContainerNameWStr<P0>(&self, szwcontainer: P0) -> ::windows::core::Result<()> | |
8856 | where | |
8857 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8858 | { | |
8859 | (::windows::core::Interface::vtable(self).base__.SetContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer.into_param().abi()).ok() | |
8860 | } | |
8861 | pub unsafe fn ProviderNameWStr(&self, szwprovider: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8862 | (::windows::core::Interface::vtable(self).base__.ProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider).ok() | |
8863 | } | |
8864 | pub unsafe fn SetProviderNameWStr<P0>(&self, szwprovider: P0) -> ::windows::core::Result<()> | |
8865 | where | |
8866 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8867 | { | |
8868 | (::windows::core::Interface::vtable(self).base__.SetProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider.into_param().abi()).ok() | |
8869 | } | |
8870 | pub unsafe fn ProviderType(&self, pdwtype: *mut i32) -> ::windows::core::Result<()> { | |
8871 | (::windows::core::Interface::vtable(self).base__.ProviderType)(::windows::core::Interface::as_raw(self), pdwtype).ok() | |
8872 | } | |
8873 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
8874 | (::windows::core::Interface::vtable(self).base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
8875 | } | |
8876 | pub unsafe fn KeySpec(&self, pdw: *mut i32) -> ::windows::core::Result<()> { | |
8877 | (::windows::core::Interface::vtable(self).base__.KeySpec)(::windows::core::Interface::as_raw(self), pdw).ok() | |
8878 | } | |
8879 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
8880 | (::windows::core::Interface::vtable(self).base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
8881 | } | |
8882 | pub unsafe fn ProviderFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8883 | (::windows::core::Interface::vtable(self).base__.ProviderFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8884 | } | |
8885 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8886 | (::windows::core::Interface::vtable(self).base__.SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8887 | } | |
8888 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8889 | #[cfg(feature = "Win32_Foundation")] | |
8890 | pub unsafe fn UseExistingKeySet(&self, fuseexistingkeys: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8891 | (::windows::core::Interface::vtable(self).base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys).ok() | |
8892 | } | |
8893 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8894 | #[cfg(feature = "Win32_Foundation")] | |
8895 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
8896 | where | |
8897 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8898 | { | |
8899 | (::windows::core::Interface::vtable(self).base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
8900 | } | |
8901 | pub unsafe fn GenKeyFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
8902 | (::windows::core::Interface::vtable(self).base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
8903 | } | |
8904 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
8905 | (::windows::core::Interface::vtable(self).base__.SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
8906 | } | |
8907 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8908 | #[cfg(feature = "Win32_Foundation")] | |
8909 | pub unsafe fn DeleteRequestCert(&self, fdelete: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8910 | (::windows::core::Interface::vtable(self).base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete).ok() | |
8911 | } | |
8912 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8913 | #[cfg(feature = "Win32_Foundation")] | |
8914 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
8915 | where | |
8916 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8917 | { | |
8918 | (::windows::core::Interface::vtable(self).base__.SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
8919 | } | |
8920 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8921 | #[cfg(feature = "Win32_Foundation")] | |
8922 | pub unsafe fn WriteCertToUserDS(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8923 | (::windows::core::Interface::vtable(self).base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8924 | } | |
8925 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8926 | #[cfg(feature = "Win32_Foundation")] | |
8927 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8928 | where | |
8929 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8930 | { | |
8931 | (::windows::core::Interface::vtable(self).base__.SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8932 | } | |
8933 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8934 | #[cfg(feature = "Win32_Foundation")] | |
8935 | pub unsafe fn EnableT61DNEncoding(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8936 | (::windows::core::Interface::vtable(self).base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8937 | } | |
8938 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8939 | #[cfg(feature = "Win32_Foundation")] | |
8940 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8941 | where | |
8942 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8943 | { | |
8944 | (::windows::core::Interface::vtable(self).base__.SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8945 | } | |
8946 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8947 | #[cfg(feature = "Win32_Foundation")] | |
8948 | pub unsafe fn WriteCertToCSP(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
8949 | (::windows::core::Interface::vtable(self).base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool).ok() | |
8950 | } | |
8951 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8952 | #[cfg(feature = "Win32_Foundation")] | |
8953 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
8954 | where | |
8955 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
8956 | { | |
8957 | (::windows::core::Interface::vtable(self).base__.SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
8958 | } | |
8959 | pub unsafe fn SPCFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8960 | (::windows::core::Interface::vtable(self).base__.SPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8961 | } | |
8962 | pub unsafe fn SetSPCFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8963 | where | |
8964 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8965 | { | |
8966 | (::windows::core::Interface::vtable(self).base__.SetSPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8967 | } | |
8968 | pub unsafe fn PVKFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8969 | (::windows::core::Interface::vtable(self).base__.PVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8970 | } | |
8971 | pub unsafe fn SetPVKFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8972 | where | |
8973 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8974 | { | |
8975 | (::windows::core::Interface::vtable(self).base__.SetPVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8976 | } | |
8977 | pub unsafe fn HashAlgorithmWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
8978 | (::windows::core::Interface::vtable(self).base__.HashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
8979 | } | |
8980 | pub unsafe fn SetHashAlgorithmWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8981 | where | |
8982 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8983 | { | |
8984 | (::windows::core::Interface::vtable(self).base__.SetHashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
8985 | } | |
8986 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8987 | #[cfg(feature = "Win32_Foundation")] | |
8988 | pub unsafe fn RenewalCertificate(&self, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
8989 | (::windows::core::Interface::vtable(self).base__.RenewalCertificate)(::windows::core::Interface::as_raw(self), ppcertcontext).ok() | |
8990 | } | |
8991 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8992 | #[cfg(feature = "Win32_Foundation")] | |
8993 | pub unsafe fn SetRenewalCertificate(&self, pcertcontext: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
8994 | (::windows::core::Interface::vtable(self).base__.SetRenewalCertificate)(::windows::core::Interface::as_raw(self), pcertcontext).ok() | |
8995 | } | |
8996 | pub unsafe fn AddCertTypeToRequestWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
8997 | where | |
8998 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
8999 | { | |
9000 | (::windows::core::Interface::vtable(self).base__.AddCertTypeToRequestWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
9001 | } | |
9002 | pub unsafe fn AddNameValuePairToSignatureWStr<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
9003 | where | |
9004 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9005 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9006 | { | |
9007 | (::windows::core::Interface::vtable(self).base__.AddNameValuePairToSignatureWStr)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
9008 | } | |
9009 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9010 | #[cfg(feature = "Win32_Foundation")] | |
9011 | pub unsafe fn AddExtensionsToRequest(&self, pcertextensions: *mut super::CERT_EXTENSIONS) -> ::windows::core::Result<()> { | |
9012 | (::windows::core::Interface::vtable(self).base__.AddExtensionsToRequest)(::windows::core::Interface::as_raw(self), pcertextensions).ok() | |
9013 | } | |
9014 | pub unsafe fn AddAuthenticatedAttributesToPKCS7Request(&self, pattributes: *mut super::CRYPT_ATTRIBUTES) -> ::windows::core::Result<()> { | |
9015 | (::windows::core::Interface::vtable(self).base__.AddAuthenticatedAttributesToPKCS7Request)(::windows::core::Interface::as_raw(self), pattributes).ok() | |
9016 | } | |
9017 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9018 | #[cfg(feature = "Win32_Foundation")] | |
9019 | pub unsafe fn CreatePKCS7RequestFromRequest(&self, prequest: *mut super::CRYPT_INTEGER_BLOB, psigningcertcontext: *const super::CERT_CONTEXT, ppkcs7blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9020 | (::windows::core::Interface::vtable(self).base__.CreatePKCS7RequestFromRequest)(::windows::core::Interface::as_raw(self), prequest, psigningcertcontext, ppkcs7blob).ok() | |
9021 | } | |
9022 | pub unsafe fn InstallPKCS7Blob(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9023 | (::windows::core::Interface::vtable(self).InstallPKCS7Blob)(::windows::core::Interface::as_raw(self), pblobpkcs7).ok() | |
9024 | } | |
9025 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
9026 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
9027 | } | |
9028 | pub unsafe fn GetSupportedKeySpec(&self, pdwkeyspec: *mut i32) -> ::windows::core::Result<()> { | |
9029 | (::windows::core::Interface::vtable(self).GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), pdwkeyspec).ok() | |
9030 | } | |
9031 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9032 | #[cfg(feature = "Win32_Foundation")] | |
9033 | pub unsafe fn GetKeyLen<P0, P1>(&self, fmin: P0, fexchange: P1, pdwkeysize: *mut i32) -> ::windows::core::Result<()> | |
9034 | where | |
9035 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9036 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9037 | { | |
9038 | (::windows::core::Interface::vtable(self).GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into_param().abi(), fexchange.into_param().abi(), pdwkeysize).ok() | |
9039 | } | |
9040 | pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32, pdwalgid: *mut i32) -> ::windows::core::Result<()> { | |
9041 | (::windows::core::Interface::vtable(self).EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, pdwalgid).ok() | |
9042 | } | |
9043 | pub unsafe fn GetAlgNameWStr(&self, algid: i32, ppwsz: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9044 | (::windows::core::Interface::vtable(self).GetAlgNameWStr)(::windows::core::Interface::as_raw(self), algid, ppwsz).ok() | |
9045 | } | |
9046 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9047 | #[cfg(feature = "Win32_Foundation")] | |
9048 | pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew<P0>(&self, freusehardwarekeyifunabletogennew: P0) -> ::windows::core::Result<()> | |
9049 | where | |
9050 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9051 | { | |
9052 | (::windows::core::Interface::vtable(self).SetReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew.into_param().abi()).ok() | |
9053 | } | |
9054 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9055 | #[cfg(feature = "Win32_Foundation")] | |
9056 | pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self, freusehardwarekeyifunabletogennew: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9057 | (::windows::core::Interface::vtable(self).ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew).ok() | |
9058 | } | |
9059 | pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { | |
9060 | (::windows::core::Interface::vtable(self).SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
9061 | } | |
9062 | pub unsafe fn HashAlgID(&self, hashalgid: *mut i32) -> ::windows::core::Result<()> { | |
9063 | (::windows::core::Interface::vtable(self).HashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
9064 | } | |
9065 | pub unsafe fn SetHStoreMy<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9066 | where | |
9067 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9068 | { | |
9069 | (::windows::core::Interface::vtable(self).SetHStoreMy)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9070 | } | |
9071 | pub unsafe fn SetHStoreCA<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9072 | where | |
9073 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9074 | { | |
9075 | (::windows::core::Interface::vtable(self).SetHStoreCA)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9076 | } | |
9077 | pub unsafe fn SetHStoreROOT<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9078 | where | |
9079 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9080 | { | |
9081 | (::windows::core::Interface::vtable(self).SetHStoreROOT)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9082 | } | |
9083 | pub unsafe fn SetHStoreRequest<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9084 | where | |
9085 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9086 | { | |
9087 | (::windows::core::Interface::vtable(self).SetHStoreRequest)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9088 | } | |
9089 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9090 | #[cfg(feature = "Win32_Foundation")] | |
9091 | pub unsafe fn SetLimitExchangeKeyToEncipherment<P0>(&self, flimitexchangekeytoencipherment: P0) -> ::windows::core::Result<()> | |
9092 | where | |
9093 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9094 | { | |
9095 | (::windows::core::Interface::vtable(self).SetLimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment.into_param().abi()).ok() | |
9096 | } | |
9097 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9098 | #[cfg(feature = "Win32_Foundation")] | |
9099 | pub unsafe fn LimitExchangeKeyToEncipherment(&self, flimitexchangekeytoencipherment: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9100 | (::windows::core::Interface::vtable(self).LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment).ok() | |
9101 | } | |
9102 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9103 | #[cfg(feature = "Win32_Foundation")] | |
9104 | pub unsafe fn SetEnableSMIMECapabilities<P0>(&self, fenablesmimecapabilities: P0) -> ::windows::core::Result<()> | |
9105 | where | |
9106 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9107 | { | |
9108 | (::windows::core::Interface::vtable(self).SetEnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities.into_param().abi()).ok() | |
9109 | } | |
9110 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9111 | #[cfg(feature = "Win32_Foundation")] | |
9112 | pub unsafe fn EnableSMIMECapabilities(&self, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9113 | (::windows::core::Interface::vtable(self).EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities).ok() | |
9114 | } | |
9115 | } | |
9116 | ::windows::imp::interface_hierarchy!(IEnroll2, ::windows::core::IUnknown, IEnroll); | |
9117 | impl ::core::cmp::PartialEq for IEnroll2 { | |
9118 | fn eq(&self, other: &Self) -> bool { | |
9119 | self.0 == other.0 | |
9120 | } | |
9121 | } | |
9122 | impl ::core::cmp::Eq for IEnroll2 {} | |
9123 | impl ::core::fmt::Debug for IEnroll2 { | |
9124 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9125 | f.debug_tuple("IEnroll2").field(&self.0).finish() | |
9126 | } | |
9127 | } | |
9128 | unsafe impl ::windows::core::Interface for IEnroll2 { | |
9129 | type Vtable = IEnroll2_Vtbl; | |
9130 | } | |
9131 | impl ::core::clone::Clone for IEnroll2 { | |
9132 | fn clone(&self) -> Self { | |
9133 | Self(self.0.clone()) | |
9134 | } | |
9135 | } | |
9136 | unsafe impl ::windows::core::ComInterface for IEnroll2 { | |
9137 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc080e199_b7df_11d2_a421_00c04f79fe8e); | |
9138 | } | |
9139 | #[repr(C)] | |
9140 | #[doc(hidden)] | |
9141 | pub struct IEnroll2_Vtbl { | |
9142 | pub base__: IEnroll_Vtbl, | |
9143 | pub InstallPKCS7Blob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9144 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9145 | pub GetSupportedKeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwkeyspec: *mut i32) -> ::windows::core::HRESULT, | |
9146 | #[cfg(feature = "Win32_Foundation")] | |
9147 | pub GetKeyLen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmin: super::super::super::Foundation::BOOL, fexchange: super::super::super::Foundation::BOOL, pdwkeysize: *mut i32) -> ::windows::core::HRESULT, | |
9148 | #[cfg(not(feature = "Win32_Foundation"))] | |
9149 | GetKeyLen: usize, | |
9150 | pub EnumAlgs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: i32, algclass: i32, pdwalgid: *mut i32) -> ::windows::core::HRESULT, | |
9151 | pub GetAlgNameWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, algid: i32, ppwsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
9152 | #[cfg(feature = "Win32_Foundation")] | |
9153 | pub SetReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, freusehardwarekeyifunabletogennew: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9154 | #[cfg(not(feature = "Win32_Foundation"))] | |
9155 | SetReuseHardwareKeyIfUnableToGenNew: usize, | |
9156 | #[cfg(feature = "Win32_Foundation")] | |
9157 | pub ReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, freusehardwarekeyifunabletogennew: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9158 | #[cfg(not(feature = "Win32_Foundation"))] | |
9159 | ReuseHardwareKeyIfUnableToGenNew: usize, | |
9160 | pub SetHashAlgID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hashalgid: i32) -> ::windows::core::HRESULT, | |
9161 | pub HashAlgID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hashalgid: *mut i32) -> ::windows::core::HRESULT, | |
9162 | pub SetHStoreMy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hstore: super::HCERTSTORE) -> ::windows::core::HRESULT, | |
9163 | pub SetHStoreCA: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hstore: super::HCERTSTORE) -> ::windows::core::HRESULT, | |
9164 | pub SetHStoreROOT: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hstore: super::HCERTSTORE) -> ::windows::core::HRESULT, | |
9165 | pub SetHStoreRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hstore: super::HCERTSTORE) -> ::windows::core::HRESULT, | |
9166 | #[cfg(feature = "Win32_Foundation")] | |
9167 | pub SetLimitExchangeKeyToEncipherment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flimitexchangekeytoencipherment: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9168 | #[cfg(not(feature = "Win32_Foundation"))] | |
9169 | SetLimitExchangeKeyToEncipherment: usize, | |
9170 | #[cfg(feature = "Win32_Foundation")] | |
9171 | pub LimitExchangeKeyToEncipherment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flimitexchangekeytoencipherment: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9172 | #[cfg(not(feature = "Win32_Foundation"))] | |
9173 | LimitExchangeKeyToEncipherment: usize, | |
9174 | #[cfg(feature = "Win32_Foundation")] | |
9175 | pub SetEnableSMIMECapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenablesmimecapabilities: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9176 | #[cfg(not(feature = "Win32_Foundation"))] | |
9177 | SetEnableSMIMECapabilities: usize, | |
9178 | #[cfg(feature = "Win32_Foundation")] | |
9179 | pub EnableSMIMECapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9180 | #[cfg(not(feature = "Win32_Foundation"))] | |
9181 | EnableSMIMECapabilities: usize, | |
9182 | } | |
9183 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
9184 | #[repr(transparent)] | |
9185 | pub struct IEnroll4(::windows::core::IUnknown); | |
9186 | impl IEnroll4 { | |
9187 | pub unsafe fn createFilePKCS10WStr<P0, P1, P2>(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows::core::Result<()> | |
9188 | where | |
9189 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9190 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9191 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9192 | { | |
9193 | (::windows::core::Interface::vtable(self).base__.base__.createFilePKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), wszpkcs10filename.into_param().abi()).ok() | |
9194 | } | |
9195 | pub unsafe fn acceptFilePKCS7WStr<P0>(&self, wszpkcs7filename: P0) -> ::windows::core::Result<()> | |
9196 | where | |
9197 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9198 | { | |
9199 | (::windows::core::Interface::vtable(self).base__.base__.acceptFilePKCS7WStr)(::windows::core::Interface::as_raw(self), wszpkcs7filename.into_param().abi()).ok() | |
9200 | } | |
9201 | pub unsafe fn createPKCS10WStr<P0, P1>(&self, dnname: P0, usage: P1, ppkcs10blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
9202 | where | |
9203 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9204 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9205 | { | |
9206 | (::windows::core::Interface::vtable(self).base__.base__.createPKCS10WStr)(::windows::core::Interface::as_raw(self), dnname.into_param().abi(), usage.into_param().abi(), ppkcs10blob).ok() | |
9207 | } | |
9208 | pub unsafe fn acceptPKCS7Blob(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9209 | (::windows::core::Interface::vtable(self).base__.base__.acceptPKCS7Blob)(::windows::core::Interface::as_raw(self), pblobpkcs7).ok() | |
9210 | } | |
9211 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9212 | #[cfg(feature = "Win32_Foundation")] | |
9213 | pub unsafe fn getCertContextFromPKCS7(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> *mut super::CERT_CONTEXT { | |
9214 | (::windows::core::Interface::vtable(self).base__.base__.getCertContextFromPKCS7)(::windows::core::Interface::as_raw(self), pblobpkcs7) | |
9215 | } | |
9216 | pub unsafe fn getMyStore(&self) -> super::HCERTSTORE { | |
9217 | (::windows::core::Interface::vtable(self).base__.base__.getMyStore)(::windows::core::Interface::as_raw(self)) | |
9218 | } | |
9219 | pub unsafe fn getCAStore(&self) -> super::HCERTSTORE { | |
9220 | (::windows::core::Interface::vtable(self).base__.base__.getCAStore)(::windows::core::Interface::as_raw(self)) | |
9221 | } | |
9222 | pub unsafe fn getROOTHStore(&self) -> super::HCERTSTORE { | |
9223 | (::windows::core::Interface::vtable(self).base__.base__.getROOTHStore)(::windows::core::Interface::as_raw(self)) | |
9224 | } | |
9225 | pub unsafe fn enumProvidersWStr(&self, dwindex: i32, dwflags: i32, pbstrprovname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9226 | (::windows::core::Interface::vtable(self).base__.base__.enumProvidersWStr)(::windows::core::Interface::as_raw(self), dwindex, dwflags, pbstrprovname).ok() | |
9227 | } | |
9228 | pub unsafe fn enumContainersWStr(&self, dwindex: i32, pbstr: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9229 | (::windows::core::Interface::vtable(self).base__.base__.enumContainersWStr)(::windows::core::Interface::as_raw(self), dwindex, pbstr).ok() | |
9230 | } | |
9231 | pub unsafe fn freeRequestInfoBlob(&self, pkcs7orpkcs10: super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9232 | (::windows::core::Interface::vtable(self).base__.base__.freeRequestInfoBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkcs7orpkcs10)).ok() | |
9233 | } | |
9234 | pub unsafe fn MyStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9235 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
9236 | } | |
9237 | pub unsafe fn SetMyStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
9238 | where | |
9239 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9240 | { | |
9241 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
9242 | } | |
9243 | pub unsafe fn MyStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9244 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
9245 | } | |
9246 | pub unsafe fn SetMyStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
9247 | where | |
9248 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9249 | { | |
9250 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
9251 | } | |
9252 | pub unsafe fn MyStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9253 | (::windows::core::Interface::vtable(self).base__.base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9254 | } | |
9255 | pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9256 | (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9257 | } | |
9258 | pub unsafe fn CAStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9259 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
9260 | } | |
9261 | pub unsafe fn SetCAStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
9262 | where | |
9263 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9264 | { | |
9265 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
9266 | } | |
9267 | pub unsafe fn CAStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9268 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
9269 | } | |
9270 | pub unsafe fn SetCAStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
9271 | where | |
9272 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9273 | { | |
9274 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
9275 | } | |
9276 | pub unsafe fn CAStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9277 | (::windows::core::Interface::vtable(self).base__.base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9278 | } | |
9279 | pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9280 | (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9281 | } | |
9282 | pub unsafe fn RootStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9283 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
9284 | } | |
9285 | pub unsafe fn SetRootStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
9286 | where | |
9287 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9288 | { | |
9289 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
9290 | } | |
9291 | pub unsafe fn RootStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9292 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
9293 | } | |
9294 | pub unsafe fn SetRootStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
9295 | where | |
9296 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9297 | { | |
9298 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
9299 | } | |
9300 | pub unsafe fn RootStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9301 | (::windows::core::Interface::vtable(self).base__.base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9302 | } | |
9303 | pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9304 | (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9305 | } | |
9306 | pub unsafe fn RequestStoreNameWStr(&self, szwname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9307 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname).ok() | |
9308 | } | |
9309 | pub unsafe fn SetRequestStoreNameWStr<P0>(&self, szwname: P0) -> ::windows::core::Result<()> | |
9310 | where | |
9311 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9312 | { | |
9313 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreNameWStr)(::windows::core::Interface::as_raw(self), szwname.into_param().abi()).ok() | |
9314 | } | |
9315 | pub unsafe fn RequestStoreTypeWStr(&self, szwtype: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9316 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype).ok() | |
9317 | } | |
9318 | pub unsafe fn SetRequestStoreTypeWStr<P0>(&self, szwtype: P0) -> ::windows::core::Result<()> | |
9319 | where | |
9320 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9321 | { | |
9322 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreTypeWStr)(::windows::core::Interface::as_raw(self), szwtype.into_param().abi()).ok() | |
9323 | } | |
9324 | pub unsafe fn RequestStoreFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9325 | (::windows::core::Interface::vtable(self).base__.base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9326 | } | |
9327 | pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9328 | (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9329 | } | |
9330 | pub unsafe fn ContainerNameWStr(&self, szwcontainer: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9331 | (::windows::core::Interface::vtable(self).base__.base__.ContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer).ok() | |
9332 | } | |
9333 | pub unsafe fn SetContainerNameWStr<P0>(&self, szwcontainer: P0) -> ::windows::core::Result<()> | |
9334 | where | |
9335 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9336 | { | |
9337 | (::windows::core::Interface::vtable(self).base__.base__.SetContainerNameWStr)(::windows::core::Interface::as_raw(self), szwcontainer.into_param().abi()).ok() | |
9338 | } | |
9339 | pub unsafe fn ProviderNameWStr(&self, szwprovider: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9340 | (::windows::core::Interface::vtable(self).base__.base__.ProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider).ok() | |
9341 | } | |
9342 | pub unsafe fn SetProviderNameWStr<P0>(&self, szwprovider: P0) -> ::windows::core::Result<()> | |
9343 | where | |
9344 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9345 | { | |
9346 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderNameWStr)(::windows::core::Interface::as_raw(self), szwprovider.into_param().abi()).ok() | |
9347 | } | |
9348 | pub unsafe fn ProviderType(&self, pdwtype: *mut i32) -> ::windows::core::Result<()> { | |
9349 | (::windows::core::Interface::vtable(self).base__.base__.ProviderType)(::windows::core::Interface::as_raw(self), pdwtype).ok() | |
9350 | } | |
9351 | pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { | |
9352 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() | |
9353 | } | |
9354 | pub unsafe fn KeySpec(&self, pdw: *mut i32) -> ::windows::core::Result<()> { | |
9355 | (::windows::core::Interface::vtable(self).base__.base__.KeySpec)(::windows::core::Interface::as_raw(self), pdw).ok() | |
9356 | } | |
9357 | pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { | |
9358 | (::windows::core::Interface::vtable(self).base__.base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() | |
9359 | } | |
9360 | pub unsafe fn ProviderFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9361 | (::windows::core::Interface::vtable(self).base__.base__.ProviderFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9362 | } | |
9363 | pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9364 | (::windows::core::Interface::vtable(self).base__.base__.SetProviderFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9365 | } | |
9366 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9367 | #[cfg(feature = "Win32_Foundation")] | |
9368 | pub unsafe fn UseExistingKeySet(&self, fuseexistingkeys: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9369 | (::windows::core::Interface::vtable(self).base__.base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys).ok() | |
9370 | } | |
9371 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9372 | #[cfg(feature = "Win32_Foundation")] | |
9373 | pub unsafe fn SetUseExistingKeySet<P0>(&self, fuseexistingkeys: P0) -> ::windows::core::Result<()> | |
9374 | where | |
9375 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9376 | { | |
9377 | (::windows::core::Interface::vtable(self).base__.base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into_param().abi()).ok() | |
9378 | } | |
9379 | pub unsafe fn GenKeyFlags(&self, pdwflags: *mut i32) -> ::windows::core::Result<()> { | |
9380 | (::windows::core::Interface::vtable(self).base__.base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), pdwflags).ok() | |
9381 | } | |
9382 | pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { | |
9383 | (::windows::core::Interface::vtable(self).base__.base__.SetGenKeyFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() | |
9384 | } | |
9385 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9386 | #[cfg(feature = "Win32_Foundation")] | |
9387 | pub unsafe fn DeleteRequestCert(&self, fdelete: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9388 | (::windows::core::Interface::vtable(self).base__.base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete).ok() | |
9389 | } | |
9390 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9391 | #[cfg(feature = "Win32_Foundation")] | |
9392 | pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> ::windows::core::Result<()> | |
9393 | where | |
9394 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9395 | { | |
9396 | (::windows::core::Interface::vtable(self).base__.base__.SetDeleteRequestCert)(::windows::core::Interface::as_raw(self), fdelete.into_param().abi()).ok() | |
9397 | } | |
9398 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9399 | #[cfg(feature = "Win32_Foundation")] | |
9400 | pub unsafe fn WriteCertToUserDS(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9401 | (::windows::core::Interface::vtable(self).base__.base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool).ok() | |
9402 | } | |
9403 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9404 | #[cfg(feature = "Win32_Foundation")] | |
9405 | pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
9406 | where | |
9407 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9408 | { | |
9409 | (::windows::core::Interface::vtable(self).base__.base__.SetWriteCertToUserDS)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
9410 | } | |
9411 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9412 | #[cfg(feature = "Win32_Foundation")] | |
9413 | pub unsafe fn EnableT61DNEncoding(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9414 | (::windows::core::Interface::vtable(self).base__.base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool).ok() | |
9415 | } | |
9416 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9417 | #[cfg(feature = "Win32_Foundation")] | |
9418 | pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
9419 | where | |
9420 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9421 | { | |
9422 | (::windows::core::Interface::vtable(self).base__.base__.SetEnableT61DNEncoding)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
9423 | } | |
9424 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9425 | #[cfg(feature = "Win32_Foundation")] | |
9426 | pub unsafe fn WriteCertToCSP(&self, fbool: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9427 | (::windows::core::Interface::vtable(self).base__.base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool).ok() | |
9428 | } | |
9429 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9430 | #[cfg(feature = "Win32_Foundation")] | |
9431 | pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> ::windows::core::Result<()> | |
9432 | where | |
9433 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9434 | { | |
9435 | (::windows::core::Interface::vtable(self).base__.base__.SetWriteCertToCSP)(::windows::core::Interface::as_raw(self), fbool.into_param().abi()).ok() | |
9436 | } | |
9437 | pub unsafe fn SPCFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9438 | (::windows::core::Interface::vtable(self).base__.base__.SPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
9439 | } | |
9440 | pub unsafe fn SetSPCFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
9441 | where | |
9442 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9443 | { | |
9444 | (::windows::core::Interface::vtable(self).base__.base__.SetSPCFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
9445 | } | |
9446 | pub unsafe fn PVKFileNameWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9447 | (::windows::core::Interface::vtable(self).base__.base__.PVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
9448 | } | |
9449 | pub unsafe fn SetPVKFileNameWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
9450 | where | |
9451 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9452 | { | |
9453 | (::windows::core::Interface::vtable(self).base__.base__.SetPVKFileNameWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
9454 | } | |
9455 | pub unsafe fn HashAlgorithmWStr(&self, szw: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9456 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw).ok() | |
9457 | } | |
9458 | pub unsafe fn SetHashAlgorithmWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
9459 | where | |
9460 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9461 | { | |
9462 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithmWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
9463 | } | |
9464 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9465 | #[cfg(feature = "Win32_Foundation")] | |
9466 | pub unsafe fn RenewalCertificate(&self, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
9467 | (::windows::core::Interface::vtable(self).base__.base__.RenewalCertificate)(::windows::core::Interface::as_raw(self), ppcertcontext).ok() | |
9468 | } | |
9469 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9470 | #[cfg(feature = "Win32_Foundation")] | |
9471 | pub unsafe fn SetRenewalCertificate(&self, pcertcontext: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
9472 | (::windows::core::Interface::vtable(self).base__.base__.SetRenewalCertificate)(::windows::core::Interface::as_raw(self), pcertcontext).ok() | |
9473 | } | |
9474 | pub unsafe fn AddCertTypeToRequestWStr<P0>(&self, szw: P0) -> ::windows::core::Result<()> | |
9475 | where | |
9476 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9477 | { | |
9478 | (::windows::core::Interface::vtable(self).base__.base__.AddCertTypeToRequestWStr)(::windows::core::Interface::as_raw(self), szw.into_param().abi()).ok() | |
9479 | } | |
9480 | pub unsafe fn AddNameValuePairToSignatureWStr<P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> | |
9481 | where | |
9482 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9483 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9484 | { | |
9485 | (::windows::core::Interface::vtable(self).base__.base__.AddNameValuePairToSignatureWStr)(::windows::core::Interface::as_raw(self), name.into_param().abi(), value.into_param().abi()).ok() | |
9486 | } | |
9487 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9488 | #[cfg(feature = "Win32_Foundation")] | |
9489 | pub unsafe fn AddExtensionsToRequest(&self, pcertextensions: *mut super::CERT_EXTENSIONS) -> ::windows::core::Result<()> { | |
9490 | (::windows::core::Interface::vtable(self).base__.base__.AddExtensionsToRequest)(::windows::core::Interface::as_raw(self), pcertextensions).ok() | |
9491 | } | |
9492 | pub unsafe fn AddAuthenticatedAttributesToPKCS7Request(&self, pattributes: *mut super::CRYPT_ATTRIBUTES) -> ::windows::core::Result<()> { | |
9493 | (::windows::core::Interface::vtable(self).base__.base__.AddAuthenticatedAttributesToPKCS7Request)(::windows::core::Interface::as_raw(self), pattributes).ok() | |
9494 | } | |
9495 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9496 | #[cfg(feature = "Win32_Foundation")] | |
9497 | pub unsafe fn CreatePKCS7RequestFromRequest(&self, prequest: *mut super::CRYPT_INTEGER_BLOB, psigningcertcontext: *const super::CERT_CONTEXT, ppkcs7blob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9498 | (::windows::core::Interface::vtable(self).base__.base__.CreatePKCS7RequestFromRequest)(::windows::core::Interface::as_raw(self), prequest, psigningcertcontext, ppkcs7blob).ok() | |
9499 | } | |
9500 | pub unsafe fn InstallPKCS7Blob(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9501 | (::windows::core::Interface::vtable(self).base__.InstallPKCS7Blob)(::windows::core::Interface::as_raw(self), pblobpkcs7).ok() | |
9502 | } | |
9503 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
9504 | (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self)).ok() | |
9505 | } | |
9506 | pub unsafe fn GetSupportedKeySpec(&self, pdwkeyspec: *mut i32) -> ::windows::core::Result<()> { | |
9507 | (::windows::core::Interface::vtable(self).base__.GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), pdwkeyspec).ok() | |
9508 | } | |
9509 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9510 | #[cfg(feature = "Win32_Foundation")] | |
9511 | pub unsafe fn GetKeyLen<P0, P1>(&self, fmin: P0, fexchange: P1, pdwkeysize: *mut i32) -> ::windows::core::Result<()> | |
9512 | where | |
9513 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9514 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9515 | { | |
9516 | (::windows::core::Interface::vtable(self).base__.GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into_param().abi(), fexchange.into_param().abi(), pdwkeysize).ok() | |
9517 | } | |
9518 | pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32, pdwalgid: *mut i32) -> ::windows::core::Result<()> { | |
9519 | (::windows::core::Interface::vtable(self).base__.EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, pdwalgid).ok() | |
9520 | } | |
9521 | pub unsafe fn GetAlgNameWStr(&self, algid: i32, ppwsz: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9522 | (::windows::core::Interface::vtable(self).base__.GetAlgNameWStr)(::windows::core::Interface::as_raw(self), algid, ppwsz).ok() | |
9523 | } | |
9524 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9525 | #[cfg(feature = "Win32_Foundation")] | |
9526 | pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew<P0>(&self, freusehardwarekeyifunabletogennew: P0) -> ::windows::core::Result<()> | |
9527 | where | |
9528 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9529 | { | |
9530 | (::windows::core::Interface::vtable(self).base__.SetReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew.into_param().abi()).ok() | |
9531 | } | |
9532 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9533 | #[cfg(feature = "Win32_Foundation")] | |
9534 | pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self, freusehardwarekeyifunabletogennew: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9535 | (::windows::core::Interface::vtable(self).base__.ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), freusehardwarekeyifunabletogennew).ok() | |
9536 | } | |
9537 | pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { | |
9538 | (::windows::core::Interface::vtable(self).base__.SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
9539 | } | |
9540 | pub unsafe fn HashAlgID(&self, hashalgid: *mut i32) -> ::windows::core::Result<()> { | |
9541 | (::windows::core::Interface::vtable(self).base__.HashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() | |
9542 | } | |
9543 | pub unsafe fn SetHStoreMy<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9544 | where | |
9545 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9546 | { | |
9547 | (::windows::core::Interface::vtable(self).base__.SetHStoreMy)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9548 | } | |
9549 | pub unsafe fn SetHStoreCA<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9550 | where | |
9551 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9552 | { | |
9553 | (::windows::core::Interface::vtable(self).base__.SetHStoreCA)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9554 | } | |
9555 | pub unsafe fn SetHStoreROOT<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9556 | where | |
9557 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9558 | { | |
9559 | (::windows::core::Interface::vtable(self).base__.SetHStoreROOT)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9560 | } | |
9561 | pub unsafe fn SetHStoreRequest<P0>(&self, hstore: P0) -> ::windows::core::Result<()> | |
9562 | where | |
9563 | P0: ::windows::core::IntoParam<super::HCERTSTORE>, | |
9564 | { | |
9565 | (::windows::core::Interface::vtable(self).base__.SetHStoreRequest)(::windows::core::Interface::as_raw(self), hstore.into_param().abi()).ok() | |
9566 | } | |
9567 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9568 | #[cfg(feature = "Win32_Foundation")] | |
9569 | pub unsafe fn SetLimitExchangeKeyToEncipherment<P0>(&self, flimitexchangekeytoencipherment: P0) -> ::windows::core::Result<()> | |
9570 | where | |
9571 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9572 | { | |
9573 | (::windows::core::Interface::vtable(self).base__.SetLimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment.into_param().abi()).ok() | |
9574 | } | |
9575 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9576 | #[cfg(feature = "Win32_Foundation")] | |
9577 | pub unsafe fn LimitExchangeKeyToEncipherment(&self, flimitexchangekeytoencipherment: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9578 | (::windows::core::Interface::vtable(self).base__.LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), flimitexchangekeytoencipherment).ok() | |
9579 | } | |
9580 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9581 | #[cfg(feature = "Win32_Foundation")] | |
9582 | pub unsafe fn SetEnableSMIMECapabilities<P0>(&self, fenablesmimecapabilities: P0) -> ::windows::core::Result<()> | |
9583 | where | |
9584 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9585 | { | |
9586 | (::windows::core::Interface::vtable(self).base__.SetEnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities.into_param().abi()).ok() | |
9587 | } | |
9588 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9589 | #[cfg(feature = "Win32_Foundation")] | |
9590 | pub unsafe fn EnableSMIMECapabilities(&self, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9591 | (::windows::core::Interface::vtable(self).base__.EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), fenablesmimecapabilities).ok() | |
9592 | } | |
9593 | pub unsafe fn SetThumbPrintWStr(&self, thumbprintblob: super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9594 | (::windows::core::Interface::vtable(self).SetThumbPrintWStr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(thumbprintblob)).ok() | |
9595 | } | |
9596 | pub unsafe fn ThumbPrintWStr(&self, thumbprintblob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9597 | (::windows::core::Interface::vtable(self).ThumbPrintWStr)(::windows::core::Interface::as_raw(self), thumbprintblob).ok() | |
9598 | } | |
9599 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9600 | #[cfg(feature = "Win32_Foundation")] | |
9601 | pub unsafe fn SetPrivateKeyArchiveCertificate(&self, pprivatekeyarchivecert: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
9602 | (::windows::core::Interface::vtable(self).SetPrivateKeyArchiveCertificate)(::windows::core::Interface::as_raw(self), pprivatekeyarchivecert).ok() | |
9603 | } | |
9604 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9605 | #[cfg(feature = "Win32_Foundation")] | |
9606 | pub unsafe fn GetPrivateKeyArchiveCertificate(&self) -> *mut super::CERT_CONTEXT { | |
9607 | (::windows::core::Interface::vtable(self).GetPrivateKeyArchiveCertificate)(::windows::core::Interface::as_raw(self)) | |
9608 | } | |
9609 | pub unsafe fn binaryBlobToString(&self, flags: i32, pblobbinary: *mut super::CRYPT_INTEGER_BLOB, ppwszstring: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { | |
9610 | (::windows::core::Interface::vtable(self).binaryBlobToString)(::windows::core::Interface::as_raw(self), flags, pblobbinary, ppwszstring).ok() | |
9611 | } | |
9612 | pub unsafe fn stringToBinaryBlob<P0>(&self, flags: i32, pwszstring: P0, pblobbinary: *mut super::CRYPT_INTEGER_BLOB, pdwskip: *mut i32, pdwflags: *mut i32) -> ::windows::core::Result<()> | |
9613 | where | |
9614 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9615 | { | |
9616 | (::windows::core::Interface::vtable(self).stringToBinaryBlob)(::windows::core::Interface::as_raw(self), flags, pwszstring.into_param().abi(), pblobbinary, pdwskip, pdwflags).ok() | |
9617 | } | |
9618 | pub unsafe fn addExtensionToRequestWStr<P0>(&self, flags: i32, pwszname: P0, pblobvalue: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
9619 | where | |
9620 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9621 | { | |
9622 | (::windows::core::Interface::vtable(self).addExtensionToRequestWStr)(::windows::core::Interface::as_raw(self), flags, pwszname.into_param().abi(), pblobvalue).ok() | |
9623 | } | |
9624 | pub unsafe fn addAttributeToRequestWStr<P0>(&self, flags: i32, pwszname: P0, pblobvalue: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
9625 | where | |
9626 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9627 | { | |
9628 | (::windows::core::Interface::vtable(self).addAttributeToRequestWStr)(::windows::core::Interface::as_raw(self), flags, pwszname.into_param().abi(), pblobvalue).ok() | |
9629 | } | |
9630 | pub unsafe fn addNameValuePairToRequestWStr<P0, P1>(&self, flags: i32, pwszname: P0, pwszvalue: P1) -> ::windows::core::Result<()> | |
9631 | where | |
9632 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9633 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9634 | { | |
9635 | (::windows::core::Interface::vtable(self).addNameValuePairToRequestWStr)(::windows::core::Interface::as_raw(self), flags, pwszname.into_param().abi(), pwszvalue.into_param().abi()).ok() | |
9636 | } | |
9637 | pub unsafe fn resetExtensions(&self) -> ::windows::core::Result<()> { | |
9638 | (::windows::core::Interface::vtable(self).resetExtensions)(::windows::core::Interface::as_raw(self)).ok() | |
9639 | } | |
9640 | pub unsafe fn resetAttributes(&self) -> ::windows::core::Result<()> { | |
9641 | (::windows::core::Interface::vtable(self).resetAttributes)(::windows::core::Interface::as_raw(self)).ok() | |
9642 | } | |
9643 | pub unsafe fn createRequestWStr<P0, P1>(&self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: P0, pwszusage: P1, pblobrequest: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
9644 | where | |
9645 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9646 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9647 | { | |
9648 | (::windows::core::Interface::vtable(self).createRequestWStr)(::windows::core::Interface::as_raw(self), flags, pwszdnname.into_param().abi(), pwszusage.into_param().abi(), pblobrequest).ok() | |
9649 | } | |
9650 | pub unsafe fn createFileRequestWStr<P0, P1, P2>(&self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: P0, pwszusage: P1, pwszrequestfilename: P2) -> ::windows::core::Result<()> | |
9651 | where | |
9652 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9653 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9654 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9655 | { | |
9656 | (::windows::core::Interface::vtable(self).createFileRequestWStr)(::windows::core::Interface::as_raw(self), flags, pwszdnname.into_param().abi(), pwszusage.into_param().abi(), pwszrequestfilename.into_param().abi()).ok() | |
9657 | } | |
9658 | pub unsafe fn acceptResponseBlob(&self, pblobresponse: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9659 | (::windows::core::Interface::vtable(self).acceptResponseBlob)(::windows::core::Interface::as_raw(self), pblobresponse).ok() | |
9660 | } | |
9661 | pub unsafe fn acceptFileResponseWStr<P0>(&self, pwszresponsefilename: P0) -> ::windows::core::Result<()> | |
9662 | where | |
9663 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9664 | { | |
9665 | (::windows::core::Interface::vtable(self).acceptFileResponseWStr)(::windows::core::Interface::as_raw(self), pwszresponsefilename.into_param().abi()).ok() | |
9666 | } | |
9667 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9668 | #[cfg(feature = "Win32_Foundation")] | |
9669 | pub unsafe fn getCertContextFromResponseBlob(&self, pblobresponse: *mut super::CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
9670 | (::windows::core::Interface::vtable(self).getCertContextFromResponseBlob)(::windows::core::Interface::as_raw(self), pblobresponse, ppcertcontext).ok() | |
9671 | } | |
9672 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9673 | #[cfg(feature = "Win32_Foundation")] | |
9674 | pub unsafe fn getCertContextFromFileResponseWStr<P0>(&self, pwszresponsefilename: P0, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::Result<()> | |
9675 | where | |
9676 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9677 | { | |
9678 | (::windows::core::Interface::vtable(self).getCertContextFromFileResponseWStr)(::windows::core::Interface::as_raw(self), pwszresponsefilename.into_param().abi(), ppcertcontext).ok() | |
9679 | } | |
9680 | pub unsafe fn createPFXWStr<P0>(&self, pwszpassword: P0, pblobpfx: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> | |
9681 | where | |
9682 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9683 | { | |
9684 | (::windows::core::Interface::vtable(self).createPFXWStr)(::windows::core::Interface::as_raw(self), pwszpassword.into_param().abi(), pblobpfx).ok() | |
9685 | } | |
9686 | pub unsafe fn createFilePFXWStr<P0, P1>(&self, pwszpassword: P0, pwszpfxfilename: P1) -> ::windows::core::Result<()> | |
9687 | where | |
9688 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9689 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9690 | { | |
9691 | (::windows::core::Interface::vtable(self).createFilePFXWStr)(::windows::core::Interface::as_raw(self), pwszpassword.into_param().abi(), pwszpfxfilename.into_param().abi()).ok() | |
9692 | } | |
9693 | pub unsafe fn setPendingRequestInfoWStr<P0, P1, P2>(&self, lrequestid: i32, pwszcadns: P0, pwszcaname: P1, pwszfriendlyname: P2) -> ::windows::core::Result<()> | |
9694 | where | |
9695 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9696 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9697 | P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9698 | { | |
9699 | (::windows::core::Interface::vtable(self).setPendingRequestInfoWStr)(::windows::core::Interface::as_raw(self), lrequestid, pwszcadns.into_param().abi(), pwszcaname.into_param().abi(), pwszfriendlyname.into_param().abi()).ok() | |
9700 | } | |
9701 | pub unsafe fn enumPendingRequestWStr(&self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ppproperty: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { | |
9702 | (::windows::core::Interface::vtable(self).enumPendingRequestWStr)(::windows::core::Interface::as_raw(self), lindex, ldesiredproperty, ppproperty).ok() | |
9703 | } | |
9704 | pub unsafe fn removePendingRequestWStr(&self, thumbprintblob: super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9705 | (::windows::core::Interface::vtable(self).removePendingRequestWStr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(thumbprintblob)).ok() | |
9706 | } | |
9707 | pub unsafe fn GetKeyLenEx(&self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, pdwkeysize: *mut i32) -> ::windows::core::Result<()> { | |
9708 | (::windows::core::Interface::vtable(self).GetKeyLenEx)(::windows::core::Interface::as_raw(self), lsizespec, lkeyspec, pdwkeysize).ok() | |
9709 | } | |
9710 | pub unsafe fn InstallPKCS7BlobEx(&self, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB, plcertinstalled: *mut i32) -> ::windows::core::Result<()> { | |
9711 | (::windows::core::Interface::vtable(self).InstallPKCS7BlobEx)(::windows::core::Interface::as_raw(self), pblobpkcs7, plcertinstalled).ok() | |
9712 | } | |
9713 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9714 | #[cfg(feature = "Win32_Foundation")] | |
9715 | pub unsafe fn AddCertTypeToRequestWStrEx<P0, P1>(&self, ltype: ADDED_CERT_TYPE, pwszoidorname: P0, lmajorversion: i32, fminorversion: P1, lminorversion: i32) -> ::windows::core::Result<()> | |
9716 | where | |
9717 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9718 | P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9719 | { | |
9720 | (::windows::core::Interface::vtable(self).AddCertTypeToRequestWStrEx)(::windows::core::Interface::as_raw(self), ltype, pwszoidorname.into_param().abi(), lmajorversion, fminorversion.into_param().abi(), lminorversion).ok() | |
9721 | } | |
9722 | pub unsafe fn getProviderTypeWStr<P0>(&self, pwszprovname: P0, plprovtype: *mut i32) -> ::windows::core::Result<()> | |
9723 | where | |
9724 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
9725 | { | |
9726 | (::windows::core::Interface::vtable(self).getProviderTypeWStr)(::windows::core::Interface::as_raw(self), pwszprovname.into_param().abi(), plprovtype).ok() | |
9727 | } | |
9728 | pub unsafe fn addBlobPropertyToCertificateWStr(&self, lpropertyid: i32, lreserved: i32, pblobproperty: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::Result<()> { | |
9729 | (::windows::core::Interface::vtable(self).addBlobPropertyToCertificateWStr)(::windows::core::Interface::as_raw(self), lpropertyid, lreserved, pblobproperty).ok() | |
9730 | } | |
9731 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9732 | #[cfg(feature = "Win32_Foundation")] | |
9733 | pub unsafe fn SetSignerCertificate(&self, psignercert: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { | |
9734 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), psignercert).ok() | |
9735 | } | |
9736 | pub unsafe fn SetClientId(&self, lclientid: i32) -> ::windows::core::Result<()> { | |
9737 | (::windows::core::Interface::vtable(self).SetClientId)(::windows::core::Interface::as_raw(self), lclientid).ok() | |
9738 | } | |
9739 | pub unsafe fn ClientId(&self, plclientid: *mut i32) -> ::windows::core::Result<()> { | |
9740 | (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), plclientid).ok() | |
9741 | } | |
9742 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9743 | #[cfg(feature = "Win32_Foundation")] | |
9744 | pub unsafe fn SetIncludeSubjectKeyID<P0>(&self, finclude: P0) -> ::windows::core::Result<()> | |
9745 | where | |
9746 | P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, | |
9747 | { | |
9748 | (::windows::core::Interface::vtable(self).SetIncludeSubjectKeyID)(::windows::core::Interface::as_raw(self), finclude.into_param().abi()).ok() | |
9749 | } | |
9750 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9751 | #[cfg(feature = "Win32_Foundation")] | |
9752 | pub unsafe fn IncludeSubjectKeyID(&self, pfinclude: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
9753 | (::windows::core::Interface::vtable(self).IncludeSubjectKeyID)(::windows::core::Interface::as_raw(self), pfinclude).ok() | |
9754 | } | |
9755 | } | |
9756 | ::windows::imp::interface_hierarchy!(IEnroll4, ::windows::core::IUnknown, IEnroll, IEnroll2); | |
9757 | impl ::core::cmp::PartialEq for IEnroll4 { | |
9758 | fn eq(&self, other: &Self) -> bool { | |
9759 | self.0 == other.0 | |
9760 | } | |
9761 | } | |
9762 | impl ::core::cmp::Eq for IEnroll4 {} | |
9763 | impl ::core::fmt::Debug for IEnroll4 { | |
9764 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9765 | f.debug_tuple("IEnroll4").field(&self.0).finish() | |
9766 | } | |
9767 | } | |
9768 | unsafe impl ::windows::core::Interface for IEnroll4 { | |
9769 | type Vtable = IEnroll4_Vtbl; | |
9770 | } | |
9771 | impl ::core::clone::Clone for IEnroll4 { | |
9772 | fn clone(&self) -> Self { | |
9773 | Self(self.0.clone()) | |
9774 | } | |
9775 | } | |
9776 | unsafe impl ::windows::core::ComInterface for IEnroll4 { | |
9777 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf8053fe5_78f4_448f_a0db_41d61b73446b); | |
9778 | } | |
9779 | #[repr(C)] | |
9780 | #[doc(hidden)] | |
9781 | pub struct IEnroll4_Vtbl { | |
9782 | pub base__: IEnroll2_Vtbl, | |
9783 | pub SetThumbPrintWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, thumbprintblob: super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9784 | pub ThumbPrintWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, thumbprintblob: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9785 | #[cfg(feature = "Win32_Foundation")] | |
9786 | pub SetPrivateKeyArchiveCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprivatekeyarchivecert: *const super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
9787 | #[cfg(not(feature = "Win32_Foundation"))] | |
9788 | SetPrivateKeyArchiveCertificate: usize, | |
9789 | #[cfg(feature = "Win32_Foundation")] | |
9790 | pub GetPrivateKeyArchiveCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> *mut super::CERT_CONTEXT, | |
9791 | #[cfg(not(feature = "Win32_Foundation"))] | |
9792 | GetPrivateKeyArchiveCertificate: usize, | |
9793 | pub binaryBlobToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pblobbinary: *mut super::CRYPT_INTEGER_BLOB, ppwszstring: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
9794 | pub stringToBinaryBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pwszstring: ::windows::core::PCWSTR, pblobbinary: *mut super::CRYPT_INTEGER_BLOB, pdwskip: *mut i32, pdwflags: *mut i32) -> ::windows::core::HRESULT, | |
9795 | pub addExtensionToRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pwszname: ::windows::core::PCWSTR, pblobvalue: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9796 | pub addAttributeToRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pwszname: ::windows::core::PCWSTR, pblobvalue: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9797 | pub addNameValuePairToRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, pwszname: ::windows::core::PCWSTR, pwszvalue: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
9798 | pub resetExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9799 | pub resetAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9800 | pub createRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: ::windows::core::PCWSTR, pwszusage: ::windows::core::PCWSTR, pblobrequest: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9801 | pub createFileRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: ::windows::core::PCWSTR, pwszusage: ::windows::core::PCWSTR, pwszrequestfilename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
9802 | pub acceptResponseBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobresponse: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9803 | pub acceptFileResponseWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszresponsefilename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
9804 | #[cfg(feature = "Win32_Foundation")] | |
9805 | pub getCertContextFromResponseBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobresponse: *mut super::CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
9806 | #[cfg(not(feature = "Win32_Foundation"))] | |
9807 | getCertContextFromResponseBlob: usize, | |
9808 | #[cfg(feature = "Win32_Foundation")] | |
9809 | pub getCertContextFromFileResponseWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszresponsefilename: ::windows::core::PCWSTR, ppcertcontext: *mut *mut super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
9810 | #[cfg(not(feature = "Win32_Foundation"))] | |
9811 | getCertContextFromFileResponseWStr: usize, | |
9812 | pub createPFXWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpassword: ::windows::core::PCWSTR, pblobpfx: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9813 | pub createFilePFXWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpassword: ::windows::core::PCWSTR, pwszpfxfilename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
9814 | pub setPendingRequestInfoWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lrequestid: i32, pwszcadns: ::windows::core::PCWSTR, pwszcaname: ::windows::core::PCWSTR, pwszfriendlyname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, | |
9815 | pub enumPendingRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ppproperty: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9816 | pub removePendingRequestWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, thumbprintblob: super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9817 | pub GetKeyLenEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, pdwkeysize: *mut i32) -> ::windows::core::HRESULT, | |
9818 | pub InstallPKCS7BlobEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblobpkcs7: *mut super::CRYPT_INTEGER_BLOB, plcertinstalled: *mut i32) -> ::windows::core::HRESULT, | |
9819 | #[cfg(feature = "Win32_Foundation")] | |
9820 | pub AddCertTypeToRequestWStrEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ltype: ADDED_CERT_TYPE, pwszoidorname: ::windows::core::PCWSTR, lmajorversion: i32, fminorversion: super::super::super::Foundation::BOOL, lminorversion: i32) -> ::windows::core::HRESULT, | |
9821 | #[cfg(not(feature = "Win32_Foundation"))] | |
9822 | AddCertTypeToRequestWStrEx: usize, | |
9823 | pub getProviderTypeWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszprovname: ::windows::core::PCWSTR, plprovtype: *mut i32) -> ::windows::core::HRESULT, | |
9824 | pub addBlobPropertyToCertificateWStr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpropertyid: i32, lreserved: i32, pblobproperty: *mut super::CRYPT_INTEGER_BLOB) -> ::windows::core::HRESULT, | |
9825 | #[cfg(feature = "Win32_Foundation")] | |
9826 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psignercert: *const super::CERT_CONTEXT) -> ::windows::core::HRESULT, | |
9827 | #[cfg(not(feature = "Win32_Foundation"))] | |
9828 | SetSignerCertificate: usize, | |
9829 | pub SetClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lclientid: i32) -> ::windows::core::HRESULT, | |
9830 | pub ClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plclientid: *mut i32) -> ::windows::core::HRESULT, | |
9831 | #[cfg(feature = "Win32_Foundation")] | |
9832 | pub SetIncludeSubjectKeyID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, finclude: super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9833 | #[cfg(not(feature = "Win32_Foundation"))] | |
9834 | SetIncludeSubjectKeyID: usize, | |
9835 | #[cfg(feature = "Win32_Foundation")] | |
9836 | pub IncludeSubjectKeyID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfinclude: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
9837 | #[cfg(not(feature = "Win32_Foundation"))] | |
9838 | IncludeSubjectKeyID: usize, | |
9839 | } | |
9840 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
9841 | #[cfg(feature = "Win32_System_Com")] | |
9842 | #[repr(transparent)] | |
9843 | pub struct IEnumCERTVIEWATTRIBUTE(::windows::core::IUnknown); | |
9844 | #[cfg(feature = "Win32_System_Com")] | |
9845 | impl IEnumCERTVIEWATTRIBUTE { | |
9846 | pub unsafe fn Next(&self, pindex: *mut i32) -> ::windows::core::Result<()> { | |
9847 | (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), pindex).ok() | |
9848 | } | |
9849 | pub unsafe fn GetName(&self, pstrout: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { | |
9850 | (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrout)).ok() | |
9851 | } | |
9852 | pub unsafe fn GetValue(&self, pstrout: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { | |
9853 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrout)).ok() | |
9854 | } | |
9855 | pub unsafe fn Skip(&self, celt: i32) -> ::windows::core::Result<()> { | |
9856 | (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() | |
9857 | } | |
9858 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
9859 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
9860 | } | |
9861 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
9862 | #[cfg(feature = "Win32_System_Com")] | |
9863 | pub unsafe fn Clone(&self) -> ::windows::core::Result<IEnumCERTVIEWATTRIBUTE> { | |
9864 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWATTRIBUTE>(); | |
9865 | (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
9866 | } | |
9867 | } | |
9868 | #[cfg(feature = "Win32_System_Com")] | |
9869 | ::windows::imp::interface_hierarchy!(IEnumCERTVIEWATTRIBUTE, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
9870 | #[cfg(feature = "Win32_System_Com")] | |
9871 | impl ::core::cmp::PartialEq for IEnumCERTVIEWATTRIBUTE { | |
9872 | fn eq(&self, other: &Self) -> bool { | |
9873 | self.0 == other.0 | |
9874 | } | |
9875 | } | |
9876 | #[cfg(feature = "Win32_System_Com")] | |
9877 | impl ::core::cmp::Eq for IEnumCERTVIEWATTRIBUTE {} | |
9878 | #[cfg(feature = "Win32_System_Com")] | |
9879 | impl ::core::fmt::Debug for IEnumCERTVIEWATTRIBUTE { | |
9880 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9881 | f.debug_tuple("IEnumCERTVIEWATTRIBUTE").field(&self.0).finish() | |
9882 | } | |
9883 | } | |
9884 | #[cfg(feature = "Win32_System_Com")] | |
9885 | unsafe impl ::windows::core::Interface for IEnumCERTVIEWATTRIBUTE { | |
9886 | type Vtable = IEnumCERTVIEWATTRIBUTE_Vtbl; | |
9887 | } | |
9888 | #[cfg(feature = "Win32_System_Com")] | |
9889 | impl ::core::clone::Clone for IEnumCERTVIEWATTRIBUTE { | |
9890 | fn clone(&self) -> Self { | |
9891 | Self(self.0.clone()) | |
9892 | } | |
9893 | } | |
9894 | #[cfg(feature = "Win32_System_Com")] | |
9895 | unsafe impl ::windows::core::ComInterface for IEnumCERTVIEWATTRIBUTE { | |
9896 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe77db656_7653_11d1_9bde_00c04fb683fa); | |
9897 | } | |
9898 | #[cfg(feature = "Win32_System_Com")] | |
9899 | #[repr(C)] | |
9900 | #[doc(hidden)] | |
9901 | pub struct IEnumCERTVIEWATTRIBUTE_Vtbl { | |
9902 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
9903 | pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
9904 | pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
9905 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
9906 | pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: i32) -> ::windows::core::HRESULT, | |
9907 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9908 | #[cfg(feature = "Win32_System_Com")] | |
9909 | pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9910 | #[cfg(not(feature = "Win32_System_Com"))] | |
9911 | Clone: usize, | |
9912 | } | |
9913 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
9914 | #[cfg(feature = "Win32_System_Com")] | |
9915 | #[repr(transparent)] | |
9916 | pub struct IEnumCERTVIEWCOLUMN(::windows::core::IUnknown); | |
9917 | #[cfg(feature = "Win32_System_Com")] | |
9918 | impl IEnumCERTVIEWCOLUMN { | |
9919 | pub unsafe fn Next(&self, pindex: *mut i32) -> ::windows::core::Result<()> { | |
9920 | (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), pindex).ok() | |
9921 | } | |
9922 | pub unsafe fn GetName(&self, pstrout: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { | |
9923 | (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrout)).ok() | |
9924 | } | |
9925 | pub unsafe fn GetDisplayName(&self, pstrout: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { | |
9926 | (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrout)).ok() | |
9927 | } | |
9928 | pub unsafe fn GetType(&self, ptype: *mut i32) -> ::windows::core::Result<()> { | |
9929 | (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ptype).ok() | |
9930 | } | |
9931 | pub unsafe fn IsIndexed(&self, pindexed: *mut i32) -> ::windows::core::Result<()> { | |
9932 | (::windows::core::Interface::vtable(self).IsIndexed)(::windows::core::Interface::as_raw(self), pindexed).ok() | |
9933 | } | |
9934 | pub unsafe fn GetMaxLength(&self, pmaxlength: *mut i32) -> ::windows::core::Result<()> { | |
9935 | (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), pmaxlength).ok() | |
9936 | } | |
9937 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
9938 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
9939 | pub unsafe fn GetValue(&self, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
9940 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), flags, pvarvalue).ok() | |
9941 | } | |
9942 | pub unsafe fn Skip(&self, celt: i32) -> ::windows::core::Result<()> { | |
9943 | (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() | |
9944 | } | |
9945 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
9946 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
9947 | } | |
9948 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
9949 | #[cfg(feature = "Win32_System_Com")] | |
9950 | pub unsafe fn Clone(&self) -> ::windows::core::Result<IEnumCERTVIEWCOLUMN> { | |
9951 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWCOLUMN>(); | |
9952 | (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
9953 | } | |
9954 | } | |
9955 | #[cfg(feature = "Win32_System_Com")] | |
9956 | ::windows::imp::interface_hierarchy!(IEnumCERTVIEWCOLUMN, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
9957 | #[cfg(feature = "Win32_System_Com")] | |
9958 | impl ::core::cmp::PartialEq for IEnumCERTVIEWCOLUMN { | |
9959 | fn eq(&self, other: &Self) -> bool { | |
9960 | self.0 == other.0 | |
9961 | } | |
9962 | } | |
9963 | #[cfg(feature = "Win32_System_Com")] | |
9964 | impl ::core::cmp::Eq for IEnumCERTVIEWCOLUMN {} | |
9965 | #[cfg(feature = "Win32_System_Com")] | |
9966 | impl ::core::fmt::Debug for IEnumCERTVIEWCOLUMN { | |
9967 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9968 | f.debug_tuple("IEnumCERTVIEWCOLUMN").field(&self.0).finish() | |
9969 | } | |
9970 | } | |
9971 | #[cfg(feature = "Win32_System_Com")] | |
9972 | unsafe impl ::windows::core::Interface for IEnumCERTVIEWCOLUMN { | |
9973 | type Vtable = IEnumCERTVIEWCOLUMN_Vtbl; | |
9974 | } | |
9975 | #[cfg(feature = "Win32_System_Com")] | |
9976 | impl ::core::clone::Clone for IEnumCERTVIEWCOLUMN { | |
9977 | fn clone(&self) -> Self { | |
9978 | Self(self.0.clone()) | |
9979 | } | |
9980 | } | |
9981 | #[cfg(feature = "Win32_System_Com")] | |
9982 | unsafe impl ::windows::core::ComInterface for IEnumCERTVIEWCOLUMN { | |
9983 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9c735be2_57a5_11d1_9bdb_00c04fb683fa); | |
9984 | } | |
9985 | #[cfg(feature = "Win32_System_Com")] | |
9986 | #[repr(C)] | |
9987 | #[doc(hidden)] | |
9988 | pub struct IEnumCERTVIEWCOLUMN_Vtbl { | |
9989 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
9990 | pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
9991 | pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
9992 | pub GetDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
9993 | pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptype: *mut i32) -> ::windows::core::HRESULT, | |
9994 | pub IsIndexed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindexed: *mut i32) -> ::windows::core::HRESULT, | |
9995 | pub GetMaxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmaxlength: *mut i32) -> ::windows::core::HRESULT, | |
9996 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
9997 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
9998 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
9999 | GetValue: usize, | |
10000 | pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: i32) -> ::windows::core::HRESULT, | |
10001 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10002 | #[cfg(feature = "Win32_System_Com")] | |
10003 | pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10004 | #[cfg(not(feature = "Win32_System_Com"))] | |
10005 | Clone: usize, | |
10006 | } | |
10007 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10008 | #[cfg(feature = "Win32_System_Com")] | |
10009 | #[repr(transparent)] | |
10010 | pub struct IEnumCERTVIEWEXTENSION(::windows::core::IUnknown); | |
10011 | #[cfg(feature = "Win32_System_Com")] | |
10012 | impl IEnumCERTVIEWEXTENSION { | |
10013 | pub unsafe fn Next(&self, pindex: *mut i32) -> ::windows::core::Result<()> { | |
10014 | (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), pindex).ok() | |
10015 | } | |
10016 | pub unsafe fn GetName(&self, pstrout: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { | |
10017 | (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrout)).ok() | |
10018 | } | |
10019 | pub unsafe fn GetFlags(&self, pflags: *mut i32) -> ::windows::core::Result<()> { | |
10020 | (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), pflags).ok() | |
10021 | } | |
10022 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10023 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10024 | pub unsafe fn GetValue(&self, r#type: CERT_PROPERTY_TYPE, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10025 | (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), r#type, flags, pvarvalue).ok() | |
10026 | } | |
10027 | pub unsafe fn Skip(&self, celt: i32) -> ::windows::core::Result<()> { | |
10028 | (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() | |
10029 | } | |
10030 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
10031 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
10032 | } | |
10033 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10034 | #[cfg(feature = "Win32_System_Com")] | |
10035 | pub unsafe fn Clone(&self) -> ::windows::core::Result<IEnumCERTVIEWEXTENSION> { | |
10036 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWEXTENSION>(); | |
10037 | (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10038 | } | |
10039 | } | |
10040 | #[cfg(feature = "Win32_System_Com")] | |
10041 | ::windows::imp::interface_hierarchy!(IEnumCERTVIEWEXTENSION, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10042 | #[cfg(feature = "Win32_System_Com")] | |
10043 | impl ::core::cmp::PartialEq for IEnumCERTVIEWEXTENSION { | |
10044 | fn eq(&self, other: &Self) -> bool { | |
10045 | self.0 == other.0 | |
10046 | } | |
10047 | } | |
10048 | #[cfg(feature = "Win32_System_Com")] | |
10049 | impl ::core::cmp::Eq for IEnumCERTVIEWEXTENSION {} | |
10050 | #[cfg(feature = "Win32_System_Com")] | |
10051 | impl ::core::fmt::Debug for IEnumCERTVIEWEXTENSION { | |
10052 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10053 | f.debug_tuple("IEnumCERTVIEWEXTENSION").field(&self.0).finish() | |
10054 | } | |
10055 | } | |
10056 | #[cfg(feature = "Win32_System_Com")] | |
10057 | unsafe impl ::windows::core::Interface for IEnumCERTVIEWEXTENSION { | |
10058 | type Vtable = IEnumCERTVIEWEXTENSION_Vtbl; | |
10059 | } | |
10060 | #[cfg(feature = "Win32_System_Com")] | |
10061 | impl ::core::clone::Clone for IEnumCERTVIEWEXTENSION { | |
10062 | fn clone(&self) -> Self { | |
10063 | Self(self.0.clone()) | |
10064 | } | |
10065 | } | |
10066 | #[cfg(feature = "Win32_System_Com")] | |
10067 | unsafe impl ::windows::core::ComInterface for IEnumCERTVIEWEXTENSION { | |
10068 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe7dd1466_7653_11d1_9bde_00c04fb683fa); | |
10069 | } | |
10070 | #[cfg(feature = "Win32_System_Com")] | |
10071 | #[repr(C)] | |
10072 | #[doc(hidden)] | |
10073 | pub struct IEnumCERTVIEWEXTENSION_Vtbl { | |
10074 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10075 | pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
10076 | pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstrout: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10077 | pub GetFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pflags: *mut i32) -> ::windows::core::HRESULT, | |
10078 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10079 | pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: CERT_PROPERTY_TYPE, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10080 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10081 | GetValue: usize, | |
10082 | pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: i32) -> ::windows::core::HRESULT, | |
10083 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10084 | #[cfg(feature = "Win32_System_Com")] | |
10085 | pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10086 | #[cfg(not(feature = "Win32_System_Com"))] | |
10087 | Clone: usize, | |
10088 | } | |
10089 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10090 | #[cfg(feature = "Win32_System_Com")] | |
10091 | #[repr(transparent)] | |
10092 | pub struct IEnumCERTVIEWROW(::windows::core::IUnknown); | |
10093 | #[cfg(feature = "Win32_System_Com")] | |
10094 | impl IEnumCERTVIEWROW { | |
10095 | pub unsafe fn Next(&self, pindex: *mut i32) -> ::windows::core::Result<()> { | |
10096 | (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), pindex).ok() | |
10097 | } | |
10098 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10099 | #[cfg(feature = "Win32_System_Com")] | |
10100 | pub unsafe fn EnumCertViewColumn(&self) -> ::windows::core::Result<IEnumCERTVIEWCOLUMN> { | |
10101 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWCOLUMN>(); | |
10102 | (::windows::core::Interface::vtable(self).EnumCertViewColumn)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10103 | } | |
10104 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10105 | #[cfg(feature = "Win32_System_Com")] | |
10106 | pub unsafe fn EnumCertViewAttribute(&self, flags: i32) -> ::windows::core::Result<IEnumCERTVIEWATTRIBUTE> { | |
10107 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWATTRIBUTE>(); | |
10108 | (::windows::core::Interface::vtable(self).EnumCertViewAttribute)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
10109 | } | |
10110 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10111 | #[cfg(feature = "Win32_System_Com")] | |
10112 | pub unsafe fn EnumCertViewExtension(&self, flags: i32) -> ::windows::core::Result<IEnumCERTVIEWEXTENSION> { | |
10113 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWEXTENSION>(); | |
10114 | (::windows::core::Interface::vtable(self).EnumCertViewExtension)(::windows::core::Interface::as_raw(self), flags, &mut result__).from_abi(result__) | |
10115 | } | |
10116 | pub unsafe fn Skip(&self, celt: i32) -> ::windows::core::Result<()> { | |
10117 | (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() | |
10118 | } | |
10119 | pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { | |
10120 | (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() | |
10121 | } | |
10122 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10123 | #[cfg(feature = "Win32_System_Com")] | |
10124 | pub unsafe fn Clone(&self) -> ::windows::core::Result<IEnumCERTVIEWROW> { | |
10125 | let mut result__ = ::windows::core::zeroed::<IEnumCERTVIEWROW>(); | |
10126 | (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10127 | } | |
10128 | pub unsafe fn GetMaxIndex(&self, pindex: *mut i32) -> ::windows::core::Result<()> { | |
10129 | (::windows::core::Interface::vtable(self).GetMaxIndex)(::windows::core::Interface::as_raw(self), pindex).ok() | |
10130 | } | |
10131 | } | |
10132 | #[cfg(feature = "Win32_System_Com")] | |
10133 | ::windows::imp::interface_hierarchy!(IEnumCERTVIEWROW, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10134 | #[cfg(feature = "Win32_System_Com")] | |
10135 | impl ::core::cmp::PartialEq for IEnumCERTVIEWROW { | |
10136 | fn eq(&self, other: &Self) -> bool { | |
10137 | self.0 == other.0 | |
10138 | } | |
10139 | } | |
10140 | #[cfg(feature = "Win32_System_Com")] | |
10141 | impl ::core::cmp::Eq for IEnumCERTVIEWROW {} | |
10142 | #[cfg(feature = "Win32_System_Com")] | |
10143 | impl ::core::fmt::Debug for IEnumCERTVIEWROW { | |
10144 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10145 | f.debug_tuple("IEnumCERTVIEWROW").field(&self.0).finish() | |
10146 | } | |
10147 | } | |
10148 | #[cfg(feature = "Win32_System_Com")] | |
10149 | unsafe impl ::windows::core::Interface for IEnumCERTVIEWROW { | |
10150 | type Vtable = IEnumCERTVIEWROW_Vtbl; | |
10151 | } | |
10152 | #[cfg(feature = "Win32_System_Com")] | |
10153 | impl ::core::clone::Clone for IEnumCERTVIEWROW { | |
10154 | fn clone(&self) -> Self { | |
10155 | Self(self.0.clone()) | |
10156 | } | |
10157 | } | |
10158 | #[cfg(feature = "Win32_System_Com")] | |
10159 | unsafe impl ::windows::core::ComInterface for IEnumCERTVIEWROW { | |
10160 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd1157f4c_5af2_11d1_9bdc_00c04fb683fa); | |
10161 | } | |
10162 | #[cfg(feature = "Win32_System_Com")] | |
10163 | #[repr(C)] | |
10164 | #[doc(hidden)] | |
10165 | pub struct IEnumCERTVIEWROW_Vtbl { | |
10166 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10167 | pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
10168 | #[cfg(feature = "Win32_System_Com")] | |
10169 | pub EnumCertViewColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10170 | #[cfg(not(feature = "Win32_System_Com"))] | |
10171 | EnumCertViewColumn: usize, | |
10172 | #[cfg(feature = "Win32_System_Com")] | |
10173 | pub EnumCertViewAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10174 | #[cfg(not(feature = "Win32_System_Com"))] | |
10175 | EnumCertViewAttribute: usize, | |
10176 | #[cfg(feature = "Win32_System_Com")] | |
10177 | pub EnumCertViewExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: i32, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10178 | #[cfg(not(feature = "Win32_System_Com"))] | |
10179 | EnumCertViewExtension: usize, | |
10180 | pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: i32) -> ::windows::core::HRESULT, | |
10181 | pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10182 | #[cfg(feature = "Win32_System_Com")] | |
10183 | pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10184 | #[cfg(not(feature = "Win32_System_Com"))] | |
10185 | Clone: usize, | |
10186 | pub GetMaxIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
10187 | } | |
10188 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
10189 | #[repr(transparent)] | |
10190 | pub struct INDESPolicy(::windows::core::IUnknown); | |
10191 | impl INDESPolicy { | |
10192 | pub unsafe fn Initialize(&self) -> ::windows::core::Result<()> { | |
10193 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self)).ok() | |
10194 | } | |
10195 | pub unsafe fn Uninitialize(&self) -> ::windows::core::Result<()> { | |
10196 | (::windows::core::Interface::vtable(self).Uninitialize)(::windows::core::Interface::as_raw(self)).ok() | |
10197 | } | |
10198 | pub unsafe fn GenerateChallenge<P0, P1>(&self, pwsztemplate: P0, pwszparams: P1) -> ::windows::core::Result<::windows::core::PWSTR> | |
10199 | where | |
10200 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10201 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10202 | { | |
10203 | let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); | |
10204 | (::windows::core::Interface::vtable(self).GenerateChallenge)(::windows::core::Interface::as_raw(self), pwsztemplate.into_param().abi(), pwszparams.into_param().abi(), &mut result__).from_abi(result__) | |
10205 | } | |
10206 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10207 | #[cfg(feature = "Win32_Foundation")] | |
10208 | pub unsafe fn VerifyRequest<P0, P1>(&self, pctbrequest: *mut CERTTRANSBLOB, pctbsigningcertencoded: *mut CERTTRANSBLOB, pwsztemplate: P0, pwsztransactionid: P1, pfverified: *mut super::super::super::Foundation::BOOL) -> ::windows::core::Result<()> | |
10209 | where | |
10210 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10211 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10212 | { | |
10213 | (::windows::core::Interface::vtable(self).VerifyRequest)(::windows::core::Interface::as_raw(self), pctbrequest, pctbsigningcertencoded, pwsztemplate.into_param().abi(), pwsztransactionid.into_param().abi(), pfverified).ok() | |
10214 | } | |
10215 | pub unsafe fn Notify<P0, P1>(&self, pwszchallenge: P0, pwsztransactionid: P1, disposition: X509SCEPDisposition, lasthresult: i32, pctbissuedcertencoded: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> | |
10216 | where | |
10217 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10218 | P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
10219 | { | |
10220 | (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), pwszchallenge.into_param().abi(), pwsztransactionid.into_param().abi(), disposition, lasthresult, pctbissuedcertencoded).ok() | |
10221 | } | |
10222 | } | |
10223 | ::windows::imp::interface_hierarchy!(INDESPolicy, ::windows::core::IUnknown); | |
10224 | impl ::core::cmp::PartialEq for INDESPolicy { | |
10225 | fn eq(&self, other: &Self) -> bool { | |
10226 | self.0 == other.0 | |
10227 | } | |
10228 | } | |
10229 | impl ::core::cmp::Eq for INDESPolicy {} | |
10230 | impl ::core::fmt::Debug for INDESPolicy { | |
10231 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10232 | f.debug_tuple("INDESPolicy").field(&self.0).finish() | |
10233 | } | |
10234 | } | |
10235 | unsafe impl ::windows::core::Interface for INDESPolicy { | |
10236 | type Vtable = INDESPolicy_Vtbl; | |
10237 | } | |
10238 | impl ::core::clone::Clone for INDESPolicy { | |
10239 | fn clone(&self) -> Self { | |
10240 | Self(self.0.clone()) | |
10241 | } | |
10242 | } | |
10243 | unsafe impl ::windows::core::ComInterface for INDESPolicy { | |
10244 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13ca515d_431d_46cc_8c2e_1da269bbd625); | |
10245 | } | |
10246 | #[repr(C)] | |
10247 | #[doc(hidden)] | |
10248 | pub struct INDESPolicy_Vtbl { | |
10249 | pub base__: ::windows::core::IUnknown_Vtbl, | |
10250 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10251 | pub Uninitialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10252 | pub GenerateChallenge: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsztemplate: ::windows::core::PCWSTR, pwszparams: ::windows::core::PCWSTR, ppwszresponse: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, | |
10253 | #[cfg(feature = "Win32_Foundation")] | |
10254 | pub VerifyRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pctbrequest: *mut CERTTRANSBLOB, pctbsigningcertencoded: *mut CERTTRANSBLOB, pwsztemplate: ::windows::core::PCWSTR, pwsztransactionid: ::windows::core::PCWSTR, pfverified: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
10255 | #[cfg(not(feature = "Win32_Foundation"))] | |
10256 | VerifyRequest: usize, | |
10257 | pub Notify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszchallenge: ::windows::core::PCWSTR, pwsztransactionid: ::windows::core::PCWSTR, disposition: X509SCEPDisposition, lasthresult: i32, pctbissuedcertencoded: *mut CERTTRANSBLOB) -> ::windows::core::HRESULT, | |
10258 | } | |
10259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10260 | #[cfg(feature = "Win32_System_Com")] | |
10261 | #[repr(transparent)] | |
10262 | pub struct IOCSPAdmin(::windows::core::IUnknown); | |
10263 | #[cfg(feature = "Win32_System_Com")] | |
10264 | impl IOCSPAdmin { | |
10265 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10266 | #[cfg(feature = "Win32_System_Com")] | |
10267 | pub unsafe fn OCSPServiceProperties(&self) -> ::windows::core::Result<IOCSPPropertyCollection> { | |
10268 | let mut result__ = ::windows::core::zeroed::<IOCSPPropertyCollection>(); | |
10269 | (::windows::core::Interface::vtable(self).OCSPServiceProperties)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10270 | } | |
10271 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10272 | #[cfg(feature = "Win32_System_Com")] | |
10273 | pub unsafe fn OCSPCAConfigurationCollection(&self) -> ::windows::core::Result<IOCSPCAConfigurationCollection> { | |
10274 | let mut result__ = ::windows::core::zeroed::<IOCSPCAConfigurationCollection>(); | |
10275 | (::windows::core::Interface::vtable(self).OCSPCAConfigurationCollection)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10276 | } | |
10277 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10278 | #[cfg(feature = "Win32_Foundation")] | |
10279 | pub unsafe fn GetConfiguration<P0, P1>(&self, bstrservername: P0, bforce: P1) -> ::windows::core::Result<()> | |
10280 | where | |
10281 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10282 | P1: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
10283 | { | |
10284 | (::windows::core::Interface::vtable(self).GetConfiguration)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), bforce.into_param().abi()).ok() | |
10285 | } | |
10286 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10287 | #[cfg(feature = "Win32_Foundation")] | |
10288 | pub unsafe fn SetConfiguration<P0, P1>(&self, bstrservername: P0, bforce: P1) -> ::windows::core::Result<()> | |
10289 | where | |
10290 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10291 | P1: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
10292 | { | |
10293 | (::windows::core::Interface::vtable(self).SetConfiguration)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), bforce.into_param().abi()).ok() | |
10294 | } | |
10295 | pub unsafe fn GetMyRoles<P0>(&self, bstrservername: P0) -> ::windows::core::Result<i32> | |
10296 | where | |
10297 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10298 | { | |
10299 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
10300 | (::windows::core::Interface::vtable(self).GetMyRoles)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), &mut result__).from_abi(result__) | |
10301 | } | |
10302 | pub unsafe fn Ping<P0>(&self, bstrservername: P0) -> ::windows::core::Result<()> | |
10303 | where | |
10304 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10305 | { | |
10306 | (::windows::core::Interface::vtable(self).Ping)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi()).ok() | |
10307 | } | |
10308 | pub unsafe fn SetSecurity<P0, P1>(&self, bstrservername: P0, bstrval: P1) -> ::windows::core::Result<()> | |
10309 | where | |
10310 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10311 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10312 | { | |
10313 | (::windows::core::Interface::vtable(self).SetSecurity)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), bstrval.into_param().abi()).ok() | |
10314 | } | |
10315 | pub unsafe fn GetSecurity<P0>(&self, bstrservername: P0) -> ::windows::core::Result<::windows::core::BSTR> | |
10316 | where | |
10317 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10318 | { | |
10319 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10320 | (::windows::core::Interface::vtable(self).GetSecurity)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), &mut result__).from_abi(result__) | |
10321 | } | |
10322 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10323 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10324 | pub unsafe fn GetSigningCertificates<P0>(&self, bstrservername: P0, pcacertvar: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
10325 | where | |
10326 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10327 | { | |
10328 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10329 | (::windows::core::Interface::vtable(self).GetSigningCertificates)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), pcacertvar, &mut result__).from_abi(result__) | |
10330 | } | |
10331 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10332 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10333 | pub unsafe fn GetHashAlgorithms<P0, P1>(&self, bstrservername: P0, bstrcaid: P1) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
10334 | where | |
10335 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10336 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10337 | { | |
10338 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10339 | (::windows::core::Interface::vtable(self).GetHashAlgorithms)(::windows::core::Interface::as_raw(self), bstrservername.into_param().abi(), bstrcaid.into_param().abi(), &mut result__).from_abi(result__) | |
10340 | } | |
10341 | } | |
10342 | #[cfg(feature = "Win32_System_Com")] | |
10343 | ::windows::imp::interface_hierarchy!(IOCSPAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10344 | #[cfg(feature = "Win32_System_Com")] | |
10345 | impl ::core::cmp::PartialEq for IOCSPAdmin { | |
10346 | fn eq(&self, other: &Self) -> bool { | |
10347 | self.0 == other.0 | |
10348 | } | |
10349 | } | |
10350 | #[cfg(feature = "Win32_System_Com")] | |
10351 | impl ::core::cmp::Eq for IOCSPAdmin {} | |
10352 | #[cfg(feature = "Win32_System_Com")] | |
10353 | impl ::core::fmt::Debug for IOCSPAdmin { | |
10354 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10355 | f.debug_tuple("IOCSPAdmin").field(&self.0).finish() | |
10356 | } | |
10357 | } | |
10358 | #[cfg(feature = "Win32_System_Com")] | |
10359 | unsafe impl ::windows::core::Interface for IOCSPAdmin { | |
10360 | type Vtable = IOCSPAdmin_Vtbl; | |
10361 | } | |
10362 | #[cfg(feature = "Win32_System_Com")] | |
10363 | impl ::core::clone::Clone for IOCSPAdmin { | |
10364 | fn clone(&self) -> Self { | |
10365 | Self(self.0.clone()) | |
10366 | } | |
10367 | } | |
10368 | #[cfg(feature = "Win32_System_Com")] | |
10369 | unsafe impl ::windows::core::ComInterface for IOCSPAdmin { | |
10370 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x322e830d_67db_4fe9_9577_4596d9f09294); | |
10371 | } | |
10372 | #[cfg(feature = "Win32_System_Com")] | |
10373 | #[repr(C)] | |
10374 | #[doc(hidden)] | |
10375 | pub struct IOCSPAdmin_Vtbl { | |
10376 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10377 | #[cfg(feature = "Win32_System_Com")] | |
10378 | pub OCSPServiceProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10379 | #[cfg(not(feature = "Win32_System_Com"))] | |
10380 | OCSPServiceProperties: usize, | |
10381 | #[cfg(feature = "Win32_System_Com")] | |
10382 | pub OCSPCAConfigurationCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10383 | #[cfg(not(feature = "Win32_System_Com"))] | |
10384 | OCSPCAConfigurationCollection: usize, | |
10385 | #[cfg(feature = "Win32_Foundation")] | |
10386 | pub GetConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, bforce: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
10387 | #[cfg(not(feature = "Win32_Foundation"))] | |
10388 | GetConfiguration: usize, | |
10389 | #[cfg(feature = "Win32_Foundation")] | |
10390 | pub SetConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, bforce: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
10391 | #[cfg(not(feature = "Win32_Foundation"))] | |
10392 | SetConfiguration: usize, | |
10393 | pub GetMyRoles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, proles: *mut i32) -> ::windows::core::HRESULT, | |
10394 | pub Ping: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10395 | pub SetSecurity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, bstrval: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10396 | pub GetSecurity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10397 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10398 | pub GetSigningCertificates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, pcacertvar: *const super::super::super::System::Com::VARIANT, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10399 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10400 | GetSigningCertificates: usize, | |
10401 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10402 | pub GetHashAlgorithms: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrservername: ::std::mem::MaybeUninit<::windows::core::BSTR>, bstrcaid: ::std::mem::MaybeUninit<::windows::core::BSTR>, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10403 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10404 | GetHashAlgorithms: usize, | |
10405 | } | |
10406 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10407 | #[cfg(feature = "Win32_System_Com")] | |
10408 | #[repr(transparent)] | |
10409 | pub struct IOCSPCAConfiguration(::windows::core::IUnknown); | |
10410 | #[cfg(feature = "Win32_System_Com")] | |
10411 | impl IOCSPCAConfiguration { | |
10412 | pub unsafe fn Identifier(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10413 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10414 | (::windows::core::Interface::vtable(self).Identifier)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10415 | } | |
10416 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10417 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10418 | pub unsafe fn CACertificate(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10419 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10420 | (::windows::core::Interface::vtable(self).CACertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10421 | } | |
10422 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10423 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10424 | (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10425 | } | |
10426 | pub unsafe fn SetHashAlgorithm<P0>(&self, newval: P0) -> ::windows::core::Result<()> | |
10427 | where | |
10428 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10429 | { | |
10430 | (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), newval.into_param().abi()).ok() | |
10431 | } | |
10432 | pub unsafe fn SigningFlags(&self) -> ::windows::core::Result<u32> { | |
10433 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
10434 | (::windows::core::Interface::vtable(self).SigningFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10435 | } | |
10436 | pub unsafe fn SetSigningFlags(&self, newval: u32) -> ::windows::core::Result<()> { | |
10437 | (::windows::core::Interface::vtable(self).SetSigningFlags)(::windows::core::Interface::as_raw(self), newval).ok() | |
10438 | } | |
10439 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10440 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10441 | pub unsafe fn SigningCertificate(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10442 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10443 | (::windows::core::Interface::vtable(self).SigningCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10444 | } | |
10445 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10446 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10447 | pub unsafe fn SetSigningCertificate(&self, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10448 | (::windows::core::Interface::vtable(self).SetSigningCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(newval)).ok() | |
10449 | } | |
10450 | pub unsafe fn ReminderDuration(&self) -> ::windows::core::Result<u32> { | |
10451 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
10452 | (::windows::core::Interface::vtable(self).ReminderDuration)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10453 | } | |
10454 | pub unsafe fn SetReminderDuration(&self, newval: u32) -> ::windows::core::Result<()> { | |
10455 | (::windows::core::Interface::vtable(self).SetReminderDuration)(::windows::core::Interface::as_raw(self), newval).ok() | |
10456 | } | |
10457 | pub unsafe fn ErrorCode(&self) -> ::windows::core::Result<u32> { | |
10458 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
10459 | (::windows::core::Interface::vtable(self).ErrorCode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10460 | } | |
10461 | pub unsafe fn CSPName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10462 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10463 | (::windows::core::Interface::vtable(self).CSPName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10464 | } | |
10465 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<u32> { | |
10466 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
10467 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10468 | } | |
10469 | pub unsafe fn ProviderCLSID(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10470 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10471 | (::windows::core::Interface::vtable(self).ProviderCLSID)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10472 | } | |
10473 | pub unsafe fn SetProviderCLSID<P0>(&self, newval: P0) -> ::windows::core::Result<()> | |
10474 | where | |
10475 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10476 | { | |
10477 | (::windows::core::Interface::vtable(self).SetProviderCLSID)(::windows::core::Interface::as_raw(self), newval.into_param().abi()).ok() | |
10478 | } | |
10479 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10480 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10481 | pub unsafe fn ProviderProperties(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10482 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10483 | (::windows::core::Interface::vtable(self).ProviderProperties)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10484 | } | |
10485 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10486 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10487 | pub unsafe fn SetProviderProperties(&self, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10488 | (::windows::core::Interface::vtable(self).SetProviderProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(newval)).ok() | |
10489 | } | |
10490 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10491 | #[cfg(feature = "Win32_Foundation")] | |
10492 | pub unsafe fn Modified(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
10493 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
10494 | (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10495 | } | |
10496 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10497 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10498 | pub unsafe fn LocalRevocationInformation(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10499 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10500 | (::windows::core::Interface::vtable(self).LocalRevocationInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10501 | } | |
10502 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10503 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10504 | pub unsafe fn SetLocalRevocationInformation(&self, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10505 | (::windows::core::Interface::vtable(self).SetLocalRevocationInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(newval)).ok() | |
10506 | } | |
10507 | pub unsafe fn SigningCertificateTemplate(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10508 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10509 | (::windows::core::Interface::vtable(self).SigningCertificateTemplate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10510 | } | |
10511 | pub unsafe fn SetSigningCertificateTemplate<P0>(&self, newval: P0) -> ::windows::core::Result<()> | |
10512 | where | |
10513 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10514 | { | |
10515 | (::windows::core::Interface::vtable(self).SetSigningCertificateTemplate)(::windows::core::Interface::as_raw(self), newval.into_param().abi()).ok() | |
10516 | } | |
10517 | pub unsafe fn CAConfig(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10518 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10519 | (::windows::core::Interface::vtable(self).CAConfig)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10520 | } | |
10521 | pub unsafe fn SetCAConfig<P0>(&self, newval: P0) -> ::windows::core::Result<()> | |
10522 | where | |
10523 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10524 | { | |
10525 | (::windows::core::Interface::vtable(self).SetCAConfig)(::windows::core::Interface::as_raw(self), newval.into_param().abi()).ok() | |
10526 | } | |
10527 | } | |
10528 | #[cfg(feature = "Win32_System_Com")] | |
10529 | ::windows::imp::interface_hierarchy!(IOCSPCAConfiguration, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10530 | #[cfg(feature = "Win32_System_Com")] | |
10531 | impl ::core::cmp::PartialEq for IOCSPCAConfiguration { | |
10532 | fn eq(&self, other: &Self) -> bool { | |
10533 | self.0 == other.0 | |
10534 | } | |
10535 | } | |
10536 | #[cfg(feature = "Win32_System_Com")] | |
10537 | impl ::core::cmp::Eq for IOCSPCAConfiguration {} | |
10538 | #[cfg(feature = "Win32_System_Com")] | |
10539 | impl ::core::fmt::Debug for IOCSPCAConfiguration { | |
10540 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10541 | f.debug_tuple("IOCSPCAConfiguration").field(&self.0).finish() | |
10542 | } | |
10543 | } | |
10544 | #[cfg(feature = "Win32_System_Com")] | |
10545 | unsafe impl ::windows::core::Interface for IOCSPCAConfiguration { | |
10546 | type Vtable = IOCSPCAConfiguration_Vtbl; | |
10547 | } | |
10548 | #[cfg(feature = "Win32_System_Com")] | |
10549 | impl ::core::clone::Clone for IOCSPCAConfiguration { | |
10550 | fn clone(&self) -> Self { | |
10551 | Self(self.0.clone()) | |
10552 | } | |
10553 | } | |
10554 | #[cfg(feature = "Win32_System_Com")] | |
10555 | unsafe impl ::windows::core::ComInterface for IOCSPCAConfiguration { | |
10556 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaec92b40_3d46_433f_87d1_b84d5c1e790d); | |
10557 | } | |
10558 | #[cfg(feature = "Win32_System_Com")] | |
10559 | #[repr(C)] | |
10560 | #[doc(hidden)] | |
10561 | pub struct IOCSPCAConfiguration_Vtbl { | |
10562 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10563 | pub Identifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10564 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10565 | pub CACertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10566 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10567 | CACertificate: usize, | |
10568 | pub HashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10569 | pub SetHashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10570 | pub SigningFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut u32) -> ::windows::core::HRESULT, | |
10571 | pub SetSigningFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: u32) -> ::windows::core::HRESULT, | |
10572 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10573 | pub SigningCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10574 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10575 | SigningCertificate: usize, | |
10576 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10577 | pub SetSigningCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10578 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10579 | SetSigningCertificate: usize, | |
10580 | pub ReminderDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut u32) -> ::windows::core::HRESULT, | |
10581 | pub SetReminderDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: u32) -> ::windows::core::HRESULT, | |
10582 | pub ErrorCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut u32) -> ::windows::core::HRESULT, | |
10583 | pub CSPName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10584 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut u32) -> ::windows::core::HRESULT, | |
10585 | pub ProviderCLSID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10586 | pub SetProviderCLSID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10587 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10588 | pub ProviderProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10589 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10590 | ProviderProperties: usize, | |
10591 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10592 | pub SetProviderProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10593 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10594 | SetProviderProperties: usize, | |
10595 | #[cfg(feature = "Win32_Foundation")] | |
10596 | pub Modified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
10597 | #[cfg(not(feature = "Win32_Foundation"))] | |
10598 | Modified: usize, | |
10599 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10600 | pub LocalRevocationInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10601 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10602 | LocalRevocationInformation: usize, | |
10603 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10604 | pub SetLocalRevocationInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10605 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10606 | SetLocalRevocationInformation: usize, | |
10607 | pub SigningCertificateTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10608 | pub SetSigningCertificateTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10609 | pub CAConfig: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10610 | pub SetCAConfig: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10611 | } | |
10612 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10613 | #[cfg(feature = "Win32_System_Com")] | |
10614 | #[repr(transparent)] | |
10615 | pub struct IOCSPCAConfigurationCollection(::windows::core::IUnknown); | |
10616 | #[cfg(feature = "Win32_System_Com")] | |
10617 | impl IOCSPCAConfigurationCollection { | |
10618 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
10619 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
10620 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10621 | } | |
10622 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10623 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10624 | pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10625 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10626 | (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
10627 | } | |
10628 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
10629 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
10630 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10631 | } | |
10632 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10633 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10634 | pub unsafe fn get_ItemByName<P0>(&self, bstridentifier: P0) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
10635 | where | |
10636 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10637 | { | |
10638 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10639 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstridentifier.into_param().abi(), &mut result__).from_abi(result__) | |
10640 | } | |
10641 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10642 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10643 | pub unsafe fn CreateCAConfiguration<P0>(&self, bstridentifier: P0, varcacert: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<IOCSPCAConfiguration> | |
10644 | where | |
10645 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10646 | { | |
10647 | let mut result__ = ::windows::core::zeroed::<IOCSPCAConfiguration>(); | |
10648 | (::windows::core::Interface::vtable(self).CreateCAConfiguration)(::windows::core::Interface::as_raw(self), bstridentifier.into_param().abi(), ::core::mem::transmute(varcacert), &mut result__).from_abi(result__) | |
10649 | } | |
10650 | pub unsafe fn DeleteCAConfiguration<P0>(&self, bstridentifier: P0) -> ::windows::core::Result<()> | |
10651 | where | |
10652 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10653 | { | |
10654 | (::windows::core::Interface::vtable(self).DeleteCAConfiguration)(::windows::core::Interface::as_raw(self), bstridentifier.into_param().abi()).ok() | |
10655 | } | |
10656 | } | |
10657 | #[cfg(feature = "Win32_System_Com")] | |
10658 | ::windows::imp::interface_hierarchy!(IOCSPCAConfigurationCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10659 | #[cfg(feature = "Win32_System_Com")] | |
10660 | impl ::core::cmp::PartialEq for IOCSPCAConfigurationCollection { | |
10661 | fn eq(&self, other: &Self) -> bool { | |
10662 | self.0 == other.0 | |
10663 | } | |
10664 | } | |
10665 | #[cfg(feature = "Win32_System_Com")] | |
10666 | impl ::core::cmp::Eq for IOCSPCAConfigurationCollection {} | |
10667 | #[cfg(feature = "Win32_System_Com")] | |
10668 | impl ::core::fmt::Debug for IOCSPCAConfigurationCollection { | |
10669 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10670 | f.debug_tuple("IOCSPCAConfigurationCollection").field(&self.0).finish() | |
10671 | } | |
10672 | } | |
10673 | #[cfg(feature = "Win32_System_Com")] | |
10674 | unsafe impl ::windows::core::Interface for IOCSPCAConfigurationCollection { | |
10675 | type Vtable = IOCSPCAConfigurationCollection_Vtbl; | |
10676 | } | |
10677 | #[cfg(feature = "Win32_System_Com")] | |
10678 | impl ::core::clone::Clone for IOCSPCAConfigurationCollection { | |
10679 | fn clone(&self) -> Self { | |
10680 | Self(self.0.clone()) | |
10681 | } | |
10682 | } | |
10683 | #[cfg(feature = "Win32_System_Com")] | |
10684 | unsafe impl ::windows::core::ComInterface for IOCSPCAConfigurationCollection { | |
10685 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); | |
10686 | } | |
10687 | #[cfg(feature = "Win32_System_Com")] | |
10688 | #[repr(C)] | |
10689 | #[doc(hidden)] | |
10690 | pub struct IOCSPCAConfigurationCollection_Vtbl { | |
10691 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10692 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10693 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10694 | pub get_Item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10695 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10696 | get_Item: usize, | |
10697 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
10698 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10699 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstridentifier: ::std::mem::MaybeUninit<::windows::core::BSTR>, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10700 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10701 | get_ItemByName: usize, | |
10702 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10703 | pub CreateCAConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstridentifier: ::std::mem::MaybeUninit<::windows::core::BSTR>, varcacert: super::super::super::System::Com::VARIANT, ppval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10704 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10705 | CreateCAConfiguration: usize, | |
10706 | pub DeleteCAConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstridentifier: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10707 | } | |
10708 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10709 | #[cfg(feature = "Win32_System_Com")] | |
10710 | #[repr(transparent)] | |
10711 | pub struct IOCSPProperty(::windows::core::IUnknown); | |
10712 | #[cfg(feature = "Win32_System_Com")] | |
10713 | impl IOCSPProperty { | |
10714 | pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10715 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10716 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10717 | } | |
10718 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10719 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10720 | pub unsafe fn Value(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10721 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10722 | (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10723 | } | |
10724 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10725 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10726 | pub unsafe fn SetValue(&self, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10727 | (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(newval)).ok() | |
10728 | } | |
10729 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10730 | #[cfg(feature = "Win32_Foundation")] | |
10731 | pub unsafe fn Modified(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
10732 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
10733 | (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10734 | } | |
10735 | } | |
10736 | #[cfg(feature = "Win32_System_Com")] | |
10737 | ::windows::imp::interface_hierarchy!(IOCSPProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10738 | #[cfg(feature = "Win32_System_Com")] | |
10739 | impl ::core::cmp::PartialEq for IOCSPProperty { | |
10740 | fn eq(&self, other: &Self) -> bool { | |
10741 | self.0 == other.0 | |
10742 | } | |
10743 | } | |
10744 | #[cfg(feature = "Win32_System_Com")] | |
10745 | impl ::core::cmp::Eq for IOCSPProperty {} | |
10746 | #[cfg(feature = "Win32_System_Com")] | |
10747 | impl ::core::fmt::Debug for IOCSPProperty { | |
10748 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10749 | f.debug_tuple("IOCSPProperty").field(&self.0).finish() | |
10750 | } | |
10751 | } | |
10752 | #[cfg(feature = "Win32_System_Com")] | |
10753 | unsafe impl ::windows::core::Interface for IOCSPProperty { | |
10754 | type Vtable = IOCSPProperty_Vtbl; | |
10755 | } | |
10756 | #[cfg(feature = "Win32_System_Com")] | |
10757 | impl ::core::clone::Clone for IOCSPProperty { | |
10758 | fn clone(&self) -> Self { | |
10759 | Self(self.0.clone()) | |
10760 | } | |
10761 | } | |
10762 | #[cfg(feature = "Win32_System_Com")] | |
10763 | unsafe impl ::windows::core::ComInterface for IOCSPProperty { | |
10764 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); | |
10765 | } | |
10766 | #[cfg(feature = "Win32_System_Com")] | |
10767 | #[repr(C)] | |
10768 | #[doc(hidden)] | |
10769 | pub struct IOCSPProperty_Vtbl { | |
10770 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10771 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10772 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10773 | pub Value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10774 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10775 | Value: usize, | |
10776 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10777 | pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newval: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10778 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10779 | SetValue: usize, | |
10780 | #[cfg(feature = "Win32_Foundation")] | |
10781 | pub Modified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
10782 | #[cfg(not(feature = "Win32_Foundation"))] | |
10783 | Modified: usize, | |
10784 | } | |
10785 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10786 | #[cfg(feature = "Win32_System_Com")] | |
10787 | #[repr(transparent)] | |
10788 | pub struct IOCSPPropertyCollection(::windows::core::IUnknown); | |
10789 | #[cfg(feature = "Win32_System_Com")] | |
10790 | impl IOCSPPropertyCollection { | |
10791 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
10792 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
10793 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10794 | } | |
10795 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10796 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10797 | pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10798 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10799 | (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
10800 | } | |
10801 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
10802 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
10803 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10804 | } | |
10805 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10806 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10807 | pub unsafe fn get_ItemByName<P0>(&self, bstrpropname: P0) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> | |
10808 | where | |
10809 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10810 | { | |
10811 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10812 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstrpropname.into_param().abi(), &mut result__).from_abi(result__) | |
10813 | } | |
10814 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10815 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10816 | pub unsafe fn CreateProperty<P0>(&self, bstrpropname: P0, pvarpropvalue: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<IOCSPProperty> | |
10817 | where | |
10818 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10819 | { | |
10820 | let mut result__ = ::windows::core::zeroed::<IOCSPProperty>(); | |
10821 | (::windows::core::Interface::vtable(self).CreateProperty)(::windows::core::Interface::as_raw(self), bstrpropname.into_param().abi(), pvarpropvalue, &mut result__).from_abi(result__) | |
10822 | } | |
10823 | pub unsafe fn DeleteProperty<P0>(&self, bstrpropname: P0) -> ::windows::core::Result<()> | |
10824 | where | |
10825 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10826 | { | |
10827 | (::windows::core::Interface::vtable(self).DeleteProperty)(::windows::core::Interface::as_raw(self), bstrpropname.into_param().abi()).ok() | |
10828 | } | |
10829 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10830 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10831 | pub unsafe fn InitializeFromProperties(&self, pvarproperties: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
10832 | (::windows::core::Interface::vtable(self).InitializeFromProperties)(::windows::core::Interface::as_raw(self), pvarproperties).ok() | |
10833 | } | |
10834 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
10835 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10836 | pub unsafe fn GetAllProperties(&self) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
10837 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
10838 | (::windows::core::Interface::vtable(self).GetAllProperties)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10839 | } | |
10840 | } | |
10841 | #[cfg(feature = "Win32_System_Com")] | |
10842 | ::windows::imp::interface_hierarchy!(IOCSPPropertyCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10843 | #[cfg(feature = "Win32_System_Com")] | |
10844 | impl ::core::cmp::PartialEq for IOCSPPropertyCollection { | |
10845 | fn eq(&self, other: &Self) -> bool { | |
10846 | self.0 == other.0 | |
10847 | } | |
10848 | } | |
10849 | #[cfg(feature = "Win32_System_Com")] | |
10850 | impl ::core::cmp::Eq for IOCSPPropertyCollection {} | |
10851 | #[cfg(feature = "Win32_System_Com")] | |
10852 | impl ::core::fmt::Debug for IOCSPPropertyCollection { | |
10853 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10854 | f.debug_tuple("IOCSPPropertyCollection").field(&self.0).finish() | |
10855 | } | |
10856 | } | |
10857 | #[cfg(feature = "Win32_System_Com")] | |
10858 | unsafe impl ::windows::core::Interface for IOCSPPropertyCollection { | |
10859 | type Vtable = IOCSPPropertyCollection_Vtbl; | |
10860 | } | |
10861 | #[cfg(feature = "Win32_System_Com")] | |
10862 | impl ::core::clone::Clone for IOCSPPropertyCollection { | |
10863 | fn clone(&self) -> Self { | |
10864 | Self(self.0.clone()) | |
10865 | } | |
10866 | } | |
10867 | #[cfg(feature = "Win32_System_Com")] | |
10868 | unsafe impl ::windows::core::ComInterface for IOCSPPropertyCollection { | |
10869 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2597c18d_54e6_4b74_9fa9_a6bfda99cbbe); | |
10870 | } | |
10871 | #[cfg(feature = "Win32_System_Com")] | |
10872 | #[repr(C)] | |
10873 | #[doc(hidden)] | |
10874 | pub struct IOCSPPropertyCollection_Vtbl { | |
10875 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10876 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10877 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10878 | pub get_Item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10879 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10880 | get_Item: usize, | |
10881 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
10882 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10883 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10884 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10885 | get_ItemByName: usize, | |
10886 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10887 | pub CreateProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropname: ::std::mem::MaybeUninit<::windows::core::BSTR>, pvarpropvalue: *const super::super::super::System::Com::VARIANT, ppval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10888 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10889 | CreateProperty: usize, | |
10890 | pub DeleteProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10891 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10892 | pub InitializeFromProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarproperties: *const super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10893 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10894 | InitializeFromProperties: usize, | |
10895 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
10896 | pub GetAllProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarproperties: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
10897 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
10898 | GetAllProperties: usize, | |
10899 | } | |
10900 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10901 | #[cfg(feature = "Win32_System_Com")] | |
10902 | #[repr(transparent)] | |
10903 | pub struct IObjectId(::windows::core::IUnknown); | |
10904 | #[cfg(feature = "Win32_System_Com")] | |
10905 | impl IObjectId { | |
10906 | pub unsafe fn InitializeFromName(&self, name: CERTENROLL_OBJECTID) -> ::windows::core::Result<()> { | |
10907 | (::windows::core::Interface::vtable(self).InitializeFromName)(::windows::core::Interface::as_raw(self), name).ok() | |
10908 | } | |
10909 | pub unsafe fn InitializeFromValue<P0>(&self, strvalue: P0) -> ::windows::core::Result<()> | |
10910 | where | |
10911 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10912 | { | |
10913 | (::windows::core::Interface::vtable(self).InitializeFromValue)(::windows::core::Interface::as_raw(self), strvalue.into_param().abi()).ok() | |
10914 | } | |
10915 | pub unsafe fn InitializeFromAlgorithmName<P0>(&self, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, algflags: AlgorithmFlags, stralgorithmname: P0) -> ::windows::core::Result<()> | |
10916 | where | |
10917 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10918 | { | |
10919 | (::windows::core::Interface::vtable(self).InitializeFromAlgorithmName)(::windows::core::Interface::as_raw(self), groupid, keyflags, algflags, stralgorithmname.into_param().abi()).ok() | |
10920 | } | |
10921 | pub unsafe fn Name(&self) -> ::windows::core::Result<CERTENROLL_OBJECTID> { | |
10922 | let mut result__ = ::windows::core::zeroed::<CERTENROLL_OBJECTID>(); | |
10923 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10924 | } | |
10925 | pub unsafe fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10926 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10927 | (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10928 | } | |
10929 | pub unsafe fn SetFriendlyName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
10930 | where | |
10931 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
10932 | { | |
10933 | (::windows::core::Interface::vtable(self).SetFriendlyName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
10934 | } | |
10935 | pub unsafe fn Value(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
10936 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10937 | (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
10938 | } | |
10939 | pub unsafe fn GetAlgorithmName(&self, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags) -> ::windows::core::Result<::windows::core::BSTR> { | |
10940 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
10941 | (::windows::core::Interface::vtable(self).GetAlgorithmName)(::windows::core::Interface::as_raw(self), groupid, keyflags, &mut result__).from_abi(result__) | |
10942 | } | |
10943 | } | |
10944 | #[cfg(feature = "Win32_System_Com")] | |
10945 | ::windows::imp::interface_hierarchy!(IObjectId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
10946 | #[cfg(feature = "Win32_System_Com")] | |
10947 | impl ::core::cmp::PartialEq for IObjectId { | |
10948 | fn eq(&self, other: &Self) -> bool { | |
10949 | self.0 == other.0 | |
10950 | } | |
10951 | } | |
10952 | #[cfg(feature = "Win32_System_Com")] | |
10953 | impl ::core::cmp::Eq for IObjectId {} | |
10954 | #[cfg(feature = "Win32_System_Com")] | |
10955 | impl ::core::fmt::Debug for IObjectId { | |
10956 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10957 | f.debug_tuple("IObjectId").field(&self.0).finish() | |
10958 | } | |
10959 | } | |
10960 | #[cfg(feature = "Win32_System_Com")] | |
10961 | unsafe impl ::windows::core::Interface for IObjectId { | |
10962 | type Vtable = IObjectId_Vtbl; | |
10963 | } | |
10964 | #[cfg(feature = "Win32_System_Com")] | |
10965 | impl ::core::clone::Clone for IObjectId { | |
10966 | fn clone(&self) -> Self { | |
10967 | Self(self.0.clone()) | |
10968 | } | |
10969 | } | |
10970 | #[cfg(feature = "Win32_System_Com")] | |
10971 | unsafe impl ::windows::core::ComInterface for IObjectId { | |
10972 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab300_217d_11da_b2a4_000e7bbb2b09); | |
10973 | } | |
10974 | #[cfg(feature = "Win32_System_Com")] | |
10975 | #[repr(C)] | |
10976 | #[doc(hidden)] | |
10977 | pub struct IObjectId_Vtbl { | |
10978 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
10979 | pub InitializeFromName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: CERTENROLL_OBJECTID) -> ::windows::core::HRESULT, | |
10980 | pub InitializeFromValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10981 | pub InitializeFromAlgorithmName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, algflags: AlgorithmFlags, stralgorithmname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10982 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut CERTENROLL_OBJECTID) -> ::windows::core::HRESULT, | |
10983 | pub FriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10984 | pub SetFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10985 | pub Value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10986 | pub GetAlgorithmName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, pstralgorithmname: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
10987 | } | |
10988 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
10989 | #[cfg(feature = "Win32_System_Com")] | |
10990 | #[repr(transparent)] | |
10991 | pub struct IObjectIds(::windows::core::IUnknown); | |
10992 | #[cfg(feature = "Win32_System_Com")] | |
10993 | impl IObjectIds { | |
10994 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
10995 | #[cfg(feature = "Win32_System_Com")] | |
10996 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IObjectId> { | |
10997 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
10998 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
10999 | } | |
11000 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
11001 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11002 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11003 | } | |
11004 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
11005 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
11006 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11007 | } | |
11008 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11009 | #[cfg(feature = "Win32_System_Com")] | |
11010 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
11011 | where | |
11012 | P0: ::windows::core::IntoParam<IObjectId>, | |
11013 | { | |
11014 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
11015 | } | |
11016 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
11017 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
11018 | } | |
11019 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
11020 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
11021 | } | |
11022 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11023 | #[cfg(feature = "Win32_System_Com")] | |
11024 | pub unsafe fn AddRange<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
11025 | where | |
11026 | P0: ::windows::core::IntoParam<IObjectIds>, | |
11027 | { | |
11028 | (::windows::core::Interface::vtable(self).AddRange)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
11029 | } | |
11030 | } | |
11031 | #[cfg(feature = "Win32_System_Com")] | |
11032 | ::windows::imp::interface_hierarchy!(IObjectIds, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11033 | #[cfg(feature = "Win32_System_Com")] | |
11034 | impl ::core::cmp::PartialEq for IObjectIds { | |
11035 | fn eq(&self, other: &Self) -> bool { | |
11036 | self.0 == other.0 | |
11037 | } | |
11038 | } | |
11039 | #[cfg(feature = "Win32_System_Com")] | |
11040 | impl ::core::cmp::Eq for IObjectIds {} | |
11041 | #[cfg(feature = "Win32_System_Com")] | |
11042 | impl ::core::fmt::Debug for IObjectIds { | |
11043 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11044 | f.debug_tuple("IObjectIds").field(&self.0).finish() | |
11045 | } | |
11046 | } | |
11047 | #[cfg(feature = "Win32_System_Com")] | |
11048 | unsafe impl ::windows::core::Interface for IObjectIds { | |
11049 | type Vtable = IObjectIds_Vtbl; | |
11050 | } | |
11051 | #[cfg(feature = "Win32_System_Com")] | |
11052 | impl ::core::clone::Clone for IObjectIds { | |
11053 | fn clone(&self) -> Self { | |
11054 | Self(self.0.clone()) | |
11055 | } | |
11056 | } | |
11057 | #[cfg(feature = "Win32_System_Com")] | |
11058 | unsafe impl ::windows::core::ComInterface for IObjectIds { | |
11059 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab301_217d_11da_b2a4_000e7bbb2b09); | |
11060 | } | |
11061 | #[cfg(feature = "Win32_System_Com")] | |
11062 | #[repr(C)] | |
11063 | #[doc(hidden)] | |
11064 | pub struct IObjectIds_Vtbl { | |
11065 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11066 | #[cfg(feature = "Win32_System_Com")] | |
11067 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11068 | #[cfg(not(feature = "Win32_System_Com"))] | |
11069 | get_ItemByIndex: usize, | |
11070 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
11071 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11072 | #[cfg(feature = "Win32_System_Com")] | |
11073 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11074 | #[cfg(not(feature = "Win32_System_Com"))] | |
11075 | Add: usize, | |
11076 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
11077 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11078 | #[cfg(feature = "Win32_System_Com")] | |
11079 | pub AddRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11080 | #[cfg(not(feature = "Win32_System_Com"))] | |
11081 | AddRange: usize, | |
11082 | } | |
11083 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11084 | #[cfg(feature = "Win32_System_Com")] | |
11085 | #[repr(transparent)] | |
11086 | pub struct IPolicyQualifier(::windows::core::IUnknown); | |
11087 | #[cfg(feature = "Win32_System_Com")] | |
11088 | impl IPolicyQualifier { | |
11089 | pub unsafe fn InitializeEncode<P0>(&self, strqualifier: P0, r#type: PolicyQualifierType) -> ::windows::core::Result<()> | |
11090 | where | |
11091 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11092 | { | |
11093 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), strqualifier.into_param().abi(), r#type).ok() | |
11094 | } | |
11095 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11096 | #[cfg(feature = "Win32_System_Com")] | |
11097 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11098 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11099 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11100 | } | |
11101 | pub unsafe fn Qualifier(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
11102 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11103 | (::windows::core::Interface::vtable(self).Qualifier)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11104 | } | |
11105 | pub unsafe fn Type(&self) -> ::windows::core::Result<PolicyQualifierType> { | |
11106 | let mut result__ = ::windows::core::zeroed::<PolicyQualifierType>(); | |
11107 | (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11108 | } | |
11109 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11110 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11111 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11112 | } | |
11113 | } | |
11114 | #[cfg(feature = "Win32_System_Com")] | |
11115 | ::windows::imp::interface_hierarchy!(IPolicyQualifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11116 | #[cfg(feature = "Win32_System_Com")] | |
11117 | impl ::core::cmp::PartialEq for IPolicyQualifier { | |
11118 | fn eq(&self, other: &Self) -> bool { | |
11119 | self.0 == other.0 | |
11120 | } | |
11121 | } | |
11122 | #[cfg(feature = "Win32_System_Com")] | |
11123 | impl ::core::cmp::Eq for IPolicyQualifier {} | |
11124 | #[cfg(feature = "Win32_System_Com")] | |
11125 | impl ::core::fmt::Debug for IPolicyQualifier { | |
11126 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11127 | f.debug_tuple("IPolicyQualifier").field(&self.0).finish() | |
11128 | } | |
11129 | } | |
11130 | #[cfg(feature = "Win32_System_Com")] | |
11131 | unsafe impl ::windows::core::Interface for IPolicyQualifier { | |
11132 | type Vtable = IPolicyQualifier_Vtbl; | |
11133 | } | |
11134 | #[cfg(feature = "Win32_System_Com")] | |
11135 | impl ::core::clone::Clone for IPolicyQualifier { | |
11136 | fn clone(&self) -> Self { | |
11137 | Self(self.0.clone()) | |
11138 | } | |
11139 | } | |
11140 | #[cfg(feature = "Win32_System_Com")] | |
11141 | unsafe impl ::windows::core::ComInterface for IPolicyQualifier { | |
11142 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31c_217d_11da_b2a4_000e7bbb2b09); | |
11143 | } | |
11144 | #[cfg(feature = "Win32_System_Com")] | |
11145 | #[repr(C)] | |
11146 | #[doc(hidden)] | |
11147 | pub struct IPolicyQualifier_Vtbl { | |
11148 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11149 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strqualifier: ::std::mem::MaybeUninit<::windows::core::BSTR>, r#type: PolicyQualifierType) -> ::windows::core::HRESULT, | |
11150 | #[cfg(feature = "Win32_System_Com")] | |
11151 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11152 | #[cfg(not(feature = "Win32_System_Com"))] | |
11153 | ObjectId: usize, | |
11154 | pub Qualifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11155 | pub Type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut PolicyQualifierType) -> ::windows::core::HRESULT, | |
11156 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11157 | } | |
11158 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11159 | #[cfg(feature = "Win32_System_Com")] | |
11160 | #[repr(transparent)] | |
11161 | pub struct IPolicyQualifiers(::windows::core::IUnknown); | |
11162 | #[cfg(feature = "Win32_System_Com")] | |
11163 | impl IPolicyQualifiers { | |
11164 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11165 | #[cfg(feature = "Win32_System_Com")] | |
11166 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IPolicyQualifier> { | |
11167 | let mut result__ = ::windows::core::zeroed::<IPolicyQualifier>(); | |
11168 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
11169 | } | |
11170 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
11171 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11172 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11173 | } | |
11174 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
11175 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
11176 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11177 | } | |
11178 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11179 | #[cfg(feature = "Win32_System_Com")] | |
11180 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
11181 | where | |
11182 | P0: ::windows::core::IntoParam<IPolicyQualifier>, | |
11183 | { | |
11184 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
11185 | } | |
11186 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
11187 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
11188 | } | |
11189 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
11190 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
11191 | } | |
11192 | } | |
11193 | #[cfg(feature = "Win32_System_Com")] | |
11194 | ::windows::imp::interface_hierarchy!(IPolicyQualifiers, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11195 | #[cfg(feature = "Win32_System_Com")] | |
11196 | impl ::core::cmp::PartialEq for IPolicyQualifiers { | |
11197 | fn eq(&self, other: &Self) -> bool { | |
11198 | self.0 == other.0 | |
11199 | } | |
11200 | } | |
11201 | #[cfg(feature = "Win32_System_Com")] | |
11202 | impl ::core::cmp::Eq for IPolicyQualifiers {} | |
11203 | #[cfg(feature = "Win32_System_Com")] | |
11204 | impl ::core::fmt::Debug for IPolicyQualifiers { | |
11205 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11206 | f.debug_tuple("IPolicyQualifiers").field(&self.0).finish() | |
11207 | } | |
11208 | } | |
11209 | #[cfg(feature = "Win32_System_Com")] | |
11210 | unsafe impl ::windows::core::Interface for IPolicyQualifiers { | |
11211 | type Vtable = IPolicyQualifiers_Vtbl; | |
11212 | } | |
11213 | #[cfg(feature = "Win32_System_Com")] | |
11214 | impl ::core::clone::Clone for IPolicyQualifiers { | |
11215 | fn clone(&self) -> Self { | |
11216 | Self(self.0.clone()) | |
11217 | } | |
11218 | } | |
11219 | #[cfg(feature = "Win32_System_Com")] | |
11220 | unsafe impl ::windows::core::ComInterface for IPolicyQualifiers { | |
11221 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31d_217d_11da_b2a4_000e7bbb2b09); | |
11222 | } | |
11223 | #[cfg(feature = "Win32_System_Com")] | |
11224 | #[repr(C)] | |
11225 | #[doc(hidden)] | |
11226 | pub struct IPolicyQualifiers_Vtbl { | |
11227 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11228 | #[cfg(feature = "Win32_System_Com")] | |
11229 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11230 | #[cfg(not(feature = "Win32_System_Com"))] | |
11231 | get_ItemByIndex: usize, | |
11232 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
11233 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11234 | #[cfg(feature = "Win32_System_Com")] | |
11235 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11236 | #[cfg(not(feature = "Win32_System_Com"))] | |
11237 | Add: usize, | |
11238 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
11239 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11240 | } | |
11241 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11242 | #[cfg(feature = "Win32_System_Com")] | |
11243 | #[repr(transparent)] | |
11244 | pub struct ISignerCertificate(::windows::core::IUnknown); | |
11245 | #[cfg(feature = "Win32_System_Com")] | |
11246 | impl ISignerCertificate { | |
11247 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11248 | #[cfg(feature = "Win32_Foundation")] | |
11249 | pub unsafe fn Initialize<P0, P1>(&self, machinecontext: P0, verifytype: X509PrivateKeyVerify, encoding: EncodingType, strcertificate: P1) -> ::windows::core::Result<()> | |
11250 | where | |
11251 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
11252 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11253 | { | |
11254 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi(), verifytype, encoding, strcertificate.into_param().abi()).ok() | |
11255 | } | |
11256 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11257 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11258 | (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11259 | } | |
11260 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11261 | #[cfg(feature = "Win32_System_Com")] | |
11262 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
11263 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
11264 | (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11265 | } | |
11266 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11267 | #[cfg(feature = "Win32_Foundation")] | |
11268 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
11269 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
11270 | (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11271 | } | |
11272 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11273 | #[cfg(feature = "Win32_Foundation")] | |
11274 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
11275 | where | |
11276 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
11277 | { | |
11278 | (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
11279 | } | |
11280 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
11281 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11282 | (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11283 | } | |
11284 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
11285 | (::windows::core::Interface::vtable(self).SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
11286 | } | |
11287 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
11288 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11289 | (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11290 | } | |
11291 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
11292 | where | |
11293 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11294 | { | |
11295 | (::windows::core::Interface::vtable(self).SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
11296 | } | |
11297 | pub unsafe fn SetPin<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
11298 | where | |
11299 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11300 | { | |
11301 | (::windows::core::Interface::vtable(self).SetPin)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
11302 | } | |
11303 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11304 | #[cfg(feature = "Win32_System_Com")] | |
11305 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
11306 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
11307 | (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11308 | } | |
11309 | } | |
11310 | #[cfg(feature = "Win32_System_Com")] | |
11311 | ::windows::imp::interface_hierarchy!(ISignerCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11312 | #[cfg(feature = "Win32_System_Com")] | |
11313 | impl ::core::cmp::PartialEq for ISignerCertificate { | |
11314 | fn eq(&self, other: &Self) -> bool { | |
11315 | self.0 == other.0 | |
11316 | } | |
11317 | } | |
11318 | #[cfg(feature = "Win32_System_Com")] | |
11319 | impl ::core::cmp::Eq for ISignerCertificate {} | |
11320 | #[cfg(feature = "Win32_System_Com")] | |
11321 | impl ::core::fmt::Debug for ISignerCertificate { | |
11322 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11323 | f.debug_tuple("ISignerCertificate").field(&self.0).finish() | |
11324 | } | |
11325 | } | |
11326 | #[cfg(feature = "Win32_System_Com")] | |
11327 | unsafe impl ::windows::core::Interface for ISignerCertificate { | |
11328 | type Vtable = ISignerCertificate_Vtbl; | |
11329 | } | |
11330 | #[cfg(feature = "Win32_System_Com")] | |
11331 | impl ::core::clone::Clone for ISignerCertificate { | |
11332 | fn clone(&self) -> Self { | |
11333 | Self(self.0.clone()) | |
11334 | } | |
11335 | } | |
11336 | #[cfg(feature = "Win32_System_Com")] | |
11337 | unsafe impl ::windows::core::ComInterface for ISignerCertificate { | |
11338 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33d_217d_11da_b2a4_000e7bbb2b09); | |
11339 | } | |
11340 | #[cfg(feature = "Win32_System_Com")] | |
11341 | #[repr(C)] | |
11342 | #[doc(hidden)] | |
11343 | pub struct ISignerCertificate_Vtbl { | |
11344 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11345 | #[cfg(feature = "Win32_Foundation")] | |
11346 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, verifytype: X509PrivateKeyVerify, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11347 | #[cfg(not(feature = "Win32_Foundation"))] | |
11348 | Initialize: usize, | |
11349 | pub get_Certificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11350 | #[cfg(feature = "Win32_System_Com")] | |
11351 | pub PrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11352 | #[cfg(not(feature = "Win32_System_Com"))] | |
11353 | PrivateKey: usize, | |
11354 | #[cfg(feature = "Win32_Foundation")] | |
11355 | pub Silent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
11356 | #[cfg(not(feature = "Win32_Foundation"))] | |
11357 | Silent: usize, | |
11358 | #[cfg(feature = "Win32_Foundation")] | |
11359 | pub SetSilent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
11360 | #[cfg(not(feature = "Win32_Foundation"))] | |
11361 | SetSilent: usize, | |
11362 | pub ParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
11363 | pub SetParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
11364 | pub UIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11365 | pub SetUIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11366 | pub SetPin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11367 | #[cfg(feature = "Win32_System_Com")] | |
11368 | pub SignatureInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11369 | #[cfg(not(feature = "Win32_System_Com"))] | |
11370 | SignatureInformation: usize, | |
11371 | } | |
11372 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11373 | #[cfg(feature = "Win32_System_Com")] | |
11374 | #[repr(transparent)] | |
11375 | pub struct ISignerCertificates(::windows::core::IUnknown); | |
11376 | #[cfg(feature = "Win32_System_Com")] | |
11377 | impl ISignerCertificates { | |
11378 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11379 | #[cfg(feature = "Win32_System_Com")] | |
11380 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ISignerCertificate> { | |
11381 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
11382 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
11383 | } | |
11384 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
11385 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11386 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11387 | } | |
11388 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
11389 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
11390 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11391 | } | |
11392 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11393 | #[cfg(feature = "Win32_System_Com")] | |
11394 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
11395 | where | |
11396 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
11397 | { | |
11398 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
11399 | } | |
11400 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
11401 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
11402 | } | |
11403 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
11404 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
11405 | } | |
11406 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11407 | #[cfg(feature = "Win32_System_Com")] | |
11408 | pub unsafe fn Find<P0>(&self, psignercert: P0) -> ::windows::core::Result<i32> | |
11409 | where | |
11410 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
11411 | { | |
11412 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11413 | (::windows::core::Interface::vtable(self).Find)(::windows::core::Interface::as_raw(self), psignercert.into_param().abi(), &mut result__).from_abi(result__) | |
11414 | } | |
11415 | } | |
11416 | #[cfg(feature = "Win32_System_Com")] | |
11417 | ::windows::imp::interface_hierarchy!(ISignerCertificates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11418 | #[cfg(feature = "Win32_System_Com")] | |
11419 | impl ::core::cmp::PartialEq for ISignerCertificates { | |
11420 | fn eq(&self, other: &Self) -> bool { | |
11421 | self.0 == other.0 | |
11422 | } | |
11423 | } | |
11424 | #[cfg(feature = "Win32_System_Com")] | |
11425 | impl ::core::cmp::Eq for ISignerCertificates {} | |
11426 | #[cfg(feature = "Win32_System_Com")] | |
11427 | impl ::core::fmt::Debug for ISignerCertificates { | |
11428 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11429 | f.debug_tuple("ISignerCertificates").field(&self.0).finish() | |
11430 | } | |
11431 | } | |
11432 | #[cfg(feature = "Win32_System_Com")] | |
11433 | unsafe impl ::windows::core::Interface for ISignerCertificates { | |
11434 | type Vtable = ISignerCertificates_Vtbl; | |
11435 | } | |
11436 | #[cfg(feature = "Win32_System_Com")] | |
11437 | impl ::core::clone::Clone for ISignerCertificates { | |
11438 | fn clone(&self) -> Self { | |
11439 | Self(self.0.clone()) | |
11440 | } | |
11441 | } | |
11442 | #[cfg(feature = "Win32_System_Com")] | |
11443 | unsafe impl ::windows::core::ComInterface for ISignerCertificates { | |
11444 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33e_217d_11da_b2a4_000e7bbb2b09); | |
11445 | } | |
11446 | #[cfg(feature = "Win32_System_Com")] | |
11447 | #[repr(C)] | |
11448 | #[doc(hidden)] | |
11449 | pub struct ISignerCertificates_Vtbl { | |
11450 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11451 | #[cfg(feature = "Win32_System_Com")] | |
11452 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11453 | #[cfg(not(feature = "Win32_System_Com"))] | |
11454 | get_ItemByIndex: usize, | |
11455 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
11456 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11457 | #[cfg(feature = "Win32_System_Com")] | |
11458 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11459 | #[cfg(not(feature = "Win32_System_Com"))] | |
11460 | Add: usize, | |
11461 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
11462 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11463 | #[cfg(feature = "Win32_System_Com")] | |
11464 | pub Find: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psignercert: *mut ::core::ffi::c_void, pisignercert: *mut i32) -> ::windows::core::HRESULT, | |
11465 | #[cfg(not(feature = "Win32_System_Com"))] | |
11466 | Find: usize, | |
11467 | } | |
11468 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11469 | #[cfg(feature = "Win32_System_Com")] | |
11470 | #[repr(transparent)] | |
11471 | pub struct ISmimeCapabilities(::windows::core::IUnknown); | |
11472 | #[cfg(feature = "Win32_System_Com")] | |
11473 | impl ISmimeCapabilities { | |
11474 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11475 | #[cfg(feature = "Win32_System_Com")] | |
11476 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<ISmimeCapability> { | |
11477 | let mut result__ = ::windows::core::zeroed::<ISmimeCapability>(); | |
11478 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
11479 | } | |
11480 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
11481 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11482 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11483 | } | |
11484 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
11485 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
11486 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11487 | } | |
11488 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11489 | #[cfg(feature = "Win32_System_Com")] | |
11490 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
11491 | where | |
11492 | P0: ::windows::core::IntoParam<ISmimeCapability>, | |
11493 | { | |
11494 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
11495 | } | |
11496 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
11497 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
11498 | } | |
11499 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
11500 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
11501 | } | |
11502 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11503 | #[cfg(feature = "Win32_System_Com")] | |
11504 | pub unsafe fn AddFromCsp<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
11505 | where | |
11506 | P0: ::windows::core::IntoParam<ICspInformation>, | |
11507 | { | |
11508 | (::windows::core::Interface::vtable(self).AddFromCsp)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
11509 | } | |
11510 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11511 | #[cfg(feature = "Win32_Foundation")] | |
11512 | pub unsafe fn AddAvailableSmimeCapabilities<P0>(&self, machinecontext: P0) -> ::windows::core::Result<()> | |
11513 | where | |
11514 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
11515 | { | |
11516 | (::windows::core::Interface::vtable(self).AddAvailableSmimeCapabilities)(::windows::core::Interface::as_raw(self), machinecontext.into_param().abi()).ok() | |
11517 | } | |
11518 | } | |
11519 | #[cfg(feature = "Win32_System_Com")] | |
11520 | ::windows::imp::interface_hierarchy!(ISmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11521 | #[cfg(feature = "Win32_System_Com")] | |
11522 | impl ::core::cmp::PartialEq for ISmimeCapabilities { | |
11523 | fn eq(&self, other: &Self) -> bool { | |
11524 | self.0 == other.0 | |
11525 | } | |
11526 | } | |
11527 | #[cfg(feature = "Win32_System_Com")] | |
11528 | impl ::core::cmp::Eq for ISmimeCapabilities {} | |
11529 | #[cfg(feature = "Win32_System_Com")] | |
11530 | impl ::core::fmt::Debug for ISmimeCapabilities { | |
11531 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11532 | f.debug_tuple("ISmimeCapabilities").field(&self.0).finish() | |
11533 | } | |
11534 | } | |
11535 | #[cfg(feature = "Win32_System_Com")] | |
11536 | unsafe impl ::windows::core::Interface for ISmimeCapabilities { | |
11537 | type Vtable = ISmimeCapabilities_Vtbl; | |
11538 | } | |
11539 | #[cfg(feature = "Win32_System_Com")] | |
11540 | impl ::core::clone::Clone for ISmimeCapabilities { | |
11541 | fn clone(&self) -> Self { | |
11542 | Self(self.0.clone()) | |
11543 | } | |
11544 | } | |
11545 | #[cfg(feature = "Win32_System_Com")] | |
11546 | unsafe impl ::windows::core::ComInterface for ISmimeCapabilities { | |
11547 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31a_217d_11da_b2a4_000e7bbb2b09); | |
11548 | } | |
11549 | #[cfg(feature = "Win32_System_Com")] | |
11550 | #[repr(C)] | |
11551 | #[doc(hidden)] | |
11552 | pub struct ISmimeCapabilities_Vtbl { | |
11553 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11554 | #[cfg(feature = "Win32_System_Com")] | |
11555 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11556 | #[cfg(not(feature = "Win32_System_Com"))] | |
11557 | get_ItemByIndex: usize, | |
11558 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
11559 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11560 | #[cfg(feature = "Win32_System_Com")] | |
11561 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11562 | #[cfg(not(feature = "Win32_System_Com"))] | |
11563 | Add: usize, | |
11564 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
11565 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11566 | #[cfg(feature = "Win32_System_Com")] | |
11567 | pub AddFromCsp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11568 | #[cfg(not(feature = "Win32_System_Com"))] | |
11569 | AddFromCsp: usize, | |
11570 | #[cfg(feature = "Win32_Foundation")] | |
11571 | pub AddAvailableSmimeCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
11572 | #[cfg(not(feature = "Win32_Foundation"))] | |
11573 | AddAvailableSmimeCapabilities: usize, | |
11574 | } | |
11575 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11576 | #[cfg(feature = "Win32_System_Com")] | |
11577 | #[repr(transparent)] | |
11578 | pub struct ISmimeCapability(::windows::core::IUnknown); | |
11579 | #[cfg(feature = "Win32_System_Com")] | |
11580 | impl ISmimeCapability { | |
11581 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11582 | #[cfg(feature = "Win32_System_Com")] | |
11583 | pub unsafe fn Initialize<P0>(&self, pobjectid: P0, bitcount: i32) -> ::windows::core::Result<()> | |
11584 | where | |
11585 | P0: ::windows::core::IntoParam<IObjectId>, | |
11586 | { | |
11587 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), bitcount).ok() | |
11588 | } | |
11589 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11590 | #[cfg(feature = "Win32_System_Com")] | |
11591 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11592 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11593 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11594 | } | |
11595 | pub unsafe fn BitCount(&self) -> ::windows::core::Result<i32> { | |
11596 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11597 | (::windows::core::Interface::vtable(self).BitCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11598 | } | |
11599 | } | |
11600 | #[cfg(feature = "Win32_System_Com")] | |
11601 | ::windows::imp::interface_hierarchy!(ISmimeCapability, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11602 | #[cfg(feature = "Win32_System_Com")] | |
11603 | impl ::core::cmp::PartialEq for ISmimeCapability { | |
11604 | fn eq(&self, other: &Self) -> bool { | |
11605 | self.0 == other.0 | |
11606 | } | |
11607 | } | |
11608 | #[cfg(feature = "Win32_System_Com")] | |
11609 | impl ::core::cmp::Eq for ISmimeCapability {} | |
11610 | #[cfg(feature = "Win32_System_Com")] | |
11611 | impl ::core::fmt::Debug for ISmimeCapability { | |
11612 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11613 | f.debug_tuple("ISmimeCapability").field(&self.0).finish() | |
11614 | } | |
11615 | } | |
11616 | #[cfg(feature = "Win32_System_Com")] | |
11617 | unsafe impl ::windows::core::Interface for ISmimeCapability { | |
11618 | type Vtable = ISmimeCapability_Vtbl; | |
11619 | } | |
11620 | #[cfg(feature = "Win32_System_Com")] | |
11621 | impl ::core::clone::Clone for ISmimeCapability { | |
11622 | fn clone(&self) -> Self { | |
11623 | Self(self.0.clone()) | |
11624 | } | |
11625 | } | |
11626 | #[cfg(feature = "Win32_System_Com")] | |
11627 | unsafe impl ::windows::core::ComInterface for ISmimeCapability { | |
11628 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab319_217d_11da_b2a4_000e7bbb2b09); | |
11629 | } | |
11630 | #[cfg(feature = "Win32_System_Com")] | |
11631 | #[repr(C)] | |
11632 | #[doc(hidden)] | |
11633 | pub struct ISmimeCapability_Vtbl { | |
11634 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11635 | #[cfg(feature = "Win32_System_Com")] | |
11636 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, bitcount: i32) -> ::windows::core::HRESULT, | |
11637 | #[cfg(not(feature = "Win32_System_Com"))] | |
11638 | Initialize: usize, | |
11639 | #[cfg(feature = "Win32_System_Com")] | |
11640 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11641 | #[cfg(not(feature = "Win32_System_Com"))] | |
11642 | ObjectId: usize, | |
11643 | pub BitCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
11644 | } | |
11645 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11646 | #[cfg(feature = "Win32_System_Com")] | |
11647 | #[repr(transparent)] | |
11648 | pub struct IX500DistinguishedName(::windows::core::IUnknown); | |
11649 | #[cfg(feature = "Win32_System_Com")] | |
11650 | impl IX500DistinguishedName { | |
11651 | pub unsafe fn Decode<P0>(&self, strencodedname: P0, encoding: EncodingType, nameflags: X500NameFlags) -> ::windows::core::Result<()> | |
11652 | where | |
11653 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11654 | { | |
11655 | (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strencodedname.into_param().abi(), encoding, nameflags).ok() | |
11656 | } | |
11657 | pub unsafe fn Encode<P0>(&self, strname: P0, nameflags: X500NameFlags) -> ::windows::core::Result<()> | |
11658 | where | |
11659 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11660 | { | |
11661 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), strname.into_param().abi(), nameflags).ok() | |
11662 | } | |
11663 | pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
11664 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11665 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11666 | } | |
11667 | pub unsafe fn get_EncodedName(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11668 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11669 | (::windows::core::Interface::vtable(self).get_EncodedName)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11670 | } | |
11671 | } | |
11672 | #[cfg(feature = "Win32_System_Com")] | |
11673 | ::windows::imp::interface_hierarchy!(IX500DistinguishedName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11674 | #[cfg(feature = "Win32_System_Com")] | |
11675 | impl ::core::cmp::PartialEq for IX500DistinguishedName { | |
11676 | fn eq(&self, other: &Self) -> bool { | |
11677 | self.0 == other.0 | |
11678 | } | |
11679 | } | |
11680 | #[cfg(feature = "Win32_System_Com")] | |
11681 | impl ::core::cmp::Eq for IX500DistinguishedName {} | |
11682 | #[cfg(feature = "Win32_System_Com")] | |
11683 | impl ::core::fmt::Debug for IX500DistinguishedName { | |
11684 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11685 | f.debug_tuple("IX500DistinguishedName").field(&self.0).finish() | |
11686 | } | |
11687 | } | |
11688 | #[cfg(feature = "Win32_System_Com")] | |
11689 | unsafe impl ::windows::core::Interface for IX500DistinguishedName { | |
11690 | type Vtable = IX500DistinguishedName_Vtbl; | |
11691 | } | |
11692 | #[cfg(feature = "Win32_System_Com")] | |
11693 | impl ::core::clone::Clone for IX500DistinguishedName { | |
11694 | fn clone(&self) -> Self { | |
11695 | Self(self.0.clone()) | |
11696 | } | |
11697 | } | |
11698 | #[cfg(feature = "Win32_System_Com")] | |
11699 | unsafe impl ::windows::core::ComInterface for IX500DistinguishedName { | |
11700 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab303_217d_11da_b2a4_000e7bbb2b09); | |
11701 | } | |
11702 | #[cfg(feature = "Win32_System_Com")] | |
11703 | #[repr(C)] | |
11704 | #[doc(hidden)] | |
11705 | pub struct IX500DistinguishedName_Vtbl { | |
11706 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11707 | pub Decode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodedname: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, nameflags: X500NameFlags) -> ::windows::core::HRESULT, | |
11708 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, nameflags: X500NameFlags) -> ::windows::core::HRESULT, | |
11709 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11710 | pub get_EncodedName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11711 | } | |
11712 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11713 | #[cfg(feature = "Win32_System_Com")] | |
11714 | #[repr(transparent)] | |
11715 | pub struct IX509Attribute(::windows::core::IUnknown); | |
11716 | #[cfg(feature = "Win32_System_Com")] | |
11717 | impl IX509Attribute { | |
11718 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11719 | #[cfg(feature = "Win32_System_Com")] | |
11720 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
11721 | where | |
11722 | P0: ::windows::core::IntoParam<IObjectId>, | |
11723 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11724 | { | |
11725 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
11726 | } | |
11727 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11728 | #[cfg(feature = "Win32_System_Com")] | |
11729 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11730 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11731 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11732 | } | |
11733 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11734 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11735 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11736 | } | |
11737 | } | |
11738 | #[cfg(feature = "Win32_System_Com")] | |
11739 | ::windows::imp::interface_hierarchy!(IX509Attribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
11740 | #[cfg(feature = "Win32_System_Com")] | |
11741 | impl ::core::cmp::PartialEq for IX509Attribute { | |
11742 | fn eq(&self, other: &Self) -> bool { | |
11743 | self.0 == other.0 | |
11744 | } | |
11745 | } | |
11746 | #[cfg(feature = "Win32_System_Com")] | |
11747 | impl ::core::cmp::Eq for IX509Attribute {} | |
11748 | #[cfg(feature = "Win32_System_Com")] | |
11749 | impl ::core::fmt::Debug for IX509Attribute { | |
11750 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11751 | f.debug_tuple("IX509Attribute").field(&self.0).finish() | |
11752 | } | |
11753 | } | |
11754 | #[cfg(feature = "Win32_System_Com")] | |
11755 | unsafe impl ::windows::core::Interface for IX509Attribute { | |
11756 | type Vtable = IX509Attribute_Vtbl; | |
11757 | } | |
11758 | #[cfg(feature = "Win32_System_Com")] | |
11759 | impl ::core::clone::Clone for IX509Attribute { | |
11760 | fn clone(&self) -> Self { | |
11761 | Self(self.0.clone()) | |
11762 | } | |
11763 | } | |
11764 | #[cfg(feature = "Win32_System_Com")] | |
11765 | unsafe impl ::windows::core::ComInterface for IX509Attribute { | |
11766 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab322_217d_11da_b2a4_000e7bbb2b09); | |
11767 | } | |
11768 | #[cfg(feature = "Win32_System_Com")] | |
11769 | #[repr(C)] | |
11770 | #[doc(hidden)] | |
11771 | pub struct IX509Attribute_Vtbl { | |
11772 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
11773 | #[cfg(feature = "Win32_System_Com")] | |
11774 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11775 | #[cfg(not(feature = "Win32_System_Com"))] | |
11776 | Initialize: usize, | |
11777 | #[cfg(feature = "Win32_System_Com")] | |
11778 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11779 | #[cfg(not(feature = "Win32_System_Com"))] | |
11780 | ObjectId: usize, | |
11781 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11782 | } | |
11783 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11784 | #[cfg(feature = "Win32_System_Com")] | |
11785 | #[repr(transparent)] | |
11786 | pub struct IX509AttributeArchiveKey(::windows::core::IUnknown); | |
11787 | #[cfg(feature = "Win32_System_Com")] | |
11788 | impl IX509AttributeArchiveKey { | |
11789 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11790 | #[cfg(feature = "Win32_System_Com")] | |
11791 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
11792 | where | |
11793 | P0: ::windows::core::IntoParam<IObjectId>, | |
11794 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11795 | { | |
11796 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
11797 | } | |
11798 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11799 | #[cfg(feature = "Win32_System_Com")] | |
11800 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11801 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11802 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11803 | } | |
11804 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11805 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11806 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11807 | } | |
11808 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11809 | #[cfg(feature = "Win32_System_Com")] | |
11810 | pub unsafe fn InitializeEncode<P0, P1, P2>(&self, pkey: P0, encoding: EncodingType, strcaxcert: P1, palgorithm: P2, encryptionstrength: i32) -> ::windows::core::Result<()> | |
11811 | where | |
11812 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
11813 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11814 | P2: ::windows::core::IntoParam<IObjectId>, | |
11815 | { | |
11816 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pkey.into_param().abi(), encoding, strcaxcert.into_param().abi(), palgorithm.into_param().abi(), encryptionstrength).ok() | |
11817 | } | |
11818 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
11819 | where | |
11820 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11821 | { | |
11822 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
11823 | } | |
11824 | pub unsafe fn get_EncryptedKeyBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11825 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11826 | (::windows::core::Interface::vtable(self).get_EncryptedKeyBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11827 | } | |
11828 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11829 | #[cfg(feature = "Win32_System_Com")] | |
11830 | pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
11831 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11832 | (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11833 | } | |
11834 | pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result<i32> { | |
11835 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
11836 | (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11837 | } | |
11838 | } | |
11839 | #[cfg(feature = "Win32_System_Com")] | |
11840 | ::windows::imp::interface_hierarchy!(IX509AttributeArchiveKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
11841 | #[cfg(feature = "Win32_System_Com")] | |
11842 | impl ::core::cmp::PartialEq for IX509AttributeArchiveKey { | |
11843 | fn eq(&self, other: &Self) -> bool { | |
11844 | self.0 == other.0 | |
11845 | } | |
11846 | } | |
11847 | #[cfg(feature = "Win32_System_Com")] | |
11848 | impl ::core::cmp::Eq for IX509AttributeArchiveKey {} | |
11849 | #[cfg(feature = "Win32_System_Com")] | |
11850 | impl ::core::fmt::Debug for IX509AttributeArchiveKey { | |
11851 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11852 | f.debug_tuple("IX509AttributeArchiveKey").field(&self.0).finish() | |
11853 | } | |
11854 | } | |
11855 | #[cfg(feature = "Win32_System_Com")] | |
11856 | unsafe impl ::windows::core::Interface for IX509AttributeArchiveKey { | |
11857 | type Vtable = IX509AttributeArchiveKey_Vtbl; | |
11858 | } | |
11859 | #[cfg(feature = "Win32_System_Com")] | |
11860 | impl ::core::clone::Clone for IX509AttributeArchiveKey { | |
11861 | fn clone(&self) -> Self { | |
11862 | Self(self.0.clone()) | |
11863 | } | |
11864 | } | |
11865 | #[cfg(feature = "Win32_System_Com")] | |
11866 | unsafe impl ::windows::core::ComInterface for IX509AttributeArchiveKey { | |
11867 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab327_217d_11da_b2a4_000e7bbb2b09); | |
11868 | } | |
11869 | #[cfg(feature = "Win32_System_Com")] | |
11870 | #[repr(C)] | |
11871 | #[doc(hidden)] | |
11872 | pub struct IX509AttributeArchiveKey_Vtbl { | |
11873 | pub base__: IX509Attribute_Vtbl, | |
11874 | #[cfg(feature = "Win32_System_Com")] | |
11875 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkey: *mut ::core::ffi::c_void, encoding: EncodingType, strcaxcert: ::std::mem::MaybeUninit<::windows::core::BSTR>, palgorithm: *mut ::core::ffi::c_void, encryptionstrength: i32) -> ::windows::core::HRESULT, | |
11876 | #[cfg(not(feature = "Win32_System_Com"))] | |
11877 | InitializeEncode: usize, | |
11878 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11879 | pub get_EncryptedKeyBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11880 | #[cfg(feature = "Win32_System_Com")] | |
11881 | pub EncryptionAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
11882 | #[cfg(not(feature = "Win32_System_Com"))] | |
11883 | EncryptionAlgorithm: usize, | |
11884 | pub EncryptionStrength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
11885 | } | |
11886 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11887 | #[cfg(feature = "Win32_System_Com")] | |
11888 | #[repr(transparent)] | |
11889 | pub struct IX509AttributeArchiveKeyHash(::windows::core::IUnknown); | |
11890 | #[cfg(feature = "Win32_System_Com")] | |
11891 | impl IX509AttributeArchiveKeyHash { | |
11892 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11893 | #[cfg(feature = "Win32_System_Com")] | |
11894 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
11895 | where | |
11896 | P0: ::windows::core::IntoParam<IObjectId>, | |
11897 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11898 | { | |
11899 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
11900 | } | |
11901 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11902 | #[cfg(feature = "Win32_System_Com")] | |
11903 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11904 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11905 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11906 | } | |
11907 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11908 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11909 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11910 | } | |
11911 | pub unsafe fn InitializeEncodeFromEncryptedKeyBlob<P0>(&self, encoding: EncodingType, strencryptedkeyblob: P0) -> ::windows::core::Result<()> | |
11912 | where | |
11913 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11914 | { | |
11915 | (::windows::core::Interface::vtable(self).InitializeEncodeFromEncryptedKeyBlob)(::windows::core::Interface::as_raw(self), encoding, strencryptedkeyblob.into_param().abi()).ok() | |
11916 | } | |
11917 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
11918 | where | |
11919 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11920 | { | |
11921 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
11922 | } | |
11923 | pub unsafe fn get_EncryptedKeyHashBlob(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11924 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11925 | (::windows::core::Interface::vtable(self).get_EncryptedKeyHashBlob)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11926 | } | |
11927 | } | |
11928 | #[cfg(feature = "Win32_System_Com")] | |
11929 | ::windows::imp::interface_hierarchy!(IX509AttributeArchiveKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
11930 | #[cfg(feature = "Win32_System_Com")] | |
11931 | impl ::core::cmp::PartialEq for IX509AttributeArchiveKeyHash { | |
11932 | fn eq(&self, other: &Self) -> bool { | |
11933 | self.0 == other.0 | |
11934 | } | |
11935 | } | |
11936 | #[cfg(feature = "Win32_System_Com")] | |
11937 | impl ::core::cmp::Eq for IX509AttributeArchiveKeyHash {} | |
11938 | #[cfg(feature = "Win32_System_Com")] | |
11939 | impl ::core::fmt::Debug for IX509AttributeArchiveKeyHash { | |
11940 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11941 | f.debug_tuple("IX509AttributeArchiveKeyHash").field(&self.0).finish() | |
11942 | } | |
11943 | } | |
11944 | #[cfg(feature = "Win32_System_Com")] | |
11945 | unsafe impl ::windows::core::Interface for IX509AttributeArchiveKeyHash { | |
11946 | type Vtable = IX509AttributeArchiveKeyHash_Vtbl; | |
11947 | } | |
11948 | #[cfg(feature = "Win32_System_Com")] | |
11949 | impl ::core::clone::Clone for IX509AttributeArchiveKeyHash { | |
11950 | fn clone(&self) -> Self { | |
11951 | Self(self.0.clone()) | |
11952 | } | |
11953 | } | |
11954 | #[cfg(feature = "Win32_System_Com")] | |
11955 | unsafe impl ::windows::core::ComInterface for IX509AttributeArchiveKeyHash { | |
11956 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab328_217d_11da_b2a4_000e7bbb2b09); | |
11957 | } | |
11958 | #[cfg(feature = "Win32_System_Com")] | |
11959 | #[repr(C)] | |
11960 | #[doc(hidden)] | |
11961 | pub struct IX509AttributeArchiveKeyHash_Vtbl { | |
11962 | pub base__: IX509Attribute_Vtbl, | |
11963 | pub InitializeEncodeFromEncryptedKeyBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencryptedkeyblob: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11964 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11965 | pub get_EncryptedKeyHashBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
11966 | } | |
11967 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
11968 | #[cfg(feature = "Win32_System_Com")] | |
11969 | #[repr(transparent)] | |
11970 | pub struct IX509AttributeClientId(::windows::core::IUnknown); | |
11971 | #[cfg(feature = "Win32_System_Com")] | |
11972 | impl IX509AttributeClientId { | |
11973 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11974 | #[cfg(feature = "Win32_System_Com")] | |
11975 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
11976 | where | |
11977 | P0: ::windows::core::IntoParam<IObjectId>, | |
11978 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11979 | { | |
11980 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
11981 | } | |
11982 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
11983 | #[cfg(feature = "Win32_System_Com")] | |
11984 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
11985 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
11986 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
11987 | } | |
11988 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
11989 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
11990 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
11991 | } | |
11992 | pub unsafe fn InitializeEncode<P0, P1, P2>(&self, clientid: RequestClientInfoClientId, strmachinednsname: P0, strusersamname: P1, strprocessname: P2) -> ::windows::core::Result<()> | |
11993 | where | |
11994 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11995 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11996 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
11997 | { | |
11998 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), clientid, strmachinednsname.into_param().abi(), strusersamname.into_param().abi(), strprocessname.into_param().abi()).ok() | |
11999 | } | |
12000 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
12001 | where | |
12002 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12003 | { | |
12004 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
12005 | } | |
12006 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
12007 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
12008 | (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12009 | } | |
12010 | pub unsafe fn MachineDnsName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12011 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12012 | (::windows::core::Interface::vtable(self).MachineDnsName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12013 | } | |
12014 | pub unsafe fn UserSamName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12015 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12016 | (::windows::core::Interface::vtable(self).UserSamName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12017 | } | |
12018 | pub unsafe fn ProcessName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12019 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12020 | (::windows::core::Interface::vtable(self).ProcessName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12021 | } | |
12022 | } | |
12023 | #[cfg(feature = "Win32_System_Com")] | |
12024 | ::windows::imp::interface_hierarchy!(IX509AttributeClientId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
12025 | #[cfg(feature = "Win32_System_Com")] | |
12026 | impl ::core::cmp::PartialEq for IX509AttributeClientId { | |
12027 | fn eq(&self, other: &Self) -> bool { | |
12028 | self.0 == other.0 | |
12029 | } | |
12030 | } | |
12031 | #[cfg(feature = "Win32_System_Com")] | |
12032 | impl ::core::cmp::Eq for IX509AttributeClientId {} | |
12033 | #[cfg(feature = "Win32_System_Com")] | |
12034 | impl ::core::fmt::Debug for IX509AttributeClientId { | |
12035 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12036 | f.debug_tuple("IX509AttributeClientId").field(&self.0).finish() | |
12037 | } | |
12038 | } | |
12039 | #[cfg(feature = "Win32_System_Com")] | |
12040 | unsafe impl ::windows::core::Interface for IX509AttributeClientId { | |
12041 | type Vtable = IX509AttributeClientId_Vtbl; | |
12042 | } | |
12043 | #[cfg(feature = "Win32_System_Com")] | |
12044 | impl ::core::clone::Clone for IX509AttributeClientId { | |
12045 | fn clone(&self) -> Self { | |
12046 | Self(self.0.clone()) | |
12047 | } | |
12048 | } | |
12049 | #[cfg(feature = "Win32_System_Com")] | |
12050 | unsafe impl ::windows::core::ComInterface for IX509AttributeClientId { | |
12051 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab325_217d_11da_b2a4_000e7bbb2b09); | |
12052 | } | |
12053 | #[cfg(feature = "Win32_System_Com")] | |
12054 | #[repr(C)] | |
12055 | #[doc(hidden)] | |
12056 | pub struct IX509AttributeClientId_Vtbl { | |
12057 | pub base__: IX509Attribute_Vtbl, | |
12058 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, clientid: RequestClientInfoClientId, strmachinednsname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strusersamname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strprocessname: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12059 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12060 | pub ClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut RequestClientInfoClientId) -> ::windows::core::HRESULT, | |
12061 | pub MachineDnsName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12062 | pub UserSamName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12063 | pub ProcessName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12064 | } | |
12065 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12066 | #[cfg(feature = "Win32_System_Com")] | |
12067 | #[repr(transparent)] | |
12068 | pub struct IX509AttributeCspProvider(::windows::core::IUnknown); | |
12069 | #[cfg(feature = "Win32_System_Com")] | |
12070 | impl IX509AttributeCspProvider { | |
12071 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12072 | #[cfg(feature = "Win32_System_Com")] | |
12073 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
12074 | where | |
12075 | P0: ::windows::core::IntoParam<IObjectId>, | |
12076 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12077 | { | |
12078 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
12079 | } | |
12080 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12081 | #[cfg(feature = "Win32_System_Com")] | |
12082 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
12083 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12084 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12085 | } | |
12086 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12087 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12088 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12089 | } | |
12090 | pub unsafe fn InitializeEncode<P0, P1>(&self, keyspec: X509KeySpec, strprovidername: P0, encoding: EncodingType, strsignature: P1) -> ::windows::core::Result<()> | |
12091 | where | |
12092 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12093 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12094 | { | |
12095 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), keyspec, strprovidername.into_param().abi(), encoding, strsignature.into_param().abi()).ok() | |
12096 | } | |
12097 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
12098 | where | |
12099 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12100 | { | |
12101 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
12102 | } | |
12103 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<X509KeySpec> { | |
12104 | let mut result__ = ::windows::core::zeroed::<X509KeySpec>(); | |
12105 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12106 | } | |
12107 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12108 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12109 | (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12110 | } | |
12111 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12112 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12113 | (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12114 | } | |
12115 | } | |
12116 | #[cfg(feature = "Win32_System_Com")] | |
12117 | ::windows::imp::interface_hierarchy!(IX509AttributeCspProvider, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
12118 | #[cfg(feature = "Win32_System_Com")] | |
12119 | impl ::core::cmp::PartialEq for IX509AttributeCspProvider { | |
12120 | fn eq(&self, other: &Self) -> bool { | |
12121 | self.0 == other.0 | |
12122 | } | |
12123 | } | |
12124 | #[cfg(feature = "Win32_System_Com")] | |
12125 | impl ::core::cmp::Eq for IX509AttributeCspProvider {} | |
12126 | #[cfg(feature = "Win32_System_Com")] | |
12127 | impl ::core::fmt::Debug for IX509AttributeCspProvider { | |
12128 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12129 | f.debug_tuple("IX509AttributeCspProvider").field(&self.0).finish() | |
12130 | } | |
12131 | } | |
12132 | #[cfg(feature = "Win32_System_Com")] | |
12133 | unsafe impl ::windows::core::Interface for IX509AttributeCspProvider { | |
12134 | type Vtable = IX509AttributeCspProvider_Vtbl; | |
12135 | } | |
12136 | #[cfg(feature = "Win32_System_Com")] | |
12137 | impl ::core::clone::Clone for IX509AttributeCspProvider { | |
12138 | fn clone(&self) -> Self { | |
12139 | Self(self.0.clone()) | |
12140 | } | |
12141 | } | |
12142 | #[cfg(feature = "Win32_System_Com")] | |
12143 | unsafe impl ::windows::core::ComInterface for IX509AttributeCspProvider { | |
12144 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32b_217d_11da_b2a4_000e7bbb2b09); | |
12145 | } | |
12146 | #[cfg(feature = "Win32_System_Com")] | |
12147 | #[repr(C)] | |
12148 | #[doc(hidden)] | |
12149 | pub struct IX509AttributeCspProvider_Vtbl { | |
12150 | pub base__: IX509Attribute_Vtbl, | |
12151 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keyspec: X509KeySpec, strprovidername: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, strsignature: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12152 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12153 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509KeySpec) -> ::windows::core::HRESULT, | |
12154 | pub ProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12155 | pub get_Signature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12156 | } | |
12157 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12158 | #[cfg(feature = "Win32_System_Com")] | |
12159 | #[repr(transparent)] | |
12160 | pub struct IX509AttributeExtensions(::windows::core::IUnknown); | |
12161 | #[cfg(feature = "Win32_System_Com")] | |
12162 | impl IX509AttributeExtensions { | |
12163 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12164 | #[cfg(feature = "Win32_System_Com")] | |
12165 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
12166 | where | |
12167 | P0: ::windows::core::IntoParam<IObjectId>, | |
12168 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12169 | { | |
12170 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
12171 | } | |
12172 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12173 | #[cfg(feature = "Win32_System_Com")] | |
12174 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
12175 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12176 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12177 | } | |
12178 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12179 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12180 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12181 | } | |
12182 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12183 | #[cfg(feature = "Win32_System_Com")] | |
12184 | pub unsafe fn InitializeEncode<P0>(&self, pextensions: P0) -> ::windows::core::Result<()> | |
12185 | where | |
12186 | P0: ::windows::core::IntoParam<IX509Extensions>, | |
12187 | { | |
12188 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pextensions.into_param().abi()).ok() | |
12189 | } | |
12190 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
12191 | where | |
12192 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12193 | { | |
12194 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
12195 | } | |
12196 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12197 | #[cfg(feature = "Win32_System_Com")] | |
12198 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
12199 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
12200 | (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12201 | } | |
12202 | } | |
12203 | #[cfg(feature = "Win32_System_Com")] | |
12204 | ::windows::imp::interface_hierarchy!(IX509AttributeExtensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
12205 | #[cfg(feature = "Win32_System_Com")] | |
12206 | impl ::core::cmp::PartialEq for IX509AttributeExtensions { | |
12207 | fn eq(&self, other: &Self) -> bool { | |
12208 | self.0 == other.0 | |
12209 | } | |
12210 | } | |
12211 | #[cfg(feature = "Win32_System_Com")] | |
12212 | impl ::core::cmp::Eq for IX509AttributeExtensions {} | |
12213 | #[cfg(feature = "Win32_System_Com")] | |
12214 | impl ::core::fmt::Debug for IX509AttributeExtensions { | |
12215 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12216 | f.debug_tuple("IX509AttributeExtensions").field(&self.0).finish() | |
12217 | } | |
12218 | } | |
12219 | #[cfg(feature = "Win32_System_Com")] | |
12220 | unsafe impl ::windows::core::Interface for IX509AttributeExtensions { | |
12221 | type Vtable = IX509AttributeExtensions_Vtbl; | |
12222 | } | |
12223 | #[cfg(feature = "Win32_System_Com")] | |
12224 | impl ::core::clone::Clone for IX509AttributeExtensions { | |
12225 | fn clone(&self) -> Self { | |
12226 | Self(self.0.clone()) | |
12227 | } | |
12228 | } | |
12229 | #[cfg(feature = "Win32_System_Com")] | |
12230 | unsafe impl ::windows::core::ComInterface for IX509AttributeExtensions { | |
12231 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab324_217d_11da_b2a4_000e7bbb2b09); | |
12232 | } | |
12233 | #[cfg(feature = "Win32_System_Com")] | |
12234 | #[repr(C)] | |
12235 | #[doc(hidden)] | |
12236 | pub struct IX509AttributeExtensions_Vtbl { | |
12237 | pub base__: IX509Attribute_Vtbl, | |
12238 | #[cfg(feature = "Win32_System_Com")] | |
12239 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pextensions: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12240 | #[cfg(not(feature = "Win32_System_Com"))] | |
12241 | InitializeEncode: usize, | |
12242 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12243 | #[cfg(feature = "Win32_System_Com")] | |
12244 | pub X509Extensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12245 | #[cfg(not(feature = "Win32_System_Com"))] | |
12246 | X509Extensions: usize, | |
12247 | } | |
12248 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12249 | #[cfg(feature = "Win32_System_Com")] | |
12250 | #[repr(transparent)] | |
12251 | pub struct IX509AttributeOSVersion(::windows::core::IUnknown); | |
12252 | #[cfg(feature = "Win32_System_Com")] | |
12253 | impl IX509AttributeOSVersion { | |
12254 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12255 | #[cfg(feature = "Win32_System_Com")] | |
12256 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
12257 | where | |
12258 | P0: ::windows::core::IntoParam<IObjectId>, | |
12259 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12260 | { | |
12261 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
12262 | } | |
12263 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12264 | #[cfg(feature = "Win32_System_Com")] | |
12265 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
12266 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12267 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12268 | } | |
12269 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12270 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12271 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12272 | } | |
12273 | pub unsafe fn InitializeEncode<P0>(&self, strosversion: P0) -> ::windows::core::Result<()> | |
12274 | where | |
12275 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12276 | { | |
12277 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), strosversion.into_param().abi()).ok() | |
12278 | } | |
12279 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
12280 | where | |
12281 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12282 | { | |
12283 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
12284 | } | |
12285 | pub unsafe fn OSVersion(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12286 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12287 | (::windows::core::Interface::vtable(self).OSVersion)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12288 | } | |
12289 | } | |
12290 | #[cfg(feature = "Win32_System_Com")] | |
12291 | ::windows::imp::interface_hierarchy!(IX509AttributeOSVersion, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
12292 | #[cfg(feature = "Win32_System_Com")] | |
12293 | impl ::core::cmp::PartialEq for IX509AttributeOSVersion { | |
12294 | fn eq(&self, other: &Self) -> bool { | |
12295 | self.0 == other.0 | |
12296 | } | |
12297 | } | |
12298 | #[cfg(feature = "Win32_System_Com")] | |
12299 | impl ::core::cmp::Eq for IX509AttributeOSVersion {} | |
12300 | #[cfg(feature = "Win32_System_Com")] | |
12301 | impl ::core::fmt::Debug for IX509AttributeOSVersion { | |
12302 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12303 | f.debug_tuple("IX509AttributeOSVersion").field(&self.0).finish() | |
12304 | } | |
12305 | } | |
12306 | #[cfg(feature = "Win32_System_Com")] | |
12307 | unsafe impl ::windows::core::Interface for IX509AttributeOSVersion { | |
12308 | type Vtable = IX509AttributeOSVersion_Vtbl; | |
12309 | } | |
12310 | #[cfg(feature = "Win32_System_Com")] | |
12311 | impl ::core::clone::Clone for IX509AttributeOSVersion { | |
12312 | fn clone(&self) -> Self { | |
12313 | Self(self.0.clone()) | |
12314 | } | |
12315 | } | |
12316 | #[cfg(feature = "Win32_System_Com")] | |
12317 | unsafe impl ::windows::core::ComInterface for IX509AttributeOSVersion { | |
12318 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab32a_217d_11da_b2a4_000e7bbb2b09); | |
12319 | } | |
12320 | #[cfg(feature = "Win32_System_Com")] | |
12321 | #[repr(C)] | |
12322 | #[doc(hidden)] | |
12323 | pub struct IX509AttributeOSVersion_Vtbl { | |
12324 | pub base__: IX509Attribute_Vtbl, | |
12325 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strosversion: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12326 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12327 | pub OSVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12328 | } | |
12329 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12330 | #[cfg(feature = "Win32_System_Com")] | |
12331 | #[repr(transparent)] | |
12332 | pub struct IX509AttributeRenewalCertificate(::windows::core::IUnknown); | |
12333 | #[cfg(feature = "Win32_System_Com")] | |
12334 | impl IX509AttributeRenewalCertificate { | |
12335 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12336 | #[cfg(feature = "Win32_System_Com")] | |
12337 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
12338 | where | |
12339 | P0: ::windows::core::IntoParam<IObjectId>, | |
12340 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12341 | { | |
12342 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
12343 | } | |
12344 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12345 | #[cfg(feature = "Win32_System_Com")] | |
12346 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
12347 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12348 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12349 | } | |
12350 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12351 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12352 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12353 | } | |
12354 | pub unsafe fn InitializeEncode<P0>(&self, encoding: EncodingType, strcert: P0) -> ::windows::core::Result<()> | |
12355 | where | |
12356 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12357 | { | |
12358 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), encoding, strcert.into_param().abi()).ok() | |
12359 | } | |
12360 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
12361 | where | |
12362 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12363 | { | |
12364 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
12365 | } | |
12366 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12367 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12368 | (::windows::core::Interface::vtable(self).get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12369 | } | |
12370 | } | |
12371 | #[cfg(feature = "Win32_System_Com")] | |
12372 | ::windows::imp::interface_hierarchy!(IX509AttributeRenewalCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); | |
12373 | #[cfg(feature = "Win32_System_Com")] | |
12374 | impl ::core::cmp::PartialEq for IX509AttributeRenewalCertificate { | |
12375 | fn eq(&self, other: &Self) -> bool { | |
12376 | self.0 == other.0 | |
12377 | } | |
12378 | } | |
12379 | #[cfg(feature = "Win32_System_Com")] | |
12380 | impl ::core::cmp::Eq for IX509AttributeRenewalCertificate {} | |
12381 | #[cfg(feature = "Win32_System_Com")] | |
12382 | impl ::core::fmt::Debug for IX509AttributeRenewalCertificate { | |
12383 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12384 | f.debug_tuple("IX509AttributeRenewalCertificate").field(&self.0).finish() | |
12385 | } | |
12386 | } | |
12387 | #[cfg(feature = "Win32_System_Com")] | |
12388 | unsafe impl ::windows::core::Interface for IX509AttributeRenewalCertificate { | |
12389 | type Vtable = IX509AttributeRenewalCertificate_Vtbl; | |
12390 | } | |
12391 | #[cfg(feature = "Win32_System_Com")] | |
12392 | impl ::core::clone::Clone for IX509AttributeRenewalCertificate { | |
12393 | fn clone(&self) -> Self { | |
12394 | Self(self.0.clone()) | |
12395 | } | |
12396 | } | |
12397 | #[cfg(feature = "Win32_System_Com")] | |
12398 | unsafe impl ::windows::core::ComInterface for IX509AttributeRenewalCertificate { | |
12399 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab326_217d_11da_b2a4_000e7bbb2b09); | |
12400 | } | |
12401 | #[cfg(feature = "Win32_System_Com")] | |
12402 | #[repr(C)] | |
12403 | #[doc(hidden)] | |
12404 | pub struct IX509AttributeRenewalCertificate_Vtbl { | |
12405 | pub base__: IX509Attribute_Vtbl, | |
12406 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strcert: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12407 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12408 | pub get_RenewalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12409 | } | |
12410 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12411 | #[cfg(feature = "Win32_System_Com")] | |
12412 | #[repr(transparent)] | |
12413 | pub struct IX509Attributes(::windows::core::IUnknown); | |
12414 | #[cfg(feature = "Win32_System_Com")] | |
12415 | impl IX509Attributes { | |
12416 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12417 | #[cfg(feature = "Win32_System_Com")] | |
12418 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509Attribute> { | |
12419 | let mut result__ = ::windows::core::zeroed::<IX509Attribute>(); | |
12420 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
12421 | } | |
12422 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
12423 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
12424 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12425 | } | |
12426 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
12427 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
12428 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12429 | } | |
12430 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12431 | #[cfg(feature = "Win32_System_Com")] | |
12432 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
12433 | where | |
12434 | P0: ::windows::core::IntoParam<IX509Attribute>, | |
12435 | { | |
12436 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
12437 | } | |
12438 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
12439 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
12440 | } | |
12441 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
12442 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
12443 | } | |
12444 | } | |
12445 | #[cfg(feature = "Win32_System_Com")] | |
12446 | ::windows::imp::interface_hierarchy!(IX509Attributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
12447 | #[cfg(feature = "Win32_System_Com")] | |
12448 | impl ::core::cmp::PartialEq for IX509Attributes { | |
12449 | fn eq(&self, other: &Self) -> bool { | |
12450 | self.0 == other.0 | |
12451 | } | |
12452 | } | |
12453 | #[cfg(feature = "Win32_System_Com")] | |
12454 | impl ::core::cmp::Eq for IX509Attributes {} | |
12455 | #[cfg(feature = "Win32_System_Com")] | |
12456 | impl ::core::fmt::Debug for IX509Attributes { | |
12457 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12458 | f.debug_tuple("IX509Attributes").field(&self.0).finish() | |
12459 | } | |
12460 | } | |
12461 | #[cfg(feature = "Win32_System_Com")] | |
12462 | unsafe impl ::windows::core::Interface for IX509Attributes { | |
12463 | type Vtable = IX509Attributes_Vtbl; | |
12464 | } | |
12465 | #[cfg(feature = "Win32_System_Com")] | |
12466 | impl ::core::clone::Clone for IX509Attributes { | |
12467 | fn clone(&self) -> Self { | |
12468 | Self(self.0.clone()) | |
12469 | } | |
12470 | } | |
12471 | #[cfg(feature = "Win32_System_Com")] | |
12472 | unsafe impl ::windows::core::ComInterface for IX509Attributes { | |
12473 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab323_217d_11da_b2a4_000e7bbb2b09); | |
12474 | } | |
12475 | #[cfg(feature = "Win32_System_Com")] | |
12476 | #[repr(C)] | |
12477 | #[doc(hidden)] | |
12478 | pub struct IX509Attributes_Vtbl { | |
12479 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
12480 | #[cfg(feature = "Win32_System_Com")] | |
12481 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12482 | #[cfg(not(feature = "Win32_System_Com"))] | |
12483 | get_ItemByIndex: usize, | |
12484 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
12485 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12486 | #[cfg(feature = "Win32_System_Com")] | |
12487 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12488 | #[cfg(not(feature = "Win32_System_Com"))] | |
12489 | Add: usize, | |
12490 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
12491 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12492 | } | |
12493 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12494 | #[cfg(feature = "Win32_System_Com")] | |
12495 | #[repr(transparent)] | |
12496 | pub struct IX509CertificateRequest(::windows::core::IUnknown); | |
12497 | #[cfg(feature = "Win32_System_Com")] | |
12498 | impl IX509CertificateRequest { | |
12499 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
12500 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
12501 | } | |
12502 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
12503 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self)).ok() | |
12504 | } | |
12505 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
12506 | (::windows::core::Interface::vtable(self).ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
12507 | } | |
12508 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12509 | #[cfg(feature = "Win32_System_Com")] | |
12510 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
12511 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
12512 | (::windows::core::Interface::vtable(self).GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
12513 | } | |
12514 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
12515 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
12516 | (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12517 | } | |
12518 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
12519 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
12520 | (::windows::core::Interface::vtable(self).EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12521 | } | |
12522 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12523 | #[cfg(feature = "Win32_Foundation")] | |
12524 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12525 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12526 | (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12527 | } | |
12528 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12529 | #[cfg(feature = "Win32_Foundation")] | |
12530 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12531 | where | |
12532 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12533 | { | |
12534 | (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12535 | } | |
12536 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
12537 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
12538 | (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12539 | } | |
12540 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
12541 | (::windows::core::Interface::vtable(self).SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
12542 | } | |
12543 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12544 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12545 | (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12546 | } | |
12547 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12548 | where | |
12549 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12550 | { | |
12551 | (::windows::core::Interface::vtable(self).SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12552 | } | |
12553 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12554 | #[cfg(feature = "Win32_Foundation")] | |
12555 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12556 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12557 | (::windows::core::Interface::vtable(self).SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12558 | } | |
12559 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12560 | #[cfg(feature = "Win32_Foundation")] | |
12561 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12562 | where | |
12563 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12564 | { | |
12565 | (::windows::core::Interface::vtable(self).SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12566 | } | |
12567 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12568 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12569 | (::windows::core::Interface::vtable(self).get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12570 | } | |
12571 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
12572 | where | |
12573 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12574 | { | |
12575 | (::windows::core::Interface::vtable(self).put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
12576 | } | |
12577 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
12578 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
12579 | (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12580 | } | |
12581 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
12582 | (::windows::core::Interface::vtable(self).SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
12583 | } | |
12584 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12585 | #[cfg(feature = "Win32_System_Com")] | |
12586 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
12587 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
12588 | (::windows::core::Interface::vtable(self).CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12589 | } | |
12590 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12591 | #[cfg(feature = "Win32_System_Com")] | |
12592 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
12593 | where | |
12594 | P0: ::windows::core::IntoParam<ICspInformations>, | |
12595 | { | |
12596 | (::windows::core::Interface::vtable(self).SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
12597 | } | |
12598 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12599 | #[cfg(feature = "Win32_System_Com")] | |
12600 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
12601 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12602 | (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12603 | } | |
12604 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12605 | #[cfg(feature = "Win32_System_Com")] | |
12606 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
12607 | where | |
12608 | P0: ::windows::core::IntoParam<IObjectId>, | |
12609 | { | |
12610 | (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
12611 | } | |
12612 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12613 | #[cfg(feature = "Win32_Foundation")] | |
12614 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12615 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12616 | (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12617 | } | |
12618 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12619 | #[cfg(feature = "Win32_Foundation")] | |
12620 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12621 | where | |
12622 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12623 | { | |
12624 | (::windows::core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12625 | } | |
12626 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12627 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12628 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12629 | } | |
12630 | } | |
12631 | #[cfg(feature = "Win32_System_Com")] | |
12632 | ::windows::imp::interface_hierarchy!(IX509CertificateRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
12633 | #[cfg(feature = "Win32_System_Com")] | |
12634 | impl ::core::cmp::PartialEq for IX509CertificateRequest { | |
12635 | fn eq(&self, other: &Self) -> bool { | |
12636 | self.0 == other.0 | |
12637 | } | |
12638 | } | |
12639 | #[cfg(feature = "Win32_System_Com")] | |
12640 | impl ::core::cmp::Eq for IX509CertificateRequest {} | |
12641 | #[cfg(feature = "Win32_System_Com")] | |
12642 | impl ::core::fmt::Debug for IX509CertificateRequest { | |
12643 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12644 | f.debug_tuple("IX509CertificateRequest").field(&self.0).finish() | |
12645 | } | |
12646 | } | |
12647 | #[cfg(feature = "Win32_System_Com")] | |
12648 | unsafe impl ::windows::core::Interface for IX509CertificateRequest { | |
12649 | type Vtable = IX509CertificateRequest_Vtbl; | |
12650 | } | |
12651 | #[cfg(feature = "Win32_System_Com")] | |
12652 | impl ::core::clone::Clone for IX509CertificateRequest { | |
12653 | fn clone(&self) -> Self { | |
12654 | Self(self.0.clone()) | |
12655 | } | |
12656 | } | |
12657 | #[cfg(feature = "Win32_System_Com")] | |
12658 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequest { | |
12659 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab341_217d_11da_b2a4_000e7bbb2b09); | |
12660 | } | |
12661 | #[cfg(feature = "Win32_System_Com")] | |
12662 | #[repr(C)] | |
12663 | #[doc(hidden)] | |
12664 | pub struct IX509CertificateRequest_Vtbl { | |
12665 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
12666 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
12667 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12668 | pub ResetForEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12669 | #[cfg(feature = "Win32_System_Com")] | |
12670 | pub GetInnerRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, level: InnerRequestLevel, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12671 | #[cfg(not(feature = "Win32_System_Com"))] | |
12672 | GetInnerRequest: usize, | |
12673 | pub Type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509RequestType) -> ::windows::core::HRESULT, | |
12674 | pub EnrollmentContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
12675 | #[cfg(feature = "Win32_Foundation")] | |
12676 | pub Silent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12677 | #[cfg(not(feature = "Win32_Foundation"))] | |
12678 | Silent: usize, | |
12679 | #[cfg(feature = "Win32_Foundation")] | |
12680 | pub SetSilent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12681 | #[cfg(not(feature = "Win32_Foundation"))] | |
12682 | SetSilent: usize, | |
12683 | pub ParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
12684 | pub SetParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
12685 | pub UIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12686 | pub SetUIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12687 | #[cfg(feature = "Win32_Foundation")] | |
12688 | pub SuppressDefaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12689 | #[cfg(not(feature = "Win32_Foundation"))] | |
12690 | SuppressDefaults: usize, | |
12691 | #[cfg(feature = "Win32_Foundation")] | |
12692 | pub SetSuppressDefaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12693 | #[cfg(not(feature = "Win32_Foundation"))] | |
12694 | SetSuppressDefaults: usize, | |
12695 | pub get_RenewalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12696 | pub put_RenewalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12697 | pub ClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut RequestClientInfoClientId) -> ::windows::core::HRESULT, | |
12698 | pub SetClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: RequestClientInfoClientId) -> ::windows::core::HRESULT, | |
12699 | #[cfg(feature = "Win32_System_Com")] | |
12700 | pub CspInformations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12701 | #[cfg(not(feature = "Win32_System_Com"))] | |
12702 | CspInformations: usize, | |
12703 | #[cfg(feature = "Win32_System_Com")] | |
12704 | pub SetCspInformations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12705 | #[cfg(not(feature = "Win32_System_Com"))] | |
12706 | SetCspInformations: usize, | |
12707 | #[cfg(feature = "Win32_System_Com")] | |
12708 | pub HashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12709 | #[cfg(not(feature = "Win32_System_Com"))] | |
12710 | HashAlgorithm: usize, | |
12711 | #[cfg(feature = "Win32_System_Com")] | |
12712 | pub SetHashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12713 | #[cfg(not(feature = "Win32_System_Com"))] | |
12714 | SetHashAlgorithm: usize, | |
12715 | #[cfg(feature = "Win32_Foundation")] | |
12716 | pub AlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12717 | #[cfg(not(feature = "Win32_Foundation"))] | |
12718 | AlternateSignatureAlgorithm: usize, | |
12719 | #[cfg(feature = "Win32_Foundation")] | |
12720 | pub SetAlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
12721 | #[cfg(not(feature = "Win32_Foundation"))] | |
12722 | SetAlternateSignatureAlgorithm: usize, | |
12723 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
12724 | } | |
12725 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
12726 | #[cfg(feature = "Win32_System_Com")] | |
12727 | #[repr(transparent)] | |
12728 | pub struct IX509CertificateRequestCertificate(::windows::core::IUnknown); | |
12729 | #[cfg(feature = "Win32_System_Com")] | |
12730 | impl IX509CertificateRequestCertificate { | |
12731 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
12732 | (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
12733 | } | |
12734 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
12735 | (::windows::core::Interface::vtable(self).base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
12736 | } | |
12737 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
12738 | (::windows::core::Interface::vtable(self).base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
12739 | } | |
12740 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12741 | #[cfg(feature = "Win32_System_Com")] | |
12742 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
12743 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
12744 | (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
12745 | } | |
12746 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
12747 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
12748 | (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12749 | } | |
12750 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
12751 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
12752 | (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12753 | } | |
12754 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12755 | #[cfg(feature = "Win32_Foundation")] | |
12756 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12757 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12758 | (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12759 | } | |
12760 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12761 | #[cfg(feature = "Win32_Foundation")] | |
12762 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12763 | where | |
12764 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12765 | { | |
12766 | (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12767 | } | |
12768 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
12769 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
12770 | (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12771 | } | |
12772 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
12773 | (::windows::core::Interface::vtable(self).base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
12774 | } | |
12775 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12776 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12777 | (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12778 | } | |
12779 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12780 | where | |
12781 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12782 | { | |
12783 | (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12784 | } | |
12785 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12786 | #[cfg(feature = "Win32_Foundation")] | |
12787 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12788 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12789 | (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12790 | } | |
12791 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12792 | #[cfg(feature = "Win32_Foundation")] | |
12793 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12794 | where | |
12795 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12796 | { | |
12797 | (::windows::core::Interface::vtable(self).base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12798 | } | |
12799 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12800 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12801 | (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12802 | } | |
12803 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
12804 | where | |
12805 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12806 | { | |
12807 | (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
12808 | } | |
12809 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
12810 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
12811 | (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12812 | } | |
12813 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
12814 | (::windows::core::Interface::vtable(self).base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
12815 | } | |
12816 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12817 | #[cfg(feature = "Win32_System_Com")] | |
12818 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
12819 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
12820 | (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12821 | } | |
12822 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12823 | #[cfg(feature = "Win32_System_Com")] | |
12824 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
12825 | where | |
12826 | P0: ::windows::core::IntoParam<ICspInformations>, | |
12827 | { | |
12828 | (::windows::core::Interface::vtable(self).base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
12829 | } | |
12830 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12831 | #[cfg(feature = "Win32_System_Com")] | |
12832 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
12833 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12834 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12835 | } | |
12836 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12837 | #[cfg(feature = "Win32_System_Com")] | |
12838 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
12839 | where | |
12840 | P0: ::windows::core::IntoParam<IObjectId>, | |
12841 | { | |
12842 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
12843 | } | |
12844 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12845 | #[cfg(feature = "Win32_Foundation")] | |
12846 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12847 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12848 | (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12849 | } | |
12850 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12851 | #[cfg(feature = "Win32_Foundation")] | |
12852 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12853 | where | |
12854 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12855 | { | |
12856 | (::windows::core::Interface::vtable(self).base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12857 | } | |
12858 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12859 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12860 | (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12861 | } | |
12862 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
12863 | where | |
12864 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12865 | { | |
12866 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
12867 | } | |
12868 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12869 | #[cfg(feature = "Win32_System_Com")] | |
12870 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
12871 | where | |
12872 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
12873 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12874 | { | |
12875 | (::windows::core::Interface::vtable(self).base__.InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
12876 | } | |
12877 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12878 | #[cfg(feature = "Win32_System_Com")] | |
12879 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
12880 | where | |
12881 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
12882 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12883 | { | |
12884 | (::windows::core::Interface::vtable(self).base__.InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
12885 | } | |
12886 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
12887 | where | |
12888 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12889 | { | |
12890 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
12891 | } | |
12892 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
12893 | where | |
12894 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12895 | { | |
12896 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
12897 | } | |
12898 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
12899 | (::windows::core::Interface::vtable(self).base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
12900 | } | |
12901 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12902 | #[cfg(feature = "Win32_Foundation")] | |
12903 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12904 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12905 | (::windows::core::Interface::vtable(self).base__.IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12906 | } | |
12907 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12908 | #[cfg(feature = "Win32_System_Com")] | |
12909 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
12910 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
12911 | (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12912 | } | |
12913 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12914 | #[cfg(feature = "Win32_System_Com")] | |
12915 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
12916 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
12917 | (::windows::core::Interface::vtable(self).base__.PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12918 | } | |
12919 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12920 | #[cfg(feature = "Win32_System_Com")] | |
12921 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
12922 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
12923 | (::windows::core::Interface::vtable(self).base__.PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12924 | } | |
12925 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12926 | #[cfg(feature = "Win32_Foundation")] | |
12927 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12928 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12929 | (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12930 | } | |
12931 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12932 | #[cfg(feature = "Win32_Foundation")] | |
12933 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12934 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12935 | (::windows::core::Interface::vtable(self).base__.ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12936 | } | |
12937 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
12938 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12939 | (::windows::core::Interface::vtable(self).base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
12940 | } | |
12941 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12942 | #[cfg(feature = "Win32_System_Com")] | |
12943 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
12944 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
12945 | (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12946 | } | |
12947 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12948 | #[cfg(feature = "Win32_System_Com")] | |
12949 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
12950 | where | |
12951 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
12952 | { | |
12953 | (::windows::core::Interface::vtable(self).base__.SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
12954 | } | |
12955 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12956 | #[cfg(feature = "Win32_System_Com")] | |
12957 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
12958 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
12959 | (::windows::core::Interface::vtable(self).base__.CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12960 | } | |
12961 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12962 | #[cfg(feature = "Win32_Foundation")] | |
12963 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
12964 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
12965 | (::windows::core::Interface::vtable(self).base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12966 | } | |
12967 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12968 | #[cfg(feature = "Win32_Foundation")] | |
12969 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12970 | where | |
12971 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
12972 | { | |
12973 | (::windows::core::Interface::vtable(self).base__.SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12974 | } | |
12975 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12976 | #[cfg(feature = "Win32_System_Com")] | |
12977 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
12978 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
12979 | (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12980 | } | |
12981 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
12982 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
12983 | (::windows::core::Interface::vtable(self).base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12984 | } | |
12985 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
12986 | where | |
12987 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
12988 | { | |
12989 | (::windows::core::Interface::vtable(self).base__.SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
12990 | } | |
12991 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12992 | #[cfg(feature = "Win32_System_Com")] | |
12993 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
12994 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
12995 | (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12996 | } | |
12997 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
12998 | #[cfg(feature = "Win32_System_Com")] | |
12999 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
13000 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
13001 | (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13002 | } | |
13003 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13004 | #[cfg(feature = "Win32_System_Com")] | |
13005 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
13006 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13007 | (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13008 | } | |
13009 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13010 | #[cfg(feature = "Win32_System_Com")] | |
13011 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
13012 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13013 | (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13014 | } | |
13015 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13016 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13017 | (::windows::core::Interface::vtable(self).base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13018 | } | |
13019 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13020 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13021 | (::windows::core::Interface::vtable(self).base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13022 | } | |
13023 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13024 | #[cfg(feature = "Win32_System_Com")] | |
13025 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
13026 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
13027 | (::windows::core::Interface::vtable(self).base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
13028 | } | |
13029 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13030 | #[cfg(feature = "Win32_System_Com")] | |
13031 | pub unsafe fn CheckPublicKeySignature<P0>(&self, ppublickey: P0) -> ::windows::core::Result<()> | |
13032 | where | |
13033 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
13034 | { | |
13035 | (::windows::core::Interface::vtable(self).CheckPublicKeySignature)(::windows::core::Interface::as_raw(self), ppublickey.into_param().abi()).ok() | |
13036 | } | |
13037 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13038 | #[cfg(feature = "Win32_System_Com")] | |
13039 | pub unsafe fn Issuer(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
13040 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
13041 | (::windows::core::Interface::vtable(self).Issuer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13042 | } | |
13043 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13044 | #[cfg(feature = "Win32_System_Com")] | |
13045 | pub unsafe fn SetIssuer<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13046 | where | |
13047 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
13048 | { | |
13049 | (::windows::core::Interface::vtable(self).SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13050 | } | |
13051 | pub unsafe fn NotBefore(&self) -> ::windows::core::Result<f64> { | |
13052 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
13053 | (::windows::core::Interface::vtable(self).NotBefore)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13054 | } | |
13055 | pub unsafe fn SetNotBefore(&self, value: f64) -> ::windows::core::Result<()> { | |
13056 | (::windows::core::Interface::vtable(self).SetNotBefore)(::windows::core::Interface::as_raw(self), value).ok() | |
13057 | } | |
13058 | pub unsafe fn NotAfter(&self) -> ::windows::core::Result<f64> { | |
13059 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
13060 | (::windows::core::Interface::vtable(self).NotAfter)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13061 | } | |
13062 | pub unsafe fn SetNotAfter(&self, value: f64) -> ::windows::core::Result<()> { | |
13063 | (::windows::core::Interface::vtable(self).SetNotAfter)(::windows::core::Interface::as_raw(self), value).ok() | |
13064 | } | |
13065 | pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13066 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13067 | (::windows::core::Interface::vtable(self).get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13068 | } | |
13069 | pub unsafe fn put_SerialNumber<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13070 | where | |
13071 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13072 | { | |
13073 | (::windows::core::Interface::vtable(self).put_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13074 | } | |
13075 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13076 | #[cfg(feature = "Win32_System_Com")] | |
13077 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
13078 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
13079 | (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13080 | } | |
13081 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13082 | #[cfg(feature = "Win32_System_Com")] | |
13083 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13084 | where | |
13085 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
13086 | { | |
13087 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13088 | } | |
13089 | } | |
13090 | #[cfg(feature = "Win32_System_Com")] | |
13091 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); | |
13092 | #[cfg(feature = "Win32_System_Com")] | |
13093 | impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate { | |
13094 | fn eq(&self, other: &Self) -> bool { | |
13095 | self.0 == other.0 | |
13096 | } | |
13097 | } | |
13098 | #[cfg(feature = "Win32_System_Com")] | |
13099 | impl ::core::cmp::Eq for IX509CertificateRequestCertificate {} | |
13100 | #[cfg(feature = "Win32_System_Com")] | |
13101 | impl ::core::fmt::Debug for IX509CertificateRequestCertificate { | |
13102 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13103 | f.debug_tuple("IX509CertificateRequestCertificate").field(&self.0).finish() | |
13104 | } | |
13105 | } | |
13106 | #[cfg(feature = "Win32_System_Com")] | |
13107 | unsafe impl ::windows::core::Interface for IX509CertificateRequestCertificate { | |
13108 | type Vtable = IX509CertificateRequestCertificate_Vtbl; | |
13109 | } | |
13110 | #[cfg(feature = "Win32_System_Com")] | |
13111 | impl ::core::clone::Clone for IX509CertificateRequestCertificate { | |
13112 | fn clone(&self) -> Self { | |
13113 | Self(self.0.clone()) | |
13114 | } | |
13115 | } | |
13116 | #[cfg(feature = "Win32_System_Com")] | |
13117 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestCertificate { | |
13118 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab343_217d_11da_b2a4_000e7bbb2b09); | |
13119 | } | |
13120 | #[cfg(feature = "Win32_System_Com")] | |
13121 | #[repr(C)] | |
13122 | #[doc(hidden)] | |
13123 | pub struct IX509CertificateRequestCertificate_Vtbl { | |
13124 | pub base__: IX509CertificateRequestPkcs10_Vtbl, | |
13125 | #[cfg(feature = "Win32_System_Com")] | |
13126 | pub CheckPublicKeySignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppublickey: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13127 | #[cfg(not(feature = "Win32_System_Com"))] | |
13128 | CheckPublicKeySignature: usize, | |
13129 | #[cfg(feature = "Win32_System_Com")] | |
13130 | pub Issuer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13131 | #[cfg(not(feature = "Win32_System_Com"))] | |
13132 | Issuer: usize, | |
13133 | #[cfg(feature = "Win32_System_Com")] | |
13134 | pub SetIssuer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13135 | #[cfg(not(feature = "Win32_System_Com"))] | |
13136 | SetIssuer: usize, | |
13137 | pub NotBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
13138 | pub SetNotBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f64) -> ::windows::core::HRESULT, | |
13139 | pub NotAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
13140 | pub SetNotAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f64) -> ::windows::core::HRESULT, | |
13141 | pub get_SerialNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
13142 | pub put_SerialNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
13143 | #[cfg(feature = "Win32_System_Com")] | |
13144 | pub SignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13145 | #[cfg(not(feature = "Win32_System_Com"))] | |
13146 | SignerCertificate: usize, | |
13147 | #[cfg(feature = "Win32_System_Com")] | |
13148 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13149 | #[cfg(not(feature = "Win32_System_Com"))] | |
13150 | SetSignerCertificate: usize, | |
13151 | } | |
13152 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
13153 | #[cfg(feature = "Win32_System_Com")] | |
13154 | #[repr(transparent)] | |
13155 | pub struct IX509CertificateRequestCertificate2(::windows::core::IUnknown); | |
13156 | #[cfg(feature = "Win32_System_Com")] | |
13157 | impl IX509CertificateRequestCertificate2 { | |
13158 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
13159 | (::windows::core::Interface::vtable(self).base__.base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
13160 | } | |
13161 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
13162 | (::windows::core::Interface::vtable(self).base__.base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
13163 | } | |
13164 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
13165 | (::windows::core::Interface::vtable(self).base__.base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
13166 | } | |
13167 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13168 | #[cfg(feature = "Win32_System_Com")] | |
13169 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
13170 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
13171 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
13172 | } | |
13173 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
13174 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
13175 | (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13176 | } | |
13177 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
13178 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
13179 | (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13180 | } | |
13181 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13182 | #[cfg(feature = "Win32_Foundation")] | |
13183 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13184 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13185 | (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13186 | } | |
13187 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13188 | #[cfg(feature = "Win32_Foundation")] | |
13189 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13190 | where | |
13191 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13192 | { | |
13193 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13194 | } | |
13195 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
13196 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
13197 | (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13198 | } | |
13199 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
13200 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
13201 | } | |
13202 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
13203 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13204 | (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13205 | } | |
13206 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13207 | where | |
13208 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13209 | { | |
13210 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13211 | } | |
13212 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13213 | #[cfg(feature = "Win32_Foundation")] | |
13214 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13215 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13216 | (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13217 | } | |
13218 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13219 | #[cfg(feature = "Win32_Foundation")] | |
13220 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13221 | where | |
13222 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13223 | { | |
13224 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13225 | } | |
13226 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13227 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13228 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13229 | } | |
13230 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13231 | where | |
13232 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13233 | { | |
13234 | (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13235 | } | |
13236 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
13237 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
13238 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13239 | } | |
13240 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
13241 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
13242 | } | |
13243 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13244 | #[cfg(feature = "Win32_System_Com")] | |
13245 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
13246 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
13247 | (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13248 | } | |
13249 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13250 | #[cfg(feature = "Win32_System_Com")] | |
13251 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13252 | where | |
13253 | P0: ::windows::core::IntoParam<ICspInformations>, | |
13254 | { | |
13255 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13256 | } | |
13257 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13258 | #[cfg(feature = "Win32_System_Com")] | |
13259 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
13260 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
13261 | (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13262 | } | |
13263 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13264 | #[cfg(feature = "Win32_System_Com")] | |
13265 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13266 | where | |
13267 | P0: ::windows::core::IntoParam<IObjectId>, | |
13268 | { | |
13269 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13270 | } | |
13271 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13272 | #[cfg(feature = "Win32_Foundation")] | |
13273 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13274 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13275 | (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13276 | } | |
13277 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13278 | #[cfg(feature = "Win32_Foundation")] | |
13279 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13280 | where | |
13281 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13282 | { | |
13283 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13284 | } | |
13285 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13286 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13287 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13288 | } | |
13289 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
13290 | where | |
13291 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13292 | { | |
13293 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
13294 | } | |
13295 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13296 | #[cfg(feature = "Win32_System_Com")] | |
13297 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
13298 | where | |
13299 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
13300 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13301 | { | |
13302 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
13303 | } | |
13304 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13305 | #[cfg(feature = "Win32_System_Com")] | |
13306 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
13307 | where | |
13308 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
13309 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13310 | { | |
13311 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
13312 | } | |
13313 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
13314 | where | |
13315 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13316 | { | |
13317 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
13318 | } | |
13319 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
13320 | where | |
13321 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13322 | { | |
13323 | (::windows::core::Interface::vtable(self).base__.base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
13324 | } | |
13325 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
13326 | (::windows::core::Interface::vtable(self).base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
13327 | } | |
13328 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13329 | #[cfg(feature = "Win32_Foundation")] | |
13330 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13331 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13332 | (::windows::core::Interface::vtable(self).base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13333 | } | |
13334 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13335 | #[cfg(feature = "Win32_System_Com")] | |
13336 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
13337 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
13338 | (::windows::core::Interface::vtable(self).base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13339 | } | |
13340 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13341 | #[cfg(feature = "Win32_System_Com")] | |
13342 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
13343 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
13344 | (::windows::core::Interface::vtable(self).base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13345 | } | |
13346 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13347 | #[cfg(feature = "Win32_System_Com")] | |
13348 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
13349 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
13350 | (::windows::core::Interface::vtable(self).base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13351 | } | |
13352 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13353 | #[cfg(feature = "Win32_Foundation")] | |
13354 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13355 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13356 | (::windows::core::Interface::vtable(self).base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13357 | } | |
13358 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13359 | #[cfg(feature = "Win32_Foundation")] | |
13360 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13361 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13362 | (::windows::core::Interface::vtable(self).base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13363 | } | |
13364 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13365 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13366 | (::windows::core::Interface::vtable(self).base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13367 | } | |
13368 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13369 | #[cfg(feature = "Win32_System_Com")] | |
13370 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
13371 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
13372 | (::windows::core::Interface::vtable(self).base__.base__.Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13373 | } | |
13374 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13375 | #[cfg(feature = "Win32_System_Com")] | |
13376 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13377 | where | |
13378 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
13379 | { | |
13380 | (::windows::core::Interface::vtable(self).base__.base__.SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13381 | } | |
13382 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13383 | #[cfg(feature = "Win32_System_Com")] | |
13384 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
13385 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
13386 | (::windows::core::Interface::vtable(self).base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13387 | } | |
13388 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13389 | #[cfg(feature = "Win32_Foundation")] | |
13390 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13391 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13392 | (::windows::core::Interface::vtable(self).base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13393 | } | |
13394 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13395 | #[cfg(feature = "Win32_Foundation")] | |
13396 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13397 | where | |
13398 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13399 | { | |
13400 | (::windows::core::Interface::vtable(self).base__.base__.SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13401 | } | |
13402 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13403 | #[cfg(feature = "Win32_System_Com")] | |
13404 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
13405 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
13406 | (::windows::core::Interface::vtable(self).base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13407 | } | |
13408 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
13409 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13410 | (::windows::core::Interface::vtable(self).base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13411 | } | |
13412 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13413 | where | |
13414 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13415 | { | |
13416 | (::windows::core::Interface::vtable(self).base__.base__.SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13417 | } | |
13418 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13419 | #[cfg(feature = "Win32_System_Com")] | |
13420 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
13421 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
13422 | (::windows::core::Interface::vtable(self).base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13423 | } | |
13424 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13425 | #[cfg(feature = "Win32_System_Com")] | |
13426 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
13427 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
13428 | (::windows::core::Interface::vtable(self).base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13429 | } | |
13430 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13431 | #[cfg(feature = "Win32_System_Com")] | |
13432 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
13433 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13434 | (::windows::core::Interface::vtable(self).base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13435 | } | |
13436 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13437 | #[cfg(feature = "Win32_System_Com")] | |
13438 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
13439 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13440 | (::windows::core::Interface::vtable(self).base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13441 | } | |
13442 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13443 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13444 | (::windows::core::Interface::vtable(self).base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13445 | } | |
13446 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13447 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13448 | (::windows::core::Interface::vtable(self).base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13449 | } | |
13450 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13451 | #[cfg(feature = "Win32_System_Com")] | |
13452 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
13453 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
13454 | (::windows::core::Interface::vtable(self).base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
13455 | } | |
13456 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13457 | #[cfg(feature = "Win32_System_Com")] | |
13458 | pub unsafe fn CheckPublicKeySignature<P0>(&self, ppublickey: P0) -> ::windows::core::Result<()> | |
13459 | where | |
13460 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
13461 | { | |
13462 | (::windows::core::Interface::vtable(self).base__.CheckPublicKeySignature)(::windows::core::Interface::as_raw(self), ppublickey.into_param().abi()).ok() | |
13463 | } | |
13464 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13465 | #[cfg(feature = "Win32_System_Com")] | |
13466 | pub unsafe fn Issuer(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
13467 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
13468 | (::windows::core::Interface::vtable(self).base__.Issuer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13469 | } | |
13470 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13471 | #[cfg(feature = "Win32_System_Com")] | |
13472 | pub unsafe fn SetIssuer<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13473 | where | |
13474 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
13475 | { | |
13476 | (::windows::core::Interface::vtable(self).base__.SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13477 | } | |
13478 | pub unsafe fn NotBefore(&self) -> ::windows::core::Result<f64> { | |
13479 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
13480 | (::windows::core::Interface::vtable(self).base__.NotBefore)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13481 | } | |
13482 | pub unsafe fn SetNotBefore(&self, value: f64) -> ::windows::core::Result<()> { | |
13483 | (::windows::core::Interface::vtable(self).base__.SetNotBefore)(::windows::core::Interface::as_raw(self), value).ok() | |
13484 | } | |
13485 | pub unsafe fn NotAfter(&self) -> ::windows::core::Result<f64> { | |
13486 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
13487 | (::windows::core::Interface::vtable(self).base__.NotAfter)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13488 | } | |
13489 | pub unsafe fn SetNotAfter(&self, value: f64) -> ::windows::core::Result<()> { | |
13490 | (::windows::core::Interface::vtable(self).base__.SetNotAfter)(::windows::core::Interface::as_raw(self), value).ok() | |
13491 | } | |
13492 | pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13493 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13494 | (::windows::core::Interface::vtable(self).base__.get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13495 | } | |
13496 | pub unsafe fn put_SerialNumber<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13497 | where | |
13498 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13499 | { | |
13500 | (::windows::core::Interface::vtable(self).base__.put_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13501 | } | |
13502 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13503 | #[cfg(feature = "Win32_System_Com")] | |
13504 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
13505 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
13506 | (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13507 | } | |
13508 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13509 | #[cfg(feature = "Win32_System_Com")] | |
13510 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13511 | where | |
13512 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
13513 | { | |
13514 | (::windows::core::Interface::vtable(self).base__.SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13515 | } | |
13516 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13517 | #[cfg(feature = "Win32_System_Com")] | |
13518 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
13519 | where | |
13520 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
13521 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
13522 | { | |
13523 | (::windows::core::Interface::vtable(self).InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
13524 | } | |
13525 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13526 | #[cfg(feature = "Win32_System_Com")] | |
13527 | pub unsafe fn InitializeFromPrivateKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
13528 | where | |
13529 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
13530 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
13531 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
13532 | { | |
13533 | (::windows::core::Interface::vtable(self).InitializeFromPrivateKeyTemplate)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
13534 | } | |
13535 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13536 | #[cfg(feature = "Win32_System_Com")] | |
13537 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
13538 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
13539 | (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13540 | } | |
13541 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13542 | #[cfg(feature = "Win32_System_Com")] | |
13543 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
13544 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
13545 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13546 | } | |
13547 | } | |
13548 | #[cfg(feature = "Win32_System_Com")] | |
13549 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestCertificate2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestCertificate); | |
13550 | #[cfg(feature = "Win32_System_Com")] | |
13551 | impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate2 { | |
13552 | fn eq(&self, other: &Self) -> bool { | |
13553 | self.0 == other.0 | |
13554 | } | |
13555 | } | |
13556 | #[cfg(feature = "Win32_System_Com")] | |
13557 | impl ::core::cmp::Eq for IX509CertificateRequestCertificate2 {} | |
13558 | #[cfg(feature = "Win32_System_Com")] | |
13559 | impl ::core::fmt::Debug for IX509CertificateRequestCertificate2 { | |
13560 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13561 | f.debug_tuple("IX509CertificateRequestCertificate2").field(&self.0).finish() | |
13562 | } | |
13563 | } | |
13564 | #[cfg(feature = "Win32_System_Com")] | |
13565 | unsafe impl ::windows::core::Interface for IX509CertificateRequestCertificate2 { | |
13566 | type Vtable = IX509CertificateRequestCertificate2_Vtbl; | |
13567 | } | |
13568 | #[cfg(feature = "Win32_System_Com")] | |
13569 | impl ::core::clone::Clone for IX509CertificateRequestCertificate2 { | |
13570 | fn clone(&self) -> Self { | |
13571 | Self(self.0.clone()) | |
13572 | } | |
13573 | } | |
13574 | #[cfg(feature = "Win32_System_Com")] | |
13575 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestCertificate2 { | |
13576 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35a_217d_11da_b2a4_000e7bbb2b09); | |
13577 | } | |
13578 | #[cfg(feature = "Win32_System_Com")] | |
13579 | #[repr(C)] | |
13580 | #[doc(hidden)] | |
13581 | pub struct IX509CertificateRequestCertificate2_Vtbl { | |
13582 | pub base__: IX509CertificateRequestCertificate_Vtbl, | |
13583 | #[cfg(feature = "Win32_System_Com")] | |
13584 | pub InitializeFromTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13585 | #[cfg(not(feature = "Win32_System_Com"))] | |
13586 | InitializeFromTemplate: usize, | |
13587 | #[cfg(feature = "Win32_System_Com")] | |
13588 | pub InitializeFromPrivateKeyTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, pprivatekey: *mut ::core::ffi::c_void, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13589 | #[cfg(not(feature = "Win32_System_Com"))] | |
13590 | InitializeFromPrivateKeyTemplate: usize, | |
13591 | #[cfg(feature = "Win32_System_Com")] | |
13592 | pub PolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppolicyserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13593 | #[cfg(not(feature = "Win32_System_Com"))] | |
13594 | PolicyServer: usize, | |
13595 | #[cfg(feature = "Win32_System_Com")] | |
13596 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptemplate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13597 | #[cfg(not(feature = "Win32_System_Com"))] | |
13598 | Template: usize, | |
13599 | } | |
13600 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
13601 | #[cfg(feature = "Win32_System_Com")] | |
13602 | #[repr(transparent)] | |
13603 | pub struct IX509CertificateRequestCmc(::windows::core::IUnknown); | |
13604 | #[cfg(feature = "Win32_System_Com")] | |
13605 | impl IX509CertificateRequestCmc { | |
13606 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
13607 | (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
13608 | } | |
13609 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
13610 | (::windows::core::Interface::vtable(self).base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
13611 | } | |
13612 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
13613 | (::windows::core::Interface::vtable(self).base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
13614 | } | |
13615 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13616 | #[cfg(feature = "Win32_System_Com")] | |
13617 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
13618 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
13619 | (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
13620 | } | |
13621 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
13622 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
13623 | (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13624 | } | |
13625 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
13626 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
13627 | (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13628 | } | |
13629 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13630 | #[cfg(feature = "Win32_Foundation")] | |
13631 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13632 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13633 | (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13634 | } | |
13635 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13636 | #[cfg(feature = "Win32_Foundation")] | |
13637 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13638 | where | |
13639 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13640 | { | |
13641 | (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13642 | } | |
13643 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
13644 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
13645 | (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13646 | } | |
13647 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
13648 | (::windows::core::Interface::vtable(self).base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
13649 | } | |
13650 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
13651 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13652 | (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13653 | } | |
13654 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13655 | where | |
13656 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13657 | { | |
13658 | (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13659 | } | |
13660 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13661 | #[cfg(feature = "Win32_Foundation")] | |
13662 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13663 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13664 | (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13665 | } | |
13666 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13667 | #[cfg(feature = "Win32_Foundation")] | |
13668 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13669 | where | |
13670 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13671 | { | |
13672 | (::windows::core::Interface::vtable(self).base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13673 | } | |
13674 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13675 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13676 | (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13677 | } | |
13678 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13679 | where | |
13680 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13681 | { | |
13682 | (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13683 | } | |
13684 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
13685 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
13686 | (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13687 | } | |
13688 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
13689 | (::windows::core::Interface::vtable(self).base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
13690 | } | |
13691 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13692 | #[cfg(feature = "Win32_System_Com")] | |
13693 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
13694 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
13695 | (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13696 | } | |
13697 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13698 | #[cfg(feature = "Win32_System_Com")] | |
13699 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13700 | where | |
13701 | P0: ::windows::core::IntoParam<ICspInformations>, | |
13702 | { | |
13703 | (::windows::core::Interface::vtable(self).base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13704 | } | |
13705 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13706 | #[cfg(feature = "Win32_System_Com")] | |
13707 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
13708 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
13709 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13710 | } | |
13711 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13712 | #[cfg(feature = "Win32_System_Com")] | |
13713 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13714 | where | |
13715 | P0: ::windows::core::IntoParam<IObjectId>, | |
13716 | { | |
13717 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13718 | } | |
13719 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13720 | #[cfg(feature = "Win32_Foundation")] | |
13721 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13722 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13723 | (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13724 | } | |
13725 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13726 | #[cfg(feature = "Win32_Foundation")] | |
13727 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13728 | where | |
13729 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13730 | { | |
13731 | (::windows::core::Interface::vtable(self).base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13732 | } | |
13733 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13734 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13735 | (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13736 | } | |
13737 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
13738 | where | |
13739 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13740 | { | |
13741 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
13742 | } | |
13743 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13744 | #[cfg(feature = "Win32_Foundation")] | |
13745 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, context: X509CertificateEnrollmentContext, renewalrequest: P0, strcertificate: P1, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
13746 | where | |
13747 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13748 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13749 | { | |
13750 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, renewalrequest.into_param().abi(), strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
13751 | } | |
13752 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13753 | #[cfg(feature = "Win32_System_Com")] | |
13754 | pub unsafe fn InitializeFromInnerRequest<P0>(&self, pinnerrequest: P0) -> ::windows::core::Result<()> | |
13755 | where | |
13756 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
13757 | { | |
13758 | (::windows::core::Interface::vtable(self).base__.InitializeFromInnerRequest)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi()).ok() | |
13759 | } | |
13760 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
13761 | where | |
13762 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13763 | { | |
13764 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
13765 | } | |
13766 | pub unsafe fn RequesterName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
13767 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13768 | (::windows::core::Interface::vtable(self).base__.RequesterName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13769 | } | |
13770 | pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13771 | where | |
13772 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13773 | { | |
13774 | (::windows::core::Interface::vtable(self).base__.SetRequesterName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13775 | } | |
13776 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13777 | #[cfg(feature = "Win32_System_Com")] | |
13778 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
13779 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
13780 | (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13781 | } | |
13782 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13783 | #[cfg(feature = "Win32_System_Com")] | |
13784 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13785 | where | |
13786 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
13787 | { | |
13788 | (::windows::core::Interface::vtable(self).base__.SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13789 | } | |
13790 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13791 | #[cfg(feature = "Win32_System_Com")] | |
13792 | pub unsafe fn InitializeFromInnerRequestTemplateName<P0, P1>(&self, pinnerrequest: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
13793 | where | |
13794 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
13795 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13796 | { | |
13797 | (::windows::core::Interface::vtable(self).InitializeFromInnerRequestTemplateName)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
13798 | } | |
13799 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13800 | #[cfg(feature = "Win32_System_Com")] | |
13801 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
13802 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
13803 | (::windows::core::Interface::vtable(self).TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13804 | } | |
13805 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13806 | #[cfg(feature = "Win32_Foundation")] | |
13807 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13808 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13809 | (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13810 | } | |
13811 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13812 | #[cfg(feature = "Win32_System_Com")] | |
13813 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
13814 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
13815 | (::windows::core::Interface::vtable(self).CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13816 | } | |
13817 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13818 | #[cfg(feature = "Win32_System_Com")] | |
13819 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
13820 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
13821 | (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13822 | } | |
13823 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13824 | #[cfg(feature = "Win32_System_Com")] | |
13825 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
13826 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
13827 | (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13828 | } | |
13829 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13830 | #[cfg(feature = "Win32_System_Com")] | |
13831 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
13832 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13833 | (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13834 | } | |
13835 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13836 | #[cfg(feature = "Win32_System_Com")] | |
13837 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
13838 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
13839 | (::windows::core::Interface::vtable(self).SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13840 | } | |
13841 | pub unsafe fn TransactionId(&self) -> ::windows::core::Result<i32> { | |
13842 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
13843 | (::windows::core::Interface::vtable(self).TransactionId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13844 | } | |
13845 | pub unsafe fn SetTransactionId(&self, value: i32) -> ::windows::core::Result<()> { | |
13846 | (::windows::core::Interface::vtable(self).SetTransactionId)(::windows::core::Interface::as_raw(self), value).ok() | |
13847 | } | |
13848 | pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13849 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13850 | (::windows::core::Interface::vtable(self).get_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13851 | } | |
13852 | pub unsafe fn put_SenderNonce<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13853 | where | |
13854 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13855 | { | |
13856 | (::windows::core::Interface::vtable(self).put_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13857 | } | |
13858 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13859 | #[cfg(feature = "Win32_System_Com")] | |
13860 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
13861 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
13862 | (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13863 | } | |
13864 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13865 | #[cfg(feature = "Win32_Foundation")] | |
13866 | pub unsafe fn ArchivePrivateKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
13867 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
13868 | (::windows::core::Interface::vtable(self).ArchivePrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13869 | } | |
13870 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13871 | #[cfg(feature = "Win32_Foundation")] | |
13872 | pub unsafe fn SetArchivePrivateKey<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
13873 | where | |
13874 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
13875 | { | |
13876 | (::windows::core::Interface::vtable(self).SetArchivePrivateKey)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
13877 | } | |
13878 | pub unsafe fn get_KeyArchivalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13879 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13880 | (::windows::core::Interface::vtable(self).get_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13881 | } | |
13882 | pub unsafe fn put_KeyArchivalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
13883 | where | |
13884 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
13885 | { | |
13886 | (::windows::core::Interface::vtable(self).put_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
13887 | } | |
13888 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13889 | #[cfg(feature = "Win32_System_Com")] | |
13890 | pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
13891 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
13892 | (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13893 | } | |
13894 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13895 | #[cfg(feature = "Win32_System_Com")] | |
13896 | pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
13897 | where | |
13898 | P0: ::windows::core::IntoParam<IObjectId>, | |
13899 | { | |
13900 | (::windows::core::Interface::vtable(self).SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
13901 | } | |
13902 | pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result<i32> { | |
13903 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
13904 | (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13905 | } | |
13906 | pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { | |
13907 | (::windows::core::Interface::vtable(self).SetEncryptionStrength)(::windows::core::Interface::as_raw(self), value).ok() | |
13908 | } | |
13909 | pub unsafe fn get_EncryptedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
13910 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
13911 | (::windows::core::Interface::vtable(self).get_EncryptedKeyHash)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
13912 | } | |
13913 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
13914 | #[cfg(feature = "Win32_System_Com")] | |
13915 | pub unsafe fn SignerCertificates(&self) -> ::windows::core::Result<ISignerCertificates> { | |
13916 | let mut result__ = ::windows::core::zeroed::<ISignerCertificates>(); | |
13917 | (::windows::core::Interface::vtable(self).SignerCertificates)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
13918 | } | |
13919 | } | |
13920 | #[cfg(feature = "Win32_System_Com")] | |
13921 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestCmc, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); | |
13922 | #[cfg(feature = "Win32_System_Com")] | |
13923 | impl ::core::cmp::PartialEq for IX509CertificateRequestCmc { | |
13924 | fn eq(&self, other: &Self) -> bool { | |
13925 | self.0 == other.0 | |
13926 | } | |
13927 | } | |
13928 | #[cfg(feature = "Win32_System_Com")] | |
13929 | impl ::core::cmp::Eq for IX509CertificateRequestCmc {} | |
13930 | #[cfg(feature = "Win32_System_Com")] | |
13931 | impl ::core::fmt::Debug for IX509CertificateRequestCmc { | |
13932 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13933 | f.debug_tuple("IX509CertificateRequestCmc").field(&self.0).finish() | |
13934 | } | |
13935 | } | |
13936 | #[cfg(feature = "Win32_System_Com")] | |
13937 | unsafe impl ::windows::core::Interface for IX509CertificateRequestCmc { | |
13938 | type Vtable = IX509CertificateRequestCmc_Vtbl; | |
13939 | } | |
13940 | #[cfg(feature = "Win32_System_Com")] | |
13941 | impl ::core::clone::Clone for IX509CertificateRequestCmc { | |
13942 | fn clone(&self) -> Self { | |
13943 | Self(self.0.clone()) | |
13944 | } | |
13945 | } | |
13946 | #[cfg(feature = "Win32_System_Com")] | |
13947 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestCmc { | |
13948 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab345_217d_11da_b2a4_000e7bbb2b09); | |
13949 | } | |
13950 | #[cfg(feature = "Win32_System_Com")] | |
13951 | #[repr(C)] | |
13952 | #[doc(hidden)] | |
13953 | pub struct IX509CertificateRequestCmc_Vtbl { | |
13954 | pub base__: IX509CertificateRequestPkcs7_Vtbl, | |
13955 | #[cfg(feature = "Win32_System_Com")] | |
13956 | pub InitializeFromInnerRequestTemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinnerrequest: *mut ::core::ffi::c_void, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
13957 | #[cfg(not(feature = "Win32_System_Com"))] | |
13958 | InitializeFromInnerRequestTemplateName: usize, | |
13959 | #[cfg(feature = "Win32_System_Com")] | |
13960 | pub TemplateObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13961 | #[cfg(not(feature = "Win32_System_Com"))] | |
13962 | TemplateObjectId: usize, | |
13963 | #[cfg(feature = "Win32_Foundation")] | |
13964 | pub NullSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
13965 | #[cfg(not(feature = "Win32_Foundation"))] | |
13966 | NullSigned: usize, | |
13967 | #[cfg(feature = "Win32_System_Com")] | |
13968 | pub CryptAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13969 | #[cfg(not(feature = "Win32_System_Com"))] | |
13970 | CryptAttributes: usize, | |
13971 | #[cfg(feature = "Win32_System_Com")] | |
13972 | pub NameValuePairs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13973 | #[cfg(not(feature = "Win32_System_Com"))] | |
13974 | NameValuePairs: usize, | |
13975 | #[cfg(feature = "Win32_System_Com")] | |
13976 | pub X509Extensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13977 | #[cfg(not(feature = "Win32_System_Com"))] | |
13978 | X509Extensions: usize, | |
13979 | #[cfg(feature = "Win32_System_Com")] | |
13980 | pub CriticalExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13981 | #[cfg(not(feature = "Win32_System_Com"))] | |
13982 | CriticalExtensions: usize, | |
13983 | #[cfg(feature = "Win32_System_Com")] | |
13984 | pub SuppressOids: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13985 | #[cfg(not(feature = "Win32_System_Com"))] | |
13986 | SuppressOids: usize, | |
13987 | pub TransactionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
13988 | pub SetTransactionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
13989 | pub get_SenderNonce: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
13990 | pub put_SenderNonce: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
13991 | #[cfg(feature = "Win32_System_Com")] | |
13992 | pub SignatureInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13993 | #[cfg(not(feature = "Win32_System_Com"))] | |
13994 | SignatureInformation: usize, | |
13995 | #[cfg(feature = "Win32_Foundation")] | |
13996 | pub ArchivePrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
13997 | #[cfg(not(feature = "Win32_Foundation"))] | |
13998 | ArchivePrivateKey: usize, | |
13999 | #[cfg(feature = "Win32_Foundation")] | |
14000 | pub SetArchivePrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14001 | #[cfg(not(feature = "Win32_Foundation"))] | |
14002 | SetArchivePrivateKey: usize, | |
14003 | pub get_KeyArchivalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14004 | pub put_KeyArchivalCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14005 | #[cfg(feature = "Win32_System_Com")] | |
14006 | pub EncryptionAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14007 | #[cfg(not(feature = "Win32_System_Com"))] | |
14008 | EncryptionAlgorithm: usize, | |
14009 | #[cfg(feature = "Win32_System_Com")] | |
14010 | pub SetEncryptionAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14011 | #[cfg(not(feature = "Win32_System_Com"))] | |
14012 | SetEncryptionAlgorithm: usize, | |
14013 | pub EncryptionStrength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
14014 | pub SetEncryptionStrength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
14015 | pub get_EncryptedKeyHash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14016 | #[cfg(feature = "Win32_System_Com")] | |
14017 | pub SignerCertificates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14018 | #[cfg(not(feature = "Win32_System_Com"))] | |
14019 | SignerCertificates: usize, | |
14020 | } | |
14021 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
14022 | #[cfg(feature = "Win32_System_Com")] | |
14023 | #[repr(transparent)] | |
14024 | pub struct IX509CertificateRequestCmc2(::windows::core::IUnknown); | |
14025 | #[cfg(feature = "Win32_System_Com")] | |
14026 | impl IX509CertificateRequestCmc2 { | |
14027 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
14028 | (::windows::core::Interface::vtable(self).base__.base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
14029 | } | |
14030 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
14031 | (::windows::core::Interface::vtable(self).base__.base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
14032 | } | |
14033 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
14034 | (::windows::core::Interface::vtable(self).base__.base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
14035 | } | |
14036 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14037 | #[cfg(feature = "Win32_System_Com")] | |
14038 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
14039 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
14040 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
14041 | } | |
14042 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
14043 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
14044 | (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14045 | } | |
14046 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
14047 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
14048 | (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14049 | } | |
14050 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14051 | #[cfg(feature = "Win32_Foundation")] | |
14052 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14053 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14054 | (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14055 | } | |
14056 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14057 | #[cfg(feature = "Win32_Foundation")] | |
14058 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14059 | where | |
14060 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14061 | { | |
14062 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14063 | } | |
14064 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
14065 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
14066 | (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14067 | } | |
14068 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
14069 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
14070 | } | |
14071 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
14072 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14073 | (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14074 | } | |
14075 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14076 | where | |
14077 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14078 | { | |
14079 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14080 | } | |
14081 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14082 | #[cfg(feature = "Win32_Foundation")] | |
14083 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14084 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14085 | (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14086 | } | |
14087 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14088 | #[cfg(feature = "Win32_Foundation")] | |
14089 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14090 | where | |
14091 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14092 | { | |
14093 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14094 | } | |
14095 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14096 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14097 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14098 | } | |
14099 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
14100 | where | |
14101 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14102 | { | |
14103 | (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
14104 | } | |
14105 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
14106 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
14107 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14108 | } | |
14109 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
14110 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
14111 | } | |
14112 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14113 | #[cfg(feature = "Win32_System_Com")] | |
14114 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
14115 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
14116 | (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14117 | } | |
14118 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14119 | #[cfg(feature = "Win32_System_Com")] | |
14120 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14121 | where | |
14122 | P0: ::windows::core::IntoParam<ICspInformations>, | |
14123 | { | |
14124 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14125 | } | |
14126 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14127 | #[cfg(feature = "Win32_System_Com")] | |
14128 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
14129 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14130 | (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14131 | } | |
14132 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14133 | #[cfg(feature = "Win32_System_Com")] | |
14134 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14135 | where | |
14136 | P0: ::windows::core::IntoParam<IObjectId>, | |
14137 | { | |
14138 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14139 | } | |
14140 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14141 | #[cfg(feature = "Win32_Foundation")] | |
14142 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14143 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14144 | (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14145 | } | |
14146 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14147 | #[cfg(feature = "Win32_Foundation")] | |
14148 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14149 | where | |
14150 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14151 | { | |
14152 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14153 | } | |
14154 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14155 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14156 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14157 | } | |
14158 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
14159 | where | |
14160 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14161 | { | |
14162 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
14163 | } | |
14164 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14165 | #[cfg(feature = "Win32_Foundation")] | |
14166 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, context: X509CertificateEnrollmentContext, renewalrequest: P0, strcertificate: P1, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
14167 | where | |
14168 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14169 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14170 | { | |
14171 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, renewalrequest.into_param().abi(), strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
14172 | } | |
14173 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14174 | #[cfg(feature = "Win32_System_Com")] | |
14175 | pub unsafe fn InitializeFromInnerRequest<P0>(&self, pinnerrequest: P0) -> ::windows::core::Result<()> | |
14176 | where | |
14177 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
14178 | { | |
14179 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromInnerRequest)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi()).ok() | |
14180 | } | |
14181 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
14182 | where | |
14183 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14184 | { | |
14185 | (::windows::core::Interface::vtable(self).base__.base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
14186 | } | |
14187 | pub unsafe fn RequesterName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
14188 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14189 | (::windows::core::Interface::vtable(self).base__.base__.RequesterName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14190 | } | |
14191 | pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14192 | where | |
14193 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14194 | { | |
14195 | (::windows::core::Interface::vtable(self).base__.base__.SetRequesterName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14196 | } | |
14197 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14198 | #[cfg(feature = "Win32_System_Com")] | |
14199 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
14200 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
14201 | (::windows::core::Interface::vtable(self).base__.base__.SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14202 | } | |
14203 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14204 | #[cfg(feature = "Win32_System_Com")] | |
14205 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14206 | where | |
14207 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
14208 | { | |
14209 | (::windows::core::Interface::vtable(self).base__.base__.SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14210 | } | |
14211 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14212 | #[cfg(feature = "Win32_System_Com")] | |
14213 | pub unsafe fn InitializeFromInnerRequestTemplateName<P0, P1>(&self, pinnerrequest: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
14214 | where | |
14215 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
14216 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14217 | { | |
14218 | (::windows::core::Interface::vtable(self).base__.InitializeFromInnerRequestTemplateName)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
14219 | } | |
14220 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14221 | #[cfg(feature = "Win32_System_Com")] | |
14222 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
14223 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14224 | (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14225 | } | |
14226 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14227 | #[cfg(feature = "Win32_Foundation")] | |
14228 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14229 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14230 | (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14231 | } | |
14232 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14233 | #[cfg(feature = "Win32_System_Com")] | |
14234 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
14235 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
14236 | (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14237 | } | |
14238 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14239 | #[cfg(feature = "Win32_System_Com")] | |
14240 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
14241 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
14242 | (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14243 | } | |
14244 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14245 | #[cfg(feature = "Win32_System_Com")] | |
14246 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
14247 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
14248 | (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14249 | } | |
14250 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14251 | #[cfg(feature = "Win32_System_Com")] | |
14252 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
14253 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
14254 | (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14255 | } | |
14256 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14257 | #[cfg(feature = "Win32_System_Com")] | |
14258 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
14259 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
14260 | (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14261 | } | |
14262 | pub unsafe fn TransactionId(&self) -> ::windows::core::Result<i32> { | |
14263 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
14264 | (::windows::core::Interface::vtable(self).base__.TransactionId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14265 | } | |
14266 | pub unsafe fn SetTransactionId(&self, value: i32) -> ::windows::core::Result<()> { | |
14267 | (::windows::core::Interface::vtable(self).base__.SetTransactionId)(::windows::core::Interface::as_raw(self), value).ok() | |
14268 | } | |
14269 | pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14270 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14271 | (::windows::core::Interface::vtable(self).base__.get_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14272 | } | |
14273 | pub unsafe fn put_SenderNonce<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
14274 | where | |
14275 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14276 | { | |
14277 | (::windows::core::Interface::vtable(self).base__.put_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
14278 | } | |
14279 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14280 | #[cfg(feature = "Win32_System_Com")] | |
14281 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
14282 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
14283 | (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14284 | } | |
14285 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14286 | #[cfg(feature = "Win32_Foundation")] | |
14287 | pub unsafe fn ArchivePrivateKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14288 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14289 | (::windows::core::Interface::vtable(self).base__.ArchivePrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14290 | } | |
14291 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14292 | #[cfg(feature = "Win32_Foundation")] | |
14293 | pub unsafe fn SetArchivePrivateKey<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14294 | where | |
14295 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14296 | { | |
14297 | (::windows::core::Interface::vtable(self).base__.SetArchivePrivateKey)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14298 | } | |
14299 | pub unsafe fn get_KeyArchivalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14300 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14301 | (::windows::core::Interface::vtable(self).base__.get_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14302 | } | |
14303 | pub unsafe fn put_KeyArchivalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
14304 | where | |
14305 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14306 | { | |
14307 | (::windows::core::Interface::vtable(self).base__.put_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
14308 | } | |
14309 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14310 | #[cfg(feature = "Win32_System_Com")] | |
14311 | pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
14312 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14313 | (::windows::core::Interface::vtable(self).base__.EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14314 | } | |
14315 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14316 | #[cfg(feature = "Win32_System_Com")] | |
14317 | pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14318 | where | |
14319 | P0: ::windows::core::IntoParam<IObjectId>, | |
14320 | { | |
14321 | (::windows::core::Interface::vtable(self).base__.SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14322 | } | |
14323 | pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result<i32> { | |
14324 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
14325 | (::windows::core::Interface::vtable(self).base__.EncryptionStrength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14326 | } | |
14327 | pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { | |
14328 | (::windows::core::Interface::vtable(self).base__.SetEncryptionStrength)(::windows::core::Interface::as_raw(self), value).ok() | |
14329 | } | |
14330 | pub unsafe fn get_EncryptedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14331 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14332 | (::windows::core::Interface::vtable(self).base__.get_EncryptedKeyHash)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14333 | } | |
14334 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14335 | #[cfg(feature = "Win32_System_Com")] | |
14336 | pub unsafe fn SignerCertificates(&self) -> ::windows::core::Result<ISignerCertificates> { | |
14337 | let mut result__ = ::windows::core::zeroed::<ISignerCertificates>(); | |
14338 | (::windows::core::Interface::vtable(self).base__.SignerCertificates)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14339 | } | |
14340 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14341 | #[cfg(feature = "Win32_System_Com")] | |
14342 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
14343 | where | |
14344 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
14345 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
14346 | { | |
14347 | (::windows::core::Interface::vtable(self).InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
14348 | } | |
14349 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14350 | #[cfg(feature = "Win32_System_Com")] | |
14351 | pub unsafe fn InitializeFromInnerRequestTemplate<P0, P1, P2>(&self, pinnerrequest: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
14352 | where | |
14353 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
14354 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
14355 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
14356 | { | |
14357 | (::windows::core::Interface::vtable(self).InitializeFromInnerRequestTemplate)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
14358 | } | |
14359 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14360 | #[cfg(feature = "Win32_System_Com")] | |
14361 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
14362 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
14363 | (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14364 | } | |
14365 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14366 | #[cfg(feature = "Win32_System_Com")] | |
14367 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
14368 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
14369 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14370 | } | |
14371 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
14372 | (::windows::core::Interface::vtable(self).CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
14373 | } | |
14374 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
14375 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
14376 | pub unsafe fn CheckCertificateSignature<P0, P1>(&self, psignercertificate: P0, validatecertificatechain: P1) -> ::windows::core::Result<()> | |
14377 | where | |
14378 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
14379 | P1: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14380 | { | |
14381 | (::windows::core::Interface::vtable(self).CheckCertificateSignature)(::windows::core::Interface::as_raw(self), psignercertificate.into_param().abi(), validatecertificatechain.into_param().abi()).ok() | |
14382 | } | |
14383 | } | |
14384 | #[cfg(feature = "Win32_System_Com")] | |
14385 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestCmc2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7, IX509CertificateRequestCmc); | |
14386 | #[cfg(feature = "Win32_System_Com")] | |
14387 | impl ::core::cmp::PartialEq for IX509CertificateRequestCmc2 { | |
14388 | fn eq(&self, other: &Self) -> bool { | |
14389 | self.0 == other.0 | |
14390 | } | |
14391 | } | |
14392 | #[cfg(feature = "Win32_System_Com")] | |
14393 | impl ::core::cmp::Eq for IX509CertificateRequestCmc2 {} | |
14394 | #[cfg(feature = "Win32_System_Com")] | |
14395 | impl ::core::fmt::Debug for IX509CertificateRequestCmc2 { | |
14396 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14397 | f.debug_tuple("IX509CertificateRequestCmc2").field(&self.0).finish() | |
14398 | } | |
14399 | } | |
14400 | #[cfg(feature = "Win32_System_Com")] | |
14401 | unsafe impl ::windows::core::Interface for IX509CertificateRequestCmc2 { | |
14402 | type Vtable = IX509CertificateRequestCmc2_Vtbl; | |
14403 | } | |
14404 | #[cfg(feature = "Win32_System_Com")] | |
14405 | impl ::core::clone::Clone for IX509CertificateRequestCmc2 { | |
14406 | fn clone(&self) -> Self { | |
14407 | Self(self.0.clone()) | |
14408 | } | |
14409 | } | |
14410 | #[cfg(feature = "Win32_System_Com")] | |
14411 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestCmc2 { | |
14412 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35d_217d_11da_b2a4_000e7bbb2b09); | |
14413 | } | |
14414 | #[cfg(feature = "Win32_System_Com")] | |
14415 | #[repr(C)] | |
14416 | #[doc(hidden)] | |
14417 | pub struct IX509CertificateRequestCmc2_Vtbl { | |
14418 | pub base__: IX509CertificateRequestCmc_Vtbl, | |
14419 | #[cfg(feature = "Win32_System_Com")] | |
14420 | pub InitializeFromTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14421 | #[cfg(not(feature = "Win32_System_Com"))] | |
14422 | InitializeFromTemplate: usize, | |
14423 | #[cfg(feature = "Win32_System_Com")] | |
14424 | pub InitializeFromInnerRequestTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinnerrequest: *mut ::core::ffi::c_void, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14425 | #[cfg(not(feature = "Win32_System_Com"))] | |
14426 | InitializeFromInnerRequestTemplate: usize, | |
14427 | #[cfg(feature = "Win32_System_Com")] | |
14428 | pub PolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppolicyserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14429 | #[cfg(not(feature = "Win32_System_Com"))] | |
14430 | PolicyServer: usize, | |
14431 | #[cfg(feature = "Win32_System_Com")] | |
14432 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptemplate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14433 | #[cfg(not(feature = "Win32_System_Com"))] | |
14434 | Template: usize, | |
14435 | pub CheckSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::HRESULT, | |
14436 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
14437 | pub CheckCertificateSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psignercertificate: *mut ::core::ffi::c_void, validatecertificatechain: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14438 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] | |
14439 | CheckCertificateSignature: usize, | |
14440 | } | |
14441 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
14442 | #[cfg(feature = "Win32_System_Com")] | |
14443 | #[repr(transparent)] | |
14444 | pub struct IX509CertificateRequestPkcs10(::windows::core::IUnknown); | |
14445 | #[cfg(feature = "Win32_System_Com")] | |
14446 | impl IX509CertificateRequestPkcs10 { | |
14447 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
14448 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
14449 | } | |
14450 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
14451 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
14452 | } | |
14453 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
14454 | (::windows::core::Interface::vtable(self).base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
14455 | } | |
14456 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14457 | #[cfg(feature = "Win32_System_Com")] | |
14458 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
14459 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
14460 | (::windows::core::Interface::vtable(self).base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
14461 | } | |
14462 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
14463 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
14464 | (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14465 | } | |
14466 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
14467 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
14468 | (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14469 | } | |
14470 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14471 | #[cfg(feature = "Win32_Foundation")] | |
14472 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14473 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14474 | (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14475 | } | |
14476 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14477 | #[cfg(feature = "Win32_Foundation")] | |
14478 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14479 | where | |
14480 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14481 | { | |
14482 | (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14483 | } | |
14484 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
14485 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
14486 | (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14487 | } | |
14488 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
14489 | (::windows::core::Interface::vtable(self).base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
14490 | } | |
14491 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
14492 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14493 | (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14494 | } | |
14495 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14496 | where | |
14497 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14498 | { | |
14499 | (::windows::core::Interface::vtable(self).base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14500 | } | |
14501 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14502 | #[cfg(feature = "Win32_Foundation")] | |
14503 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14504 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14505 | (::windows::core::Interface::vtable(self).base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14506 | } | |
14507 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14508 | #[cfg(feature = "Win32_Foundation")] | |
14509 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14510 | where | |
14511 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14512 | { | |
14513 | (::windows::core::Interface::vtable(self).base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14514 | } | |
14515 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14516 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14517 | (::windows::core::Interface::vtable(self).base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14518 | } | |
14519 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
14520 | where | |
14521 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14522 | { | |
14523 | (::windows::core::Interface::vtable(self).base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
14524 | } | |
14525 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
14526 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
14527 | (::windows::core::Interface::vtable(self).base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14528 | } | |
14529 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
14530 | (::windows::core::Interface::vtable(self).base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
14531 | } | |
14532 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14533 | #[cfg(feature = "Win32_System_Com")] | |
14534 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
14535 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
14536 | (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14537 | } | |
14538 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14539 | #[cfg(feature = "Win32_System_Com")] | |
14540 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14541 | where | |
14542 | P0: ::windows::core::IntoParam<ICspInformations>, | |
14543 | { | |
14544 | (::windows::core::Interface::vtable(self).base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14545 | } | |
14546 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14547 | #[cfg(feature = "Win32_System_Com")] | |
14548 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
14549 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14550 | (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14551 | } | |
14552 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14553 | #[cfg(feature = "Win32_System_Com")] | |
14554 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14555 | where | |
14556 | P0: ::windows::core::IntoParam<IObjectId>, | |
14557 | { | |
14558 | (::windows::core::Interface::vtable(self).base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14559 | } | |
14560 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14561 | #[cfg(feature = "Win32_Foundation")] | |
14562 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14563 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14564 | (::windows::core::Interface::vtable(self).base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14565 | } | |
14566 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14567 | #[cfg(feature = "Win32_Foundation")] | |
14568 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14569 | where | |
14570 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14571 | { | |
14572 | (::windows::core::Interface::vtable(self).base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14573 | } | |
14574 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14575 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14576 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14577 | } | |
14578 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
14579 | where | |
14580 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14581 | { | |
14582 | (::windows::core::Interface::vtable(self).InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
14583 | } | |
14584 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14585 | #[cfg(feature = "Win32_System_Com")] | |
14586 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
14587 | where | |
14588 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
14589 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14590 | { | |
14591 | (::windows::core::Interface::vtable(self).InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
14592 | } | |
14593 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14594 | #[cfg(feature = "Win32_System_Com")] | |
14595 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
14596 | where | |
14597 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
14598 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14599 | { | |
14600 | (::windows::core::Interface::vtable(self).InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
14601 | } | |
14602 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
14603 | where | |
14604 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14605 | { | |
14606 | (::windows::core::Interface::vtable(self).InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
14607 | } | |
14608 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
14609 | where | |
14610 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14611 | { | |
14612 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
14613 | } | |
14614 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
14615 | (::windows::core::Interface::vtable(self).CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
14616 | } | |
14617 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14618 | #[cfg(feature = "Win32_Foundation")] | |
14619 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14620 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14621 | (::windows::core::Interface::vtable(self).IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14622 | } | |
14623 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14624 | #[cfg(feature = "Win32_System_Com")] | |
14625 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
14626 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14627 | (::windows::core::Interface::vtable(self).TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14628 | } | |
14629 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14630 | #[cfg(feature = "Win32_System_Com")] | |
14631 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
14632 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
14633 | (::windows::core::Interface::vtable(self).PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14634 | } | |
14635 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14636 | #[cfg(feature = "Win32_System_Com")] | |
14637 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
14638 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
14639 | (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14640 | } | |
14641 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14642 | #[cfg(feature = "Win32_Foundation")] | |
14643 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14644 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14645 | (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14646 | } | |
14647 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14648 | #[cfg(feature = "Win32_Foundation")] | |
14649 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14650 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14651 | (::windows::core::Interface::vtable(self).ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14652 | } | |
14653 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14654 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14655 | (::windows::core::Interface::vtable(self).get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14656 | } | |
14657 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14658 | #[cfg(feature = "Win32_System_Com")] | |
14659 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
14660 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
14661 | (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14662 | } | |
14663 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14664 | #[cfg(feature = "Win32_System_Com")] | |
14665 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14666 | where | |
14667 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
14668 | { | |
14669 | (::windows::core::Interface::vtable(self).SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14670 | } | |
14671 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14672 | #[cfg(feature = "Win32_System_Com")] | |
14673 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
14674 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
14675 | (::windows::core::Interface::vtable(self).CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14676 | } | |
14677 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14678 | #[cfg(feature = "Win32_Foundation")] | |
14679 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14680 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14681 | (::windows::core::Interface::vtable(self).SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14682 | } | |
14683 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14684 | #[cfg(feature = "Win32_Foundation")] | |
14685 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14686 | where | |
14687 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14688 | { | |
14689 | (::windows::core::Interface::vtable(self).SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14690 | } | |
14691 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14692 | #[cfg(feature = "Win32_System_Com")] | |
14693 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
14694 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
14695 | (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14696 | } | |
14697 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
14698 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14699 | (::windows::core::Interface::vtable(self).KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14700 | } | |
14701 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14702 | where | |
14703 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14704 | { | |
14705 | (::windows::core::Interface::vtable(self).SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14706 | } | |
14707 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14708 | #[cfg(feature = "Win32_System_Com")] | |
14709 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
14710 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
14711 | (::windows::core::Interface::vtable(self).CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14712 | } | |
14713 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14714 | #[cfg(feature = "Win32_System_Com")] | |
14715 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
14716 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
14717 | (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14718 | } | |
14719 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14720 | #[cfg(feature = "Win32_System_Com")] | |
14721 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
14722 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
14723 | (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14724 | } | |
14725 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14726 | #[cfg(feature = "Win32_System_Com")] | |
14727 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
14728 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
14729 | (::windows::core::Interface::vtable(self).SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14730 | } | |
14731 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14732 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14733 | (::windows::core::Interface::vtable(self).get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14734 | } | |
14735 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14736 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14737 | (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14738 | } | |
14739 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14740 | #[cfg(feature = "Win32_System_Com")] | |
14741 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
14742 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
14743 | (::windows::core::Interface::vtable(self).GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
14744 | } | |
14745 | } | |
14746 | #[cfg(feature = "Win32_System_Com")] | |
14747 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); | |
14748 | #[cfg(feature = "Win32_System_Com")] | |
14749 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10 { | |
14750 | fn eq(&self, other: &Self) -> bool { | |
14751 | self.0 == other.0 | |
14752 | } | |
14753 | } | |
14754 | #[cfg(feature = "Win32_System_Com")] | |
14755 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs10 {} | |
14756 | #[cfg(feature = "Win32_System_Com")] | |
14757 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs10 { | |
14758 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14759 | f.debug_tuple("IX509CertificateRequestPkcs10").field(&self.0).finish() | |
14760 | } | |
14761 | } | |
14762 | #[cfg(feature = "Win32_System_Com")] | |
14763 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs10 { | |
14764 | type Vtable = IX509CertificateRequestPkcs10_Vtbl; | |
14765 | } | |
14766 | #[cfg(feature = "Win32_System_Com")] | |
14767 | impl ::core::clone::Clone for IX509CertificateRequestPkcs10 { | |
14768 | fn clone(&self) -> Self { | |
14769 | Self(self.0.clone()) | |
14770 | } | |
14771 | } | |
14772 | #[cfg(feature = "Win32_System_Com")] | |
14773 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs10 { | |
14774 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab342_217d_11da_b2a4_000e7bbb2b09); | |
14775 | } | |
14776 | #[cfg(feature = "Win32_System_Com")] | |
14777 | #[repr(C)] | |
14778 | #[doc(hidden)] | |
14779 | pub struct IX509CertificateRequestPkcs10_Vtbl { | |
14780 | pub base__: IX509CertificateRequest_Vtbl, | |
14781 | pub InitializeFromTemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14782 | #[cfg(feature = "Win32_System_Com")] | |
14783 | pub InitializeFromPrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, pprivatekey: *mut ::core::ffi::c_void, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14784 | #[cfg(not(feature = "Win32_System_Com"))] | |
14785 | InitializeFromPrivateKey: usize, | |
14786 | #[cfg(feature = "Win32_System_Com")] | |
14787 | pub InitializeFromPublicKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppublickey: *mut ::core::ffi::c_void, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14788 | #[cfg(not(feature = "Win32_System_Com"))] | |
14789 | InitializeFromPublicKey: usize, | |
14790 | pub InitializeFromCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::HRESULT, | |
14791 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
14792 | pub CheckSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::HRESULT, | |
14793 | #[cfg(feature = "Win32_Foundation")] | |
14794 | pub IsSmartCard: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14795 | #[cfg(not(feature = "Win32_Foundation"))] | |
14796 | IsSmartCard: usize, | |
14797 | #[cfg(feature = "Win32_System_Com")] | |
14798 | pub TemplateObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14799 | #[cfg(not(feature = "Win32_System_Com"))] | |
14800 | TemplateObjectId: usize, | |
14801 | #[cfg(feature = "Win32_System_Com")] | |
14802 | pub PublicKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14803 | #[cfg(not(feature = "Win32_System_Com"))] | |
14804 | PublicKey: usize, | |
14805 | #[cfg(feature = "Win32_System_Com")] | |
14806 | pub PrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14807 | #[cfg(not(feature = "Win32_System_Com"))] | |
14808 | PrivateKey: usize, | |
14809 | #[cfg(feature = "Win32_Foundation")] | |
14810 | pub NullSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14811 | #[cfg(not(feature = "Win32_Foundation"))] | |
14812 | NullSigned: usize, | |
14813 | #[cfg(feature = "Win32_Foundation")] | |
14814 | pub ReuseKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14815 | #[cfg(not(feature = "Win32_Foundation"))] | |
14816 | ReuseKey: usize, | |
14817 | pub get_OldCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14818 | #[cfg(feature = "Win32_System_Com")] | |
14819 | pub Subject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14820 | #[cfg(not(feature = "Win32_System_Com"))] | |
14821 | Subject: usize, | |
14822 | #[cfg(feature = "Win32_System_Com")] | |
14823 | pub SetSubject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14824 | #[cfg(not(feature = "Win32_System_Com"))] | |
14825 | SetSubject: usize, | |
14826 | #[cfg(feature = "Win32_System_Com")] | |
14827 | pub CspStatuses: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14828 | #[cfg(not(feature = "Win32_System_Com"))] | |
14829 | CspStatuses: usize, | |
14830 | #[cfg(feature = "Win32_Foundation")] | |
14831 | pub SmimeCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14832 | #[cfg(not(feature = "Win32_Foundation"))] | |
14833 | SmimeCapabilities: usize, | |
14834 | #[cfg(feature = "Win32_Foundation")] | |
14835 | pub SetSmimeCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
14836 | #[cfg(not(feature = "Win32_Foundation"))] | |
14837 | SetSmimeCapabilities: usize, | |
14838 | #[cfg(feature = "Win32_System_Com")] | |
14839 | pub SignatureInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14840 | #[cfg(not(feature = "Win32_System_Com"))] | |
14841 | SignatureInformation: usize, | |
14842 | pub KeyContainerNamePrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14843 | pub SetKeyContainerNamePrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14844 | #[cfg(feature = "Win32_System_Com")] | |
14845 | pub CryptAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14846 | #[cfg(not(feature = "Win32_System_Com"))] | |
14847 | CryptAttributes: usize, | |
14848 | #[cfg(feature = "Win32_System_Com")] | |
14849 | pub X509Extensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14850 | #[cfg(not(feature = "Win32_System_Com"))] | |
14851 | X509Extensions: usize, | |
14852 | #[cfg(feature = "Win32_System_Com")] | |
14853 | pub CriticalExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14854 | #[cfg(not(feature = "Win32_System_Com"))] | |
14855 | CriticalExtensions: usize, | |
14856 | #[cfg(feature = "Win32_System_Com")] | |
14857 | pub SuppressOids: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14858 | #[cfg(not(feature = "Win32_System_Com"))] | |
14859 | SuppressOids: usize, | |
14860 | pub get_RawDataToBeSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14861 | pub get_Signature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
14862 | #[cfg(feature = "Win32_System_Com")] | |
14863 | pub GetCspStatuses: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keyspec: X509KeySpec, ppcspstatuses: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
14864 | #[cfg(not(feature = "Win32_System_Com"))] | |
14865 | GetCspStatuses: usize, | |
14866 | } | |
14867 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
14868 | #[cfg(feature = "Win32_System_Com")] | |
14869 | #[repr(transparent)] | |
14870 | pub struct IX509CertificateRequestPkcs10V2(::windows::core::IUnknown); | |
14871 | #[cfg(feature = "Win32_System_Com")] | |
14872 | impl IX509CertificateRequestPkcs10V2 { | |
14873 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
14874 | (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
14875 | } | |
14876 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
14877 | (::windows::core::Interface::vtable(self).base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
14878 | } | |
14879 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
14880 | (::windows::core::Interface::vtable(self).base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
14881 | } | |
14882 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14883 | #[cfg(feature = "Win32_System_Com")] | |
14884 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
14885 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
14886 | (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
14887 | } | |
14888 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
14889 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
14890 | (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14891 | } | |
14892 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
14893 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
14894 | (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14895 | } | |
14896 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14897 | #[cfg(feature = "Win32_Foundation")] | |
14898 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14899 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14900 | (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14901 | } | |
14902 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14903 | #[cfg(feature = "Win32_Foundation")] | |
14904 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14905 | where | |
14906 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14907 | { | |
14908 | (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14909 | } | |
14910 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
14911 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
14912 | (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14913 | } | |
14914 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
14915 | (::windows::core::Interface::vtable(self).base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
14916 | } | |
14917 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
14918 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14919 | (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14920 | } | |
14921 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14922 | where | |
14923 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14924 | { | |
14925 | (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14926 | } | |
14927 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14928 | #[cfg(feature = "Win32_Foundation")] | |
14929 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14930 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14931 | (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14932 | } | |
14933 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14934 | #[cfg(feature = "Win32_Foundation")] | |
14935 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14936 | where | |
14937 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14938 | { | |
14939 | (::windows::core::Interface::vtable(self).base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14940 | } | |
14941 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
14942 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
14943 | (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
14944 | } | |
14945 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
14946 | where | |
14947 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
14948 | { | |
14949 | (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
14950 | } | |
14951 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
14952 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
14953 | (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14954 | } | |
14955 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
14956 | (::windows::core::Interface::vtable(self).base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
14957 | } | |
14958 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14959 | #[cfg(feature = "Win32_System_Com")] | |
14960 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
14961 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
14962 | (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14963 | } | |
14964 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14965 | #[cfg(feature = "Win32_System_Com")] | |
14966 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14967 | where | |
14968 | P0: ::windows::core::IntoParam<ICspInformations>, | |
14969 | { | |
14970 | (::windows::core::Interface::vtable(self).base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14971 | } | |
14972 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14973 | #[cfg(feature = "Win32_System_Com")] | |
14974 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
14975 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
14976 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14977 | } | |
14978 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
14979 | #[cfg(feature = "Win32_System_Com")] | |
14980 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
14981 | where | |
14982 | P0: ::windows::core::IntoParam<IObjectId>, | |
14983 | { | |
14984 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
14985 | } | |
14986 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14987 | #[cfg(feature = "Win32_Foundation")] | |
14988 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
14989 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
14990 | (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
14991 | } | |
14992 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
14993 | #[cfg(feature = "Win32_Foundation")] | |
14994 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
14995 | where | |
14996 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
14997 | { | |
14998 | (::windows::core::Interface::vtable(self).base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
14999 | } | |
15000 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15001 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15002 | (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15003 | } | |
15004 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
15005 | where | |
15006 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15007 | { | |
15008 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
15009 | } | |
15010 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15011 | #[cfg(feature = "Win32_System_Com")] | |
15012 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15013 | where | |
15014 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
15015 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15016 | { | |
15017 | (::windows::core::Interface::vtable(self).base__.InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15018 | } | |
15019 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15020 | #[cfg(feature = "Win32_System_Com")] | |
15021 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15022 | where | |
15023 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
15024 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15025 | { | |
15026 | (::windows::core::Interface::vtable(self).base__.InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15027 | } | |
15028 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
15029 | where | |
15030 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15031 | { | |
15032 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
15033 | } | |
15034 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
15035 | where | |
15036 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15037 | { | |
15038 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
15039 | } | |
15040 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
15041 | (::windows::core::Interface::vtable(self).base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
15042 | } | |
15043 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15044 | #[cfg(feature = "Win32_Foundation")] | |
15045 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15046 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15047 | (::windows::core::Interface::vtable(self).base__.IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15048 | } | |
15049 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15050 | #[cfg(feature = "Win32_System_Com")] | |
15051 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
15052 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15053 | (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15054 | } | |
15055 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15056 | #[cfg(feature = "Win32_System_Com")] | |
15057 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
15058 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
15059 | (::windows::core::Interface::vtable(self).base__.PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15060 | } | |
15061 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15062 | #[cfg(feature = "Win32_System_Com")] | |
15063 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
15064 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
15065 | (::windows::core::Interface::vtable(self).base__.PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15066 | } | |
15067 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15068 | #[cfg(feature = "Win32_Foundation")] | |
15069 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15070 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15071 | (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15072 | } | |
15073 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15074 | #[cfg(feature = "Win32_Foundation")] | |
15075 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15076 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15077 | (::windows::core::Interface::vtable(self).base__.ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15078 | } | |
15079 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15080 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15081 | (::windows::core::Interface::vtable(self).base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15082 | } | |
15083 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15084 | #[cfg(feature = "Win32_System_Com")] | |
15085 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
15086 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
15087 | (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15088 | } | |
15089 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15090 | #[cfg(feature = "Win32_System_Com")] | |
15091 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15092 | where | |
15093 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
15094 | { | |
15095 | (::windows::core::Interface::vtable(self).base__.SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15096 | } | |
15097 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15098 | #[cfg(feature = "Win32_System_Com")] | |
15099 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
15100 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
15101 | (::windows::core::Interface::vtable(self).base__.CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15102 | } | |
15103 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15104 | #[cfg(feature = "Win32_Foundation")] | |
15105 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15106 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15107 | (::windows::core::Interface::vtable(self).base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15108 | } | |
15109 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15110 | #[cfg(feature = "Win32_Foundation")] | |
15111 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15112 | where | |
15113 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15114 | { | |
15115 | (::windows::core::Interface::vtable(self).base__.SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15116 | } | |
15117 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15118 | #[cfg(feature = "Win32_System_Com")] | |
15119 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
15120 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
15121 | (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15122 | } | |
15123 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15124 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15125 | (::windows::core::Interface::vtable(self).base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15126 | } | |
15127 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15128 | where | |
15129 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15130 | { | |
15131 | (::windows::core::Interface::vtable(self).base__.SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15132 | } | |
15133 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15134 | #[cfg(feature = "Win32_System_Com")] | |
15135 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
15136 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
15137 | (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15138 | } | |
15139 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15140 | #[cfg(feature = "Win32_System_Com")] | |
15141 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
15142 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
15143 | (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15144 | } | |
15145 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15146 | #[cfg(feature = "Win32_System_Com")] | |
15147 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
15148 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
15149 | (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15150 | } | |
15151 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15152 | #[cfg(feature = "Win32_System_Com")] | |
15153 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
15154 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
15155 | (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15156 | } | |
15157 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15158 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15159 | (::windows::core::Interface::vtable(self).base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15160 | } | |
15161 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15162 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15163 | (::windows::core::Interface::vtable(self).base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15164 | } | |
15165 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15166 | #[cfg(feature = "Win32_System_Com")] | |
15167 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
15168 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
15169 | (::windows::core::Interface::vtable(self).base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
15170 | } | |
15171 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15172 | #[cfg(feature = "Win32_System_Com")] | |
15173 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
15174 | where | |
15175 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15176 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15177 | { | |
15178 | (::windows::core::Interface::vtable(self).InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15179 | } | |
15180 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15181 | #[cfg(feature = "Win32_System_Com")] | |
15182 | pub unsafe fn InitializeFromPrivateKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
15183 | where | |
15184 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
15185 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15186 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15187 | { | |
15188 | (::windows::core::Interface::vtable(self).InitializeFromPrivateKeyTemplate)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15189 | } | |
15190 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15191 | #[cfg(feature = "Win32_System_Com")] | |
15192 | pub unsafe fn InitializeFromPublicKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
15193 | where | |
15194 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
15195 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15196 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15197 | { | |
15198 | (::windows::core::Interface::vtable(self).InitializeFromPublicKeyTemplate)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15199 | } | |
15200 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15201 | #[cfg(feature = "Win32_System_Com")] | |
15202 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
15203 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
15204 | (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15205 | } | |
15206 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15207 | #[cfg(feature = "Win32_System_Com")] | |
15208 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
15209 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
15210 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15211 | } | |
15212 | } | |
15213 | #[cfg(feature = "Win32_System_Com")] | |
15214 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); | |
15215 | #[cfg(feature = "Win32_System_Com")] | |
15216 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V2 { | |
15217 | fn eq(&self, other: &Self) -> bool { | |
15218 | self.0 == other.0 | |
15219 | } | |
15220 | } | |
15221 | #[cfg(feature = "Win32_System_Com")] | |
15222 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V2 {} | |
15223 | #[cfg(feature = "Win32_System_Com")] | |
15224 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V2 { | |
15225 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15226 | f.debug_tuple("IX509CertificateRequestPkcs10V2").field(&self.0).finish() | |
15227 | } | |
15228 | } | |
15229 | #[cfg(feature = "Win32_System_Com")] | |
15230 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs10V2 { | |
15231 | type Vtable = IX509CertificateRequestPkcs10V2_Vtbl; | |
15232 | } | |
15233 | #[cfg(feature = "Win32_System_Com")] | |
15234 | impl ::core::clone::Clone for IX509CertificateRequestPkcs10V2 { | |
15235 | fn clone(&self) -> Self { | |
15236 | Self(self.0.clone()) | |
15237 | } | |
15238 | } | |
15239 | #[cfg(feature = "Win32_System_Com")] | |
15240 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs10V2 { | |
15241 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35b_217d_11da_b2a4_000e7bbb2b09); | |
15242 | } | |
15243 | #[cfg(feature = "Win32_System_Com")] | |
15244 | #[repr(C)] | |
15245 | #[doc(hidden)] | |
15246 | pub struct IX509CertificateRequestPkcs10V2_Vtbl { | |
15247 | pub base__: IX509CertificateRequestPkcs10_Vtbl, | |
15248 | #[cfg(feature = "Win32_System_Com")] | |
15249 | pub InitializeFromTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15250 | #[cfg(not(feature = "Win32_System_Com"))] | |
15251 | InitializeFromTemplate: usize, | |
15252 | #[cfg(feature = "Win32_System_Com")] | |
15253 | pub InitializeFromPrivateKeyTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, pprivatekey: *mut ::core::ffi::c_void, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15254 | #[cfg(not(feature = "Win32_System_Com"))] | |
15255 | InitializeFromPrivateKeyTemplate: usize, | |
15256 | #[cfg(feature = "Win32_System_Com")] | |
15257 | pub InitializeFromPublicKeyTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppublickey: *mut ::core::ffi::c_void, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15258 | #[cfg(not(feature = "Win32_System_Com"))] | |
15259 | InitializeFromPublicKeyTemplate: usize, | |
15260 | #[cfg(feature = "Win32_System_Com")] | |
15261 | pub PolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppolicyserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15262 | #[cfg(not(feature = "Win32_System_Com"))] | |
15263 | PolicyServer: usize, | |
15264 | #[cfg(feature = "Win32_System_Com")] | |
15265 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptemplate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15266 | #[cfg(not(feature = "Win32_System_Com"))] | |
15267 | Template: usize, | |
15268 | } | |
15269 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
15270 | #[cfg(feature = "Win32_System_Com")] | |
15271 | #[repr(transparent)] | |
15272 | pub struct IX509CertificateRequestPkcs10V3(::windows::core::IUnknown); | |
15273 | #[cfg(feature = "Win32_System_Com")] | |
15274 | impl IX509CertificateRequestPkcs10V3 { | |
15275 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
15276 | (::windows::core::Interface::vtable(self).base__.base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
15277 | } | |
15278 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
15279 | (::windows::core::Interface::vtable(self).base__.base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
15280 | } | |
15281 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
15282 | (::windows::core::Interface::vtable(self).base__.base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
15283 | } | |
15284 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15285 | #[cfg(feature = "Win32_System_Com")] | |
15286 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
15287 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
15288 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
15289 | } | |
15290 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
15291 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
15292 | (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15293 | } | |
15294 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
15295 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
15296 | (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15297 | } | |
15298 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15299 | #[cfg(feature = "Win32_Foundation")] | |
15300 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15301 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15302 | (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15303 | } | |
15304 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15305 | #[cfg(feature = "Win32_Foundation")] | |
15306 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15307 | where | |
15308 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15309 | { | |
15310 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15311 | } | |
15312 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
15313 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
15314 | (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15315 | } | |
15316 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
15317 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
15318 | } | |
15319 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15320 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15321 | (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15322 | } | |
15323 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15324 | where | |
15325 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15326 | { | |
15327 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15328 | } | |
15329 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15330 | #[cfg(feature = "Win32_Foundation")] | |
15331 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15332 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15333 | (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15334 | } | |
15335 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15336 | #[cfg(feature = "Win32_Foundation")] | |
15337 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15338 | where | |
15339 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15340 | { | |
15341 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15342 | } | |
15343 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15344 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15345 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15346 | } | |
15347 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
15348 | where | |
15349 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15350 | { | |
15351 | (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
15352 | } | |
15353 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
15354 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
15355 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15356 | } | |
15357 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
15358 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
15359 | } | |
15360 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15361 | #[cfg(feature = "Win32_System_Com")] | |
15362 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
15363 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
15364 | (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15365 | } | |
15366 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15367 | #[cfg(feature = "Win32_System_Com")] | |
15368 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15369 | where | |
15370 | P0: ::windows::core::IntoParam<ICspInformations>, | |
15371 | { | |
15372 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15373 | } | |
15374 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15375 | #[cfg(feature = "Win32_System_Com")] | |
15376 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
15377 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15378 | (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15379 | } | |
15380 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15381 | #[cfg(feature = "Win32_System_Com")] | |
15382 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15383 | where | |
15384 | P0: ::windows::core::IntoParam<IObjectId>, | |
15385 | { | |
15386 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15387 | } | |
15388 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15389 | #[cfg(feature = "Win32_Foundation")] | |
15390 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15391 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15392 | (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15393 | } | |
15394 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15395 | #[cfg(feature = "Win32_Foundation")] | |
15396 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15397 | where | |
15398 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15399 | { | |
15400 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15401 | } | |
15402 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15403 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15404 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15405 | } | |
15406 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
15407 | where | |
15408 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15409 | { | |
15410 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
15411 | } | |
15412 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15413 | #[cfg(feature = "Win32_System_Com")] | |
15414 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15415 | where | |
15416 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
15417 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15418 | { | |
15419 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15420 | } | |
15421 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15422 | #[cfg(feature = "Win32_System_Com")] | |
15423 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15424 | where | |
15425 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
15426 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15427 | { | |
15428 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15429 | } | |
15430 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
15431 | where | |
15432 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15433 | { | |
15434 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
15435 | } | |
15436 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
15437 | where | |
15438 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15439 | { | |
15440 | (::windows::core::Interface::vtable(self).base__.base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
15441 | } | |
15442 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
15443 | (::windows::core::Interface::vtable(self).base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
15444 | } | |
15445 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15446 | #[cfg(feature = "Win32_Foundation")] | |
15447 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15448 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15449 | (::windows::core::Interface::vtable(self).base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15450 | } | |
15451 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15452 | #[cfg(feature = "Win32_System_Com")] | |
15453 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
15454 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15455 | (::windows::core::Interface::vtable(self).base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15456 | } | |
15457 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15458 | #[cfg(feature = "Win32_System_Com")] | |
15459 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
15460 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
15461 | (::windows::core::Interface::vtable(self).base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15462 | } | |
15463 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15464 | #[cfg(feature = "Win32_System_Com")] | |
15465 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
15466 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
15467 | (::windows::core::Interface::vtable(self).base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15468 | } | |
15469 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15470 | #[cfg(feature = "Win32_Foundation")] | |
15471 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15472 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15473 | (::windows::core::Interface::vtable(self).base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15474 | } | |
15475 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15476 | #[cfg(feature = "Win32_Foundation")] | |
15477 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15478 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15479 | (::windows::core::Interface::vtable(self).base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15480 | } | |
15481 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15482 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15483 | (::windows::core::Interface::vtable(self).base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15484 | } | |
15485 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15486 | #[cfg(feature = "Win32_System_Com")] | |
15487 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
15488 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
15489 | (::windows::core::Interface::vtable(self).base__.base__.Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15490 | } | |
15491 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15492 | #[cfg(feature = "Win32_System_Com")] | |
15493 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15494 | where | |
15495 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
15496 | { | |
15497 | (::windows::core::Interface::vtable(self).base__.base__.SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15498 | } | |
15499 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15500 | #[cfg(feature = "Win32_System_Com")] | |
15501 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
15502 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
15503 | (::windows::core::Interface::vtable(self).base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15504 | } | |
15505 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15506 | #[cfg(feature = "Win32_Foundation")] | |
15507 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15508 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15509 | (::windows::core::Interface::vtable(self).base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15510 | } | |
15511 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15512 | #[cfg(feature = "Win32_Foundation")] | |
15513 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15514 | where | |
15515 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15516 | { | |
15517 | (::windows::core::Interface::vtable(self).base__.base__.SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15518 | } | |
15519 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15520 | #[cfg(feature = "Win32_System_Com")] | |
15521 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
15522 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
15523 | (::windows::core::Interface::vtable(self).base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15524 | } | |
15525 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15526 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15527 | (::windows::core::Interface::vtable(self).base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15528 | } | |
15529 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15530 | where | |
15531 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15532 | { | |
15533 | (::windows::core::Interface::vtable(self).base__.base__.SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15534 | } | |
15535 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15536 | #[cfg(feature = "Win32_System_Com")] | |
15537 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
15538 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
15539 | (::windows::core::Interface::vtable(self).base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15540 | } | |
15541 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15542 | #[cfg(feature = "Win32_System_Com")] | |
15543 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
15544 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
15545 | (::windows::core::Interface::vtable(self).base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15546 | } | |
15547 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15548 | #[cfg(feature = "Win32_System_Com")] | |
15549 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
15550 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
15551 | (::windows::core::Interface::vtable(self).base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15552 | } | |
15553 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15554 | #[cfg(feature = "Win32_System_Com")] | |
15555 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
15556 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
15557 | (::windows::core::Interface::vtable(self).base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15558 | } | |
15559 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15560 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15561 | (::windows::core::Interface::vtable(self).base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15562 | } | |
15563 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15564 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15565 | (::windows::core::Interface::vtable(self).base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15566 | } | |
15567 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15568 | #[cfg(feature = "Win32_System_Com")] | |
15569 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
15570 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
15571 | (::windows::core::Interface::vtable(self).base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
15572 | } | |
15573 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15574 | #[cfg(feature = "Win32_System_Com")] | |
15575 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
15576 | where | |
15577 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15578 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15579 | { | |
15580 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15581 | } | |
15582 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15583 | #[cfg(feature = "Win32_System_Com")] | |
15584 | pub unsafe fn InitializeFromPrivateKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
15585 | where | |
15586 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
15587 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15588 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15589 | { | |
15590 | (::windows::core::Interface::vtable(self).base__.InitializeFromPrivateKeyTemplate)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15591 | } | |
15592 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15593 | #[cfg(feature = "Win32_System_Com")] | |
15594 | pub unsafe fn InitializeFromPublicKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
15595 | where | |
15596 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
15597 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
15598 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
15599 | { | |
15600 | (::windows::core::Interface::vtable(self).base__.InitializeFromPublicKeyTemplate)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
15601 | } | |
15602 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15603 | #[cfg(feature = "Win32_System_Com")] | |
15604 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
15605 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
15606 | (::windows::core::Interface::vtable(self).base__.PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15607 | } | |
15608 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15609 | #[cfg(feature = "Win32_System_Com")] | |
15610 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
15611 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
15612 | (::windows::core::Interface::vtable(self).base__.Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15613 | } | |
15614 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15615 | #[cfg(feature = "Win32_Foundation")] | |
15616 | pub unsafe fn AttestPrivateKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15617 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15618 | (::windows::core::Interface::vtable(self).AttestPrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15619 | } | |
15620 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15621 | #[cfg(feature = "Win32_Foundation")] | |
15622 | pub unsafe fn SetAttestPrivateKey<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15623 | where | |
15624 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15625 | { | |
15626 | (::windows::core::Interface::vtable(self).SetAttestPrivateKey)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15627 | } | |
15628 | pub unsafe fn get_AttestationEncryptionCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15629 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15630 | (::windows::core::Interface::vtable(self).get_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15631 | } | |
15632 | pub unsafe fn put_AttestationEncryptionCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
15633 | where | |
15634 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15635 | { | |
15636 | (::windows::core::Interface::vtable(self).put_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
15637 | } | |
15638 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15639 | #[cfg(feature = "Win32_System_Com")] | |
15640 | pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
15641 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15642 | (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15643 | } | |
15644 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15645 | #[cfg(feature = "Win32_System_Com")] | |
15646 | pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15647 | where | |
15648 | P0: ::windows::core::IntoParam<IObjectId>, | |
15649 | { | |
15650 | (::windows::core::Interface::vtable(self).SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15651 | } | |
15652 | pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result<i32> { | |
15653 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
15654 | (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15655 | } | |
15656 | pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { | |
15657 | (::windows::core::Interface::vtable(self).SetEncryptionStrength)(::windows::core::Interface::as_raw(self), value).ok() | |
15658 | } | |
15659 | pub unsafe fn ChallengePassword(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15660 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15661 | (::windows::core::Interface::vtable(self).ChallengePassword)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15662 | } | |
15663 | pub unsafe fn SetChallengePassword<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15664 | where | |
15665 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15666 | { | |
15667 | (::windows::core::Interface::vtable(self).SetChallengePassword)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15668 | } | |
15669 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15670 | #[cfg(feature = "Win32_System_Com")] | |
15671 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
15672 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
15673 | (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15674 | } | |
15675 | } | |
15676 | #[cfg(feature = "Win32_System_Com")] | |
15677 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2); | |
15678 | #[cfg(feature = "Win32_System_Com")] | |
15679 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V3 { | |
15680 | fn eq(&self, other: &Self) -> bool { | |
15681 | self.0 == other.0 | |
15682 | } | |
15683 | } | |
15684 | #[cfg(feature = "Win32_System_Com")] | |
15685 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V3 {} | |
15686 | #[cfg(feature = "Win32_System_Com")] | |
15687 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V3 { | |
15688 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15689 | f.debug_tuple("IX509CertificateRequestPkcs10V3").field(&self.0).finish() | |
15690 | } | |
15691 | } | |
15692 | #[cfg(feature = "Win32_System_Com")] | |
15693 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs10V3 { | |
15694 | type Vtable = IX509CertificateRequestPkcs10V3_Vtbl; | |
15695 | } | |
15696 | #[cfg(feature = "Win32_System_Com")] | |
15697 | impl ::core::clone::Clone for IX509CertificateRequestPkcs10V3 { | |
15698 | fn clone(&self) -> Self { | |
15699 | Self(self.0.clone()) | |
15700 | } | |
15701 | } | |
15702 | #[cfg(feature = "Win32_System_Com")] | |
15703 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs10V3 { | |
15704 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54ea9942_3d66_4530_b76e_7c9170d3ec52); | |
15705 | } | |
15706 | #[cfg(feature = "Win32_System_Com")] | |
15707 | #[repr(C)] | |
15708 | #[doc(hidden)] | |
15709 | pub struct IX509CertificateRequestPkcs10V3_Vtbl { | |
15710 | pub base__: IX509CertificateRequestPkcs10V2_Vtbl, | |
15711 | #[cfg(feature = "Win32_Foundation")] | |
15712 | pub AttestPrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
15713 | #[cfg(not(feature = "Win32_Foundation"))] | |
15714 | AttestPrivateKey: usize, | |
15715 | #[cfg(feature = "Win32_Foundation")] | |
15716 | pub SetAttestPrivateKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
15717 | #[cfg(not(feature = "Win32_Foundation"))] | |
15718 | SetAttestPrivateKey: usize, | |
15719 | pub get_AttestationEncryptionCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
15720 | pub put_AttestationEncryptionCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
15721 | #[cfg(feature = "Win32_System_Com")] | |
15722 | pub EncryptionAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15723 | #[cfg(not(feature = "Win32_System_Com"))] | |
15724 | EncryptionAlgorithm: usize, | |
15725 | #[cfg(feature = "Win32_System_Com")] | |
15726 | pub SetEncryptionAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15727 | #[cfg(not(feature = "Win32_System_Com"))] | |
15728 | SetEncryptionAlgorithm: usize, | |
15729 | pub EncryptionStrength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
15730 | pub SetEncryptionStrength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
15731 | pub ChallengePassword: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
15732 | pub SetChallengePassword: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
15733 | #[cfg(feature = "Win32_System_Com")] | |
15734 | pub NameValuePairs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
15735 | #[cfg(not(feature = "Win32_System_Com"))] | |
15736 | NameValuePairs: usize, | |
15737 | } | |
15738 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
15739 | #[cfg(feature = "Win32_System_Com")] | |
15740 | #[repr(transparent)] | |
15741 | pub struct IX509CertificateRequestPkcs10V4(::windows::core::IUnknown); | |
15742 | #[cfg(feature = "Win32_System_Com")] | |
15743 | impl IX509CertificateRequestPkcs10V4 { | |
15744 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
15745 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
15746 | } | |
15747 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
15748 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
15749 | } | |
15750 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
15751 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
15752 | } | |
15753 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15754 | #[cfg(feature = "Win32_System_Com")] | |
15755 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
15756 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
15757 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
15758 | } | |
15759 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
15760 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
15761 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15762 | } | |
15763 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
15764 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
15765 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15766 | } | |
15767 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15768 | #[cfg(feature = "Win32_Foundation")] | |
15769 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15770 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15771 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15772 | } | |
15773 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15774 | #[cfg(feature = "Win32_Foundation")] | |
15775 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15776 | where | |
15777 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15778 | { | |
15779 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15780 | } | |
15781 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
15782 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
15783 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15784 | } | |
15785 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
15786 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
15787 | } | |
15788 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15789 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15790 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15791 | } | |
15792 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15793 | where | |
15794 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15795 | { | |
15796 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15797 | } | |
15798 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15799 | #[cfg(feature = "Win32_Foundation")] | |
15800 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15801 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15802 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15803 | } | |
15804 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15805 | #[cfg(feature = "Win32_Foundation")] | |
15806 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15807 | where | |
15808 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15809 | { | |
15810 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15811 | } | |
15812 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15813 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15814 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15815 | } | |
15816 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
15817 | where | |
15818 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15819 | { | |
15820 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
15821 | } | |
15822 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
15823 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
15824 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15825 | } | |
15826 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
15827 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
15828 | } | |
15829 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15830 | #[cfg(feature = "Win32_System_Com")] | |
15831 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
15832 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
15833 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15834 | } | |
15835 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15836 | #[cfg(feature = "Win32_System_Com")] | |
15837 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15838 | where | |
15839 | P0: ::windows::core::IntoParam<ICspInformations>, | |
15840 | { | |
15841 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15842 | } | |
15843 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15844 | #[cfg(feature = "Win32_System_Com")] | |
15845 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
15846 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15847 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15848 | } | |
15849 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15850 | #[cfg(feature = "Win32_System_Com")] | |
15851 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15852 | where | |
15853 | P0: ::windows::core::IntoParam<IObjectId>, | |
15854 | { | |
15855 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15856 | } | |
15857 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15858 | #[cfg(feature = "Win32_Foundation")] | |
15859 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15860 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15861 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15862 | } | |
15863 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15864 | #[cfg(feature = "Win32_Foundation")] | |
15865 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15866 | where | |
15867 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15868 | { | |
15869 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15870 | } | |
15871 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15872 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15873 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15874 | } | |
15875 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
15876 | where | |
15877 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15878 | { | |
15879 | (::windows::core::Interface::vtable(self).base__.base__.base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
15880 | } | |
15881 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15882 | #[cfg(feature = "Win32_System_Com")] | |
15883 | pub unsafe fn InitializeFromPrivateKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15884 | where | |
15885 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
15886 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15887 | { | |
15888 | (::windows::core::Interface::vtable(self).base__.base__.base__.InitializeFromPrivateKey)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15889 | } | |
15890 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15891 | #[cfg(feature = "Win32_System_Com")] | |
15892 | pub unsafe fn InitializeFromPublicKey<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, strtemplatename: P1) -> ::windows::core::Result<()> | |
15893 | where | |
15894 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
15895 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15896 | { | |
15897 | (::windows::core::Interface::vtable(self).base__.base__.base__.InitializeFromPublicKey)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), strtemplatename.into_param().abi()).ok() | |
15898 | } | |
15899 | pub unsafe fn InitializeFromCertificate<P0>(&self, context: X509CertificateEnrollmentContext, strcertificate: P0, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
15900 | where | |
15901 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15902 | { | |
15903 | (::windows::core::Interface::vtable(self).base__.base__.base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
15904 | } | |
15905 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
15906 | where | |
15907 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
15908 | { | |
15909 | (::windows::core::Interface::vtable(self).base__.base__.base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
15910 | } | |
15911 | pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { | |
15912 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() | |
15913 | } | |
15914 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15915 | #[cfg(feature = "Win32_Foundation")] | |
15916 | pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15917 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15918 | (::windows::core::Interface::vtable(self).base__.base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15919 | } | |
15920 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15921 | #[cfg(feature = "Win32_System_Com")] | |
15922 | pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
15923 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
15924 | (::windows::core::Interface::vtable(self).base__.base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15925 | } | |
15926 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15927 | #[cfg(feature = "Win32_System_Com")] | |
15928 | pub unsafe fn PublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
15929 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
15930 | (::windows::core::Interface::vtable(self).base__.base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15931 | } | |
15932 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15933 | #[cfg(feature = "Win32_System_Com")] | |
15934 | pub unsafe fn PrivateKey(&self) -> ::windows::core::Result<IX509PrivateKey> { | |
15935 | let mut result__ = ::windows::core::zeroed::<IX509PrivateKey>(); | |
15936 | (::windows::core::Interface::vtable(self).base__.base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15937 | } | |
15938 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15939 | #[cfg(feature = "Win32_Foundation")] | |
15940 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15941 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15942 | (::windows::core::Interface::vtable(self).base__.base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15943 | } | |
15944 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15945 | #[cfg(feature = "Win32_Foundation")] | |
15946 | pub unsafe fn ReuseKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15947 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15948 | (::windows::core::Interface::vtable(self).base__.base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15949 | } | |
15950 | pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
15951 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15952 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
15953 | } | |
15954 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15955 | #[cfg(feature = "Win32_System_Com")] | |
15956 | pub unsafe fn Subject(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
15957 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
15958 | (::windows::core::Interface::vtable(self).base__.base__.base__.Subject)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15959 | } | |
15960 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15961 | #[cfg(feature = "Win32_System_Com")] | |
15962 | pub unsafe fn SetSubject<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
15963 | where | |
15964 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
15965 | { | |
15966 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSubject)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
15967 | } | |
15968 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15969 | #[cfg(feature = "Win32_System_Com")] | |
15970 | pub unsafe fn CspStatuses(&self) -> ::windows::core::Result<ICspStatuses> { | |
15971 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
15972 | (::windows::core::Interface::vtable(self).base__.base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15973 | } | |
15974 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15975 | #[cfg(feature = "Win32_Foundation")] | |
15976 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
15977 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
15978 | (::windows::core::Interface::vtable(self).base__.base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15979 | } | |
15980 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
15981 | #[cfg(feature = "Win32_Foundation")] | |
15982 | pub unsafe fn SetSmimeCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15983 | where | |
15984 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
15985 | { | |
15986 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetSmimeCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
15987 | } | |
15988 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
15989 | #[cfg(feature = "Win32_System_Com")] | |
15990 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
15991 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
15992 | (::windows::core::Interface::vtable(self).base__.base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15993 | } | |
15994 | pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
15995 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
15996 | (::windows::core::Interface::vtable(self).base__.base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
15997 | } | |
15998 | pub unsafe fn SetKeyContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
15999 | where | |
16000 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16001 | { | |
16002 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetKeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16003 | } | |
16004 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16005 | #[cfg(feature = "Win32_System_Com")] | |
16006 | pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result<ICryptAttributes> { | |
16007 | let mut result__ = ::windows::core::zeroed::<ICryptAttributes>(); | |
16008 | (::windows::core::Interface::vtable(self).base__.base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16009 | } | |
16010 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16011 | #[cfg(feature = "Win32_System_Com")] | |
16012 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
16013 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
16014 | (::windows::core::Interface::vtable(self).base__.base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16015 | } | |
16016 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16017 | #[cfg(feature = "Win32_System_Com")] | |
16018 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
16019 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
16020 | (::windows::core::Interface::vtable(self).base__.base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16021 | } | |
16022 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16023 | #[cfg(feature = "Win32_System_Com")] | |
16024 | pub unsafe fn SuppressOids(&self) -> ::windows::core::Result<IObjectIds> { | |
16025 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
16026 | (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16027 | } | |
16028 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16029 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16030 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16031 | } | |
16032 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16033 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16034 | (::windows::core::Interface::vtable(self).base__.base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16035 | } | |
16036 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16037 | #[cfg(feature = "Win32_System_Com")] | |
16038 | pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result<ICspStatuses> { | |
16039 | let mut result__ = ::windows::core::zeroed::<ICspStatuses>(); | |
16040 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, &mut result__).from_abi(result__) | |
16041 | } | |
16042 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16043 | #[cfg(feature = "Win32_System_Com")] | |
16044 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
16045 | where | |
16046 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
16047 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
16048 | { | |
16049 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
16050 | } | |
16051 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16052 | #[cfg(feature = "Win32_System_Com")] | |
16053 | pub unsafe fn InitializeFromPrivateKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, pprivatekey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
16054 | where | |
16055 | P0: ::windows::core::IntoParam<IX509PrivateKey>, | |
16056 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
16057 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
16058 | { | |
16059 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPrivateKeyTemplate)(::windows::core::Interface::as_raw(self), context, pprivatekey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
16060 | } | |
16061 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16062 | #[cfg(feature = "Win32_System_Com")] | |
16063 | pub unsafe fn InitializeFromPublicKeyTemplate<P0, P1, P2>(&self, context: X509CertificateEnrollmentContext, ppublickey: P0, ppolicyserver: P1, ptemplate: P2) -> ::windows::core::Result<()> | |
16064 | where | |
16065 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
16066 | P1: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
16067 | P2: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
16068 | { | |
16069 | (::windows::core::Interface::vtable(self).base__.base__.InitializeFromPublicKeyTemplate)(::windows::core::Interface::as_raw(self), context, ppublickey.into_param().abi(), ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
16070 | } | |
16071 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16072 | #[cfg(feature = "Win32_System_Com")] | |
16073 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
16074 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
16075 | (::windows::core::Interface::vtable(self).base__.base__.PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16076 | } | |
16077 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16078 | #[cfg(feature = "Win32_System_Com")] | |
16079 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
16080 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
16081 | (::windows::core::Interface::vtable(self).base__.base__.Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16082 | } | |
16083 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16084 | #[cfg(feature = "Win32_Foundation")] | |
16085 | pub unsafe fn AttestPrivateKey(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16086 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16087 | (::windows::core::Interface::vtable(self).base__.AttestPrivateKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16088 | } | |
16089 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16090 | #[cfg(feature = "Win32_Foundation")] | |
16091 | pub unsafe fn SetAttestPrivateKey<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16092 | where | |
16093 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16094 | { | |
16095 | (::windows::core::Interface::vtable(self).base__.SetAttestPrivateKey)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16096 | } | |
16097 | pub unsafe fn get_AttestationEncryptionCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16098 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16099 | (::windows::core::Interface::vtable(self).base__.get_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16100 | } | |
16101 | pub unsafe fn put_AttestationEncryptionCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
16102 | where | |
16103 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16104 | { | |
16105 | (::windows::core::Interface::vtable(self).base__.put_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
16106 | } | |
16107 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16108 | #[cfg(feature = "Win32_System_Com")] | |
16109 | pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
16110 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
16111 | (::windows::core::Interface::vtable(self).base__.EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16112 | } | |
16113 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16114 | #[cfg(feature = "Win32_System_Com")] | |
16115 | pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16116 | where | |
16117 | P0: ::windows::core::IntoParam<IObjectId>, | |
16118 | { | |
16119 | (::windows::core::Interface::vtable(self).base__.SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16120 | } | |
16121 | pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result<i32> { | |
16122 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
16123 | (::windows::core::Interface::vtable(self).base__.EncryptionStrength)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16124 | } | |
16125 | pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { | |
16126 | (::windows::core::Interface::vtable(self).base__.SetEncryptionStrength)(::windows::core::Interface::as_raw(self), value).ok() | |
16127 | } | |
16128 | pub unsafe fn ChallengePassword(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
16129 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16130 | (::windows::core::Interface::vtable(self).base__.ChallengePassword)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16131 | } | |
16132 | pub unsafe fn SetChallengePassword<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16133 | where | |
16134 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16135 | { | |
16136 | (::windows::core::Interface::vtable(self).base__.SetChallengePassword)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16137 | } | |
16138 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16139 | #[cfg(feature = "Win32_System_Com")] | |
16140 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
16141 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
16142 | (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16143 | } | |
16144 | pub unsafe fn ClaimType(&self) -> ::windows::core::Result<KeyAttestationClaimType> { | |
16145 | let mut result__ = ::windows::core::zeroed::<KeyAttestationClaimType>(); | |
16146 | (::windows::core::Interface::vtable(self).ClaimType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16147 | } | |
16148 | pub unsafe fn SetClaimType(&self, value: KeyAttestationClaimType) -> ::windows::core::Result<()> { | |
16149 | (::windows::core::Interface::vtable(self).SetClaimType)(::windows::core::Interface::as_raw(self), value).ok() | |
16150 | } | |
16151 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16152 | #[cfg(feature = "Win32_Foundation")] | |
16153 | pub unsafe fn AttestPrivateKeyPreferred(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16154 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16155 | (::windows::core::Interface::vtable(self).AttestPrivateKeyPreferred)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16156 | } | |
16157 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16158 | #[cfg(feature = "Win32_Foundation")] | |
16159 | pub unsafe fn SetAttestPrivateKeyPreferred<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16160 | where | |
16161 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16162 | { | |
16163 | (::windows::core::Interface::vtable(self).SetAttestPrivateKeyPreferred)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16164 | } | |
16165 | } | |
16166 | #[cfg(feature = "Win32_System_Com")] | |
16167 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V3); | |
16168 | #[cfg(feature = "Win32_System_Com")] | |
16169 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V4 { | |
16170 | fn eq(&self, other: &Self) -> bool { | |
16171 | self.0 == other.0 | |
16172 | } | |
16173 | } | |
16174 | #[cfg(feature = "Win32_System_Com")] | |
16175 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V4 {} | |
16176 | #[cfg(feature = "Win32_System_Com")] | |
16177 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V4 { | |
16178 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16179 | f.debug_tuple("IX509CertificateRequestPkcs10V4").field(&self.0).finish() | |
16180 | } | |
16181 | } | |
16182 | #[cfg(feature = "Win32_System_Com")] | |
16183 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs10V4 { | |
16184 | type Vtable = IX509CertificateRequestPkcs10V4_Vtbl; | |
16185 | } | |
16186 | #[cfg(feature = "Win32_System_Com")] | |
16187 | impl ::core::clone::Clone for IX509CertificateRequestPkcs10V4 { | |
16188 | fn clone(&self) -> Self { | |
16189 | Self(self.0.clone()) | |
16190 | } | |
16191 | } | |
16192 | #[cfg(feature = "Win32_System_Com")] | |
16193 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs10V4 { | |
16194 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab363_217d_11da_b2a4_000e7bbb2b09); | |
16195 | } | |
16196 | #[cfg(feature = "Win32_System_Com")] | |
16197 | #[repr(C)] | |
16198 | #[doc(hidden)] | |
16199 | pub struct IX509CertificateRequestPkcs10V4_Vtbl { | |
16200 | pub base__: IX509CertificateRequestPkcs10V3_Vtbl, | |
16201 | pub ClaimType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut KeyAttestationClaimType) -> ::windows::core::HRESULT, | |
16202 | pub SetClaimType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: KeyAttestationClaimType) -> ::windows::core::HRESULT, | |
16203 | #[cfg(feature = "Win32_Foundation")] | |
16204 | pub AttestPrivateKeyPreferred: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16205 | #[cfg(not(feature = "Win32_Foundation"))] | |
16206 | AttestPrivateKeyPreferred: usize, | |
16207 | #[cfg(feature = "Win32_Foundation")] | |
16208 | pub SetAttestPrivateKeyPreferred: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16209 | #[cfg(not(feature = "Win32_Foundation"))] | |
16210 | SetAttestPrivateKeyPreferred: usize, | |
16211 | } | |
16212 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
16213 | #[cfg(feature = "Win32_System_Com")] | |
16214 | #[repr(transparent)] | |
16215 | pub struct IX509CertificateRequestPkcs7(::windows::core::IUnknown); | |
16216 | #[cfg(feature = "Win32_System_Com")] | |
16217 | impl IX509CertificateRequestPkcs7 { | |
16218 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
16219 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
16220 | } | |
16221 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
16222 | (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
16223 | } | |
16224 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
16225 | (::windows::core::Interface::vtable(self).base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
16226 | } | |
16227 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16228 | #[cfg(feature = "Win32_System_Com")] | |
16229 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
16230 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
16231 | (::windows::core::Interface::vtable(self).base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
16232 | } | |
16233 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
16234 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
16235 | (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16236 | } | |
16237 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
16238 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
16239 | (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16240 | } | |
16241 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16242 | #[cfg(feature = "Win32_Foundation")] | |
16243 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16244 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16245 | (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16246 | } | |
16247 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16248 | #[cfg(feature = "Win32_Foundation")] | |
16249 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16250 | where | |
16251 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16252 | { | |
16253 | (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16254 | } | |
16255 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
16256 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
16257 | (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16258 | } | |
16259 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
16260 | (::windows::core::Interface::vtable(self).base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
16261 | } | |
16262 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
16263 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16264 | (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16265 | } | |
16266 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16267 | where | |
16268 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16269 | { | |
16270 | (::windows::core::Interface::vtable(self).base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16271 | } | |
16272 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16273 | #[cfg(feature = "Win32_Foundation")] | |
16274 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16275 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16276 | (::windows::core::Interface::vtable(self).base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16277 | } | |
16278 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16279 | #[cfg(feature = "Win32_Foundation")] | |
16280 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16281 | where | |
16282 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16283 | { | |
16284 | (::windows::core::Interface::vtable(self).base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16285 | } | |
16286 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16287 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16288 | (::windows::core::Interface::vtable(self).base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16289 | } | |
16290 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
16291 | where | |
16292 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16293 | { | |
16294 | (::windows::core::Interface::vtable(self).base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
16295 | } | |
16296 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
16297 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
16298 | (::windows::core::Interface::vtable(self).base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16299 | } | |
16300 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
16301 | (::windows::core::Interface::vtable(self).base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
16302 | } | |
16303 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16304 | #[cfg(feature = "Win32_System_Com")] | |
16305 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
16306 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
16307 | (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16308 | } | |
16309 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16310 | #[cfg(feature = "Win32_System_Com")] | |
16311 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16312 | where | |
16313 | P0: ::windows::core::IntoParam<ICspInformations>, | |
16314 | { | |
16315 | (::windows::core::Interface::vtable(self).base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16316 | } | |
16317 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16318 | #[cfg(feature = "Win32_System_Com")] | |
16319 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
16320 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
16321 | (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16322 | } | |
16323 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16324 | #[cfg(feature = "Win32_System_Com")] | |
16325 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16326 | where | |
16327 | P0: ::windows::core::IntoParam<IObjectId>, | |
16328 | { | |
16329 | (::windows::core::Interface::vtable(self).base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16330 | } | |
16331 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16332 | #[cfg(feature = "Win32_Foundation")] | |
16333 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16334 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16335 | (::windows::core::Interface::vtable(self).base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16336 | } | |
16337 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16338 | #[cfg(feature = "Win32_Foundation")] | |
16339 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16340 | where | |
16341 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16342 | { | |
16343 | (::windows::core::Interface::vtable(self).base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16344 | } | |
16345 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16346 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16347 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16348 | } | |
16349 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
16350 | where | |
16351 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16352 | { | |
16353 | (::windows::core::Interface::vtable(self).InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
16354 | } | |
16355 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16356 | #[cfg(feature = "Win32_Foundation")] | |
16357 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, context: X509CertificateEnrollmentContext, renewalrequest: P0, strcertificate: P1, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
16358 | where | |
16359 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16360 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16361 | { | |
16362 | (::windows::core::Interface::vtable(self).InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, renewalrequest.into_param().abi(), strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
16363 | } | |
16364 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16365 | #[cfg(feature = "Win32_System_Com")] | |
16366 | pub unsafe fn InitializeFromInnerRequest<P0>(&self, pinnerrequest: P0) -> ::windows::core::Result<()> | |
16367 | where | |
16368 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
16369 | { | |
16370 | (::windows::core::Interface::vtable(self).InitializeFromInnerRequest)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi()).ok() | |
16371 | } | |
16372 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
16373 | where | |
16374 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16375 | { | |
16376 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
16377 | } | |
16378 | pub unsafe fn RequesterName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
16379 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16380 | (::windows::core::Interface::vtable(self).RequesterName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16381 | } | |
16382 | pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16383 | where | |
16384 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16385 | { | |
16386 | (::windows::core::Interface::vtable(self).SetRequesterName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16387 | } | |
16388 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16389 | #[cfg(feature = "Win32_System_Com")] | |
16390 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
16391 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
16392 | (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16393 | } | |
16394 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16395 | #[cfg(feature = "Win32_System_Com")] | |
16396 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16397 | where | |
16398 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
16399 | { | |
16400 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16401 | } | |
16402 | } | |
16403 | #[cfg(feature = "Win32_System_Com")] | |
16404 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs7, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); | |
16405 | #[cfg(feature = "Win32_System_Com")] | |
16406 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7 { | |
16407 | fn eq(&self, other: &Self) -> bool { | |
16408 | self.0 == other.0 | |
16409 | } | |
16410 | } | |
16411 | #[cfg(feature = "Win32_System_Com")] | |
16412 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs7 {} | |
16413 | #[cfg(feature = "Win32_System_Com")] | |
16414 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs7 { | |
16415 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16416 | f.debug_tuple("IX509CertificateRequestPkcs7").field(&self.0).finish() | |
16417 | } | |
16418 | } | |
16419 | #[cfg(feature = "Win32_System_Com")] | |
16420 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs7 { | |
16421 | type Vtable = IX509CertificateRequestPkcs7_Vtbl; | |
16422 | } | |
16423 | #[cfg(feature = "Win32_System_Com")] | |
16424 | impl ::core::clone::Clone for IX509CertificateRequestPkcs7 { | |
16425 | fn clone(&self) -> Self { | |
16426 | Self(self.0.clone()) | |
16427 | } | |
16428 | } | |
16429 | #[cfg(feature = "Win32_System_Com")] | |
16430 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs7 { | |
16431 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab344_217d_11da_b2a4_000e7bbb2b09); | |
16432 | } | |
16433 | #[cfg(feature = "Win32_System_Com")] | |
16434 | #[repr(C)] | |
16435 | #[doc(hidden)] | |
16436 | pub struct IX509CertificateRequestPkcs7_Vtbl { | |
16437 | pub base__: IX509CertificateRequest_Vtbl, | |
16438 | pub InitializeFromTemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
16439 | #[cfg(feature = "Win32_Foundation")] | |
16440 | pub InitializeFromCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, renewalrequest: super::super::super::Foundation::VARIANT_BOOL, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::HRESULT, | |
16441 | #[cfg(not(feature = "Win32_Foundation"))] | |
16442 | InitializeFromCertificate: usize, | |
16443 | #[cfg(feature = "Win32_System_Com")] | |
16444 | pub InitializeFromInnerRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinnerrequest: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16445 | #[cfg(not(feature = "Win32_System_Com"))] | |
16446 | InitializeFromInnerRequest: usize, | |
16447 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
16448 | pub RequesterName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
16449 | pub SetRequesterName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
16450 | #[cfg(feature = "Win32_System_Com")] | |
16451 | pub SignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16452 | #[cfg(not(feature = "Win32_System_Com"))] | |
16453 | SignerCertificate: usize, | |
16454 | #[cfg(feature = "Win32_System_Com")] | |
16455 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16456 | #[cfg(not(feature = "Win32_System_Com"))] | |
16457 | SetSignerCertificate: usize, | |
16458 | } | |
16459 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
16460 | #[cfg(feature = "Win32_System_Com")] | |
16461 | #[repr(transparent)] | |
16462 | pub struct IX509CertificateRequestPkcs7V2(::windows::core::IUnknown); | |
16463 | #[cfg(feature = "Win32_System_Com")] | |
16464 | impl IX509CertificateRequestPkcs7V2 { | |
16465 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
16466 | (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
16467 | } | |
16468 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
16469 | (::windows::core::Interface::vtable(self).base__.base__.Encode)(::windows::core::Interface::as_raw(self)).ok() | |
16470 | } | |
16471 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
16472 | (::windows::core::Interface::vtable(self).base__.base__.ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
16473 | } | |
16474 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16475 | #[cfg(feature = "Win32_System_Com")] | |
16476 | pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result<IX509CertificateRequest> { | |
16477 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
16478 | (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, &mut result__).from_abi(result__) | |
16479 | } | |
16480 | pub unsafe fn Type(&self) -> ::windows::core::Result<X509RequestType> { | |
16481 | let mut result__ = ::windows::core::zeroed::<X509RequestType>(); | |
16482 | (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16483 | } | |
16484 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
16485 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
16486 | (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16487 | } | |
16488 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16489 | #[cfg(feature = "Win32_Foundation")] | |
16490 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16491 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16492 | (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16493 | } | |
16494 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16495 | #[cfg(feature = "Win32_Foundation")] | |
16496 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16497 | where | |
16498 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16499 | { | |
16500 | (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16501 | } | |
16502 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
16503 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
16504 | (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16505 | } | |
16506 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
16507 | (::windows::core::Interface::vtable(self).base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
16508 | } | |
16509 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
16510 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16511 | (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16512 | } | |
16513 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16514 | where | |
16515 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16516 | { | |
16517 | (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16518 | } | |
16519 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16520 | #[cfg(feature = "Win32_Foundation")] | |
16521 | pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16522 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16523 | (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16524 | } | |
16525 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16526 | #[cfg(feature = "Win32_Foundation")] | |
16527 | pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16528 | where | |
16529 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16530 | { | |
16531 | (::windows::core::Interface::vtable(self).base__.base__.SetSuppressDefaults)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16532 | } | |
16533 | pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16534 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16535 | (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16536 | } | |
16537 | pub unsafe fn put_RenewalCertificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
16538 | where | |
16539 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16540 | { | |
16541 | (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
16542 | } | |
16543 | pub unsafe fn ClientId(&self) -> ::windows::core::Result<RequestClientInfoClientId> { | |
16544 | let mut result__ = ::windows::core::zeroed::<RequestClientInfoClientId>(); | |
16545 | (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16546 | } | |
16547 | pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { | |
16548 | (::windows::core::Interface::vtable(self).base__.base__.SetClientId)(::windows::core::Interface::as_raw(self), value).ok() | |
16549 | } | |
16550 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16551 | #[cfg(feature = "Win32_System_Com")] | |
16552 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
16553 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
16554 | (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16555 | } | |
16556 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16557 | #[cfg(feature = "Win32_System_Com")] | |
16558 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16559 | where | |
16560 | P0: ::windows::core::IntoParam<ICspInformations>, | |
16561 | { | |
16562 | (::windows::core::Interface::vtable(self).base__.base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16563 | } | |
16564 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16565 | #[cfg(feature = "Win32_System_Com")] | |
16566 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
16567 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
16568 | (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16569 | } | |
16570 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16571 | #[cfg(feature = "Win32_System_Com")] | |
16572 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16573 | where | |
16574 | P0: ::windows::core::IntoParam<IObjectId>, | |
16575 | { | |
16576 | (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16577 | } | |
16578 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16579 | #[cfg(feature = "Win32_Foundation")] | |
16580 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16581 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16582 | (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16583 | } | |
16584 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16585 | #[cfg(feature = "Win32_Foundation")] | |
16586 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16587 | where | |
16588 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16589 | { | |
16590 | (::windows::core::Interface::vtable(self).base__.base__.SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16591 | } | |
16592 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16593 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16594 | (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16595 | } | |
16596 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
16597 | where | |
16598 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16599 | { | |
16600 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
16601 | } | |
16602 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16603 | #[cfg(feature = "Win32_Foundation")] | |
16604 | pub unsafe fn InitializeFromCertificate<P0, P1>(&self, context: X509CertificateEnrollmentContext, renewalrequest: P0, strcertificate: P1, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> ::windows::core::Result<()> | |
16605 | where | |
16606 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16607 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16608 | { | |
16609 | (::windows::core::Interface::vtable(self).base__.InitializeFromCertificate)(::windows::core::Interface::as_raw(self), context, renewalrequest.into_param().abi(), strcertificate.into_param().abi(), encoding, inheritoptions).ok() | |
16610 | } | |
16611 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16612 | #[cfg(feature = "Win32_System_Com")] | |
16613 | pub unsafe fn InitializeFromInnerRequest<P0>(&self, pinnerrequest: P0) -> ::windows::core::Result<()> | |
16614 | where | |
16615 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
16616 | { | |
16617 | (::windows::core::Interface::vtable(self).base__.InitializeFromInnerRequest)(::windows::core::Interface::as_raw(self), pinnerrequest.into_param().abi()).ok() | |
16618 | } | |
16619 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
16620 | where | |
16621 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16622 | { | |
16623 | (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
16624 | } | |
16625 | pub unsafe fn RequesterName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
16626 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16627 | (::windows::core::Interface::vtable(self).base__.RequesterName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16628 | } | |
16629 | pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16630 | where | |
16631 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16632 | { | |
16633 | (::windows::core::Interface::vtable(self).base__.SetRequesterName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16634 | } | |
16635 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16636 | #[cfg(feature = "Win32_System_Com")] | |
16637 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
16638 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
16639 | (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16640 | } | |
16641 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16642 | #[cfg(feature = "Win32_System_Com")] | |
16643 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16644 | where | |
16645 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
16646 | { | |
16647 | (::windows::core::Interface::vtable(self).base__.SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16648 | } | |
16649 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16650 | #[cfg(feature = "Win32_System_Com")] | |
16651 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
16652 | where | |
16653 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
16654 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
16655 | { | |
16656 | (::windows::core::Interface::vtable(self).InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
16657 | } | |
16658 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16659 | #[cfg(feature = "Win32_System_Com")] | |
16660 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
16661 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
16662 | (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16663 | } | |
16664 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16665 | #[cfg(feature = "Win32_System_Com")] | |
16666 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
16667 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
16668 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16669 | } | |
16670 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16671 | #[cfg(feature = "Win32_Foundation")] | |
16672 | pub unsafe fn CheckCertificateSignature<P0>(&self, validatecertificatechain: P0) -> ::windows::core::Result<()> | |
16673 | where | |
16674 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16675 | { | |
16676 | (::windows::core::Interface::vtable(self).CheckCertificateSignature)(::windows::core::Interface::as_raw(self), validatecertificatechain.into_param().abi()).ok() | |
16677 | } | |
16678 | } | |
16679 | #[cfg(feature = "Win32_System_Com")] | |
16680 | ::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs7V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); | |
16681 | #[cfg(feature = "Win32_System_Com")] | |
16682 | impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7V2 { | |
16683 | fn eq(&self, other: &Self) -> bool { | |
16684 | self.0 == other.0 | |
16685 | } | |
16686 | } | |
16687 | #[cfg(feature = "Win32_System_Com")] | |
16688 | impl ::core::cmp::Eq for IX509CertificateRequestPkcs7V2 {} | |
16689 | #[cfg(feature = "Win32_System_Com")] | |
16690 | impl ::core::fmt::Debug for IX509CertificateRequestPkcs7V2 { | |
16691 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16692 | f.debug_tuple("IX509CertificateRequestPkcs7V2").field(&self.0).finish() | |
16693 | } | |
16694 | } | |
16695 | #[cfg(feature = "Win32_System_Com")] | |
16696 | unsafe impl ::windows::core::Interface for IX509CertificateRequestPkcs7V2 { | |
16697 | type Vtable = IX509CertificateRequestPkcs7V2_Vtbl; | |
16698 | } | |
16699 | #[cfg(feature = "Win32_System_Com")] | |
16700 | impl ::core::clone::Clone for IX509CertificateRequestPkcs7V2 { | |
16701 | fn clone(&self) -> Self { | |
16702 | Self(self.0.clone()) | |
16703 | } | |
16704 | } | |
16705 | #[cfg(feature = "Win32_System_Com")] | |
16706 | unsafe impl ::windows::core::ComInterface for IX509CertificateRequestPkcs7V2 { | |
16707 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35c_217d_11da_b2a4_000e7bbb2b09); | |
16708 | } | |
16709 | #[cfg(feature = "Win32_System_Com")] | |
16710 | #[repr(C)] | |
16711 | #[doc(hidden)] | |
16712 | pub struct IX509CertificateRequestPkcs7V2_Vtbl { | |
16713 | pub base__: IX509CertificateRequestPkcs7_Vtbl, | |
16714 | #[cfg(feature = "Win32_System_Com")] | |
16715 | pub InitializeFromTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16716 | #[cfg(not(feature = "Win32_System_Com"))] | |
16717 | InitializeFromTemplate: usize, | |
16718 | #[cfg(feature = "Win32_System_Com")] | |
16719 | pub PolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppolicyserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16720 | #[cfg(not(feature = "Win32_System_Com"))] | |
16721 | PolicyServer: usize, | |
16722 | #[cfg(feature = "Win32_System_Com")] | |
16723 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptemplate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16724 | #[cfg(not(feature = "Win32_System_Com"))] | |
16725 | Template: usize, | |
16726 | #[cfg(feature = "Win32_Foundation")] | |
16727 | pub CheckCertificateSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, validatecertificatechain: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16728 | #[cfg(not(feature = "Win32_Foundation"))] | |
16729 | CheckCertificateSignature: usize, | |
16730 | } | |
16731 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
16732 | #[cfg(feature = "Win32_System_Com")] | |
16733 | #[repr(transparent)] | |
16734 | pub struct IX509CertificateRevocationList(::windows::core::IUnknown); | |
16735 | #[cfg(feature = "Win32_System_Com")] | |
16736 | impl IX509CertificateRevocationList { | |
16737 | pub unsafe fn Initialize(&self) -> ::windows::core::Result<()> { | |
16738 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self)).ok() | |
16739 | } | |
16740 | pub unsafe fn InitializeDecode<P0>(&self, strencodeddata: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
16741 | where | |
16742 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16743 | { | |
16744 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), strencodeddata.into_param().abi(), encoding).ok() | |
16745 | } | |
16746 | pub unsafe fn Encode(&self) -> ::windows::core::Result<()> { | |
16747 | (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self)).ok() | |
16748 | } | |
16749 | pub unsafe fn ResetForEncode(&self) -> ::windows::core::Result<()> { | |
16750 | (::windows::core::Interface::vtable(self).ResetForEncode)(::windows::core::Interface::as_raw(self)).ok() | |
16751 | } | |
16752 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16753 | #[cfg(feature = "Win32_System_Com")] | |
16754 | pub unsafe fn CheckPublicKeySignature<P0>(&self, ppublickey: P0) -> ::windows::core::Result<()> | |
16755 | where | |
16756 | P0: ::windows::core::IntoParam<IX509PublicKey>, | |
16757 | { | |
16758 | (::windows::core::Interface::vtable(self).CheckPublicKeySignature)(::windows::core::Interface::as_raw(self), ppublickey.into_param().abi()).ok() | |
16759 | } | |
16760 | pub unsafe fn CheckSignature(&self) -> ::windows::core::Result<()> { | |
16761 | (::windows::core::Interface::vtable(self).CheckSignature)(::windows::core::Interface::as_raw(self)).ok() | |
16762 | } | |
16763 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16764 | #[cfg(feature = "Win32_System_Com")] | |
16765 | pub unsafe fn Issuer(&self) -> ::windows::core::Result<IX500DistinguishedName> { | |
16766 | let mut result__ = ::windows::core::zeroed::<IX500DistinguishedName>(); | |
16767 | (::windows::core::Interface::vtable(self).Issuer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16768 | } | |
16769 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16770 | #[cfg(feature = "Win32_System_Com")] | |
16771 | pub unsafe fn SetIssuer<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16772 | where | |
16773 | P0: ::windows::core::IntoParam<IX500DistinguishedName>, | |
16774 | { | |
16775 | (::windows::core::Interface::vtable(self).SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16776 | } | |
16777 | pub unsafe fn ThisUpdate(&self) -> ::windows::core::Result<f64> { | |
16778 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
16779 | (::windows::core::Interface::vtable(self).ThisUpdate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16780 | } | |
16781 | pub unsafe fn SetThisUpdate(&self, value: f64) -> ::windows::core::Result<()> { | |
16782 | (::windows::core::Interface::vtable(self).SetThisUpdate)(::windows::core::Interface::as_raw(self), value).ok() | |
16783 | } | |
16784 | pub unsafe fn NextUpdate(&self) -> ::windows::core::Result<f64> { | |
16785 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
16786 | (::windows::core::Interface::vtable(self).NextUpdate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16787 | } | |
16788 | pub unsafe fn SetNextUpdate(&self, value: f64) -> ::windows::core::Result<()> { | |
16789 | (::windows::core::Interface::vtable(self).SetNextUpdate)(::windows::core::Interface::as_raw(self), value).ok() | |
16790 | } | |
16791 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16792 | #[cfg(feature = "Win32_System_Com")] | |
16793 | pub unsafe fn X509CRLEntries(&self) -> ::windows::core::Result<IX509CertificateRevocationListEntries> { | |
16794 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRevocationListEntries>(); | |
16795 | (::windows::core::Interface::vtable(self).X509CRLEntries)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16796 | } | |
16797 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16798 | #[cfg(feature = "Win32_System_Com")] | |
16799 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
16800 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
16801 | (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16802 | } | |
16803 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16804 | #[cfg(feature = "Win32_System_Com")] | |
16805 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
16806 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
16807 | (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16808 | } | |
16809 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16810 | #[cfg(feature = "Win32_System_Com")] | |
16811 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
16812 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
16813 | (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16814 | } | |
16815 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16816 | #[cfg(feature = "Win32_System_Com")] | |
16817 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16818 | where | |
16819 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
16820 | { | |
16821 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16822 | } | |
16823 | pub unsafe fn get_CRLNumber(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16824 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16825 | (::windows::core::Interface::vtable(self).get_CRLNumber)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16826 | } | |
16827 | pub unsafe fn put_CRLNumber<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
16828 | where | |
16829 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
16830 | { | |
16831 | (::windows::core::Interface::vtable(self).put_CRLNumber)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
16832 | } | |
16833 | pub unsafe fn CAVersion(&self) -> ::windows::core::Result<i32> { | |
16834 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
16835 | (::windows::core::Interface::vtable(self).CAVersion)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16836 | } | |
16837 | pub unsafe fn SetCAVersion(&self, pvalue: i32) -> ::windows::core::Result<()> { | |
16838 | (::windows::core::Interface::vtable(self).SetCAVersion)(::windows::core::Interface::as_raw(self), pvalue).ok() | |
16839 | } | |
16840 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16841 | #[cfg(feature = "Win32_Foundation")] | |
16842 | pub unsafe fn BaseCRL(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16843 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16844 | (::windows::core::Interface::vtable(self).BaseCRL)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16845 | } | |
16846 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16847 | #[cfg(feature = "Win32_Foundation")] | |
16848 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16849 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16850 | (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16851 | } | |
16852 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16853 | #[cfg(feature = "Win32_System_Com")] | |
16854 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
16855 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
16856 | (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16857 | } | |
16858 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16859 | #[cfg(feature = "Win32_System_Com")] | |
16860 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
16861 | where | |
16862 | P0: ::windows::core::IntoParam<IObjectId>, | |
16863 | { | |
16864 | (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
16865 | } | |
16866 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16867 | #[cfg(feature = "Win32_Foundation")] | |
16868 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
16869 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
16870 | (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16871 | } | |
16872 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
16873 | #[cfg(feature = "Win32_Foundation")] | |
16874 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
16875 | where | |
16876 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
16877 | { | |
16878 | (::windows::core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
16879 | } | |
16880 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
16881 | #[cfg(feature = "Win32_System_Com")] | |
16882 | pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result<IX509SignatureInformation> { | |
16883 | let mut result__ = ::windows::core::zeroed::<IX509SignatureInformation>(); | |
16884 | (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
16885 | } | |
16886 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16887 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16888 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16889 | } | |
16890 | pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16891 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16892 | (::windows::core::Interface::vtable(self).get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16893 | } | |
16894 | pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
16895 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
16896 | (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
16897 | } | |
16898 | } | |
16899 | #[cfg(feature = "Win32_System_Com")] | |
16900 | ::windows::imp::interface_hierarchy!(IX509CertificateRevocationList, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
16901 | #[cfg(feature = "Win32_System_Com")] | |
16902 | impl ::core::cmp::PartialEq for IX509CertificateRevocationList { | |
16903 | fn eq(&self, other: &Self) -> bool { | |
16904 | self.0 == other.0 | |
16905 | } | |
16906 | } | |
16907 | #[cfg(feature = "Win32_System_Com")] | |
16908 | impl ::core::cmp::Eq for IX509CertificateRevocationList {} | |
16909 | #[cfg(feature = "Win32_System_Com")] | |
16910 | impl ::core::fmt::Debug for IX509CertificateRevocationList { | |
16911 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16912 | f.debug_tuple("IX509CertificateRevocationList").field(&self.0).finish() | |
16913 | } | |
16914 | } | |
16915 | #[cfg(feature = "Win32_System_Com")] | |
16916 | unsafe impl ::windows::core::Interface for IX509CertificateRevocationList { | |
16917 | type Vtable = IX509CertificateRevocationList_Vtbl; | |
16918 | } | |
16919 | #[cfg(feature = "Win32_System_Com")] | |
16920 | impl ::core::clone::Clone for IX509CertificateRevocationList { | |
16921 | fn clone(&self) -> Self { | |
16922 | Self(self.0.clone()) | |
16923 | } | |
16924 | } | |
16925 | #[cfg(feature = "Win32_System_Com")] | |
16926 | unsafe impl ::windows::core::ComInterface for IX509CertificateRevocationList { | |
16927 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab360_217d_11da_b2a4_000e7bbb2b09); | |
16928 | } | |
16929 | #[cfg(feature = "Win32_System_Com")] | |
16930 | #[repr(C)] | |
16931 | #[doc(hidden)] | |
16932 | pub struct IX509CertificateRevocationList_Vtbl { | |
16933 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
16934 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16935 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
16936 | pub Encode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16937 | pub ResetForEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16938 | #[cfg(feature = "Win32_System_Com")] | |
16939 | pub CheckPublicKeySignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppublickey: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16940 | #[cfg(not(feature = "Win32_System_Com"))] | |
16941 | CheckPublicKeySignature: usize, | |
16942 | pub CheckSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16943 | #[cfg(feature = "Win32_System_Com")] | |
16944 | pub Issuer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16945 | #[cfg(not(feature = "Win32_System_Com"))] | |
16946 | Issuer: usize, | |
16947 | #[cfg(feature = "Win32_System_Com")] | |
16948 | pub SetIssuer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16949 | #[cfg(not(feature = "Win32_System_Com"))] | |
16950 | SetIssuer: usize, | |
16951 | pub ThisUpdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
16952 | pub SetThisUpdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f64) -> ::windows::core::HRESULT, | |
16953 | pub NextUpdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
16954 | pub SetNextUpdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f64) -> ::windows::core::HRESULT, | |
16955 | #[cfg(feature = "Win32_System_Com")] | |
16956 | pub X509CRLEntries: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16957 | #[cfg(not(feature = "Win32_System_Com"))] | |
16958 | X509CRLEntries: usize, | |
16959 | #[cfg(feature = "Win32_System_Com")] | |
16960 | pub X509Extensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16961 | #[cfg(not(feature = "Win32_System_Com"))] | |
16962 | X509Extensions: usize, | |
16963 | #[cfg(feature = "Win32_System_Com")] | |
16964 | pub CriticalExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16965 | #[cfg(not(feature = "Win32_System_Com"))] | |
16966 | CriticalExtensions: usize, | |
16967 | #[cfg(feature = "Win32_System_Com")] | |
16968 | pub SignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16969 | #[cfg(not(feature = "Win32_System_Com"))] | |
16970 | SignerCertificate: usize, | |
16971 | #[cfg(feature = "Win32_System_Com")] | |
16972 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16973 | #[cfg(not(feature = "Win32_System_Com"))] | |
16974 | SetSignerCertificate: usize, | |
16975 | pub get_CRLNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
16976 | pub put_CRLNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
16977 | pub CAVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
16978 | pub SetCAVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: i32) -> ::windows::core::HRESULT, | |
16979 | #[cfg(feature = "Win32_Foundation")] | |
16980 | pub BaseCRL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16981 | #[cfg(not(feature = "Win32_Foundation"))] | |
16982 | BaseCRL: usize, | |
16983 | #[cfg(feature = "Win32_Foundation")] | |
16984 | pub NullSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16985 | #[cfg(not(feature = "Win32_Foundation"))] | |
16986 | NullSigned: usize, | |
16987 | #[cfg(feature = "Win32_System_Com")] | |
16988 | pub HashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16989 | #[cfg(not(feature = "Win32_System_Com"))] | |
16990 | HashAlgorithm: usize, | |
16991 | #[cfg(feature = "Win32_System_Com")] | |
16992 | pub SetHashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
16993 | #[cfg(not(feature = "Win32_System_Com"))] | |
16994 | SetHashAlgorithm: usize, | |
16995 | #[cfg(feature = "Win32_Foundation")] | |
16996 | pub AlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
16997 | #[cfg(not(feature = "Win32_Foundation"))] | |
16998 | AlternateSignatureAlgorithm: usize, | |
16999 | #[cfg(feature = "Win32_Foundation")] | |
17000 | pub SetAlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
17001 | #[cfg(not(feature = "Win32_Foundation"))] | |
17002 | SetAlternateSignatureAlgorithm: usize, | |
17003 | #[cfg(feature = "Win32_System_Com")] | |
17004 | pub SignatureInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17005 | #[cfg(not(feature = "Win32_System_Com"))] | |
17006 | SignatureInformation: usize, | |
17007 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17008 | pub get_RawDataToBeSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17009 | pub get_Signature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17010 | } | |
17011 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17012 | #[cfg(feature = "Win32_System_Com")] | |
17013 | #[repr(transparent)] | |
17014 | pub struct IX509CertificateRevocationListEntries(::windows::core::IUnknown); | |
17015 | #[cfg(feature = "Win32_System_Com")] | |
17016 | impl IX509CertificateRevocationListEntries { | |
17017 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17018 | #[cfg(feature = "Win32_System_Com")] | |
17019 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509CertificateRevocationListEntry> { | |
17020 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRevocationListEntry>(); | |
17021 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
17022 | } | |
17023 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
17024 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17025 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17026 | } | |
17027 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
17028 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
17029 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17030 | } | |
17031 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17032 | #[cfg(feature = "Win32_System_Com")] | |
17033 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
17034 | where | |
17035 | P0: ::windows::core::IntoParam<IX509CertificateRevocationListEntry>, | |
17036 | { | |
17037 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
17038 | } | |
17039 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
17040 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
17041 | } | |
17042 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
17043 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
17044 | } | |
17045 | pub unsafe fn get_IndexBySerialNumber<P0>(&self, encoding: EncodingType, serialnumber: P0) -> ::windows::core::Result<i32> | |
17046 | where | |
17047 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17048 | { | |
17049 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17050 | (::windows::core::Interface::vtable(self).get_IndexBySerialNumber)(::windows::core::Interface::as_raw(self), encoding, serialnumber.into_param().abi(), &mut result__).from_abi(result__) | |
17051 | } | |
17052 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17053 | #[cfg(feature = "Win32_System_Com")] | |
17054 | pub unsafe fn AddRange<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
17055 | where | |
17056 | P0: ::windows::core::IntoParam<IX509CertificateRevocationListEntries>, | |
17057 | { | |
17058 | (::windows::core::Interface::vtable(self).AddRange)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
17059 | } | |
17060 | } | |
17061 | #[cfg(feature = "Win32_System_Com")] | |
17062 | ::windows::imp::interface_hierarchy!(IX509CertificateRevocationListEntries, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17063 | #[cfg(feature = "Win32_System_Com")] | |
17064 | impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntries { | |
17065 | fn eq(&self, other: &Self) -> bool { | |
17066 | self.0 == other.0 | |
17067 | } | |
17068 | } | |
17069 | #[cfg(feature = "Win32_System_Com")] | |
17070 | impl ::core::cmp::Eq for IX509CertificateRevocationListEntries {} | |
17071 | #[cfg(feature = "Win32_System_Com")] | |
17072 | impl ::core::fmt::Debug for IX509CertificateRevocationListEntries { | |
17073 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17074 | f.debug_tuple("IX509CertificateRevocationListEntries").field(&self.0).finish() | |
17075 | } | |
17076 | } | |
17077 | #[cfg(feature = "Win32_System_Com")] | |
17078 | unsafe impl ::windows::core::Interface for IX509CertificateRevocationListEntries { | |
17079 | type Vtable = IX509CertificateRevocationListEntries_Vtbl; | |
17080 | } | |
17081 | #[cfg(feature = "Win32_System_Com")] | |
17082 | impl ::core::clone::Clone for IX509CertificateRevocationListEntries { | |
17083 | fn clone(&self) -> Self { | |
17084 | Self(self.0.clone()) | |
17085 | } | |
17086 | } | |
17087 | #[cfg(feature = "Win32_System_Com")] | |
17088 | unsafe impl ::windows::core::ComInterface for IX509CertificateRevocationListEntries { | |
17089 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35f_217d_11da_b2a4_000e7bbb2b09); | |
17090 | } | |
17091 | #[cfg(feature = "Win32_System_Com")] | |
17092 | #[repr(C)] | |
17093 | #[doc(hidden)] | |
17094 | pub struct IX509CertificateRevocationListEntries_Vtbl { | |
17095 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17096 | #[cfg(feature = "Win32_System_Com")] | |
17097 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17098 | #[cfg(not(feature = "Win32_System_Com"))] | |
17099 | get_ItemByIndex: usize, | |
17100 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
17101 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17102 | #[cfg(feature = "Win32_System_Com")] | |
17103 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17104 | #[cfg(not(feature = "Win32_System_Com"))] | |
17105 | Add: usize, | |
17106 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
17107 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17108 | pub get_IndexBySerialNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, serialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, pindex: *mut i32) -> ::windows::core::HRESULT, | |
17109 | #[cfg(feature = "Win32_System_Com")] | |
17110 | pub AddRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17111 | #[cfg(not(feature = "Win32_System_Com"))] | |
17112 | AddRange: usize, | |
17113 | } | |
17114 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17115 | #[cfg(feature = "Win32_System_Com")] | |
17116 | #[repr(transparent)] | |
17117 | pub struct IX509CertificateRevocationListEntry(::windows::core::IUnknown); | |
17118 | #[cfg(feature = "Win32_System_Com")] | |
17119 | impl IX509CertificateRevocationListEntry { | |
17120 | pub unsafe fn Initialize<P0>(&self, encoding: EncodingType, serialnumber: P0, revocationdate: f64) -> ::windows::core::Result<()> | |
17121 | where | |
17122 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17123 | { | |
17124 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), encoding, serialnumber.into_param().abi(), revocationdate).ok() | |
17125 | } | |
17126 | pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17127 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17128 | (::windows::core::Interface::vtable(self).get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17129 | } | |
17130 | pub unsafe fn RevocationDate(&self) -> ::windows::core::Result<f64> { | |
17131 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
17132 | (::windows::core::Interface::vtable(self).RevocationDate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17133 | } | |
17134 | pub unsafe fn RevocationReason(&self) -> ::windows::core::Result<CRLRevocationReason> { | |
17135 | let mut result__ = ::windows::core::zeroed::<CRLRevocationReason>(); | |
17136 | (::windows::core::Interface::vtable(self).RevocationReason)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17137 | } | |
17138 | pub unsafe fn SetRevocationReason(&self, value: CRLRevocationReason) -> ::windows::core::Result<()> { | |
17139 | (::windows::core::Interface::vtable(self).SetRevocationReason)(::windows::core::Interface::as_raw(self), value).ok() | |
17140 | } | |
17141 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17142 | #[cfg(feature = "Win32_System_Com")] | |
17143 | pub unsafe fn X509Extensions(&self) -> ::windows::core::Result<IX509Extensions> { | |
17144 | let mut result__ = ::windows::core::zeroed::<IX509Extensions>(); | |
17145 | (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17146 | } | |
17147 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17148 | #[cfg(feature = "Win32_System_Com")] | |
17149 | pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result<IObjectIds> { | |
17150 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
17151 | (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17152 | } | |
17153 | } | |
17154 | #[cfg(feature = "Win32_System_Com")] | |
17155 | ::windows::imp::interface_hierarchy!(IX509CertificateRevocationListEntry, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17156 | #[cfg(feature = "Win32_System_Com")] | |
17157 | impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntry { | |
17158 | fn eq(&self, other: &Self) -> bool { | |
17159 | self.0 == other.0 | |
17160 | } | |
17161 | } | |
17162 | #[cfg(feature = "Win32_System_Com")] | |
17163 | impl ::core::cmp::Eq for IX509CertificateRevocationListEntry {} | |
17164 | #[cfg(feature = "Win32_System_Com")] | |
17165 | impl ::core::fmt::Debug for IX509CertificateRevocationListEntry { | |
17166 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17167 | f.debug_tuple("IX509CertificateRevocationListEntry").field(&self.0).finish() | |
17168 | } | |
17169 | } | |
17170 | #[cfg(feature = "Win32_System_Com")] | |
17171 | unsafe impl ::windows::core::Interface for IX509CertificateRevocationListEntry { | |
17172 | type Vtable = IX509CertificateRevocationListEntry_Vtbl; | |
17173 | } | |
17174 | #[cfg(feature = "Win32_System_Com")] | |
17175 | impl ::core::clone::Clone for IX509CertificateRevocationListEntry { | |
17176 | fn clone(&self) -> Self { | |
17177 | Self(self.0.clone()) | |
17178 | } | |
17179 | } | |
17180 | #[cfg(feature = "Win32_System_Com")] | |
17181 | unsafe impl ::windows::core::ComInterface for IX509CertificateRevocationListEntry { | |
17182 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab35e_217d_11da_b2a4_000e7bbb2b09); | |
17183 | } | |
17184 | #[cfg(feature = "Win32_System_Com")] | |
17185 | #[repr(C)] | |
17186 | #[doc(hidden)] | |
17187 | pub struct IX509CertificateRevocationListEntry_Vtbl { | |
17188 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17189 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, serialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, revocationdate: f64) -> ::windows::core::HRESULT, | |
17190 | pub get_SerialNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17191 | pub RevocationDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut f64) -> ::windows::core::HRESULT, | |
17192 | pub RevocationReason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut CRLRevocationReason) -> ::windows::core::HRESULT, | |
17193 | pub SetRevocationReason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: CRLRevocationReason) -> ::windows::core::HRESULT, | |
17194 | #[cfg(feature = "Win32_System_Com")] | |
17195 | pub X509Extensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17196 | #[cfg(not(feature = "Win32_System_Com"))] | |
17197 | X509Extensions: usize, | |
17198 | #[cfg(feature = "Win32_System_Com")] | |
17199 | pub CriticalExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17200 | #[cfg(not(feature = "Win32_System_Com"))] | |
17201 | CriticalExtensions: usize, | |
17202 | } | |
17203 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17204 | #[cfg(feature = "Win32_System_Com")] | |
17205 | #[repr(transparent)] | |
17206 | pub struct IX509CertificateTemplate(::windows::core::IUnknown); | |
17207 | #[cfg(feature = "Win32_System_Com")] | |
17208 | impl IX509CertificateTemplate { | |
17209 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
17210 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17211 | pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
17212 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
17213 | (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, &mut result__).from_abi(result__) | |
17214 | } | |
17215 | } | |
17216 | #[cfg(feature = "Win32_System_Com")] | |
17217 | ::windows::imp::interface_hierarchy!(IX509CertificateTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17218 | #[cfg(feature = "Win32_System_Com")] | |
17219 | impl ::core::cmp::PartialEq for IX509CertificateTemplate { | |
17220 | fn eq(&self, other: &Self) -> bool { | |
17221 | self.0 == other.0 | |
17222 | } | |
17223 | } | |
17224 | #[cfg(feature = "Win32_System_Com")] | |
17225 | impl ::core::cmp::Eq for IX509CertificateTemplate {} | |
17226 | #[cfg(feature = "Win32_System_Com")] | |
17227 | impl ::core::fmt::Debug for IX509CertificateTemplate { | |
17228 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17229 | f.debug_tuple("IX509CertificateTemplate").field(&self.0).finish() | |
17230 | } | |
17231 | } | |
17232 | #[cfg(feature = "Win32_System_Com")] | |
17233 | unsafe impl ::windows::core::Interface for IX509CertificateTemplate { | |
17234 | type Vtable = IX509CertificateTemplate_Vtbl; | |
17235 | } | |
17236 | #[cfg(feature = "Win32_System_Com")] | |
17237 | impl ::core::clone::Clone for IX509CertificateTemplate { | |
17238 | fn clone(&self) -> Self { | |
17239 | Self(self.0.clone()) | |
17240 | } | |
17241 | } | |
17242 | #[cfg(feature = "Win32_System_Com")] | |
17243 | unsafe impl ::windows::core::ComInterface for IX509CertificateTemplate { | |
17244 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54244a13_555a_4e22_896d_1b0e52f76406); | |
17245 | } | |
17246 | #[cfg(feature = "Win32_System_Com")] | |
17247 | #[repr(C)] | |
17248 | #[doc(hidden)] | |
17249 | pub struct IX509CertificateTemplate_Vtbl { | |
17250 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17251 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17252 | pub get_Property: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
17253 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
17254 | get_Property: usize, | |
17255 | } | |
17256 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17257 | #[cfg(feature = "Win32_System_Com")] | |
17258 | #[repr(transparent)] | |
17259 | pub struct IX509CertificateTemplateWritable(::windows::core::IUnknown); | |
17260 | #[cfg(feature = "Win32_System_Com")] | |
17261 | impl IX509CertificateTemplateWritable { | |
17262 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17263 | #[cfg(feature = "Win32_System_Com")] | |
17264 | pub unsafe fn Initialize<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
17265 | where | |
17266 | P0: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
17267 | { | |
17268 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
17269 | } | |
17270 | pub unsafe fn Commit<P0>(&self, commitflags: CommitTemplateFlags, strservercontext: P0) -> ::windows::core::Result<()> | |
17271 | where | |
17272 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17273 | { | |
17274 | (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self), commitflags, strservercontext.into_param().abi()).ok() | |
17275 | } | |
17276 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
17277 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17278 | pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
17279 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
17280 | (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, &mut result__).from_abi(result__) | |
17281 | } | |
17282 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
17283 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17284 | pub unsafe fn put_Property(&self, property: EnrollmentTemplateProperty, value: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
17285 | (::windows::core::Interface::vtable(self).put_Property)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(value)).ok() | |
17286 | } | |
17287 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17288 | #[cfg(feature = "Win32_System_Com")] | |
17289 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
17290 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
17291 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17292 | } | |
17293 | } | |
17294 | #[cfg(feature = "Win32_System_Com")] | |
17295 | ::windows::imp::interface_hierarchy!(IX509CertificateTemplateWritable, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17296 | #[cfg(feature = "Win32_System_Com")] | |
17297 | impl ::core::cmp::PartialEq for IX509CertificateTemplateWritable { | |
17298 | fn eq(&self, other: &Self) -> bool { | |
17299 | self.0 == other.0 | |
17300 | } | |
17301 | } | |
17302 | #[cfg(feature = "Win32_System_Com")] | |
17303 | impl ::core::cmp::Eq for IX509CertificateTemplateWritable {} | |
17304 | #[cfg(feature = "Win32_System_Com")] | |
17305 | impl ::core::fmt::Debug for IX509CertificateTemplateWritable { | |
17306 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17307 | f.debug_tuple("IX509CertificateTemplateWritable").field(&self.0).finish() | |
17308 | } | |
17309 | } | |
17310 | #[cfg(feature = "Win32_System_Com")] | |
17311 | unsafe impl ::windows::core::Interface for IX509CertificateTemplateWritable { | |
17312 | type Vtable = IX509CertificateTemplateWritable_Vtbl; | |
17313 | } | |
17314 | #[cfg(feature = "Win32_System_Com")] | |
17315 | impl ::core::clone::Clone for IX509CertificateTemplateWritable { | |
17316 | fn clone(&self) -> Self { | |
17317 | Self(self.0.clone()) | |
17318 | } | |
17319 | } | |
17320 | #[cfg(feature = "Win32_System_Com")] | |
17321 | unsafe impl ::windows::core::ComInterface for IX509CertificateTemplateWritable { | |
17322 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf49466a7_395a_4e9e_b6e7_32b331600dc0); | |
17323 | } | |
17324 | #[cfg(feature = "Win32_System_Com")] | |
17325 | #[repr(C)] | |
17326 | #[doc(hidden)] | |
17327 | pub struct IX509CertificateTemplateWritable_Vtbl { | |
17328 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17329 | #[cfg(feature = "Win32_System_Com")] | |
17330 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17331 | #[cfg(not(feature = "Win32_System_Com"))] | |
17332 | Initialize: usize, | |
17333 | pub Commit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commitflags: CommitTemplateFlags, strservercontext: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17334 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17335 | pub get_Property: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
17336 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
17337 | get_Property: usize, | |
17338 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
17339 | pub put_Property: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, property: EnrollmentTemplateProperty, value: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
17340 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
17341 | put_Property: usize, | |
17342 | #[cfg(feature = "Win32_System_Com")] | |
17343 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17344 | #[cfg(not(feature = "Win32_System_Com"))] | |
17345 | Template: usize, | |
17346 | } | |
17347 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17348 | #[cfg(feature = "Win32_System_Com")] | |
17349 | #[repr(transparent)] | |
17350 | pub struct IX509CertificateTemplates(::windows::core::IUnknown); | |
17351 | #[cfg(feature = "Win32_System_Com")] | |
17352 | impl IX509CertificateTemplates { | |
17353 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17354 | #[cfg(feature = "Win32_System_Com")] | |
17355 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509CertificateTemplate> { | |
17356 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
17357 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
17358 | } | |
17359 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
17360 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17361 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17362 | } | |
17363 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
17364 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
17365 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17366 | } | |
17367 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17368 | #[cfg(feature = "Win32_System_Com")] | |
17369 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
17370 | where | |
17371 | P0: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
17372 | { | |
17373 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
17374 | } | |
17375 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
17376 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
17377 | } | |
17378 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
17379 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
17380 | } | |
17381 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17382 | #[cfg(feature = "Win32_System_Com")] | |
17383 | pub unsafe fn get_ItemByName<P0>(&self, bstrname: P0) -> ::windows::core::Result<IX509CertificateTemplate> | |
17384 | where | |
17385 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17386 | { | |
17387 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
17388 | (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstrname.into_param().abi(), &mut result__).from_abi(result__) | |
17389 | } | |
17390 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17391 | #[cfg(feature = "Win32_System_Com")] | |
17392 | pub unsafe fn get_ItemByOid<P0>(&self, poid: P0) -> ::windows::core::Result<IX509CertificateTemplate> | |
17393 | where | |
17394 | P0: ::windows::core::IntoParam<IObjectId>, | |
17395 | { | |
17396 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
17397 | (::windows::core::Interface::vtable(self).get_ItemByOid)(::windows::core::Interface::as_raw(self), poid.into_param().abi(), &mut result__).from_abi(result__) | |
17398 | } | |
17399 | } | |
17400 | #[cfg(feature = "Win32_System_Com")] | |
17401 | ::windows::imp::interface_hierarchy!(IX509CertificateTemplates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17402 | #[cfg(feature = "Win32_System_Com")] | |
17403 | impl ::core::cmp::PartialEq for IX509CertificateTemplates { | |
17404 | fn eq(&self, other: &Self) -> bool { | |
17405 | self.0 == other.0 | |
17406 | } | |
17407 | } | |
17408 | #[cfg(feature = "Win32_System_Com")] | |
17409 | impl ::core::cmp::Eq for IX509CertificateTemplates {} | |
17410 | #[cfg(feature = "Win32_System_Com")] | |
17411 | impl ::core::fmt::Debug for IX509CertificateTemplates { | |
17412 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17413 | f.debug_tuple("IX509CertificateTemplates").field(&self.0).finish() | |
17414 | } | |
17415 | } | |
17416 | #[cfg(feature = "Win32_System_Com")] | |
17417 | unsafe impl ::windows::core::Interface for IX509CertificateTemplates { | |
17418 | type Vtable = IX509CertificateTemplates_Vtbl; | |
17419 | } | |
17420 | #[cfg(feature = "Win32_System_Com")] | |
17421 | impl ::core::clone::Clone for IX509CertificateTemplates { | |
17422 | fn clone(&self) -> Self { | |
17423 | Self(self.0.clone()) | |
17424 | } | |
17425 | } | |
17426 | #[cfg(feature = "Win32_System_Com")] | |
17427 | unsafe impl ::windows::core::ComInterface for IX509CertificateTemplates { | |
17428 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13b79003_2181_11da_b2a4_000e7bbb2b09); | |
17429 | } | |
17430 | #[cfg(feature = "Win32_System_Com")] | |
17431 | #[repr(C)] | |
17432 | #[doc(hidden)] | |
17433 | pub struct IX509CertificateTemplates_Vtbl { | |
17434 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17435 | #[cfg(feature = "Win32_System_Com")] | |
17436 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17437 | #[cfg(not(feature = "Win32_System_Com"))] | |
17438 | get_ItemByIndex: usize, | |
17439 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
17440 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17441 | #[cfg(feature = "Win32_System_Com")] | |
17442 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17443 | #[cfg(not(feature = "Win32_System_Com"))] | |
17444 | Add: usize, | |
17445 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
17446 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17447 | #[cfg(feature = "Win32_System_Com")] | |
17448 | pub get_ItemByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17449 | #[cfg(not(feature = "Win32_System_Com"))] | |
17450 | get_ItemByName: usize, | |
17451 | #[cfg(feature = "Win32_System_Com")] | |
17452 | pub get_ItemByOid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, poid: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17453 | #[cfg(not(feature = "Win32_System_Com"))] | |
17454 | get_ItemByOid: usize, | |
17455 | } | |
17456 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17457 | #[cfg(feature = "Win32_System_Com")] | |
17458 | #[repr(transparent)] | |
17459 | pub struct IX509EndorsementKey(::windows::core::IUnknown); | |
17460 | #[cfg(feature = "Win32_System_Com")] | |
17461 | impl IX509EndorsementKey { | |
17462 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17463 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17464 | (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17465 | } | |
17466 | pub unsafe fn SetProviderName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
17467 | where | |
17468 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17469 | { | |
17470 | (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
17471 | } | |
17472 | pub unsafe fn Length(&self) -> ::windows::core::Result<i32> { | |
17473 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17474 | (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17475 | } | |
17476 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17477 | #[cfg(feature = "Win32_Foundation")] | |
17478 | pub unsafe fn Opened(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
17479 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
17480 | (::windows::core::Interface::vtable(self).Opened)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17481 | } | |
17482 | pub unsafe fn AddCertificate<P0>(&self, encoding: EncodingType, strcertificate: P0) -> ::windows::core::Result<()> | |
17483 | where | |
17484 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17485 | { | |
17486 | (::windows::core::Interface::vtable(self).AddCertificate)(::windows::core::Interface::as_raw(self), encoding, strcertificate.into_param().abi()).ok() | |
17487 | } | |
17488 | pub unsafe fn RemoveCertificate<P0>(&self, encoding: EncodingType, strcertificate: P0) -> ::windows::core::Result<()> | |
17489 | where | |
17490 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17491 | { | |
17492 | (::windows::core::Interface::vtable(self).RemoveCertificate)(::windows::core::Interface::as_raw(self), encoding, strcertificate.into_param().abi()).ok() | |
17493 | } | |
17494 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17495 | #[cfg(feature = "Win32_Foundation")] | |
17496 | pub unsafe fn GetCertificateByIndex<P0>(&self, manufactureronly: P0, dwindex: i32, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
17497 | where | |
17498 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
17499 | { | |
17500 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17501 | (::windows::core::Interface::vtable(self).GetCertificateByIndex)(::windows::core::Interface::as_raw(self), manufactureronly.into_param().abi(), dwindex, encoding, &mut result__).from_abi(result__) | |
17502 | } | |
17503 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17504 | #[cfg(feature = "Win32_Foundation")] | |
17505 | pub unsafe fn GetCertificateCount<P0>(&self, manufactureronly: P0) -> ::windows::core::Result<i32> | |
17506 | where | |
17507 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
17508 | { | |
17509 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17510 | (::windows::core::Interface::vtable(self).GetCertificateCount)(::windows::core::Interface::as_raw(self), manufactureronly.into_param().abi(), &mut result__).from_abi(result__) | |
17511 | } | |
17512 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17513 | #[cfg(feature = "Win32_System_Com")] | |
17514 | pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
17515 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
17516 | (::windows::core::Interface::vtable(self).ExportPublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17517 | } | |
17518 | pub unsafe fn Open(&self) -> ::windows::core::Result<()> { | |
17519 | (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self)).ok() | |
17520 | } | |
17521 | pub unsafe fn Close(&self) -> ::windows::core::Result<()> { | |
17522 | (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() | |
17523 | } | |
17524 | } | |
17525 | #[cfg(feature = "Win32_System_Com")] | |
17526 | ::windows::imp::interface_hierarchy!(IX509EndorsementKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17527 | #[cfg(feature = "Win32_System_Com")] | |
17528 | impl ::core::cmp::PartialEq for IX509EndorsementKey { | |
17529 | fn eq(&self, other: &Self) -> bool { | |
17530 | self.0 == other.0 | |
17531 | } | |
17532 | } | |
17533 | #[cfg(feature = "Win32_System_Com")] | |
17534 | impl ::core::cmp::Eq for IX509EndorsementKey {} | |
17535 | #[cfg(feature = "Win32_System_Com")] | |
17536 | impl ::core::fmt::Debug for IX509EndorsementKey { | |
17537 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17538 | f.debug_tuple("IX509EndorsementKey").field(&self.0).finish() | |
17539 | } | |
17540 | } | |
17541 | #[cfg(feature = "Win32_System_Com")] | |
17542 | unsafe impl ::windows::core::Interface for IX509EndorsementKey { | |
17543 | type Vtable = IX509EndorsementKey_Vtbl; | |
17544 | } | |
17545 | #[cfg(feature = "Win32_System_Com")] | |
17546 | impl ::core::clone::Clone for IX509EndorsementKey { | |
17547 | fn clone(&self) -> Self { | |
17548 | Self(self.0.clone()) | |
17549 | } | |
17550 | } | |
17551 | #[cfg(feature = "Win32_System_Com")] | |
17552 | unsafe impl ::windows::core::ComInterface for IX509EndorsementKey { | |
17553 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb11cd855_f4c4_4fc6_b710_4422237f09e9); | |
17554 | } | |
17555 | #[cfg(feature = "Win32_System_Com")] | |
17556 | #[repr(C)] | |
17557 | #[doc(hidden)] | |
17558 | pub struct IX509EndorsementKey_Vtbl { | |
17559 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17560 | pub ProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17561 | pub SetProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17562 | pub Length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
17563 | #[cfg(feature = "Win32_Foundation")] | |
17564 | pub Opened: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
17565 | #[cfg(not(feature = "Win32_Foundation"))] | |
17566 | Opened: usize, | |
17567 | pub AddCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17568 | pub RemoveCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strcertificate: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17569 | #[cfg(feature = "Win32_Foundation")] | |
17570 | pub GetCertificateByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manufactureronly: super::super::super::Foundation::VARIANT_BOOL, dwindex: i32, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17571 | #[cfg(not(feature = "Win32_Foundation"))] | |
17572 | GetCertificateByIndex: usize, | |
17573 | #[cfg(feature = "Win32_Foundation")] | |
17574 | pub GetCertificateCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manufactureronly: super::super::super::Foundation::VARIANT_BOOL, pcount: *mut i32) -> ::windows::core::HRESULT, | |
17575 | #[cfg(not(feature = "Win32_Foundation"))] | |
17576 | GetCertificateCount: usize, | |
17577 | #[cfg(feature = "Win32_System_Com")] | |
17578 | pub ExportPublicKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppublickey: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17579 | #[cfg(not(feature = "Win32_System_Com"))] | |
17580 | ExportPublicKey: usize, | |
17581 | pub Open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17582 | pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17583 | } | |
17584 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17585 | #[cfg(feature = "Win32_System_Com")] | |
17586 | #[repr(transparent)] | |
17587 | pub struct IX509Enrollment(::windows::core::IUnknown); | |
17588 | #[cfg(feature = "Win32_System_Com")] | |
17589 | impl IX509Enrollment { | |
17590 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
17591 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
17592 | } | |
17593 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
17594 | where | |
17595 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17596 | { | |
17597 | (::windows::core::Interface::vtable(self).InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
17598 | } | |
17599 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17600 | #[cfg(feature = "Win32_System_Com")] | |
17601 | pub unsafe fn InitializeFromRequest<P0>(&self, prequest: P0) -> ::windows::core::Result<()> | |
17602 | where | |
17603 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
17604 | { | |
17605 | (::windows::core::Interface::vtable(self).InitializeFromRequest)(::windows::core::Interface::as_raw(self), prequest.into_param().abi()).ok() | |
17606 | } | |
17607 | pub unsafe fn CreateRequest(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17608 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17609 | (::windows::core::Interface::vtable(self).CreateRequest)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17610 | } | |
17611 | pub unsafe fn Enroll(&self) -> ::windows::core::Result<()> { | |
17612 | (::windows::core::Interface::vtable(self).Enroll)(::windows::core::Interface::as_raw(self)).ok() | |
17613 | } | |
17614 | pub unsafe fn InstallResponse<P0, P1>(&self, restrictions: InstallResponseRestrictionFlags, strresponse: P0, encoding: EncodingType, strpassword: P1) -> ::windows::core::Result<()> | |
17615 | where | |
17616 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17617 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17618 | { | |
17619 | (::windows::core::Interface::vtable(self).InstallResponse)(::windows::core::Interface::as_raw(self), restrictions, strresponse.into_param().abi(), encoding, strpassword.into_param().abi()).ok() | |
17620 | } | |
17621 | pub unsafe fn CreatePFX<P0>(&self, strpassword: P0, exportoptions: PFXExportOptions, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
17622 | where | |
17623 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17624 | { | |
17625 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17626 | (::windows::core::Interface::vtable(self).CreatePFX)(::windows::core::Interface::as_raw(self), strpassword.into_param().abi(), exportoptions, encoding, &mut result__).from_abi(result__) | |
17627 | } | |
17628 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17629 | #[cfg(feature = "Win32_System_Com")] | |
17630 | pub unsafe fn Request(&self) -> ::windows::core::Result<IX509CertificateRequest> { | |
17631 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
17632 | (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17633 | } | |
17634 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17635 | #[cfg(feature = "Win32_Foundation")] | |
17636 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
17637 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
17638 | (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17639 | } | |
17640 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17641 | #[cfg(feature = "Win32_Foundation")] | |
17642 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
17643 | where | |
17644 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
17645 | { | |
17646 | (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
17647 | } | |
17648 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
17649 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17650 | (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17651 | } | |
17652 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
17653 | (::windows::core::Interface::vtable(self).SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
17654 | } | |
17655 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17656 | #[cfg(feature = "Win32_System_Com")] | |
17657 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
17658 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
17659 | (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17660 | } | |
17661 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
17662 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
17663 | (::windows::core::Interface::vtable(self).EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17664 | } | |
17665 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17666 | #[cfg(feature = "Win32_System_Com")] | |
17667 | pub unsafe fn Status(&self) -> ::windows::core::Result<IX509EnrollmentStatus> { | |
17668 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentStatus>(); | |
17669 | (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17670 | } | |
17671 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17672 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17673 | (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17674 | } | |
17675 | pub unsafe fn get_Response(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17676 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17677 | (::windows::core::Interface::vtable(self).get_Response)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17678 | } | |
17679 | pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17680 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17681 | (::windows::core::Interface::vtable(self).CertificateFriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17682 | } | |
17683 | pub unsafe fn SetCertificateFriendlyName<P0>(&self, strvalue: P0) -> ::windows::core::Result<()> | |
17684 | where | |
17685 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17686 | { | |
17687 | (::windows::core::Interface::vtable(self).SetCertificateFriendlyName)(::windows::core::Interface::as_raw(self), strvalue.into_param().abi()).ok() | |
17688 | } | |
17689 | pub unsafe fn CertificateDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17690 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17691 | (::windows::core::Interface::vtable(self).CertificateDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17692 | } | |
17693 | pub unsafe fn SetCertificateDescription<P0>(&self, strvalue: P0) -> ::windows::core::Result<()> | |
17694 | where | |
17695 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17696 | { | |
17697 | (::windows::core::Interface::vtable(self).SetCertificateDescription)(::windows::core::Interface::as_raw(self), strvalue.into_param().abi()).ok() | |
17698 | } | |
17699 | pub unsafe fn RequestId(&self) -> ::windows::core::Result<i32> { | |
17700 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17701 | (::windows::core::Interface::vtable(self).RequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17702 | } | |
17703 | pub unsafe fn CAConfigString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17704 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17705 | (::windows::core::Interface::vtable(self).CAConfigString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17706 | } | |
17707 | } | |
17708 | #[cfg(feature = "Win32_System_Com")] | |
17709 | ::windows::imp::interface_hierarchy!(IX509Enrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
17710 | #[cfg(feature = "Win32_System_Com")] | |
17711 | impl ::core::cmp::PartialEq for IX509Enrollment { | |
17712 | fn eq(&self, other: &Self) -> bool { | |
17713 | self.0 == other.0 | |
17714 | } | |
17715 | } | |
17716 | #[cfg(feature = "Win32_System_Com")] | |
17717 | impl ::core::cmp::Eq for IX509Enrollment {} | |
17718 | #[cfg(feature = "Win32_System_Com")] | |
17719 | impl ::core::fmt::Debug for IX509Enrollment { | |
17720 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17721 | f.debug_tuple("IX509Enrollment").field(&self.0).finish() | |
17722 | } | |
17723 | } | |
17724 | #[cfg(feature = "Win32_System_Com")] | |
17725 | unsafe impl ::windows::core::Interface for IX509Enrollment { | |
17726 | type Vtable = IX509Enrollment_Vtbl; | |
17727 | } | |
17728 | #[cfg(feature = "Win32_System_Com")] | |
17729 | impl ::core::clone::Clone for IX509Enrollment { | |
17730 | fn clone(&self) -> Self { | |
17731 | Self(self.0.clone()) | |
17732 | } | |
17733 | } | |
17734 | #[cfg(feature = "Win32_System_Com")] | |
17735 | unsafe impl ::windows::core::ComInterface for IX509Enrollment { | |
17736 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab346_217d_11da_b2a4_000e7bbb2b09); | |
17737 | } | |
17738 | #[cfg(feature = "Win32_System_Com")] | |
17739 | #[repr(C)] | |
17740 | #[doc(hidden)] | |
17741 | pub struct IX509Enrollment_Vtbl { | |
17742 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
17743 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
17744 | pub InitializeFromTemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17745 | #[cfg(feature = "Win32_System_Com")] | |
17746 | pub InitializeFromRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prequest: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17747 | #[cfg(not(feature = "Win32_System_Com"))] | |
17748 | InitializeFromRequest: usize, | |
17749 | pub CreateRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17750 | pub Enroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17751 | pub InstallResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17752 | pub CreatePFX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>, exportoptions: PFXExportOptions, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17753 | #[cfg(feature = "Win32_System_Com")] | |
17754 | pub Request: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17755 | #[cfg(not(feature = "Win32_System_Com"))] | |
17756 | Request: usize, | |
17757 | #[cfg(feature = "Win32_Foundation")] | |
17758 | pub Silent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
17759 | #[cfg(not(feature = "Win32_Foundation"))] | |
17760 | Silent: usize, | |
17761 | #[cfg(feature = "Win32_Foundation")] | |
17762 | pub SetSilent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
17763 | #[cfg(not(feature = "Win32_Foundation"))] | |
17764 | SetSilent: usize, | |
17765 | pub ParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
17766 | pub SetParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
17767 | #[cfg(feature = "Win32_System_Com")] | |
17768 | pub NameValuePairs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17769 | #[cfg(not(feature = "Win32_System_Com"))] | |
17770 | NameValuePairs: usize, | |
17771 | pub EnrollmentContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
17772 | #[cfg(feature = "Win32_System_Com")] | |
17773 | pub Status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17774 | #[cfg(not(feature = "Win32_System_Com"))] | |
17775 | Status: usize, | |
17776 | pub get_Certificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17777 | pub get_Response: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17778 | pub CertificateFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17779 | pub SetCertificateFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17780 | pub CertificateDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17781 | pub SetCertificateDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17782 | pub RequestId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
17783 | pub CAConfigString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17784 | } | |
17785 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17786 | #[cfg(feature = "Win32_System_Com")] | |
17787 | #[repr(transparent)] | |
17788 | pub struct IX509Enrollment2(::windows::core::IUnknown); | |
17789 | #[cfg(feature = "Win32_System_Com")] | |
17790 | impl IX509Enrollment2 { | |
17791 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
17792 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
17793 | } | |
17794 | pub unsafe fn InitializeFromTemplateName<P0>(&self, context: X509CertificateEnrollmentContext, strtemplatename: P0) -> ::windows::core::Result<()> | |
17795 | where | |
17796 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17797 | { | |
17798 | (::windows::core::Interface::vtable(self).base__.InitializeFromTemplateName)(::windows::core::Interface::as_raw(self), context, strtemplatename.into_param().abi()).ok() | |
17799 | } | |
17800 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17801 | #[cfg(feature = "Win32_System_Com")] | |
17802 | pub unsafe fn InitializeFromRequest<P0>(&self, prequest: P0) -> ::windows::core::Result<()> | |
17803 | where | |
17804 | P0: ::windows::core::IntoParam<IX509CertificateRequest>, | |
17805 | { | |
17806 | (::windows::core::Interface::vtable(self).base__.InitializeFromRequest)(::windows::core::Interface::as_raw(self), prequest.into_param().abi()).ok() | |
17807 | } | |
17808 | pub unsafe fn CreateRequest(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17809 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17810 | (::windows::core::Interface::vtable(self).base__.CreateRequest)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17811 | } | |
17812 | pub unsafe fn Enroll(&self) -> ::windows::core::Result<()> { | |
17813 | (::windows::core::Interface::vtable(self).base__.Enroll)(::windows::core::Interface::as_raw(self)).ok() | |
17814 | } | |
17815 | pub unsafe fn InstallResponse<P0, P1>(&self, restrictions: InstallResponseRestrictionFlags, strresponse: P0, encoding: EncodingType, strpassword: P1) -> ::windows::core::Result<()> | |
17816 | where | |
17817 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17818 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17819 | { | |
17820 | (::windows::core::Interface::vtable(self).base__.InstallResponse)(::windows::core::Interface::as_raw(self), restrictions, strresponse.into_param().abi(), encoding, strpassword.into_param().abi()).ok() | |
17821 | } | |
17822 | pub unsafe fn CreatePFX<P0>(&self, strpassword: P0, exportoptions: PFXExportOptions, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
17823 | where | |
17824 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17825 | { | |
17826 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17827 | (::windows::core::Interface::vtable(self).base__.CreatePFX)(::windows::core::Interface::as_raw(self), strpassword.into_param().abi(), exportoptions, encoding, &mut result__).from_abi(result__) | |
17828 | } | |
17829 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17830 | #[cfg(feature = "Win32_System_Com")] | |
17831 | pub unsafe fn Request(&self) -> ::windows::core::Result<IX509CertificateRequest> { | |
17832 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequest>(); | |
17833 | (::windows::core::Interface::vtable(self).base__.Request)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17834 | } | |
17835 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17836 | #[cfg(feature = "Win32_Foundation")] | |
17837 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
17838 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
17839 | (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17840 | } | |
17841 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
17842 | #[cfg(feature = "Win32_Foundation")] | |
17843 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
17844 | where | |
17845 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
17846 | { | |
17847 | (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
17848 | } | |
17849 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
17850 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17851 | (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17852 | } | |
17853 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
17854 | (::windows::core::Interface::vtable(self).base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
17855 | } | |
17856 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17857 | #[cfg(feature = "Win32_System_Com")] | |
17858 | pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result<IX509NameValuePairs> { | |
17859 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePairs>(); | |
17860 | (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17861 | } | |
17862 | pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result<X509CertificateEnrollmentContext> { | |
17863 | let mut result__ = ::windows::core::zeroed::<X509CertificateEnrollmentContext>(); | |
17864 | (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17865 | } | |
17866 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17867 | #[cfg(feature = "Win32_System_Com")] | |
17868 | pub unsafe fn Status(&self) -> ::windows::core::Result<IX509EnrollmentStatus> { | |
17869 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentStatus>(); | |
17870 | (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17871 | } | |
17872 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17873 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17874 | (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17875 | } | |
17876 | pub unsafe fn get_Response(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
17877 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17878 | (::windows::core::Interface::vtable(self).base__.get_Response)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
17879 | } | |
17880 | pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17881 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17882 | (::windows::core::Interface::vtable(self).base__.CertificateFriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17883 | } | |
17884 | pub unsafe fn SetCertificateFriendlyName<P0>(&self, strvalue: P0) -> ::windows::core::Result<()> | |
17885 | where | |
17886 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17887 | { | |
17888 | (::windows::core::Interface::vtable(self).base__.SetCertificateFriendlyName)(::windows::core::Interface::as_raw(self), strvalue.into_param().abi()).ok() | |
17889 | } | |
17890 | pub unsafe fn CertificateDescription(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17891 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17892 | (::windows::core::Interface::vtable(self).base__.CertificateDescription)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17893 | } | |
17894 | pub unsafe fn SetCertificateDescription<P0>(&self, strvalue: P0) -> ::windows::core::Result<()> | |
17895 | where | |
17896 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17897 | { | |
17898 | (::windows::core::Interface::vtable(self).base__.SetCertificateDescription)(::windows::core::Interface::as_raw(self), strvalue.into_param().abi()).ok() | |
17899 | } | |
17900 | pub unsafe fn RequestId(&self) -> ::windows::core::Result<i32> { | |
17901 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
17902 | (::windows::core::Interface::vtable(self).base__.RequestId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17903 | } | |
17904 | pub unsafe fn CAConfigString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17905 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17906 | (::windows::core::Interface::vtable(self).base__.CAConfigString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17907 | } | |
17908 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17909 | #[cfg(feature = "Win32_System_Com")] | |
17910 | pub unsafe fn InitializeFromTemplate<P0, P1>(&self, context: X509CertificateEnrollmentContext, ppolicyserver: P0, ptemplate: P1) -> ::windows::core::Result<()> | |
17911 | where | |
17912 | P0: ::windows::core::IntoParam<IX509EnrollmentPolicyServer>, | |
17913 | P1: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
17914 | { | |
17915 | (::windows::core::Interface::vtable(self).InitializeFromTemplate)(::windows::core::Interface::as_raw(self), context, ppolicyserver.into_param().abi(), ptemplate.into_param().abi()).ok() | |
17916 | } | |
17917 | pub unsafe fn InstallResponse2<P0, P1, P2, P3>(&self, restrictions: InstallResponseRestrictionFlags, strresponse: P0, encoding: EncodingType, strpassword: P1, strenrollmentpolicyserverurl: P2, strenrollmentpolicyserverid: P3, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags) -> ::windows::core::Result<()> | |
17918 | where | |
17919 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17920 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17921 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17922 | P3: ::windows::core::IntoParam<::windows::core::BSTR>, | |
17923 | { | |
17924 | (::windows::core::Interface::vtable(self).InstallResponse2)(::windows::core::Interface::as_raw(self), restrictions, strresponse.into_param().abi(), encoding, strpassword.into_param().abi(), strenrollmentpolicyserverurl.into_param().abi(), strenrollmentpolicyserverid.into_param().abi(), enrollmentpolicyserverflags, authflags).ok() | |
17925 | } | |
17926 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17927 | #[cfg(feature = "Win32_System_Com")] | |
17928 | pub unsafe fn PolicyServer(&self) -> ::windows::core::Result<IX509EnrollmentPolicyServer> { | |
17929 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentPolicyServer>(); | |
17930 | (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17931 | } | |
17932 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
17933 | #[cfg(feature = "Win32_System_Com")] | |
17934 | pub unsafe fn Template(&self) -> ::windows::core::Result<IX509CertificateTemplate> { | |
17935 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplate>(); | |
17936 | (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17937 | } | |
17938 | pub unsafe fn RequestIdString(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
17939 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
17940 | (::windows::core::Interface::vtable(self).RequestIdString)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
17941 | } | |
17942 | } | |
17943 | #[cfg(feature = "Win32_System_Com")] | |
17944 | ::windows::imp::interface_hierarchy!(IX509Enrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Enrollment); | |
17945 | #[cfg(feature = "Win32_System_Com")] | |
17946 | impl ::core::cmp::PartialEq for IX509Enrollment2 { | |
17947 | fn eq(&self, other: &Self) -> bool { | |
17948 | self.0 == other.0 | |
17949 | } | |
17950 | } | |
17951 | #[cfg(feature = "Win32_System_Com")] | |
17952 | impl ::core::cmp::Eq for IX509Enrollment2 {} | |
17953 | #[cfg(feature = "Win32_System_Com")] | |
17954 | impl ::core::fmt::Debug for IX509Enrollment2 { | |
17955 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
17956 | f.debug_tuple("IX509Enrollment2").field(&self.0).finish() | |
17957 | } | |
17958 | } | |
17959 | #[cfg(feature = "Win32_System_Com")] | |
17960 | unsafe impl ::windows::core::Interface for IX509Enrollment2 { | |
17961 | type Vtable = IX509Enrollment2_Vtbl; | |
17962 | } | |
17963 | #[cfg(feature = "Win32_System_Com")] | |
17964 | impl ::core::clone::Clone for IX509Enrollment2 { | |
17965 | fn clone(&self) -> Self { | |
17966 | Self(self.0.clone()) | |
17967 | } | |
17968 | } | |
17969 | #[cfg(feature = "Win32_System_Com")] | |
17970 | unsafe impl ::windows::core::ComInterface for IX509Enrollment2 { | |
17971 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab350_217d_11da_b2a4_000e7bbb2b09); | |
17972 | } | |
17973 | #[cfg(feature = "Win32_System_Com")] | |
17974 | #[repr(C)] | |
17975 | #[doc(hidden)] | |
17976 | pub struct IX509Enrollment2_Vtbl { | |
17977 | pub base__: IX509Enrollment_Vtbl, | |
17978 | #[cfg(feature = "Win32_System_Com")] | |
17979 | pub InitializeFromTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, ppolicyserver: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17980 | #[cfg(not(feature = "Win32_System_Com"))] | |
17981 | InitializeFromTemplate: usize, | |
17982 | pub InstallResponse2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>, strenrollmentpolicyserverurl: ::std::mem::MaybeUninit<::windows::core::BSTR>, strenrollmentpolicyserverid: ::std::mem::MaybeUninit<::windows::core::BSTR>, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
17983 | #[cfg(feature = "Win32_System_Com")] | |
17984 | pub PolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppolicyserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17985 | #[cfg(not(feature = "Win32_System_Com"))] | |
17986 | PolicyServer: usize, | |
17987 | #[cfg(feature = "Win32_System_Com")] | |
17988 | pub Template: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptemplate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
17989 | #[cfg(not(feature = "Win32_System_Com"))] | |
17990 | Template: usize, | |
17991 | pub RequestIdString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
17992 | } | |
17993 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
17994 | #[cfg(feature = "Win32_System_Com")] | |
17995 | #[repr(transparent)] | |
17996 | pub struct IX509EnrollmentHelper(::windows::core::IUnknown); | |
17997 | #[cfg(feature = "Win32_System_Com")] | |
17998 | impl IX509EnrollmentHelper { | |
17999 | pub unsafe fn AddPolicyServer<P0, P1, P2, P3>(&self, strenrollmentpolicyserveruri: P0, strenrollmentpolicyid: P1, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags, strcredential: P2, strpassword: P3) -> ::windows::core::Result<()> | |
18000 | where | |
18001 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18002 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18003 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18004 | P3: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18005 | { | |
18006 | (::windows::core::Interface::vtable(self).AddPolicyServer)(::windows::core::Interface::as_raw(self), strenrollmentpolicyserveruri.into_param().abi(), strenrollmentpolicyid.into_param().abi(), enrollmentpolicyserverflags, authflags, strcredential.into_param().abi(), strpassword.into_param().abi()).ok() | |
18007 | } | |
18008 | pub unsafe fn AddEnrollmentServer<P0, P1, P2>(&self, strenrollmentserveruri: P0, authflags: X509EnrollmentAuthFlags, strcredential: P1, strpassword: P2) -> ::windows::core::Result<()> | |
18009 | where | |
18010 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18011 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18012 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18013 | { | |
18014 | (::windows::core::Interface::vtable(self).AddEnrollmentServer)(::windows::core::Interface::as_raw(self), strenrollmentserveruri.into_param().abi(), authflags, strcredential.into_param().abi(), strpassword.into_param().abi()).ok() | |
18015 | } | |
18016 | pub unsafe fn Enroll<P0, P1>(&self, strenrollmentpolicyserveruri: P0, strtemplatename: P1, encoding: EncodingType, enrollflags: WebEnrollmentFlags) -> ::windows::core::Result<::windows::core::BSTR> | |
18017 | where | |
18018 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18019 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18020 | { | |
18021 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18022 | (::windows::core::Interface::vtable(self).Enroll)(::windows::core::Interface::as_raw(self), strenrollmentpolicyserveruri.into_param().abi(), strtemplatename.into_param().abi(), encoding, enrollflags, &mut result__).from_abi(result__) | |
18023 | } | |
18024 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
18025 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
18026 | } | |
18027 | } | |
18028 | #[cfg(feature = "Win32_System_Com")] | |
18029 | ::windows::imp::interface_hierarchy!(IX509EnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
18030 | #[cfg(feature = "Win32_System_Com")] | |
18031 | impl ::core::cmp::PartialEq for IX509EnrollmentHelper { | |
18032 | fn eq(&self, other: &Self) -> bool { | |
18033 | self.0 == other.0 | |
18034 | } | |
18035 | } | |
18036 | #[cfg(feature = "Win32_System_Com")] | |
18037 | impl ::core::cmp::Eq for IX509EnrollmentHelper {} | |
18038 | #[cfg(feature = "Win32_System_Com")] | |
18039 | impl ::core::fmt::Debug for IX509EnrollmentHelper { | |
18040 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18041 | f.debug_tuple("IX509EnrollmentHelper").field(&self.0).finish() | |
18042 | } | |
18043 | } | |
18044 | #[cfg(feature = "Win32_System_Com")] | |
18045 | unsafe impl ::windows::core::Interface for IX509EnrollmentHelper { | |
18046 | type Vtable = IX509EnrollmentHelper_Vtbl; | |
18047 | } | |
18048 | #[cfg(feature = "Win32_System_Com")] | |
18049 | impl ::core::clone::Clone for IX509EnrollmentHelper { | |
18050 | fn clone(&self) -> Self { | |
18051 | Self(self.0.clone()) | |
18052 | } | |
18053 | } | |
18054 | #[cfg(feature = "Win32_System_Com")] | |
18055 | unsafe impl ::windows::core::ComInterface for IX509EnrollmentHelper { | |
18056 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab351_217d_11da_b2a4_000e7bbb2b09); | |
18057 | } | |
18058 | #[cfg(feature = "Win32_System_Com")] | |
18059 | #[repr(C)] | |
18060 | #[doc(hidden)] | |
18061 | pub struct IX509EnrollmentHelper_Vtbl { | |
18062 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
18063 | pub AddPolicyServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strenrollmentpolicyserveruri: ::std::mem::MaybeUninit<::windows::core::BSTR>, strenrollmentpolicyid: ::std::mem::MaybeUninit<::windows::core::BSTR>, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags, strcredential: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18064 | pub AddEnrollmentServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strenrollmentserveruri: ::std::mem::MaybeUninit<::windows::core::BSTR>, authflags: X509EnrollmentAuthFlags, strcredential: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18065 | pub Enroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strenrollmentpolicyserveruri: ::std::mem::MaybeUninit<::windows::core::BSTR>, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, enrollflags: WebEnrollmentFlags, pstrcertificate: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18066 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
18067 | } | |
18068 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18069 | #[cfg(feature = "Win32_System_Com")] | |
18070 | #[repr(transparent)] | |
18071 | pub struct IX509EnrollmentPolicyServer(::windows::core::IUnknown); | |
18072 | #[cfg(feature = "Win32_System_Com")] | |
18073 | impl IX509EnrollmentPolicyServer { | |
18074 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18075 | #[cfg(feature = "Win32_Foundation")] | |
18076 | pub unsafe fn Initialize<P0, P1, P2>(&self, bstrpolicyserverurl: P0, bstrpolicyserverid: P1, authflags: X509EnrollmentAuthFlags, fisuntrusted: P2, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> | |
18077 | where | |
18078 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18079 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18080 | P2: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18081 | { | |
18082 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), bstrpolicyserverurl.into_param().abi(), bstrpolicyserverid.into_param().abi(), authflags, fisuntrusted.into_param().abi(), context).ok() | |
18083 | } | |
18084 | pub unsafe fn LoadPolicy(&self, option: X509EnrollmentPolicyLoadOption) -> ::windows::core::Result<()> { | |
18085 | (::windows::core::Interface::vtable(self).LoadPolicy)(::windows::core::Interface::as_raw(self), option).ok() | |
18086 | } | |
18087 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18088 | #[cfg(feature = "Win32_System_Com")] | |
18089 | pub unsafe fn GetTemplates(&self) -> ::windows::core::Result<IX509CertificateTemplates> { | |
18090 | let mut result__ = ::windows::core::zeroed::<IX509CertificateTemplates>(); | |
18091 | (::windows::core::Interface::vtable(self).GetTemplates)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18092 | } | |
18093 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18094 | #[cfg(feature = "Win32_System_Com")] | |
18095 | pub unsafe fn GetCAsForTemplate<P0>(&self, ptemplate: P0) -> ::windows::core::Result<ICertificationAuthorities> | |
18096 | where | |
18097 | P0: ::windows::core::IntoParam<IX509CertificateTemplate>, | |
18098 | { | |
18099 | let mut result__ = ::windows::core::zeroed::<ICertificationAuthorities>(); | |
18100 | (::windows::core::Interface::vtable(self).GetCAsForTemplate)(::windows::core::Interface::as_raw(self), ptemplate.into_param().abi(), &mut result__).from_abi(result__) | |
18101 | } | |
18102 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18103 | #[cfg(feature = "Win32_System_Com")] | |
18104 | pub unsafe fn GetCAs(&self) -> ::windows::core::Result<ICertificationAuthorities> { | |
18105 | let mut result__ = ::windows::core::zeroed::<ICertificationAuthorities>(); | |
18106 | (::windows::core::Interface::vtable(self).GetCAs)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18107 | } | |
18108 | pub unsafe fn Validate(&self) -> ::windows::core::Result<()> { | |
18109 | (::windows::core::Interface::vtable(self).Validate)(::windows::core::Interface::as_raw(self)).ok() | |
18110 | } | |
18111 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18112 | #[cfg(feature = "Win32_System_Com")] | |
18113 | pub unsafe fn GetCustomOids(&self) -> ::windows::core::Result<IObjectIds> { | |
18114 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
18115 | (::windows::core::Interface::vtable(self).GetCustomOids)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18116 | } | |
18117 | pub unsafe fn GetNextUpdateTime(&self) -> ::windows::core::Result<f64> { | |
18118 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
18119 | (::windows::core::Interface::vtable(self).GetNextUpdateTime)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18120 | } | |
18121 | pub unsafe fn GetLastUpdateTime(&self) -> ::windows::core::Result<f64> { | |
18122 | let mut result__ = ::windows::core::zeroed::<f64>(); | |
18123 | (::windows::core::Interface::vtable(self).GetLastUpdateTime)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18124 | } | |
18125 | pub unsafe fn GetPolicyServerUrl(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18126 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18127 | (::windows::core::Interface::vtable(self).GetPolicyServerUrl)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18128 | } | |
18129 | pub unsafe fn GetPolicyServerId(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18130 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18131 | (::windows::core::Interface::vtable(self).GetPolicyServerId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18132 | } | |
18133 | pub unsafe fn GetFriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18134 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18135 | (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18136 | } | |
18137 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18138 | #[cfg(feature = "Win32_Foundation")] | |
18139 | pub unsafe fn GetIsDefaultCEP(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18140 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18141 | (::windows::core::Interface::vtable(self).GetIsDefaultCEP)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18142 | } | |
18143 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18144 | #[cfg(feature = "Win32_Foundation")] | |
18145 | pub unsafe fn GetUseClientId(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18146 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18147 | (::windows::core::Interface::vtable(self).GetUseClientId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18148 | } | |
18149 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18150 | #[cfg(feature = "Win32_Foundation")] | |
18151 | pub unsafe fn GetAllowUnTrustedCA(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18152 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18153 | (::windows::core::Interface::vtable(self).GetAllowUnTrustedCA)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18154 | } | |
18155 | pub unsafe fn GetCachePath(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18156 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18157 | (::windows::core::Interface::vtable(self).GetCachePath)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18158 | } | |
18159 | pub unsafe fn GetCacheDir(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18160 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18161 | (::windows::core::Interface::vtable(self).GetCacheDir)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18162 | } | |
18163 | pub unsafe fn GetAuthFlags(&self) -> ::windows::core::Result<X509EnrollmentAuthFlags> { | |
18164 | let mut result__ = ::windows::core::zeroed::<X509EnrollmentAuthFlags>(); | |
18165 | (::windows::core::Interface::vtable(self).GetAuthFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18166 | } | |
18167 | pub unsafe fn SetCredential<P0, P1>(&self, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: P0, strpassword: P1) -> ::windows::core::Result<()> | |
18168 | where | |
18169 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18170 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18171 | { | |
18172 | (::windows::core::Interface::vtable(self).SetCredential)(::windows::core::Interface::as_raw(self), hwndparent, flag, strcredential.into_param().abi(), strpassword.into_param().abi()).ok() | |
18173 | } | |
18174 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18175 | #[cfg(feature = "Win32_Foundation")] | |
18176 | pub unsafe fn QueryChanges(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18177 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18178 | (::windows::core::Interface::vtable(self).QueryChanges)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18179 | } | |
18180 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
18181 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
18182 | pub unsafe fn InitializeImport(&self, val: super::super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { | |
18183 | (::windows::core::Interface::vtable(self).InitializeImport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(val)).ok() | |
18184 | } | |
18185 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] | |
18186 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
18187 | pub unsafe fn Export(&self, exportflags: X509EnrollmentPolicyExportFlags) -> ::windows::core::Result<super::super::super::System::Com::VARIANT> { | |
18188 | let mut result__ = ::windows::core::zeroed::<super::super::super::System::Com::VARIANT>(); | |
18189 | (::windows::core::Interface::vtable(self).Export)(::windows::core::Interface::as_raw(self), exportflags, &mut result__).from_abi(result__) | |
18190 | } | |
18191 | pub unsafe fn Cost(&self) -> ::windows::core::Result<u32> { | |
18192 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
18193 | (::windows::core::Interface::vtable(self).Cost)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18194 | } | |
18195 | pub unsafe fn SetCost(&self, value: u32) -> ::windows::core::Result<()> { | |
18196 | (::windows::core::Interface::vtable(self).SetCost)(::windows::core::Interface::as_raw(self), value).ok() | |
18197 | } | |
18198 | } | |
18199 | #[cfg(feature = "Win32_System_Com")] | |
18200 | ::windows::imp::interface_hierarchy!(IX509EnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
18201 | #[cfg(feature = "Win32_System_Com")] | |
18202 | impl ::core::cmp::PartialEq for IX509EnrollmentPolicyServer { | |
18203 | fn eq(&self, other: &Self) -> bool { | |
18204 | self.0 == other.0 | |
18205 | } | |
18206 | } | |
18207 | #[cfg(feature = "Win32_System_Com")] | |
18208 | impl ::core::cmp::Eq for IX509EnrollmentPolicyServer {} | |
18209 | #[cfg(feature = "Win32_System_Com")] | |
18210 | impl ::core::fmt::Debug for IX509EnrollmentPolicyServer { | |
18211 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18212 | f.debug_tuple("IX509EnrollmentPolicyServer").field(&self.0).finish() | |
18213 | } | |
18214 | } | |
18215 | #[cfg(feature = "Win32_System_Com")] | |
18216 | unsafe impl ::windows::core::Interface for IX509EnrollmentPolicyServer { | |
18217 | type Vtable = IX509EnrollmentPolicyServer_Vtbl; | |
18218 | } | |
18219 | #[cfg(feature = "Win32_System_Com")] | |
18220 | impl ::core::clone::Clone for IX509EnrollmentPolicyServer { | |
18221 | fn clone(&self) -> Self { | |
18222 | Self(self.0.clone()) | |
18223 | } | |
18224 | } | |
18225 | #[cfg(feature = "Win32_System_Com")] | |
18226 | unsafe impl ::windows::core::ComInterface for IX509EnrollmentPolicyServer { | |
18227 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13b79026_2181_11da_b2a4_000e7bbb2b09); | |
18228 | } | |
18229 | #[cfg(feature = "Win32_System_Com")] | |
18230 | #[repr(C)] | |
18231 | #[doc(hidden)] | |
18232 | pub struct IX509EnrollmentPolicyServer_Vtbl { | |
18233 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
18234 | #[cfg(feature = "Win32_Foundation")] | |
18235 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpolicyserverurl: ::std::mem::MaybeUninit<::windows::core::BSTR>, bstrpolicyserverid: ::std::mem::MaybeUninit<::windows::core::BSTR>, authflags: X509EnrollmentAuthFlags, fisuntrusted: super::super::super::Foundation::VARIANT_BOOL, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
18236 | #[cfg(not(feature = "Win32_Foundation"))] | |
18237 | Initialize: usize, | |
18238 | pub LoadPolicy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: X509EnrollmentPolicyLoadOption) -> ::windows::core::HRESULT, | |
18239 | #[cfg(feature = "Win32_System_Com")] | |
18240 | pub GetTemplates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptemplates: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18241 | #[cfg(not(feature = "Win32_System_Com"))] | |
18242 | GetTemplates: usize, | |
18243 | #[cfg(feature = "Win32_System_Com")] | |
18244 | pub GetCAsForTemplate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptemplate: *mut ::core::ffi::c_void, ppcas: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18245 | #[cfg(not(feature = "Win32_System_Com"))] | |
18246 | GetCAsForTemplate: usize, | |
18247 | #[cfg(feature = "Win32_System_Com")] | |
18248 | pub GetCAs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcas: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18249 | #[cfg(not(feature = "Win32_System_Com"))] | |
18250 | GetCAs: usize, | |
18251 | pub Validate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18252 | #[cfg(feature = "Win32_System_Com")] | |
18253 | pub GetCustomOids: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppobjectids: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18254 | #[cfg(not(feature = "Win32_System_Com"))] | |
18255 | GetCustomOids: usize, | |
18256 | pub GetNextUpdateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdate: *mut f64) -> ::windows::core::HRESULT, | |
18257 | pub GetLastUpdateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdate: *mut f64) -> ::windows::core::HRESULT, | |
18258 | pub GetPolicyServerUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18259 | pub GetPolicyServerId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18260 | pub GetFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18261 | #[cfg(feature = "Win32_Foundation")] | |
18262 | pub GetIsDefaultCEP: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18263 | #[cfg(not(feature = "Win32_Foundation"))] | |
18264 | GetIsDefaultCEP: usize, | |
18265 | #[cfg(feature = "Win32_Foundation")] | |
18266 | pub GetUseClientId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18267 | #[cfg(not(feature = "Win32_Foundation"))] | |
18268 | GetUseClientId: usize, | |
18269 | #[cfg(feature = "Win32_Foundation")] | |
18270 | pub GetAllowUnTrustedCA: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18271 | #[cfg(not(feature = "Win32_Foundation"))] | |
18272 | GetAllowUnTrustedCA: usize, | |
18273 | pub GetCachePath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18274 | pub GetCacheDir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18275 | pub GetAuthFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
18276 | pub SetCredential: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: ::std::mem::MaybeUninit<::windows::core::BSTR>, strpassword: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18277 | #[cfg(feature = "Win32_Foundation")] | |
18278 | pub QueryChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18279 | #[cfg(not(feature = "Win32_Foundation"))] | |
18280 | QueryChanges: usize, | |
18281 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
18282 | pub InitializeImport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, val: super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
18283 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
18284 | InitializeImport: usize, | |
18285 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] | |
18286 | pub Export: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, exportflags: X509EnrollmentPolicyExportFlags, pval: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, | |
18287 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] | |
18288 | Export: usize, | |
18289 | pub Cost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut u32) -> ::windows::core::HRESULT, | |
18290 | pub SetCost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: u32) -> ::windows::core::HRESULT, | |
18291 | } | |
18292 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18293 | #[cfg(feature = "Win32_System_Com")] | |
18294 | #[repr(transparent)] | |
18295 | pub struct IX509EnrollmentStatus(::windows::core::IUnknown); | |
18296 | #[cfg(feature = "Win32_System_Com")] | |
18297 | impl IX509EnrollmentStatus { | |
18298 | pub unsafe fn AppendText<P0>(&self, strtext: P0) -> ::windows::core::Result<()> | |
18299 | where | |
18300 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18301 | { | |
18302 | (::windows::core::Interface::vtable(self).AppendText)(::windows::core::Interface::as_raw(self), strtext.into_param().abi()).ok() | |
18303 | } | |
18304 | pub unsafe fn Text(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18305 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18306 | (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18307 | } | |
18308 | pub unsafe fn SetText<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18309 | where | |
18310 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18311 | { | |
18312 | (::windows::core::Interface::vtable(self).SetText)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18313 | } | |
18314 | pub unsafe fn Selected(&self) -> ::windows::core::Result<EnrollmentSelectionStatus> { | |
18315 | let mut result__ = ::windows::core::zeroed::<EnrollmentSelectionStatus>(); | |
18316 | (::windows::core::Interface::vtable(self).Selected)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18317 | } | |
18318 | pub unsafe fn SetSelected(&self, value: EnrollmentSelectionStatus) -> ::windows::core::Result<()> { | |
18319 | (::windows::core::Interface::vtable(self).SetSelected)(::windows::core::Interface::as_raw(self), value).ok() | |
18320 | } | |
18321 | pub unsafe fn Display(&self) -> ::windows::core::Result<EnrollmentDisplayStatus> { | |
18322 | let mut result__ = ::windows::core::zeroed::<EnrollmentDisplayStatus>(); | |
18323 | (::windows::core::Interface::vtable(self).Display)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18324 | } | |
18325 | pub unsafe fn SetDisplay(&self, value: EnrollmentDisplayStatus) -> ::windows::core::Result<()> { | |
18326 | (::windows::core::Interface::vtable(self).SetDisplay)(::windows::core::Interface::as_raw(self), value).ok() | |
18327 | } | |
18328 | pub unsafe fn Status(&self) -> ::windows::core::Result<EnrollmentEnrollStatus> { | |
18329 | let mut result__ = ::windows::core::zeroed::<EnrollmentEnrollStatus>(); | |
18330 | (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18331 | } | |
18332 | pub unsafe fn SetStatus(&self, value: EnrollmentEnrollStatus) -> ::windows::core::Result<()> { | |
18333 | (::windows::core::Interface::vtable(self).SetStatus)(::windows::core::Interface::as_raw(self), value).ok() | |
18334 | } | |
18335 | pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { | |
18336 | let mut result__ = ::windows::core::zeroed::<::windows::core::HRESULT>(); | |
18337 | (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18338 | } | |
18339 | pub unsafe fn SetError(&self, value: ::windows::core::HRESULT) -> ::windows::core::Result<()> { | |
18340 | (::windows::core::Interface::vtable(self).SetError)(::windows::core::Interface::as_raw(self), value).ok() | |
18341 | } | |
18342 | pub unsafe fn ErrorText(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
18343 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18344 | (::windows::core::Interface::vtable(self).ErrorText)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18345 | } | |
18346 | } | |
18347 | #[cfg(feature = "Win32_System_Com")] | |
18348 | ::windows::imp::interface_hierarchy!(IX509EnrollmentStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
18349 | #[cfg(feature = "Win32_System_Com")] | |
18350 | impl ::core::cmp::PartialEq for IX509EnrollmentStatus { | |
18351 | fn eq(&self, other: &Self) -> bool { | |
18352 | self.0 == other.0 | |
18353 | } | |
18354 | } | |
18355 | #[cfg(feature = "Win32_System_Com")] | |
18356 | impl ::core::cmp::Eq for IX509EnrollmentStatus {} | |
18357 | #[cfg(feature = "Win32_System_Com")] | |
18358 | impl ::core::fmt::Debug for IX509EnrollmentStatus { | |
18359 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18360 | f.debug_tuple("IX509EnrollmentStatus").field(&self.0).finish() | |
18361 | } | |
18362 | } | |
18363 | #[cfg(feature = "Win32_System_Com")] | |
18364 | unsafe impl ::windows::core::Interface for IX509EnrollmentStatus { | |
18365 | type Vtable = IX509EnrollmentStatus_Vtbl; | |
18366 | } | |
18367 | #[cfg(feature = "Win32_System_Com")] | |
18368 | impl ::core::clone::Clone for IX509EnrollmentStatus { | |
18369 | fn clone(&self) -> Self { | |
18370 | Self(self.0.clone()) | |
18371 | } | |
18372 | } | |
18373 | #[cfg(feature = "Win32_System_Com")] | |
18374 | unsafe impl ::windows::core::ComInterface for IX509EnrollmentStatus { | |
18375 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab304_217d_11da_b2a4_000e7bbb2b09); | |
18376 | } | |
18377 | #[cfg(feature = "Win32_System_Com")] | |
18378 | #[repr(C)] | |
18379 | #[doc(hidden)] | |
18380 | pub struct IX509EnrollmentStatus_Vtbl { | |
18381 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
18382 | pub AppendText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strtext: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18383 | pub Text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18384 | pub SetText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18385 | pub Selected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut EnrollmentSelectionStatus) -> ::windows::core::HRESULT, | |
18386 | pub SetSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: EnrollmentSelectionStatus) -> ::windows::core::HRESULT, | |
18387 | pub Display: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut EnrollmentDisplayStatus) -> ::windows::core::HRESULT, | |
18388 | pub SetDisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: EnrollmentDisplayStatus) -> ::windows::core::HRESULT, | |
18389 | pub Status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut EnrollmentEnrollStatus) -> ::windows::core::HRESULT, | |
18390 | pub SetStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: EnrollmentEnrollStatus) -> ::windows::core::HRESULT, | |
18391 | pub Error: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT, | |
18392 | pub SetError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::HRESULT) -> ::windows::core::HRESULT, | |
18393 | pub ErrorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18394 | } | |
18395 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18396 | #[cfg(feature = "Win32_System_Com")] | |
18397 | #[repr(transparent)] | |
18398 | pub struct IX509EnrollmentWebClassFactory(::windows::core::IUnknown); | |
18399 | #[cfg(feature = "Win32_System_Com")] | |
18400 | impl IX509EnrollmentWebClassFactory { | |
18401 | pub unsafe fn CreateObject<P0>(&self, strprogid: P0) -> ::windows::core::Result<::windows::core::IUnknown> | |
18402 | where | |
18403 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18404 | { | |
18405 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
18406 | (::windows::core::Interface::vtable(self).CreateObject)(::windows::core::Interface::as_raw(self), strprogid.into_param().abi(), &mut result__).from_abi(result__) | |
18407 | } | |
18408 | } | |
18409 | #[cfg(feature = "Win32_System_Com")] | |
18410 | ::windows::imp::interface_hierarchy!(IX509EnrollmentWebClassFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
18411 | #[cfg(feature = "Win32_System_Com")] | |
18412 | impl ::core::cmp::PartialEq for IX509EnrollmentWebClassFactory { | |
18413 | fn eq(&self, other: &Self) -> bool { | |
18414 | self.0 == other.0 | |
18415 | } | |
18416 | } | |
18417 | #[cfg(feature = "Win32_System_Com")] | |
18418 | impl ::core::cmp::Eq for IX509EnrollmentWebClassFactory {} | |
18419 | #[cfg(feature = "Win32_System_Com")] | |
18420 | impl ::core::fmt::Debug for IX509EnrollmentWebClassFactory { | |
18421 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18422 | f.debug_tuple("IX509EnrollmentWebClassFactory").field(&self.0).finish() | |
18423 | } | |
18424 | } | |
18425 | #[cfg(feature = "Win32_System_Com")] | |
18426 | unsafe impl ::windows::core::Interface for IX509EnrollmentWebClassFactory { | |
18427 | type Vtable = IX509EnrollmentWebClassFactory_Vtbl; | |
18428 | } | |
18429 | #[cfg(feature = "Win32_System_Com")] | |
18430 | impl ::core::clone::Clone for IX509EnrollmentWebClassFactory { | |
18431 | fn clone(&self) -> Self { | |
18432 | Self(self.0.clone()) | |
18433 | } | |
18434 | } | |
18435 | #[cfg(feature = "Win32_System_Com")] | |
18436 | unsafe impl ::windows::core::ComInterface for IX509EnrollmentWebClassFactory { | |
18437 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab349_217d_11da_b2a4_000e7bbb2b09); | |
18438 | } | |
18439 | #[cfg(feature = "Win32_System_Com")] | |
18440 | #[repr(C)] | |
18441 | #[doc(hidden)] | |
18442 | pub struct IX509EnrollmentWebClassFactory_Vtbl { | |
18443 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
18444 | pub CreateObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strprogid: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppiunknown: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18445 | } | |
18446 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18447 | #[cfg(feature = "Win32_System_Com")] | |
18448 | #[repr(transparent)] | |
18449 | pub struct IX509Extension(::windows::core::IUnknown); | |
18450 | #[cfg(feature = "Win32_System_Com")] | |
18451 | impl IX509Extension { | |
18452 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18453 | #[cfg(feature = "Win32_System_Com")] | |
18454 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18455 | where | |
18456 | P0: ::windows::core::IntoParam<IObjectId>, | |
18457 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18458 | { | |
18459 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18460 | } | |
18461 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18462 | #[cfg(feature = "Win32_System_Com")] | |
18463 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18464 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18465 | (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18466 | } | |
18467 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18468 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18469 | (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18470 | } | |
18471 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18472 | #[cfg(feature = "Win32_Foundation")] | |
18473 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18474 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18475 | (::windows::core::Interface::vtable(self).Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18476 | } | |
18477 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18478 | #[cfg(feature = "Win32_Foundation")] | |
18479 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18480 | where | |
18481 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18482 | { | |
18483 | (::windows::core::Interface::vtable(self).SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18484 | } | |
18485 | } | |
18486 | #[cfg(feature = "Win32_System_Com")] | |
18487 | ::windows::imp::interface_hierarchy!(IX509Extension, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
18488 | #[cfg(feature = "Win32_System_Com")] | |
18489 | impl ::core::cmp::PartialEq for IX509Extension { | |
18490 | fn eq(&self, other: &Self) -> bool { | |
18491 | self.0 == other.0 | |
18492 | } | |
18493 | } | |
18494 | #[cfg(feature = "Win32_System_Com")] | |
18495 | impl ::core::cmp::Eq for IX509Extension {} | |
18496 | #[cfg(feature = "Win32_System_Com")] | |
18497 | impl ::core::fmt::Debug for IX509Extension { | |
18498 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18499 | f.debug_tuple("IX509Extension").field(&self.0).finish() | |
18500 | } | |
18501 | } | |
18502 | #[cfg(feature = "Win32_System_Com")] | |
18503 | unsafe impl ::windows::core::Interface for IX509Extension { | |
18504 | type Vtable = IX509Extension_Vtbl; | |
18505 | } | |
18506 | #[cfg(feature = "Win32_System_Com")] | |
18507 | impl ::core::clone::Clone for IX509Extension { | |
18508 | fn clone(&self) -> Self { | |
18509 | Self(self.0.clone()) | |
18510 | } | |
18511 | } | |
18512 | #[cfg(feature = "Win32_System_Com")] | |
18513 | unsafe impl ::windows::core::ComInterface for IX509Extension { | |
18514 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30d_217d_11da_b2a4_000e7bbb2b09); | |
18515 | } | |
18516 | #[cfg(feature = "Win32_System_Com")] | |
18517 | #[repr(C)] | |
18518 | #[doc(hidden)] | |
18519 | pub struct IX509Extension_Vtbl { | |
18520 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
18521 | #[cfg(feature = "Win32_System_Com")] | |
18522 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18523 | #[cfg(not(feature = "Win32_System_Com"))] | |
18524 | Initialize: usize, | |
18525 | #[cfg(feature = "Win32_System_Com")] | |
18526 | pub ObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18527 | #[cfg(not(feature = "Win32_System_Com"))] | |
18528 | ObjectId: usize, | |
18529 | pub get_RawData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18530 | #[cfg(feature = "Win32_Foundation")] | |
18531 | pub Critical: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18532 | #[cfg(not(feature = "Win32_Foundation"))] | |
18533 | Critical: usize, | |
18534 | #[cfg(feature = "Win32_Foundation")] | |
18535 | pub SetCritical: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18536 | #[cfg(not(feature = "Win32_Foundation"))] | |
18537 | SetCritical: usize, | |
18538 | } | |
18539 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18540 | #[cfg(feature = "Win32_System_Com")] | |
18541 | #[repr(transparent)] | |
18542 | pub struct IX509ExtensionAlternativeNames(::windows::core::IUnknown); | |
18543 | #[cfg(feature = "Win32_System_Com")] | |
18544 | impl IX509ExtensionAlternativeNames { | |
18545 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18546 | #[cfg(feature = "Win32_System_Com")] | |
18547 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18548 | where | |
18549 | P0: ::windows::core::IntoParam<IObjectId>, | |
18550 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18551 | { | |
18552 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18553 | } | |
18554 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18555 | #[cfg(feature = "Win32_System_Com")] | |
18556 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18557 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18558 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18559 | } | |
18560 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18561 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18562 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18563 | } | |
18564 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18565 | #[cfg(feature = "Win32_Foundation")] | |
18566 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18567 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18568 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18569 | } | |
18570 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18571 | #[cfg(feature = "Win32_Foundation")] | |
18572 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18573 | where | |
18574 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18575 | { | |
18576 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18577 | } | |
18578 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18579 | #[cfg(feature = "Win32_System_Com")] | |
18580 | pub unsafe fn InitializeEncode<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
18581 | where | |
18582 | P0: ::windows::core::IntoParam<IAlternativeNames>, | |
18583 | { | |
18584 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
18585 | } | |
18586 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
18587 | where | |
18588 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18589 | { | |
18590 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
18591 | } | |
18592 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18593 | #[cfg(feature = "Win32_System_Com")] | |
18594 | pub unsafe fn AlternativeNames(&self) -> ::windows::core::Result<IAlternativeNames> { | |
18595 | let mut result__ = ::windows::core::zeroed::<IAlternativeNames>(); | |
18596 | (::windows::core::Interface::vtable(self).AlternativeNames)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18597 | } | |
18598 | } | |
18599 | #[cfg(feature = "Win32_System_Com")] | |
18600 | ::windows::imp::interface_hierarchy!(IX509ExtensionAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
18601 | #[cfg(feature = "Win32_System_Com")] | |
18602 | impl ::core::cmp::PartialEq for IX509ExtensionAlternativeNames { | |
18603 | fn eq(&self, other: &Self) -> bool { | |
18604 | self.0 == other.0 | |
18605 | } | |
18606 | } | |
18607 | #[cfg(feature = "Win32_System_Com")] | |
18608 | impl ::core::cmp::Eq for IX509ExtensionAlternativeNames {} | |
18609 | #[cfg(feature = "Win32_System_Com")] | |
18610 | impl ::core::fmt::Debug for IX509ExtensionAlternativeNames { | |
18611 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18612 | f.debug_tuple("IX509ExtensionAlternativeNames").field(&self.0).finish() | |
18613 | } | |
18614 | } | |
18615 | #[cfg(feature = "Win32_System_Com")] | |
18616 | unsafe impl ::windows::core::Interface for IX509ExtensionAlternativeNames { | |
18617 | type Vtable = IX509ExtensionAlternativeNames_Vtbl; | |
18618 | } | |
18619 | #[cfg(feature = "Win32_System_Com")] | |
18620 | impl ::core::clone::Clone for IX509ExtensionAlternativeNames { | |
18621 | fn clone(&self) -> Self { | |
18622 | Self(self.0.clone()) | |
18623 | } | |
18624 | } | |
18625 | #[cfg(feature = "Win32_System_Com")] | |
18626 | unsafe impl ::windows::core::ComInterface for IX509ExtensionAlternativeNames { | |
18627 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab315_217d_11da_b2a4_000e7bbb2b09); | |
18628 | } | |
18629 | #[cfg(feature = "Win32_System_Com")] | |
18630 | #[repr(C)] | |
18631 | #[doc(hidden)] | |
18632 | pub struct IX509ExtensionAlternativeNames_Vtbl { | |
18633 | pub base__: IX509Extension_Vtbl, | |
18634 | #[cfg(feature = "Win32_System_Com")] | |
18635 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18636 | #[cfg(not(feature = "Win32_System_Com"))] | |
18637 | InitializeEncode: usize, | |
18638 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18639 | #[cfg(feature = "Win32_System_Com")] | |
18640 | pub AlternativeNames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18641 | #[cfg(not(feature = "Win32_System_Com"))] | |
18642 | AlternativeNames: usize, | |
18643 | } | |
18644 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18645 | #[cfg(feature = "Win32_System_Com")] | |
18646 | #[repr(transparent)] | |
18647 | pub struct IX509ExtensionAuthorityKeyIdentifier(::windows::core::IUnknown); | |
18648 | #[cfg(feature = "Win32_System_Com")] | |
18649 | impl IX509ExtensionAuthorityKeyIdentifier { | |
18650 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18651 | #[cfg(feature = "Win32_System_Com")] | |
18652 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18653 | where | |
18654 | P0: ::windows::core::IntoParam<IObjectId>, | |
18655 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18656 | { | |
18657 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18658 | } | |
18659 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18660 | #[cfg(feature = "Win32_System_Com")] | |
18661 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18662 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18663 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18664 | } | |
18665 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18666 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18667 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18668 | } | |
18669 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18670 | #[cfg(feature = "Win32_Foundation")] | |
18671 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18672 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18673 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18674 | } | |
18675 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18676 | #[cfg(feature = "Win32_Foundation")] | |
18677 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18678 | where | |
18679 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18680 | { | |
18681 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18682 | } | |
18683 | pub unsafe fn InitializeEncode<P0>(&self, encoding: EncodingType, strkeyidentifier: P0) -> ::windows::core::Result<()> | |
18684 | where | |
18685 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18686 | { | |
18687 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), encoding, strkeyidentifier.into_param().abi()).ok() | |
18688 | } | |
18689 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
18690 | where | |
18691 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18692 | { | |
18693 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
18694 | } | |
18695 | pub unsafe fn get_AuthorityKeyIdentifier(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18696 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18697 | (::windows::core::Interface::vtable(self).get_AuthorityKeyIdentifier)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18698 | } | |
18699 | } | |
18700 | #[cfg(feature = "Win32_System_Com")] | |
18701 | ::windows::imp::interface_hierarchy!(IX509ExtensionAuthorityKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
18702 | #[cfg(feature = "Win32_System_Com")] | |
18703 | impl ::core::cmp::PartialEq for IX509ExtensionAuthorityKeyIdentifier { | |
18704 | fn eq(&self, other: &Self) -> bool { | |
18705 | self.0 == other.0 | |
18706 | } | |
18707 | } | |
18708 | #[cfg(feature = "Win32_System_Com")] | |
18709 | impl ::core::cmp::Eq for IX509ExtensionAuthorityKeyIdentifier {} | |
18710 | #[cfg(feature = "Win32_System_Com")] | |
18711 | impl ::core::fmt::Debug for IX509ExtensionAuthorityKeyIdentifier { | |
18712 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18713 | f.debug_tuple("IX509ExtensionAuthorityKeyIdentifier").field(&self.0).finish() | |
18714 | } | |
18715 | } | |
18716 | #[cfg(feature = "Win32_System_Com")] | |
18717 | unsafe impl ::windows::core::Interface for IX509ExtensionAuthorityKeyIdentifier { | |
18718 | type Vtable = IX509ExtensionAuthorityKeyIdentifier_Vtbl; | |
18719 | } | |
18720 | #[cfg(feature = "Win32_System_Com")] | |
18721 | impl ::core::clone::Clone for IX509ExtensionAuthorityKeyIdentifier { | |
18722 | fn clone(&self) -> Self { | |
18723 | Self(self.0.clone()) | |
18724 | } | |
18725 | } | |
18726 | #[cfg(feature = "Win32_System_Com")] | |
18727 | unsafe impl ::windows::core::ComInterface for IX509ExtensionAuthorityKeyIdentifier { | |
18728 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab318_217d_11da_b2a4_000e7bbb2b09); | |
18729 | } | |
18730 | #[cfg(feature = "Win32_System_Com")] | |
18731 | #[repr(C)] | |
18732 | #[doc(hidden)] | |
18733 | pub struct IX509ExtensionAuthorityKeyIdentifier_Vtbl { | |
18734 | pub base__: IX509Extension_Vtbl, | |
18735 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strkeyidentifier: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18736 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18737 | pub get_AuthorityKeyIdentifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18738 | } | |
18739 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18740 | #[cfg(feature = "Win32_System_Com")] | |
18741 | #[repr(transparent)] | |
18742 | pub struct IX509ExtensionBasicConstraints(::windows::core::IUnknown); | |
18743 | #[cfg(feature = "Win32_System_Com")] | |
18744 | impl IX509ExtensionBasicConstraints { | |
18745 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18746 | #[cfg(feature = "Win32_System_Com")] | |
18747 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18748 | where | |
18749 | P0: ::windows::core::IntoParam<IObjectId>, | |
18750 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18751 | { | |
18752 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18753 | } | |
18754 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18755 | #[cfg(feature = "Win32_System_Com")] | |
18756 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18757 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18758 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18759 | } | |
18760 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18761 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18762 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18763 | } | |
18764 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18765 | #[cfg(feature = "Win32_Foundation")] | |
18766 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18767 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18768 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18769 | } | |
18770 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18771 | #[cfg(feature = "Win32_Foundation")] | |
18772 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18773 | where | |
18774 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18775 | { | |
18776 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18777 | } | |
18778 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18779 | #[cfg(feature = "Win32_Foundation")] | |
18780 | pub unsafe fn InitializeEncode<P0>(&self, isca: P0, pathlenconstraint: i32) -> ::windows::core::Result<()> | |
18781 | where | |
18782 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18783 | { | |
18784 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), isca.into_param().abi(), pathlenconstraint).ok() | |
18785 | } | |
18786 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
18787 | where | |
18788 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18789 | { | |
18790 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
18791 | } | |
18792 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18793 | #[cfg(feature = "Win32_Foundation")] | |
18794 | pub unsafe fn IsCA(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18795 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18796 | (::windows::core::Interface::vtable(self).IsCA)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18797 | } | |
18798 | pub unsafe fn PathLenConstraint(&self) -> ::windows::core::Result<i32> { | |
18799 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
18800 | (::windows::core::Interface::vtable(self).PathLenConstraint)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18801 | } | |
18802 | } | |
18803 | #[cfg(feature = "Win32_System_Com")] | |
18804 | ::windows::imp::interface_hierarchy!(IX509ExtensionBasicConstraints, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
18805 | #[cfg(feature = "Win32_System_Com")] | |
18806 | impl ::core::cmp::PartialEq for IX509ExtensionBasicConstraints { | |
18807 | fn eq(&self, other: &Self) -> bool { | |
18808 | self.0 == other.0 | |
18809 | } | |
18810 | } | |
18811 | #[cfg(feature = "Win32_System_Com")] | |
18812 | impl ::core::cmp::Eq for IX509ExtensionBasicConstraints {} | |
18813 | #[cfg(feature = "Win32_System_Com")] | |
18814 | impl ::core::fmt::Debug for IX509ExtensionBasicConstraints { | |
18815 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18816 | f.debug_tuple("IX509ExtensionBasicConstraints").field(&self.0).finish() | |
18817 | } | |
18818 | } | |
18819 | #[cfg(feature = "Win32_System_Com")] | |
18820 | unsafe impl ::windows::core::Interface for IX509ExtensionBasicConstraints { | |
18821 | type Vtable = IX509ExtensionBasicConstraints_Vtbl; | |
18822 | } | |
18823 | #[cfg(feature = "Win32_System_Com")] | |
18824 | impl ::core::clone::Clone for IX509ExtensionBasicConstraints { | |
18825 | fn clone(&self) -> Self { | |
18826 | Self(self.0.clone()) | |
18827 | } | |
18828 | } | |
18829 | #[cfg(feature = "Win32_System_Com")] | |
18830 | unsafe impl ::windows::core::ComInterface for IX509ExtensionBasicConstraints { | |
18831 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab316_217d_11da_b2a4_000e7bbb2b09); | |
18832 | } | |
18833 | #[cfg(feature = "Win32_System_Com")] | |
18834 | #[repr(C)] | |
18835 | #[doc(hidden)] | |
18836 | pub struct IX509ExtensionBasicConstraints_Vtbl { | |
18837 | pub base__: IX509Extension_Vtbl, | |
18838 | #[cfg(feature = "Win32_Foundation")] | |
18839 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, isca: super::super::super::Foundation::VARIANT_BOOL, pathlenconstraint: i32) -> ::windows::core::HRESULT, | |
18840 | #[cfg(not(feature = "Win32_Foundation"))] | |
18841 | InitializeEncode: usize, | |
18842 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18843 | #[cfg(feature = "Win32_Foundation")] | |
18844 | pub IsCA: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
18845 | #[cfg(not(feature = "Win32_Foundation"))] | |
18846 | IsCA: usize, | |
18847 | pub PathLenConstraint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
18848 | } | |
18849 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18850 | #[cfg(feature = "Win32_System_Com")] | |
18851 | #[repr(transparent)] | |
18852 | pub struct IX509ExtensionCertificatePolicies(::windows::core::IUnknown); | |
18853 | #[cfg(feature = "Win32_System_Com")] | |
18854 | impl IX509ExtensionCertificatePolicies { | |
18855 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18856 | #[cfg(feature = "Win32_System_Com")] | |
18857 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18858 | where | |
18859 | P0: ::windows::core::IntoParam<IObjectId>, | |
18860 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18861 | { | |
18862 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18863 | } | |
18864 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18865 | #[cfg(feature = "Win32_System_Com")] | |
18866 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18867 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18868 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18869 | } | |
18870 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18871 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18872 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18873 | } | |
18874 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18875 | #[cfg(feature = "Win32_Foundation")] | |
18876 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18877 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18878 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18879 | } | |
18880 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18881 | #[cfg(feature = "Win32_Foundation")] | |
18882 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18883 | where | |
18884 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18885 | { | |
18886 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18887 | } | |
18888 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18889 | #[cfg(feature = "Win32_System_Com")] | |
18890 | pub unsafe fn InitializeEncode<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
18891 | where | |
18892 | P0: ::windows::core::IntoParam<ICertificatePolicies>, | |
18893 | { | |
18894 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
18895 | } | |
18896 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
18897 | where | |
18898 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18899 | { | |
18900 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
18901 | } | |
18902 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18903 | #[cfg(feature = "Win32_System_Com")] | |
18904 | pub unsafe fn Policies(&self) -> ::windows::core::Result<ICertificatePolicies> { | |
18905 | let mut result__ = ::windows::core::zeroed::<ICertificatePolicies>(); | |
18906 | (::windows::core::Interface::vtable(self).Policies)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18907 | } | |
18908 | } | |
18909 | #[cfg(feature = "Win32_System_Com")] | |
18910 | ::windows::imp::interface_hierarchy!(IX509ExtensionCertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
18911 | #[cfg(feature = "Win32_System_Com")] | |
18912 | impl ::core::cmp::PartialEq for IX509ExtensionCertificatePolicies { | |
18913 | fn eq(&self, other: &Self) -> bool { | |
18914 | self.0 == other.0 | |
18915 | } | |
18916 | } | |
18917 | #[cfg(feature = "Win32_System_Com")] | |
18918 | impl ::core::cmp::Eq for IX509ExtensionCertificatePolicies {} | |
18919 | #[cfg(feature = "Win32_System_Com")] | |
18920 | impl ::core::fmt::Debug for IX509ExtensionCertificatePolicies { | |
18921 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
18922 | f.debug_tuple("IX509ExtensionCertificatePolicies").field(&self.0).finish() | |
18923 | } | |
18924 | } | |
18925 | #[cfg(feature = "Win32_System_Com")] | |
18926 | unsafe impl ::windows::core::Interface for IX509ExtensionCertificatePolicies { | |
18927 | type Vtable = IX509ExtensionCertificatePolicies_Vtbl; | |
18928 | } | |
18929 | #[cfg(feature = "Win32_System_Com")] | |
18930 | impl ::core::clone::Clone for IX509ExtensionCertificatePolicies { | |
18931 | fn clone(&self) -> Self { | |
18932 | Self(self.0.clone()) | |
18933 | } | |
18934 | } | |
18935 | #[cfg(feature = "Win32_System_Com")] | |
18936 | unsafe impl ::windows::core::ComInterface for IX509ExtensionCertificatePolicies { | |
18937 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab320_217d_11da_b2a4_000e7bbb2b09); | |
18938 | } | |
18939 | #[cfg(feature = "Win32_System_Com")] | |
18940 | #[repr(C)] | |
18941 | #[doc(hidden)] | |
18942 | pub struct IX509ExtensionCertificatePolicies_Vtbl { | |
18943 | pub base__: IX509Extension_Vtbl, | |
18944 | #[cfg(feature = "Win32_System_Com")] | |
18945 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18946 | #[cfg(not(feature = "Win32_System_Com"))] | |
18947 | InitializeEncode: usize, | |
18948 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
18949 | #[cfg(feature = "Win32_System_Com")] | |
18950 | pub Policies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
18951 | #[cfg(not(feature = "Win32_System_Com"))] | |
18952 | Policies: usize, | |
18953 | } | |
18954 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
18955 | #[cfg(feature = "Win32_System_Com")] | |
18956 | #[repr(transparent)] | |
18957 | pub struct IX509ExtensionEnhancedKeyUsage(::windows::core::IUnknown); | |
18958 | #[cfg(feature = "Win32_System_Com")] | |
18959 | impl IX509ExtensionEnhancedKeyUsage { | |
18960 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18961 | #[cfg(feature = "Win32_System_Com")] | |
18962 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
18963 | where | |
18964 | P0: ::windows::core::IntoParam<IObjectId>, | |
18965 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
18966 | { | |
18967 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
18968 | } | |
18969 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18970 | #[cfg(feature = "Win32_System_Com")] | |
18971 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
18972 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
18973 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18974 | } | |
18975 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
18976 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
18977 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
18978 | } | |
18979 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18980 | #[cfg(feature = "Win32_Foundation")] | |
18981 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
18982 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
18983 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
18984 | } | |
18985 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
18986 | #[cfg(feature = "Win32_Foundation")] | |
18987 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
18988 | where | |
18989 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
18990 | { | |
18991 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
18992 | } | |
18993 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
18994 | #[cfg(feature = "Win32_System_Com")] | |
18995 | pub unsafe fn InitializeEncode<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
18996 | where | |
18997 | P0: ::windows::core::IntoParam<IObjectIds>, | |
18998 | { | |
18999 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
19000 | } | |
19001 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19002 | where | |
19003 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19004 | { | |
19005 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19006 | } | |
19007 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19008 | #[cfg(feature = "Win32_System_Com")] | |
19009 | pub unsafe fn EnhancedKeyUsage(&self) -> ::windows::core::Result<IObjectIds> { | |
19010 | let mut result__ = ::windows::core::zeroed::<IObjectIds>(); | |
19011 | (::windows::core::Interface::vtable(self).EnhancedKeyUsage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19012 | } | |
19013 | } | |
19014 | #[cfg(feature = "Win32_System_Com")] | |
19015 | ::windows::imp::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19016 | #[cfg(feature = "Win32_System_Com")] | |
19017 | impl ::core::cmp::PartialEq for IX509ExtensionEnhancedKeyUsage { | |
19018 | fn eq(&self, other: &Self) -> bool { | |
19019 | self.0 == other.0 | |
19020 | } | |
19021 | } | |
19022 | #[cfg(feature = "Win32_System_Com")] | |
19023 | impl ::core::cmp::Eq for IX509ExtensionEnhancedKeyUsage {} | |
19024 | #[cfg(feature = "Win32_System_Com")] | |
19025 | impl ::core::fmt::Debug for IX509ExtensionEnhancedKeyUsage { | |
19026 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19027 | f.debug_tuple("IX509ExtensionEnhancedKeyUsage").field(&self.0).finish() | |
19028 | } | |
19029 | } | |
19030 | #[cfg(feature = "Win32_System_Com")] | |
19031 | unsafe impl ::windows::core::Interface for IX509ExtensionEnhancedKeyUsage { | |
19032 | type Vtable = IX509ExtensionEnhancedKeyUsage_Vtbl; | |
19033 | } | |
19034 | #[cfg(feature = "Win32_System_Com")] | |
19035 | impl ::core::clone::Clone for IX509ExtensionEnhancedKeyUsage { | |
19036 | fn clone(&self) -> Self { | |
19037 | Self(self.0.clone()) | |
19038 | } | |
19039 | } | |
19040 | #[cfg(feature = "Win32_System_Com")] | |
19041 | unsafe impl ::windows::core::ComInterface for IX509ExtensionEnhancedKeyUsage { | |
19042 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab310_217d_11da_b2a4_000e7bbb2b09); | |
19043 | } | |
19044 | #[cfg(feature = "Win32_System_Com")] | |
19045 | #[repr(C)] | |
19046 | #[doc(hidden)] | |
19047 | pub struct IX509ExtensionEnhancedKeyUsage_Vtbl { | |
19048 | pub base__: IX509Extension_Vtbl, | |
19049 | #[cfg(feature = "Win32_System_Com")] | |
19050 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19051 | #[cfg(not(feature = "Win32_System_Com"))] | |
19052 | InitializeEncode: usize, | |
19053 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19054 | #[cfg(feature = "Win32_System_Com")] | |
19055 | pub EnhancedKeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19056 | #[cfg(not(feature = "Win32_System_Com"))] | |
19057 | EnhancedKeyUsage: usize, | |
19058 | } | |
19059 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19060 | #[cfg(feature = "Win32_System_Com")] | |
19061 | #[repr(transparent)] | |
19062 | pub struct IX509ExtensionKeyUsage(::windows::core::IUnknown); | |
19063 | #[cfg(feature = "Win32_System_Com")] | |
19064 | impl IX509ExtensionKeyUsage { | |
19065 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19066 | #[cfg(feature = "Win32_System_Com")] | |
19067 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19068 | where | |
19069 | P0: ::windows::core::IntoParam<IObjectId>, | |
19070 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19071 | { | |
19072 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19073 | } | |
19074 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19075 | #[cfg(feature = "Win32_System_Com")] | |
19076 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19077 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19078 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19079 | } | |
19080 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19081 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19082 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19083 | } | |
19084 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19085 | #[cfg(feature = "Win32_Foundation")] | |
19086 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19087 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19088 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19089 | } | |
19090 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19091 | #[cfg(feature = "Win32_Foundation")] | |
19092 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19093 | where | |
19094 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19095 | { | |
19096 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19097 | } | |
19098 | pub unsafe fn InitializeEncode(&self, usageflags: X509KeyUsageFlags) -> ::windows::core::Result<()> { | |
19099 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), usageflags).ok() | |
19100 | } | |
19101 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19102 | where | |
19103 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19104 | { | |
19105 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19106 | } | |
19107 | pub unsafe fn KeyUsage(&self) -> ::windows::core::Result<X509KeyUsageFlags> { | |
19108 | let mut result__ = ::windows::core::zeroed::<X509KeyUsageFlags>(); | |
19109 | (::windows::core::Interface::vtable(self).KeyUsage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19110 | } | |
19111 | } | |
19112 | #[cfg(feature = "Win32_System_Com")] | |
19113 | ::windows::imp::interface_hierarchy!(IX509ExtensionKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19114 | #[cfg(feature = "Win32_System_Com")] | |
19115 | impl ::core::cmp::PartialEq for IX509ExtensionKeyUsage { | |
19116 | fn eq(&self, other: &Self) -> bool { | |
19117 | self.0 == other.0 | |
19118 | } | |
19119 | } | |
19120 | #[cfg(feature = "Win32_System_Com")] | |
19121 | impl ::core::cmp::Eq for IX509ExtensionKeyUsage {} | |
19122 | #[cfg(feature = "Win32_System_Com")] | |
19123 | impl ::core::fmt::Debug for IX509ExtensionKeyUsage { | |
19124 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19125 | f.debug_tuple("IX509ExtensionKeyUsage").field(&self.0).finish() | |
19126 | } | |
19127 | } | |
19128 | #[cfg(feature = "Win32_System_Com")] | |
19129 | unsafe impl ::windows::core::Interface for IX509ExtensionKeyUsage { | |
19130 | type Vtable = IX509ExtensionKeyUsage_Vtbl; | |
19131 | } | |
19132 | #[cfg(feature = "Win32_System_Com")] | |
19133 | impl ::core::clone::Clone for IX509ExtensionKeyUsage { | |
19134 | fn clone(&self) -> Self { | |
19135 | Self(self.0.clone()) | |
19136 | } | |
19137 | } | |
19138 | #[cfg(feature = "Win32_System_Com")] | |
19139 | unsafe impl ::windows::core::ComInterface for IX509ExtensionKeyUsage { | |
19140 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30f_217d_11da_b2a4_000e7bbb2b09); | |
19141 | } | |
19142 | #[cfg(feature = "Win32_System_Com")] | |
19143 | #[repr(C)] | |
19144 | #[doc(hidden)] | |
19145 | pub struct IX509ExtensionKeyUsage_Vtbl { | |
19146 | pub base__: IX509Extension_Vtbl, | |
19147 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usageflags: X509KeyUsageFlags) -> ::windows::core::HRESULT, | |
19148 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19149 | pub KeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509KeyUsageFlags) -> ::windows::core::HRESULT, | |
19150 | } | |
19151 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19152 | #[cfg(feature = "Win32_System_Com")] | |
19153 | #[repr(transparent)] | |
19154 | pub struct IX509ExtensionMSApplicationPolicies(::windows::core::IUnknown); | |
19155 | #[cfg(feature = "Win32_System_Com")] | |
19156 | impl IX509ExtensionMSApplicationPolicies { | |
19157 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19158 | #[cfg(feature = "Win32_System_Com")] | |
19159 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19160 | where | |
19161 | P0: ::windows::core::IntoParam<IObjectId>, | |
19162 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19163 | { | |
19164 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19165 | } | |
19166 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19167 | #[cfg(feature = "Win32_System_Com")] | |
19168 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19169 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19170 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19171 | } | |
19172 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19173 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19174 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19175 | } | |
19176 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19177 | #[cfg(feature = "Win32_Foundation")] | |
19178 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19179 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19180 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19181 | } | |
19182 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19183 | #[cfg(feature = "Win32_Foundation")] | |
19184 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19185 | where | |
19186 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19187 | { | |
19188 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19189 | } | |
19190 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19191 | #[cfg(feature = "Win32_System_Com")] | |
19192 | pub unsafe fn InitializeEncode<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
19193 | where | |
19194 | P0: ::windows::core::IntoParam<ICertificatePolicies>, | |
19195 | { | |
19196 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
19197 | } | |
19198 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19199 | where | |
19200 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19201 | { | |
19202 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19203 | } | |
19204 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19205 | #[cfg(feature = "Win32_System_Com")] | |
19206 | pub unsafe fn Policies(&self) -> ::windows::core::Result<ICertificatePolicies> { | |
19207 | let mut result__ = ::windows::core::zeroed::<ICertificatePolicies>(); | |
19208 | (::windows::core::Interface::vtable(self).Policies)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19209 | } | |
19210 | } | |
19211 | #[cfg(feature = "Win32_System_Com")] | |
19212 | ::windows::imp::interface_hierarchy!(IX509ExtensionMSApplicationPolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19213 | #[cfg(feature = "Win32_System_Com")] | |
19214 | impl ::core::cmp::PartialEq for IX509ExtensionMSApplicationPolicies { | |
19215 | fn eq(&self, other: &Self) -> bool { | |
19216 | self.0 == other.0 | |
19217 | } | |
19218 | } | |
19219 | #[cfg(feature = "Win32_System_Com")] | |
19220 | impl ::core::cmp::Eq for IX509ExtensionMSApplicationPolicies {} | |
19221 | #[cfg(feature = "Win32_System_Com")] | |
19222 | impl ::core::fmt::Debug for IX509ExtensionMSApplicationPolicies { | |
19223 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19224 | f.debug_tuple("IX509ExtensionMSApplicationPolicies").field(&self.0).finish() | |
19225 | } | |
19226 | } | |
19227 | #[cfg(feature = "Win32_System_Com")] | |
19228 | unsafe impl ::windows::core::Interface for IX509ExtensionMSApplicationPolicies { | |
19229 | type Vtable = IX509ExtensionMSApplicationPolicies_Vtbl; | |
19230 | } | |
19231 | #[cfg(feature = "Win32_System_Com")] | |
19232 | impl ::core::clone::Clone for IX509ExtensionMSApplicationPolicies { | |
19233 | fn clone(&self) -> Self { | |
19234 | Self(self.0.clone()) | |
19235 | } | |
19236 | } | |
19237 | #[cfg(feature = "Win32_System_Com")] | |
19238 | unsafe impl ::windows::core::ComInterface for IX509ExtensionMSApplicationPolicies { | |
19239 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab321_217d_11da_b2a4_000e7bbb2b09); | |
19240 | } | |
19241 | #[cfg(feature = "Win32_System_Com")] | |
19242 | #[repr(C)] | |
19243 | #[doc(hidden)] | |
19244 | pub struct IX509ExtensionMSApplicationPolicies_Vtbl { | |
19245 | pub base__: IX509Extension_Vtbl, | |
19246 | #[cfg(feature = "Win32_System_Com")] | |
19247 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19248 | #[cfg(not(feature = "Win32_System_Com"))] | |
19249 | InitializeEncode: usize, | |
19250 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19251 | #[cfg(feature = "Win32_System_Com")] | |
19252 | pub Policies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19253 | #[cfg(not(feature = "Win32_System_Com"))] | |
19254 | Policies: usize, | |
19255 | } | |
19256 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19257 | #[cfg(feature = "Win32_System_Com")] | |
19258 | #[repr(transparent)] | |
19259 | pub struct IX509ExtensionSmimeCapabilities(::windows::core::IUnknown); | |
19260 | #[cfg(feature = "Win32_System_Com")] | |
19261 | impl IX509ExtensionSmimeCapabilities { | |
19262 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19263 | #[cfg(feature = "Win32_System_Com")] | |
19264 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19265 | where | |
19266 | P0: ::windows::core::IntoParam<IObjectId>, | |
19267 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19268 | { | |
19269 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19270 | } | |
19271 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19272 | #[cfg(feature = "Win32_System_Com")] | |
19273 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19274 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19275 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19276 | } | |
19277 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19278 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19279 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19280 | } | |
19281 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19282 | #[cfg(feature = "Win32_Foundation")] | |
19283 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19284 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19285 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19286 | } | |
19287 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19288 | #[cfg(feature = "Win32_Foundation")] | |
19289 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19290 | where | |
19291 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19292 | { | |
19293 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19294 | } | |
19295 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19296 | #[cfg(feature = "Win32_System_Com")] | |
19297 | pub unsafe fn InitializeEncode<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
19298 | where | |
19299 | P0: ::windows::core::IntoParam<ISmimeCapabilities>, | |
19300 | { | |
19301 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
19302 | } | |
19303 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19304 | where | |
19305 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19306 | { | |
19307 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19308 | } | |
19309 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19310 | #[cfg(feature = "Win32_System_Com")] | |
19311 | pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result<ISmimeCapabilities> { | |
19312 | let mut result__ = ::windows::core::zeroed::<ISmimeCapabilities>(); | |
19313 | (::windows::core::Interface::vtable(self).SmimeCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19314 | } | |
19315 | } | |
19316 | #[cfg(feature = "Win32_System_Com")] | |
19317 | ::windows::imp::interface_hierarchy!(IX509ExtensionSmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19318 | #[cfg(feature = "Win32_System_Com")] | |
19319 | impl ::core::cmp::PartialEq for IX509ExtensionSmimeCapabilities { | |
19320 | fn eq(&self, other: &Self) -> bool { | |
19321 | self.0 == other.0 | |
19322 | } | |
19323 | } | |
19324 | #[cfg(feature = "Win32_System_Com")] | |
19325 | impl ::core::cmp::Eq for IX509ExtensionSmimeCapabilities {} | |
19326 | #[cfg(feature = "Win32_System_Com")] | |
19327 | impl ::core::fmt::Debug for IX509ExtensionSmimeCapabilities { | |
19328 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19329 | f.debug_tuple("IX509ExtensionSmimeCapabilities").field(&self.0).finish() | |
19330 | } | |
19331 | } | |
19332 | #[cfg(feature = "Win32_System_Com")] | |
19333 | unsafe impl ::windows::core::Interface for IX509ExtensionSmimeCapabilities { | |
19334 | type Vtable = IX509ExtensionSmimeCapabilities_Vtbl; | |
19335 | } | |
19336 | #[cfg(feature = "Win32_System_Com")] | |
19337 | impl ::core::clone::Clone for IX509ExtensionSmimeCapabilities { | |
19338 | fn clone(&self) -> Self { | |
19339 | Self(self.0.clone()) | |
19340 | } | |
19341 | } | |
19342 | #[cfg(feature = "Win32_System_Com")] | |
19343 | unsafe impl ::windows::core::ComInterface for IX509ExtensionSmimeCapabilities { | |
19344 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab31b_217d_11da_b2a4_000e7bbb2b09); | |
19345 | } | |
19346 | #[cfg(feature = "Win32_System_Com")] | |
19347 | #[repr(C)] | |
19348 | #[doc(hidden)] | |
19349 | pub struct IX509ExtensionSmimeCapabilities_Vtbl { | |
19350 | pub base__: IX509Extension_Vtbl, | |
19351 | #[cfg(feature = "Win32_System_Com")] | |
19352 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19353 | #[cfg(not(feature = "Win32_System_Com"))] | |
19354 | InitializeEncode: usize, | |
19355 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19356 | #[cfg(feature = "Win32_System_Com")] | |
19357 | pub SmimeCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19358 | #[cfg(not(feature = "Win32_System_Com"))] | |
19359 | SmimeCapabilities: usize, | |
19360 | } | |
19361 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19362 | #[cfg(feature = "Win32_System_Com")] | |
19363 | #[repr(transparent)] | |
19364 | pub struct IX509ExtensionSubjectKeyIdentifier(::windows::core::IUnknown); | |
19365 | #[cfg(feature = "Win32_System_Com")] | |
19366 | impl IX509ExtensionSubjectKeyIdentifier { | |
19367 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19368 | #[cfg(feature = "Win32_System_Com")] | |
19369 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19370 | where | |
19371 | P0: ::windows::core::IntoParam<IObjectId>, | |
19372 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19373 | { | |
19374 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19375 | } | |
19376 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19377 | #[cfg(feature = "Win32_System_Com")] | |
19378 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19379 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19380 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19381 | } | |
19382 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19383 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19384 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19385 | } | |
19386 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19387 | #[cfg(feature = "Win32_Foundation")] | |
19388 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19389 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19390 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19391 | } | |
19392 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19393 | #[cfg(feature = "Win32_Foundation")] | |
19394 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19395 | where | |
19396 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19397 | { | |
19398 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19399 | } | |
19400 | pub unsafe fn InitializeEncode<P0>(&self, encoding: EncodingType, strkeyidentifier: P0) -> ::windows::core::Result<()> | |
19401 | where | |
19402 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19403 | { | |
19404 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), encoding, strkeyidentifier.into_param().abi()).ok() | |
19405 | } | |
19406 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19407 | where | |
19408 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19409 | { | |
19410 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19411 | } | |
19412 | pub unsafe fn get_SubjectKeyIdentifier(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19413 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19414 | (::windows::core::Interface::vtable(self).get_SubjectKeyIdentifier)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19415 | } | |
19416 | } | |
19417 | #[cfg(feature = "Win32_System_Com")] | |
19418 | ::windows::imp::interface_hierarchy!(IX509ExtensionSubjectKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19419 | #[cfg(feature = "Win32_System_Com")] | |
19420 | impl ::core::cmp::PartialEq for IX509ExtensionSubjectKeyIdentifier { | |
19421 | fn eq(&self, other: &Self) -> bool { | |
19422 | self.0 == other.0 | |
19423 | } | |
19424 | } | |
19425 | #[cfg(feature = "Win32_System_Com")] | |
19426 | impl ::core::cmp::Eq for IX509ExtensionSubjectKeyIdentifier {} | |
19427 | #[cfg(feature = "Win32_System_Com")] | |
19428 | impl ::core::fmt::Debug for IX509ExtensionSubjectKeyIdentifier { | |
19429 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19430 | f.debug_tuple("IX509ExtensionSubjectKeyIdentifier").field(&self.0).finish() | |
19431 | } | |
19432 | } | |
19433 | #[cfg(feature = "Win32_System_Com")] | |
19434 | unsafe impl ::windows::core::Interface for IX509ExtensionSubjectKeyIdentifier { | |
19435 | type Vtable = IX509ExtensionSubjectKeyIdentifier_Vtbl; | |
19436 | } | |
19437 | #[cfg(feature = "Win32_System_Com")] | |
19438 | impl ::core::clone::Clone for IX509ExtensionSubjectKeyIdentifier { | |
19439 | fn clone(&self) -> Self { | |
19440 | Self(self.0.clone()) | |
19441 | } | |
19442 | } | |
19443 | #[cfg(feature = "Win32_System_Com")] | |
19444 | unsafe impl ::windows::core::ComInterface for IX509ExtensionSubjectKeyIdentifier { | |
19445 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab317_217d_11da_b2a4_000e7bbb2b09); | |
19446 | } | |
19447 | #[cfg(feature = "Win32_System_Com")] | |
19448 | #[repr(C)] | |
19449 | #[doc(hidden)] | |
19450 | pub struct IX509ExtensionSubjectKeyIdentifier_Vtbl { | |
19451 | pub base__: IX509Extension_Vtbl, | |
19452 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strkeyidentifier: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19453 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19454 | pub get_SubjectKeyIdentifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19455 | } | |
19456 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19457 | #[cfg(feature = "Win32_System_Com")] | |
19458 | #[repr(transparent)] | |
19459 | pub struct IX509ExtensionTemplate(::windows::core::IUnknown); | |
19460 | #[cfg(feature = "Win32_System_Com")] | |
19461 | impl IX509ExtensionTemplate { | |
19462 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19463 | #[cfg(feature = "Win32_System_Com")] | |
19464 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19465 | where | |
19466 | P0: ::windows::core::IntoParam<IObjectId>, | |
19467 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19468 | { | |
19469 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19470 | } | |
19471 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19472 | #[cfg(feature = "Win32_System_Com")] | |
19473 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19474 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19475 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19476 | } | |
19477 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19478 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19479 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19480 | } | |
19481 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19482 | #[cfg(feature = "Win32_Foundation")] | |
19483 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19484 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19485 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19486 | } | |
19487 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19488 | #[cfg(feature = "Win32_Foundation")] | |
19489 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19490 | where | |
19491 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19492 | { | |
19493 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19494 | } | |
19495 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19496 | #[cfg(feature = "Win32_System_Com")] | |
19497 | pub unsafe fn InitializeEncode<P0>(&self, ptemplateoid: P0, majorversion: i32, minorversion: i32) -> ::windows::core::Result<()> | |
19498 | where | |
19499 | P0: ::windows::core::IntoParam<IObjectId>, | |
19500 | { | |
19501 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), ptemplateoid.into_param().abi(), majorversion, minorversion).ok() | |
19502 | } | |
19503 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19504 | where | |
19505 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19506 | { | |
19507 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19508 | } | |
19509 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19510 | #[cfg(feature = "Win32_System_Com")] | |
19511 | pub unsafe fn TemplateOid(&self) -> ::windows::core::Result<IObjectId> { | |
19512 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19513 | (::windows::core::Interface::vtable(self).TemplateOid)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19514 | } | |
19515 | pub unsafe fn MajorVersion(&self) -> ::windows::core::Result<i32> { | |
19516 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19517 | (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19518 | } | |
19519 | pub unsafe fn MinorVersion(&self) -> ::windows::core::Result<i32> { | |
19520 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19521 | (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19522 | } | |
19523 | } | |
19524 | #[cfg(feature = "Win32_System_Com")] | |
19525 | ::windows::imp::interface_hierarchy!(IX509ExtensionTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19526 | #[cfg(feature = "Win32_System_Com")] | |
19527 | impl ::core::cmp::PartialEq for IX509ExtensionTemplate { | |
19528 | fn eq(&self, other: &Self) -> bool { | |
19529 | self.0 == other.0 | |
19530 | } | |
19531 | } | |
19532 | #[cfg(feature = "Win32_System_Com")] | |
19533 | impl ::core::cmp::Eq for IX509ExtensionTemplate {} | |
19534 | #[cfg(feature = "Win32_System_Com")] | |
19535 | impl ::core::fmt::Debug for IX509ExtensionTemplate { | |
19536 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19537 | f.debug_tuple("IX509ExtensionTemplate").field(&self.0).finish() | |
19538 | } | |
19539 | } | |
19540 | #[cfg(feature = "Win32_System_Com")] | |
19541 | unsafe impl ::windows::core::Interface for IX509ExtensionTemplate { | |
19542 | type Vtable = IX509ExtensionTemplate_Vtbl; | |
19543 | } | |
19544 | #[cfg(feature = "Win32_System_Com")] | |
19545 | impl ::core::clone::Clone for IX509ExtensionTemplate { | |
19546 | fn clone(&self) -> Self { | |
19547 | Self(self.0.clone()) | |
19548 | } | |
19549 | } | |
19550 | #[cfg(feature = "Win32_System_Com")] | |
19551 | unsafe impl ::windows::core::ComInterface for IX509ExtensionTemplate { | |
19552 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab312_217d_11da_b2a4_000e7bbb2b09); | |
19553 | } | |
19554 | #[cfg(feature = "Win32_System_Com")] | |
19555 | #[repr(C)] | |
19556 | #[doc(hidden)] | |
19557 | pub struct IX509ExtensionTemplate_Vtbl { | |
19558 | pub base__: IX509Extension_Vtbl, | |
19559 | #[cfg(feature = "Win32_System_Com")] | |
19560 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptemplateoid: *mut ::core::ffi::c_void, majorversion: i32, minorversion: i32) -> ::windows::core::HRESULT, | |
19561 | #[cfg(not(feature = "Win32_System_Com"))] | |
19562 | InitializeEncode: usize, | |
19563 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19564 | #[cfg(feature = "Win32_System_Com")] | |
19565 | pub TemplateOid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19566 | #[cfg(not(feature = "Win32_System_Com"))] | |
19567 | TemplateOid: usize, | |
19568 | pub MajorVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
19569 | pub MinorVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
19570 | } | |
19571 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19572 | #[cfg(feature = "Win32_System_Com")] | |
19573 | #[repr(transparent)] | |
19574 | pub struct IX509ExtensionTemplateName(::windows::core::IUnknown); | |
19575 | #[cfg(feature = "Win32_System_Com")] | |
19576 | impl IX509ExtensionTemplateName { | |
19577 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19578 | #[cfg(feature = "Win32_System_Com")] | |
19579 | pub unsafe fn Initialize<P0, P1>(&self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1) -> ::windows::core::Result<()> | |
19580 | where | |
19581 | P0: ::windows::core::IntoParam<IObjectId>, | |
19582 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19583 | { | |
19584 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), encoding, strencodeddata.into_param().abi()).ok() | |
19585 | } | |
19586 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19587 | #[cfg(feature = "Win32_System_Com")] | |
19588 | pub unsafe fn ObjectId(&self) -> ::windows::core::Result<IObjectId> { | |
19589 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
19590 | (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19591 | } | |
19592 | pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
19593 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19594 | (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
19595 | } | |
19596 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19597 | #[cfg(feature = "Win32_Foundation")] | |
19598 | pub unsafe fn Critical(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
19599 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
19600 | (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19601 | } | |
19602 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
19603 | #[cfg(feature = "Win32_Foundation")] | |
19604 | pub unsafe fn SetCritical<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
19605 | where | |
19606 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
19607 | { | |
19608 | (::windows::core::Interface::vtable(self).base__.SetCritical)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
19609 | } | |
19610 | pub unsafe fn InitializeEncode<P0>(&self, strtemplatename: P0) -> ::windows::core::Result<()> | |
19611 | where | |
19612 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19613 | { | |
19614 | (::windows::core::Interface::vtable(self).InitializeEncode)(::windows::core::Interface::as_raw(self), strtemplatename.into_param().abi()).ok() | |
19615 | } | |
19616 | pub unsafe fn InitializeDecode<P0>(&self, encoding: EncodingType, strencodeddata: P0) -> ::windows::core::Result<()> | |
19617 | where | |
19618 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19619 | { | |
19620 | (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into_param().abi()).ok() | |
19621 | } | |
19622 | pub unsafe fn TemplateName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
19623 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19624 | (::windows::core::Interface::vtable(self).TemplateName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19625 | } | |
19626 | } | |
19627 | #[cfg(feature = "Win32_System_Com")] | |
19628 | ::windows::imp::interface_hierarchy!(IX509ExtensionTemplateName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); | |
19629 | #[cfg(feature = "Win32_System_Com")] | |
19630 | impl ::core::cmp::PartialEq for IX509ExtensionTemplateName { | |
19631 | fn eq(&self, other: &Self) -> bool { | |
19632 | self.0 == other.0 | |
19633 | } | |
19634 | } | |
19635 | #[cfg(feature = "Win32_System_Com")] | |
19636 | impl ::core::cmp::Eq for IX509ExtensionTemplateName {} | |
19637 | #[cfg(feature = "Win32_System_Com")] | |
19638 | impl ::core::fmt::Debug for IX509ExtensionTemplateName { | |
19639 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19640 | f.debug_tuple("IX509ExtensionTemplateName").field(&self.0).finish() | |
19641 | } | |
19642 | } | |
19643 | #[cfg(feature = "Win32_System_Com")] | |
19644 | unsafe impl ::windows::core::Interface for IX509ExtensionTemplateName { | |
19645 | type Vtable = IX509ExtensionTemplateName_Vtbl; | |
19646 | } | |
19647 | #[cfg(feature = "Win32_System_Com")] | |
19648 | impl ::core::clone::Clone for IX509ExtensionTemplateName { | |
19649 | fn clone(&self) -> Self { | |
19650 | Self(self.0.clone()) | |
19651 | } | |
19652 | } | |
19653 | #[cfg(feature = "Win32_System_Com")] | |
19654 | unsafe impl ::windows::core::ComInterface for IX509ExtensionTemplateName { | |
19655 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab311_217d_11da_b2a4_000e7bbb2b09); | |
19656 | } | |
19657 | #[cfg(feature = "Win32_System_Com")] | |
19658 | #[repr(C)] | |
19659 | #[doc(hidden)] | |
19660 | pub struct IX509ExtensionTemplateName_Vtbl { | |
19661 | pub base__: IX509Extension_Vtbl, | |
19662 | pub InitializeEncode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strtemplatename: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19663 | pub InitializeDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, strencodeddata: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19664 | pub TemplateName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19665 | } | |
19666 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19667 | #[cfg(feature = "Win32_System_Com")] | |
19668 | #[repr(transparent)] | |
19669 | pub struct IX509Extensions(::windows::core::IUnknown); | |
19670 | #[cfg(feature = "Win32_System_Com")] | |
19671 | impl IX509Extensions { | |
19672 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19673 | #[cfg(feature = "Win32_System_Com")] | |
19674 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509Extension> { | |
19675 | let mut result__ = ::windows::core::zeroed::<IX509Extension>(); | |
19676 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
19677 | } | |
19678 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
19679 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19680 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19681 | } | |
19682 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
19683 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
19684 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19685 | } | |
19686 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19687 | #[cfg(feature = "Win32_System_Com")] | |
19688 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
19689 | where | |
19690 | P0: ::windows::core::IntoParam<IX509Extension>, | |
19691 | { | |
19692 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
19693 | } | |
19694 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
19695 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
19696 | } | |
19697 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
19698 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
19699 | } | |
19700 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19701 | #[cfg(feature = "Win32_System_Com")] | |
19702 | pub unsafe fn get_IndexByObjectId<P0>(&self, pobjectid: P0) -> ::windows::core::Result<i32> | |
19703 | where | |
19704 | P0: ::windows::core::IntoParam<IObjectId>, | |
19705 | { | |
19706 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19707 | (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), &mut result__).from_abi(result__) | |
19708 | } | |
19709 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19710 | #[cfg(feature = "Win32_System_Com")] | |
19711 | pub unsafe fn AddRange<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
19712 | where | |
19713 | P0: ::windows::core::IntoParam<IX509Extensions>, | |
19714 | { | |
19715 | (::windows::core::Interface::vtable(self).AddRange)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
19716 | } | |
19717 | } | |
19718 | #[cfg(feature = "Win32_System_Com")] | |
19719 | ::windows::imp::interface_hierarchy!(IX509Extensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
19720 | #[cfg(feature = "Win32_System_Com")] | |
19721 | impl ::core::cmp::PartialEq for IX509Extensions { | |
19722 | fn eq(&self, other: &Self) -> bool { | |
19723 | self.0 == other.0 | |
19724 | } | |
19725 | } | |
19726 | #[cfg(feature = "Win32_System_Com")] | |
19727 | impl ::core::cmp::Eq for IX509Extensions {} | |
19728 | #[cfg(feature = "Win32_System_Com")] | |
19729 | impl ::core::fmt::Debug for IX509Extensions { | |
19730 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19731 | f.debug_tuple("IX509Extensions").field(&self.0).finish() | |
19732 | } | |
19733 | } | |
19734 | #[cfg(feature = "Win32_System_Com")] | |
19735 | unsafe impl ::windows::core::Interface for IX509Extensions { | |
19736 | type Vtable = IX509Extensions_Vtbl; | |
19737 | } | |
19738 | #[cfg(feature = "Win32_System_Com")] | |
19739 | impl ::core::clone::Clone for IX509Extensions { | |
19740 | fn clone(&self) -> Self { | |
19741 | Self(self.0.clone()) | |
19742 | } | |
19743 | } | |
19744 | #[cfg(feature = "Win32_System_Com")] | |
19745 | unsafe impl ::windows::core::ComInterface for IX509Extensions { | |
19746 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30e_217d_11da_b2a4_000e7bbb2b09); | |
19747 | } | |
19748 | #[cfg(feature = "Win32_System_Com")] | |
19749 | #[repr(C)] | |
19750 | #[doc(hidden)] | |
19751 | pub struct IX509Extensions_Vtbl { | |
19752 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
19753 | #[cfg(feature = "Win32_System_Com")] | |
19754 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19755 | #[cfg(not(feature = "Win32_System_Com"))] | |
19756 | get_ItemByIndex: usize, | |
19757 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
19758 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19759 | #[cfg(feature = "Win32_System_Com")] | |
19760 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19761 | #[cfg(not(feature = "Win32_System_Com"))] | |
19762 | Add: usize, | |
19763 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
19764 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19765 | #[cfg(feature = "Win32_System_Com")] | |
19766 | pub get_IndexByObjectId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, pindex: *mut i32) -> ::windows::core::HRESULT, | |
19767 | #[cfg(not(feature = "Win32_System_Com"))] | |
19768 | get_IndexByObjectId: usize, | |
19769 | #[cfg(feature = "Win32_System_Com")] | |
19770 | pub AddRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19771 | #[cfg(not(feature = "Win32_System_Com"))] | |
19772 | AddRange: usize, | |
19773 | } | |
19774 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19775 | #[cfg(feature = "Win32_System_Com")] | |
19776 | #[repr(transparent)] | |
19777 | pub struct IX509MachineEnrollmentFactory(::windows::core::IUnknown); | |
19778 | #[cfg(feature = "Win32_System_Com")] | |
19779 | impl IX509MachineEnrollmentFactory { | |
19780 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19781 | #[cfg(feature = "Win32_System_Com")] | |
19782 | pub unsafe fn CreateObject<P0>(&self, strprogid: P0) -> ::windows::core::Result<IX509EnrollmentHelper> | |
19783 | where | |
19784 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19785 | { | |
19786 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentHelper>(); | |
19787 | (::windows::core::Interface::vtable(self).CreateObject)(::windows::core::Interface::as_raw(self), strprogid.into_param().abi(), &mut result__).from_abi(result__) | |
19788 | } | |
19789 | } | |
19790 | #[cfg(feature = "Win32_System_Com")] | |
19791 | ::windows::imp::interface_hierarchy!(IX509MachineEnrollmentFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
19792 | #[cfg(feature = "Win32_System_Com")] | |
19793 | impl ::core::cmp::PartialEq for IX509MachineEnrollmentFactory { | |
19794 | fn eq(&self, other: &Self) -> bool { | |
19795 | self.0 == other.0 | |
19796 | } | |
19797 | } | |
19798 | #[cfg(feature = "Win32_System_Com")] | |
19799 | impl ::core::cmp::Eq for IX509MachineEnrollmentFactory {} | |
19800 | #[cfg(feature = "Win32_System_Com")] | |
19801 | impl ::core::fmt::Debug for IX509MachineEnrollmentFactory { | |
19802 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19803 | f.debug_tuple("IX509MachineEnrollmentFactory").field(&self.0).finish() | |
19804 | } | |
19805 | } | |
19806 | #[cfg(feature = "Win32_System_Com")] | |
19807 | unsafe impl ::windows::core::Interface for IX509MachineEnrollmentFactory { | |
19808 | type Vtable = IX509MachineEnrollmentFactory_Vtbl; | |
19809 | } | |
19810 | #[cfg(feature = "Win32_System_Com")] | |
19811 | impl ::core::clone::Clone for IX509MachineEnrollmentFactory { | |
19812 | fn clone(&self) -> Self { | |
19813 | Self(self.0.clone()) | |
19814 | } | |
19815 | } | |
19816 | #[cfg(feature = "Win32_System_Com")] | |
19817 | unsafe impl ::windows::core::ComInterface for IX509MachineEnrollmentFactory { | |
19818 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab352_217d_11da_b2a4_000e7bbb2b09); | |
19819 | } | |
19820 | #[cfg(feature = "Win32_System_Com")] | |
19821 | #[repr(C)] | |
19822 | #[doc(hidden)] | |
19823 | pub struct IX509MachineEnrollmentFactory_Vtbl { | |
19824 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
19825 | #[cfg(feature = "Win32_System_Com")] | |
19826 | pub CreateObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strprogid: ::std::mem::MaybeUninit<::windows::core::BSTR>, ppihelper: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19827 | #[cfg(not(feature = "Win32_System_Com"))] | |
19828 | CreateObject: usize, | |
19829 | } | |
19830 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19831 | #[cfg(feature = "Win32_System_Com")] | |
19832 | #[repr(transparent)] | |
19833 | pub struct IX509NameValuePair(::windows::core::IUnknown); | |
19834 | #[cfg(feature = "Win32_System_Com")] | |
19835 | impl IX509NameValuePair { | |
19836 | pub unsafe fn Initialize<P0, P1>(&self, strname: P0, strvalue: P1) -> ::windows::core::Result<()> | |
19837 | where | |
19838 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19839 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
19840 | { | |
19841 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strname.into_param().abi(), strvalue.into_param().abi()).ok() | |
19842 | } | |
19843 | pub unsafe fn Value(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
19844 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19845 | (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19846 | } | |
19847 | pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
19848 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
19849 | (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19850 | } | |
19851 | } | |
19852 | #[cfg(feature = "Win32_System_Com")] | |
19853 | ::windows::imp::interface_hierarchy!(IX509NameValuePair, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
19854 | #[cfg(feature = "Win32_System_Com")] | |
19855 | impl ::core::cmp::PartialEq for IX509NameValuePair { | |
19856 | fn eq(&self, other: &Self) -> bool { | |
19857 | self.0 == other.0 | |
19858 | } | |
19859 | } | |
19860 | #[cfg(feature = "Win32_System_Com")] | |
19861 | impl ::core::cmp::Eq for IX509NameValuePair {} | |
19862 | #[cfg(feature = "Win32_System_Com")] | |
19863 | impl ::core::fmt::Debug for IX509NameValuePair { | |
19864 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19865 | f.debug_tuple("IX509NameValuePair").field(&self.0).finish() | |
19866 | } | |
19867 | } | |
19868 | #[cfg(feature = "Win32_System_Com")] | |
19869 | unsafe impl ::windows::core::Interface for IX509NameValuePair { | |
19870 | type Vtable = IX509NameValuePair_Vtbl; | |
19871 | } | |
19872 | #[cfg(feature = "Win32_System_Com")] | |
19873 | impl ::core::clone::Clone for IX509NameValuePair { | |
19874 | fn clone(&self) -> Self { | |
19875 | Self(self.0.clone()) | |
19876 | } | |
19877 | } | |
19878 | #[cfg(feature = "Win32_System_Com")] | |
19879 | unsafe impl ::windows::core::ComInterface for IX509NameValuePair { | |
19880 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33f_217d_11da_b2a4_000e7bbb2b09); | |
19881 | } | |
19882 | #[cfg(feature = "Win32_System_Com")] | |
19883 | #[repr(C)] | |
19884 | #[doc(hidden)] | |
19885 | pub struct IX509NameValuePair_Vtbl { | |
19886 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
19887 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::std::mem::MaybeUninit<::windows::core::BSTR>, strvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19888 | pub Value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19889 | pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
19890 | } | |
19891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19892 | #[cfg(feature = "Win32_System_Com")] | |
19893 | #[repr(transparent)] | |
19894 | pub struct IX509NameValuePairs(::windows::core::IUnknown); | |
19895 | #[cfg(feature = "Win32_System_Com")] | |
19896 | impl IX509NameValuePairs { | |
19897 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19898 | #[cfg(feature = "Win32_System_Com")] | |
19899 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509NameValuePair> { | |
19900 | let mut result__ = ::windows::core::zeroed::<IX509NameValuePair>(); | |
19901 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
19902 | } | |
19903 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
19904 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19905 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19906 | } | |
19907 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
19908 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
19909 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19910 | } | |
19911 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19912 | #[cfg(feature = "Win32_System_Com")] | |
19913 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
19914 | where | |
19915 | P0: ::windows::core::IntoParam<IX509NameValuePair>, | |
19916 | { | |
19917 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
19918 | } | |
19919 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
19920 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
19921 | } | |
19922 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
19923 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
19924 | } | |
19925 | } | |
19926 | #[cfg(feature = "Win32_System_Com")] | |
19927 | ::windows::imp::interface_hierarchy!(IX509NameValuePairs, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
19928 | #[cfg(feature = "Win32_System_Com")] | |
19929 | impl ::core::cmp::PartialEq for IX509NameValuePairs { | |
19930 | fn eq(&self, other: &Self) -> bool { | |
19931 | self.0 == other.0 | |
19932 | } | |
19933 | } | |
19934 | #[cfg(feature = "Win32_System_Com")] | |
19935 | impl ::core::cmp::Eq for IX509NameValuePairs {} | |
19936 | #[cfg(feature = "Win32_System_Com")] | |
19937 | impl ::core::fmt::Debug for IX509NameValuePairs { | |
19938 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19939 | f.debug_tuple("IX509NameValuePairs").field(&self.0).finish() | |
19940 | } | |
19941 | } | |
19942 | #[cfg(feature = "Win32_System_Com")] | |
19943 | unsafe impl ::windows::core::Interface for IX509NameValuePairs { | |
19944 | type Vtable = IX509NameValuePairs_Vtbl; | |
19945 | } | |
19946 | #[cfg(feature = "Win32_System_Com")] | |
19947 | impl ::core::clone::Clone for IX509NameValuePairs { | |
19948 | fn clone(&self) -> Self { | |
19949 | Self(self.0.clone()) | |
19950 | } | |
19951 | } | |
19952 | #[cfg(feature = "Win32_System_Com")] | |
19953 | unsafe impl ::windows::core::ComInterface for IX509NameValuePairs { | |
19954 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab340_217d_11da_b2a4_000e7bbb2b09); | |
19955 | } | |
19956 | #[cfg(feature = "Win32_System_Com")] | |
19957 | #[repr(C)] | |
19958 | #[doc(hidden)] | |
19959 | pub struct IX509NameValuePairs_Vtbl { | |
19960 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
19961 | #[cfg(feature = "Win32_System_Com")] | |
19962 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19963 | #[cfg(not(feature = "Win32_System_Com"))] | |
19964 | get_ItemByIndex: usize, | |
19965 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
19966 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19967 | #[cfg(feature = "Win32_System_Com")] | |
19968 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19969 | #[cfg(not(feature = "Win32_System_Com"))] | |
19970 | Add: usize, | |
19971 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
19972 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
19973 | } | |
19974 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
19975 | #[cfg(feature = "Win32_System_Com")] | |
19976 | #[repr(transparent)] | |
19977 | pub struct IX509PolicyServerListManager(::windows::core::IUnknown); | |
19978 | #[cfg(feature = "Win32_System_Com")] | |
19979 | impl IX509PolicyServerListManager { | |
19980 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19981 | #[cfg(feature = "Win32_System_Com")] | |
19982 | pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result<IX509PolicyServerUrl> { | |
19983 | let mut result__ = ::windows::core::zeroed::<IX509PolicyServerUrl>(); | |
19984 | (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
19985 | } | |
19986 | pub unsafe fn Count(&self) -> ::windows::core::Result<i32> { | |
19987 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
19988 | (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19989 | } | |
19990 | pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { | |
19991 | let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); | |
19992 | (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
19993 | } | |
19994 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
19995 | #[cfg(feature = "Win32_System_Com")] | |
19996 | pub unsafe fn Add<P0>(&self, pval: P0) -> ::windows::core::Result<()> | |
19997 | where | |
19998 | P0: ::windows::core::IntoParam<IX509PolicyServerUrl>, | |
19999 | { | |
20000 | (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pval.into_param().abi()).ok() | |
20001 | } | |
20002 | pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { | |
20003 | (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index).ok() | |
20004 | } | |
20005 | pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { | |
20006 | (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() | |
20007 | } | |
20008 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext, flags: PolicyServerUrlFlags) -> ::windows::core::Result<()> { | |
20009 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), context, flags).ok() | |
20010 | } | |
20011 | } | |
20012 | #[cfg(feature = "Win32_System_Com")] | |
20013 | ::windows::imp::interface_hierarchy!(IX509PolicyServerListManager, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
20014 | #[cfg(feature = "Win32_System_Com")] | |
20015 | impl ::core::cmp::PartialEq for IX509PolicyServerListManager { | |
20016 | fn eq(&self, other: &Self) -> bool { | |
20017 | self.0 == other.0 | |
20018 | } | |
20019 | } | |
20020 | #[cfg(feature = "Win32_System_Com")] | |
20021 | impl ::core::cmp::Eq for IX509PolicyServerListManager {} | |
20022 | #[cfg(feature = "Win32_System_Com")] | |
20023 | impl ::core::fmt::Debug for IX509PolicyServerListManager { | |
20024 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20025 | f.debug_tuple("IX509PolicyServerListManager").field(&self.0).finish() | |
20026 | } | |
20027 | } | |
20028 | #[cfg(feature = "Win32_System_Com")] | |
20029 | unsafe impl ::windows::core::Interface for IX509PolicyServerListManager { | |
20030 | type Vtable = IX509PolicyServerListManager_Vtbl; | |
20031 | } | |
20032 | #[cfg(feature = "Win32_System_Com")] | |
20033 | impl ::core::clone::Clone for IX509PolicyServerListManager { | |
20034 | fn clone(&self) -> Self { | |
20035 | Self(self.0.clone()) | |
20036 | } | |
20037 | } | |
20038 | #[cfg(feature = "Win32_System_Com")] | |
20039 | unsafe impl ::windows::core::ComInterface for IX509PolicyServerListManager { | |
20040 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e204b_217d_11da_b2a4_000e7bbb2b09); | |
20041 | } | |
20042 | #[cfg(feature = "Win32_System_Com")] | |
20043 | #[repr(C)] | |
20044 | #[doc(hidden)] | |
20045 | pub struct IX509PolicyServerListManager_Vtbl { | |
20046 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
20047 | #[cfg(feature = "Win32_System_Com")] | |
20048 | pub get_ItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20049 | #[cfg(not(feature = "Win32_System_Com"))] | |
20050 | get_ItemByIndex: usize, | |
20051 | pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i32) -> ::windows::core::HRESULT, | |
20052 | pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20053 | #[cfg(feature = "Win32_System_Com")] | |
20054 | pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20055 | #[cfg(not(feature = "Win32_System_Com"))] | |
20056 | Add: usize, | |
20057 | pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, | |
20058 | pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20059 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, flags: PolicyServerUrlFlags) -> ::windows::core::HRESULT, | |
20060 | } | |
20061 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
20062 | #[cfg(feature = "Win32_System_Com")] | |
20063 | #[repr(transparent)] | |
20064 | pub struct IX509PolicyServerUrl(::windows::core::IUnknown); | |
20065 | #[cfg(feature = "Win32_System_Com")] | |
20066 | impl IX509PolicyServerUrl { | |
20067 | pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
20068 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), context).ok() | |
20069 | } | |
20070 | pub unsafe fn Url(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20071 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20072 | (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20073 | } | |
20074 | pub unsafe fn SetUrl<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20075 | where | |
20076 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20077 | { | |
20078 | (::windows::core::Interface::vtable(self).SetUrl)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20079 | } | |
20080 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20081 | #[cfg(feature = "Win32_Foundation")] | |
20082 | pub unsafe fn Default(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20083 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20084 | (::windows::core::Interface::vtable(self).Default)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20085 | } | |
20086 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20087 | #[cfg(feature = "Win32_Foundation")] | |
20088 | pub unsafe fn SetDefault<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20089 | where | |
20090 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20091 | { | |
20092 | (::windows::core::Interface::vtable(self).SetDefault)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20093 | } | |
20094 | pub unsafe fn Flags(&self) -> ::windows::core::Result<PolicyServerUrlFlags> { | |
20095 | let mut result__ = ::windows::core::zeroed::<PolicyServerUrlFlags>(); | |
20096 | (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20097 | } | |
20098 | pub unsafe fn SetFlags(&self, flags: PolicyServerUrlFlags) -> ::windows::core::Result<()> { | |
20099 | (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() | |
20100 | } | |
20101 | pub unsafe fn AuthFlags(&self) -> ::windows::core::Result<X509EnrollmentAuthFlags> { | |
20102 | let mut result__ = ::windows::core::zeroed::<X509EnrollmentAuthFlags>(); | |
20103 | (::windows::core::Interface::vtable(self).AuthFlags)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20104 | } | |
20105 | pub unsafe fn SetAuthFlags(&self, flags: X509EnrollmentAuthFlags) -> ::windows::core::Result<()> { | |
20106 | (::windows::core::Interface::vtable(self).SetAuthFlags)(::windows::core::Interface::as_raw(self), flags).ok() | |
20107 | } | |
20108 | pub unsafe fn Cost(&self) -> ::windows::core::Result<u32> { | |
20109 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
20110 | (::windows::core::Interface::vtable(self).Cost)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20111 | } | |
20112 | pub unsafe fn SetCost(&self, value: u32) -> ::windows::core::Result<()> { | |
20113 | (::windows::core::Interface::vtable(self).SetCost)(::windows::core::Interface::as_raw(self), value).ok() | |
20114 | } | |
20115 | pub unsafe fn GetStringProperty(&self, propertyid: PolicyServerUrlPropertyID) -> ::windows::core::Result<::windows::core::BSTR> { | |
20116 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20117 | (::windows::core::Interface::vtable(self).GetStringProperty)(::windows::core::Interface::as_raw(self), propertyid, &mut result__).from_abi(result__) | |
20118 | } | |
20119 | pub unsafe fn SetStringProperty<P0>(&self, propertyid: PolicyServerUrlPropertyID, pvalue: P0) -> ::windows::core::Result<()> | |
20120 | where | |
20121 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20122 | { | |
20123 | (::windows::core::Interface::vtable(self).SetStringProperty)(::windows::core::Interface::as_raw(self), propertyid, pvalue.into_param().abi()).ok() | |
20124 | } | |
20125 | pub unsafe fn UpdateRegistry(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
20126 | (::windows::core::Interface::vtable(self).UpdateRegistry)(::windows::core::Interface::as_raw(self), context).ok() | |
20127 | } | |
20128 | pub unsafe fn RemoveFromRegistry(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
20129 | (::windows::core::Interface::vtable(self).RemoveFromRegistry)(::windows::core::Interface::as_raw(self), context).ok() | |
20130 | } | |
20131 | } | |
20132 | #[cfg(feature = "Win32_System_Com")] | |
20133 | ::windows::imp::interface_hierarchy!(IX509PolicyServerUrl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
20134 | #[cfg(feature = "Win32_System_Com")] | |
20135 | impl ::core::cmp::PartialEq for IX509PolicyServerUrl { | |
20136 | fn eq(&self, other: &Self) -> bool { | |
20137 | self.0 == other.0 | |
20138 | } | |
20139 | } | |
20140 | #[cfg(feature = "Win32_System_Com")] | |
20141 | impl ::core::cmp::Eq for IX509PolicyServerUrl {} | |
20142 | #[cfg(feature = "Win32_System_Com")] | |
20143 | impl ::core::fmt::Debug for IX509PolicyServerUrl { | |
20144 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20145 | f.debug_tuple("IX509PolicyServerUrl").field(&self.0).finish() | |
20146 | } | |
20147 | } | |
20148 | #[cfg(feature = "Win32_System_Com")] | |
20149 | unsafe impl ::windows::core::Interface for IX509PolicyServerUrl { | |
20150 | type Vtable = IX509PolicyServerUrl_Vtbl; | |
20151 | } | |
20152 | #[cfg(feature = "Win32_System_Com")] | |
20153 | impl ::core::clone::Clone for IX509PolicyServerUrl { | |
20154 | fn clone(&self) -> Self { | |
20155 | Self(self.0.clone()) | |
20156 | } | |
20157 | } | |
20158 | #[cfg(feature = "Win32_System_Com")] | |
20159 | unsafe impl ::windows::core::ComInterface for IX509PolicyServerUrl { | |
20160 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e204a_217d_11da_b2a4_000e7bbb2b09); | |
20161 | } | |
20162 | #[cfg(feature = "Win32_System_Com")] | |
20163 | #[repr(C)] | |
20164 | #[doc(hidden)] | |
20165 | pub struct IX509PolicyServerUrl_Vtbl { | |
20166 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
20167 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
20168 | pub Url: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20169 | pub SetUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20170 | #[cfg(feature = "Win32_Foundation")] | |
20171 | pub Default: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20172 | #[cfg(not(feature = "Win32_Foundation"))] | |
20173 | Default: usize, | |
20174 | #[cfg(feature = "Win32_Foundation")] | |
20175 | pub SetDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20176 | #[cfg(not(feature = "Win32_Foundation"))] | |
20177 | SetDefault: usize, | |
20178 | pub Flags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut PolicyServerUrlFlags) -> ::windows::core::HRESULT, | |
20179 | pub SetFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: PolicyServerUrlFlags) -> ::windows::core::HRESULT, | |
20180 | pub AuthFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
20181 | pub SetAuthFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: X509EnrollmentAuthFlags) -> ::windows::core::HRESULT, | |
20182 | pub Cost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut u32) -> ::windows::core::HRESULT, | |
20183 | pub SetCost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: u32) -> ::windows::core::HRESULT, | |
20184 | pub GetStringProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, ppvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20185 | pub SetStringProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, pvalue: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20186 | pub UpdateRegistry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
20187 | pub RemoveFromRegistry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
20188 | } | |
20189 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
20190 | #[cfg(feature = "Win32_System_Com")] | |
20191 | #[repr(transparent)] | |
20192 | pub struct IX509PrivateKey(::windows::core::IUnknown); | |
20193 | #[cfg(feature = "Win32_System_Com")] | |
20194 | impl IX509PrivateKey { | |
20195 | pub unsafe fn Open(&self) -> ::windows::core::Result<()> { | |
20196 | (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self)).ok() | |
20197 | } | |
20198 | pub unsafe fn Create(&self) -> ::windows::core::Result<()> { | |
20199 | (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self)).ok() | |
20200 | } | |
20201 | pub unsafe fn Close(&self) -> ::windows::core::Result<()> { | |
20202 | (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() | |
20203 | } | |
20204 | pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { | |
20205 | (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self)).ok() | |
20206 | } | |
20207 | pub unsafe fn Verify(&self, verifytype: X509PrivateKeyVerify) -> ::windows::core::Result<()> { | |
20208 | (::windows::core::Interface::vtable(self).Verify)(::windows::core::Interface::as_raw(self), verifytype).ok() | |
20209 | } | |
20210 | pub unsafe fn Import<P0, P1>(&self, strexporttype: P0, strencodedkey: P1, encoding: EncodingType) -> ::windows::core::Result<()> | |
20211 | where | |
20212 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20213 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20214 | { | |
20215 | (::windows::core::Interface::vtable(self).Import)(::windows::core::Interface::as_raw(self), strexporttype.into_param().abi(), strencodedkey.into_param().abi(), encoding).ok() | |
20216 | } | |
20217 | pub unsafe fn Export<P0>(&self, strexporttype: P0, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
20218 | where | |
20219 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20220 | { | |
20221 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20222 | (::windows::core::Interface::vtable(self).Export)(::windows::core::Interface::as_raw(self), strexporttype.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
20223 | } | |
20224 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20225 | #[cfg(feature = "Win32_System_Com")] | |
20226 | pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
20227 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
20228 | (::windows::core::Interface::vtable(self).ExportPublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20229 | } | |
20230 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20231 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20232 | (::windows::core::Interface::vtable(self).ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20233 | } | |
20234 | pub unsafe fn SetContainerName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20235 | where | |
20236 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20237 | { | |
20238 | (::windows::core::Interface::vtable(self).SetContainerName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20239 | } | |
20240 | pub unsafe fn ContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20241 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20242 | (::windows::core::Interface::vtable(self).ContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20243 | } | |
20244 | pub unsafe fn SetContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20245 | where | |
20246 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20247 | { | |
20248 | (::windows::core::Interface::vtable(self).SetContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20249 | } | |
20250 | pub unsafe fn ReaderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20251 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20252 | (::windows::core::Interface::vtable(self).ReaderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20253 | } | |
20254 | pub unsafe fn SetReaderName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20255 | where | |
20256 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20257 | { | |
20258 | (::windows::core::Interface::vtable(self).SetReaderName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20259 | } | |
20260 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20261 | #[cfg(feature = "Win32_System_Com")] | |
20262 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
20263 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
20264 | (::windows::core::Interface::vtable(self).CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20265 | } | |
20266 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20267 | #[cfg(feature = "Win32_System_Com")] | |
20268 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20269 | where | |
20270 | P0: ::windows::core::IntoParam<ICspInformations>, | |
20271 | { | |
20272 | (::windows::core::Interface::vtable(self).SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20273 | } | |
20274 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20275 | #[cfg(feature = "Win32_System_Com")] | |
20276 | pub unsafe fn CspStatus(&self) -> ::windows::core::Result<ICspStatus> { | |
20277 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
20278 | (::windows::core::Interface::vtable(self).CspStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20279 | } | |
20280 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20281 | #[cfg(feature = "Win32_System_Com")] | |
20282 | pub unsafe fn SetCspStatus<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20283 | where | |
20284 | P0: ::windows::core::IntoParam<ICspStatus>, | |
20285 | { | |
20286 | (::windows::core::Interface::vtable(self).SetCspStatus)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20287 | } | |
20288 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20289 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20290 | (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20291 | } | |
20292 | pub unsafe fn SetProviderName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20293 | where | |
20294 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20295 | { | |
20296 | (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20297 | } | |
20298 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<X509ProviderType> { | |
20299 | let mut result__ = ::windows::core::zeroed::<X509ProviderType>(); | |
20300 | (::windows::core::Interface::vtable(self).ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20301 | } | |
20302 | pub unsafe fn SetProviderType(&self, value: X509ProviderType) -> ::windows::core::Result<()> { | |
20303 | (::windows::core::Interface::vtable(self).SetProviderType)(::windows::core::Interface::as_raw(self), value).ok() | |
20304 | } | |
20305 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20306 | #[cfg(feature = "Win32_Foundation")] | |
20307 | pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20308 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20309 | (::windows::core::Interface::vtable(self).LegacyCsp)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20310 | } | |
20311 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20312 | #[cfg(feature = "Win32_Foundation")] | |
20313 | pub unsafe fn SetLegacyCsp<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20314 | where | |
20315 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20316 | { | |
20317 | (::windows::core::Interface::vtable(self).SetLegacyCsp)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20318 | } | |
20319 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20320 | #[cfg(feature = "Win32_System_Com")] | |
20321 | pub unsafe fn Algorithm(&self) -> ::windows::core::Result<IObjectId> { | |
20322 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
20323 | (::windows::core::Interface::vtable(self).Algorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20324 | } | |
20325 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20326 | #[cfg(feature = "Win32_System_Com")] | |
20327 | pub unsafe fn SetAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20328 | where | |
20329 | P0: ::windows::core::IntoParam<IObjectId>, | |
20330 | { | |
20331 | (::windows::core::Interface::vtable(self).SetAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20332 | } | |
20333 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<X509KeySpec> { | |
20334 | let mut result__ = ::windows::core::zeroed::<X509KeySpec>(); | |
20335 | (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20336 | } | |
20337 | pub unsafe fn SetKeySpec(&self, value: X509KeySpec) -> ::windows::core::Result<()> { | |
20338 | (::windows::core::Interface::vtable(self).SetKeySpec)(::windows::core::Interface::as_raw(self), value).ok() | |
20339 | } | |
20340 | pub unsafe fn Length(&self) -> ::windows::core::Result<i32> { | |
20341 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
20342 | (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20343 | } | |
20344 | pub unsafe fn SetLength(&self, value: i32) -> ::windows::core::Result<()> { | |
20345 | (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), value).ok() | |
20346 | } | |
20347 | pub unsafe fn ExportPolicy(&self) -> ::windows::core::Result<X509PrivateKeyExportFlags> { | |
20348 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyExportFlags>(); | |
20349 | (::windows::core::Interface::vtable(self).ExportPolicy)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20350 | } | |
20351 | pub unsafe fn SetExportPolicy(&self, value: X509PrivateKeyExportFlags) -> ::windows::core::Result<()> { | |
20352 | (::windows::core::Interface::vtable(self).SetExportPolicy)(::windows::core::Interface::as_raw(self), value).ok() | |
20353 | } | |
20354 | pub unsafe fn KeyUsage(&self) -> ::windows::core::Result<X509PrivateKeyUsageFlags> { | |
20355 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyUsageFlags>(); | |
20356 | (::windows::core::Interface::vtable(self).KeyUsage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20357 | } | |
20358 | pub unsafe fn SetKeyUsage(&self, value: X509PrivateKeyUsageFlags) -> ::windows::core::Result<()> { | |
20359 | (::windows::core::Interface::vtable(self).SetKeyUsage)(::windows::core::Interface::as_raw(self), value).ok() | |
20360 | } | |
20361 | pub unsafe fn KeyProtection(&self) -> ::windows::core::Result<X509PrivateKeyProtection> { | |
20362 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyProtection>(); | |
20363 | (::windows::core::Interface::vtable(self).KeyProtection)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20364 | } | |
20365 | pub unsafe fn SetKeyProtection(&self, value: X509PrivateKeyProtection) -> ::windows::core::Result<()> { | |
20366 | (::windows::core::Interface::vtable(self).SetKeyProtection)(::windows::core::Interface::as_raw(self), value).ok() | |
20367 | } | |
20368 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20369 | #[cfg(feature = "Win32_Foundation")] | |
20370 | pub unsafe fn MachineContext(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20371 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20372 | (::windows::core::Interface::vtable(self).MachineContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20373 | } | |
20374 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20375 | #[cfg(feature = "Win32_Foundation")] | |
20376 | pub unsafe fn SetMachineContext<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20377 | where | |
20378 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20379 | { | |
20380 | (::windows::core::Interface::vtable(self).SetMachineContext)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20381 | } | |
20382 | pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20383 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20384 | (::windows::core::Interface::vtable(self).SecurityDescriptor)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20385 | } | |
20386 | pub unsafe fn SetSecurityDescriptor<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20387 | where | |
20388 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20389 | { | |
20390 | (::windows::core::Interface::vtable(self).SetSecurityDescriptor)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20391 | } | |
20392 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
20393 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20394 | (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
20395 | } | |
20396 | pub unsafe fn put_Certificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
20397 | where | |
20398 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20399 | { | |
20400 | (::windows::core::Interface::vtable(self).put_Certificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
20401 | } | |
20402 | pub unsafe fn UniqueContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20403 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20404 | (::windows::core::Interface::vtable(self).UniqueContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20405 | } | |
20406 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20407 | #[cfg(feature = "Win32_Foundation")] | |
20408 | pub unsafe fn Opened(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20409 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20410 | (::windows::core::Interface::vtable(self).Opened)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20411 | } | |
20412 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20413 | #[cfg(feature = "Win32_Foundation")] | |
20414 | pub unsafe fn DefaultContainer(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20415 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20416 | (::windows::core::Interface::vtable(self).DefaultContainer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20417 | } | |
20418 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20419 | #[cfg(feature = "Win32_Foundation")] | |
20420 | pub unsafe fn Existing(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20421 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20422 | (::windows::core::Interface::vtable(self).Existing)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20423 | } | |
20424 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20425 | #[cfg(feature = "Win32_Foundation")] | |
20426 | pub unsafe fn SetExisting<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20427 | where | |
20428 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20429 | { | |
20430 | (::windows::core::Interface::vtable(self).SetExisting)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20431 | } | |
20432 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20433 | #[cfg(feature = "Win32_Foundation")] | |
20434 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20435 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20436 | (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20437 | } | |
20438 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20439 | #[cfg(feature = "Win32_Foundation")] | |
20440 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20441 | where | |
20442 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20443 | { | |
20444 | (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20445 | } | |
20446 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
20447 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
20448 | (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20449 | } | |
20450 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
20451 | (::windows::core::Interface::vtable(self).SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
20452 | } | |
20453 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20454 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20455 | (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20456 | } | |
20457 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20458 | where | |
20459 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20460 | { | |
20461 | (::windows::core::Interface::vtable(self).SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20462 | } | |
20463 | pub unsafe fn SetPin<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20464 | where | |
20465 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20466 | { | |
20467 | (::windows::core::Interface::vtable(self).SetPin)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20468 | } | |
20469 | pub unsafe fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20470 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20471 | (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20472 | } | |
20473 | pub unsafe fn SetFriendlyName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20474 | where | |
20475 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20476 | { | |
20477 | (::windows::core::Interface::vtable(self).SetFriendlyName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20478 | } | |
20479 | pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20480 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20481 | (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20482 | } | |
20483 | pub unsafe fn SetDescription<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20484 | where | |
20485 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20486 | { | |
20487 | (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20488 | } | |
20489 | } | |
20490 | #[cfg(feature = "Win32_System_Com")] | |
20491 | ::windows::imp::interface_hierarchy!(IX509PrivateKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
20492 | #[cfg(feature = "Win32_System_Com")] | |
20493 | impl ::core::cmp::PartialEq for IX509PrivateKey { | |
20494 | fn eq(&self, other: &Self) -> bool { | |
20495 | self.0 == other.0 | |
20496 | } | |
20497 | } | |
20498 | #[cfg(feature = "Win32_System_Com")] | |
20499 | impl ::core::cmp::Eq for IX509PrivateKey {} | |
20500 | #[cfg(feature = "Win32_System_Com")] | |
20501 | impl ::core::fmt::Debug for IX509PrivateKey { | |
20502 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20503 | f.debug_tuple("IX509PrivateKey").field(&self.0).finish() | |
20504 | } | |
20505 | } | |
20506 | #[cfg(feature = "Win32_System_Com")] | |
20507 | unsafe impl ::windows::core::Interface for IX509PrivateKey { | |
20508 | type Vtable = IX509PrivateKey_Vtbl; | |
20509 | } | |
20510 | #[cfg(feature = "Win32_System_Com")] | |
20511 | impl ::core::clone::Clone for IX509PrivateKey { | |
20512 | fn clone(&self) -> Self { | |
20513 | Self(self.0.clone()) | |
20514 | } | |
20515 | } | |
20516 | #[cfg(feature = "Win32_System_Com")] | |
20517 | unsafe impl ::windows::core::ComInterface for IX509PrivateKey { | |
20518 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30c_217d_11da_b2a4_000e7bbb2b09); | |
20519 | } | |
20520 | #[cfg(feature = "Win32_System_Com")] | |
20521 | #[repr(C)] | |
20522 | #[doc(hidden)] | |
20523 | pub struct IX509PrivateKey_Vtbl { | |
20524 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
20525 | pub Open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20526 | pub Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20527 | pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20528 | pub Delete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20529 | pub Verify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, verifytype: X509PrivateKeyVerify) -> ::windows::core::HRESULT, | |
20530 | pub Import: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strexporttype: ::std::mem::MaybeUninit<::windows::core::BSTR>, strencodedkey: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
20531 | pub Export: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strexporttype: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, pstrencodedkey: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20532 | #[cfg(feature = "Win32_System_Com")] | |
20533 | pub ExportPublicKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppublickey: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20534 | #[cfg(not(feature = "Win32_System_Com"))] | |
20535 | ExportPublicKey: usize, | |
20536 | pub ContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20537 | pub SetContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20538 | pub ContainerNamePrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20539 | pub SetContainerNamePrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20540 | pub ReaderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20541 | pub SetReaderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20542 | #[cfg(feature = "Win32_System_Com")] | |
20543 | pub CspInformations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20544 | #[cfg(not(feature = "Win32_System_Com"))] | |
20545 | CspInformations: usize, | |
20546 | #[cfg(feature = "Win32_System_Com")] | |
20547 | pub SetCspInformations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20548 | #[cfg(not(feature = "Win32_System_Com"))] | |
20549 | SetCspInformations: usize, | |
20550 | #[cfg(feature = "Win32_System_Com")] | |
20551 | pub CspStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20552 | #[cfg(not(feature = "Win32_System_Com"))] | |
20553 | CspStatus: usize, | |
20554 | #[cfg(feature = "Win32_System_Com")] | |
20555 | pub SetCspStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20556 | #[cfg(not(feature = "Win32_System_Com"))] | |
20557 | SetCspStatus: usize, | |
20558 | pub ProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20559 | pub SetProviderName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20560 | pub ProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509ProviderType) -> ::windows::core::HRESULT, | |
20561 | pub SetProviderType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509ProviderType) -> ::windows::core::HRESULT, | |
20562 | #[cfg(feature = "Win32_Foundation")] | |
20563 | pub LegacyCsp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20564 | #[cfg(not(feature = "Win32_Foundation"))] | |
20565 | LegacyCsp: usize, | |
20566 | #[cfg(feature = "Win32_Foundation")] | |
20567 | pub SetLegacyCsp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20568 | #[cfg(not(feature = "Win32_Foundation"))] | |
20569 | SetLegacyCsp: usize, | |
20570 | #[cfg(feature = "Win32_System_Com")] | |
20571 | pub Algorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20572 | #[cfg(not(feature = "Win32_System_Com"))] | |
20573 | Algorithm: usize, | |
20574 | #[cfg(feature = "Win32_System_Com")] | |
20575 | pub SetAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
20576 | #[cfg(not(feature = "Win32_System_Com"))] | |
20577 | SetAlgorithm: usize, | |
20578 | pub KeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509KeySpec) -> ::windows::core::HRESULT, | |
20579 | pub SetKeySpec: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509KeySpec) -> ::windows::core::HRESULT, | |
20580 | pub Length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
20581 | pub SetLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
20582 | pub ExportPolicy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509PrivateKeyExportFlags) -> ::windows::core::HRESULT, | |
20583 | pub SetExportPolicy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509PrivateKeyExportFlags) -> ::windows::core::HRESULT, | |
20584 | pub KeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509PrivateKeyUsageFlags) -> ::windows::core::HRESULT, | |
20585 | pub SetKeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509PrivateKeyUsageFlags) -> ::windows::core::HRESULT, | |
20586 | pub KeyProtection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509PrivateKeyProtection) -> ::windows::core::HRESULT, | |
20587 | pub SetKeyProtection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509PrivateKeyProtection) -> ::windows::core::HRESULT, | |
20588 | #[cfg(feature = "Win32_Foundation")] | |
20589 | pub MachineContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20590 | #[cfg(not(feature = "Win32_Foundation"))] | |
20591 | MachineContext: usize, | |
20592 | #[cfg(feature = "Win32_Foundation")] | |
20593 | pub SetMachineContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20594 | #[cfg(not(feature = "Win32_Foundation"))] | |
20595 | SetMachineContext: usize, | |
20596 | pub SecurityDescriptor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20597 | pub SetSecurityDescriptor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20598 | pub get_Certificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20599 | pub put_Certificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20600 | pub UniqueContainerName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20601 | #[cfg(feature = "Win32_Foundation")] | |
20602 | pub Opened: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20603 | #[cfg(not(feature = "Win32_Foundation"))] | |
20604 | Opened: usize, | |
20605 | #[cfg(feature = "Win32_Foundation")] | |
20606 | pub DefaultContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20607 | #[cfg(not(feature = "Win32_Foundation"))] | |
20608 | DefaultContainer: usize, | |
20609 | #[cfg(feature = "Win32_Foundation")] | |
20610 | pub Existing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20611 | #[cfg(not(feature = "Win32_Foundation"))] | |
20612 | Existing: usize, | |
20613 | #[cfg(feature = "Win32_Foundation")] | |
20614 | pub SetExisting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20615 | #[cfg(not(feature = "Win32_Foundation"))] | |
20616 | SetExisting: usize, | |
20617 | #[cfg(feature = "Win32_Foundation")] | |
20618 | pub Silent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20619 | #[cfg(not(feature = "Win32_Foundation"))] | |
20620 | Silent: usize, | |
20621 | #[cfg(feature = "Win32_Foundation")] | |
20622 | pub SetSilent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
20623 | #[cfg(not(feature = "Win32_Foundation"))] | |
20624 | SetSilent: usize, | |
20625 | pub ParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
20626 | pub SetParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, | |
20627 | pub UIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20628 | pub SetUIContextMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20629 | pub SetPin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20630 | pub FriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20631 | pub SetFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20632 | pub Description: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20633 | pub SetDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
20634 | } | |
20635 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
20636 | #[cfg(feature = "Win32_System_Com")] | |
20637 | #[repr(transparent)] | |
20638 | pub struct IX509PrivateKey2(::windows::core::IUnknown); | |
20639 | #[cfg(feature = "Win32_System_Com")] | |
20640 | impl IX509PrivateKey2 { | |
20641 | pub unsafe fn Open(&self) -> ::windows::core::Result<()> { | |
20642 | (::windows::core::Interface::vtable(self).base__.Open)(::windows::core::Interface::as_raw(self)).ok() | |
20643 | } | |
20644 | pub unsafe fn Create(&self) -> ::windows::core::Result<()> { | |
20645 | (::windows::core::Interface::vtable(self).base__.Create)(::windows::core::Interface::as_raw(self)).ok() | |
20646 | } | |
20647 | pub unsafe fn Close(&self) -> ::windows::core::Result<()> { | |
20648 | (::windows::core::Interface::vtable(self).base__.Close)(::windows::core::Interface::as_raw(self)).ok() | |
20649 | } | |
20650 | pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { | |
20651 | (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self)).ok() | |
20652 | } | |
20653 | pub unsafe fn Verify(&self, verifytype: X509PrivateKeyVerify) -> ::windows::core::Result<()> { | |
20654 | (::windows::core::Interface::vtable(self).base__.Verify)(::windows::core::Interface::as_raw(self), verifytype).ok() | |
20655 | } | |
20656 | pub unsafe fn Import<P0, P1>(&self, strexporttype: P0, strencodedkey: P1, encoding: EncodingType) -> ::windows::core::Result<()> | |
20657 | where | |
20658 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20659 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20660 | { | |
20661 | (::windows::core::Interface::vtable(self).base__.Import)(::windows::core::Interface::as_raw(self), strexporttype.into_param().abi(), strencodedkey.into_param().abi(), encoding).ok() | |
20662 | } | |
20663 | pub unsafe fn Export<P0>(&self, strexporttype: P0, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
20664 | where | |
20665 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20666 | { | |
20667 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20668 | (::windows::core::Interface::vtable(self).base__.Export)(::windows::core::Interface::as_raw(self), strexporttype.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
20669 | } | |
20670 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20671 | #[cfg(feature = "Win32_System_Com")] | |
20672 | pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result<IX509PublicKey> { | |
20673 | let mut result__ = ::windows::core::zeroed::<IX509PublicKey>(); | |
20674 | (::windows::core::Interface::vtable(self).base__.ExportPublicKey)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20675 | } | |
20676 | pub unsafe fn ContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20677 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20678 | (::windows::core::Interface::vtable(self).base__.ContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20679 | } | |
20680 | pub unsafe fn SetContainerName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20681 | where | |
20682 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20683 | { | |
20684 | (::windows::core::Interface::vtable(self).base__.SetContainerName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20685 | } | |
20686 | pub unsafe fn ContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20687 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20688 | (::windows::core::Interface::vtable(self).base__.ContainerNamePrefix)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20689 | } | |
20690 | pub unsafe fn SetContainerNamePrefix<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20691 | where | |
20692 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20693 | { | |
20694 | (::windows::core::Interface::vtable(self).base__.SetContainerNamePrefix)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20695 | } | |
20696 | pub unsafe fn ReaderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20697 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20698 | (::windows::core::Interface::vtable(self).base__.ReaderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20699 | } | |
20700 | pub unsafe fn SetReaderName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20701 | where | |
20702 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20703 | { | |
20704 | (::windows::core::Interface::vtable(self).base__.SetReaderName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20705 | } | |
20706 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20707 | #[cfg(feature = "Win32_System_Com")] | |
20708 | pub unsafe fn CspInformations(&self) -> ::windows::core::Result<ICspInformations> { | |
20709 | let mut result__ = ::windows::core::zeroed::<ICspInformations>(); | |
20710 | (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20711 | } | |
20712 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20713 | #[cfg(feature = "Win32_System_Com")] | |
20714 | pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20715 | where | |
20716 | P0: ::windows::core::IntoParam<ICspInformations>, | |
20717 | { | |
20718 | (::windows::core::Interface::vtable(self).base__.SetCspInformations)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20719 | } | |
20720 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20721 | #[cfg(feature = "Win32_System_Com")] | |
20722 | pub unsafe fn CspStatus(&self) -> ::windows::core::Result<ICspStatus> { | |
20723 | let mut result__ = ::windows::core::zeroed::<ICspStatus>(); | |
20724 | (::windows::core::Interface::vtable(self).base__.CspStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20725 | } | |
20726 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20727 | #[cfg(feature = "Win32_System_Com")] | |
20728 | pub unsafe fn SetCspStatus<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20729 | where | |
20730 | P0: ::windows::core::IntoParam<ICspStatus>, | |
20731 | { | |
20732 | (::windows::core::Interface::vtable(self).base__.SetCspStatus)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20733 | } | |
20734 | pub unsafe fn ProviderName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20735 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20736 | (::windows::core::Interface::vtable(self).base__.ProviderName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20737 | } | |
20738 | pub unsafe fn SetProviderName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20739 | where | |
20740 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20741 | { | |
20742 | (::windows::core::Interface::vtable(self).base__.SetProviderName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20743 | } | |
20744 | pub unsafe fn ProviderType(&self) -> ::windows::core::Result<X509ProviderType> { | |
20745 | let mut result__ = ::windows::core::zeroed::<X509ProviderType>(); | |
20746 | (::windows::core::Interface::vtable(self).base__.ProviderType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20747 | } | |
20748 | pub unsafe fn SetProviderType(&self, value: X509ProviderType) -> ::windows::core::Result<()> { | |
20749 | (::windows::core::Interface::vtable(self).base__.SetProviderType)(::windows::core::Interface::as_raw(self), value).ok() | |
20750 | } | |
20751 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20752 | #[cfg(feature = "Win32_Foundation")] | |
20753 | pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20754 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20755 | (::windows::core::Interface::vtable(self).base__.LegacyCsp)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20756 | } | |
20757 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20758 | #[cfg(feature = "Win32_Foundation")] | |
20759 | pub unsafe fn SetLegacyCsp<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20760 | where | |
20761 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20762 | { | |
20763 | (::windows::core::Interface::vtable(self).base__.SetLegacyCsp)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20764 | } | |
20765 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20766 | #[cfg(feature = "Win32_System_Com")] | |
20767 | pub unsafe fn Algorithm(&self) -> ::windows::core::Result<IObjectId> { | |
20768 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
20769 | (::windows::core::Interface::vtable(self).base__.Algorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20770 | } | |
20771 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
20772 | #[cfg(feature = "Win32_System_Com")] | |
20773 | pub unsafe fn SetAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
20774 | where | |
20775 | P0: ::windows::core::IntoParam<IObjectId>, | |
20776 | { | |
20777 | (::windows::core::Interface::vtable(self).base__.SetAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
20778 | } | |
20779 | pub unsafe fn KeySpec(&self) -> ::windows::core::Result<X509KeySpec> { | |
20780 | let mut result__ = ::windows::core::zeroed::<X509KeySpec>(); | |
20781 | (::windows::core::Interface::vtable(self).base__.KeySpec)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20782 | } | |
20783 | pub unsafe fn SetKeySpec(&self, value: X509KeySpec) -> ::windows::core::Result<()> { | |
20784 | (::windows::core::Interface::vtable(self).base__.SetKeySpec)(::windows::core::Interface::as_raw(self), value).ok() | |
20785 | } | |
20786 | pub unsafe fn Length(&self) -> ::windows::core::Result<i32> { | |
20787 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
20788 | (::windows::core::Interface::vtable(self).base__.Length)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20789 | } | |
20790 | pub unsafe fn SetLength(&self, value: i32) -> ::windows::core::Result<()> { | |
20791 | (::windows::core::Interface::vtable(self).base__.SetLength)(::windows::core::Interface::as_raw(self), value).ok() | |
20792 | } | |
20793 | pub unsafe fn ExportPolicy(&self) -> ::windows::core::Result<X509PrivateKeyExportFlags> { | |
20794 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyExportFlags>(); | |
20795 | (::windows::core::Interface::vtable(self).base__.ExportPolicy)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20796 | } | |
20797 | pub unsafe fn SetExportPolicy(&self, value: X509PrivateKeyExportFlags) -> ::windows::core::Result<()> { | |
20798 | (::windows::core::Interface::vtable(self).base__.SetExportPolicy)(::windows::core::Interface::as_raw(self), value).ok() | |
20799 | } | |
20800 | pub unsafe fn KeyUsage(&self) -> ::windows::core::Result<X509PrivateKeyUsageFlags> { | |
20801 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyUsageFlags>(); | |
20802 | (::windows::core::Interface::vtable(self).base__.KeyUsage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20803 | } | |
20804 | pub unsafe fn SetKeyUsage(&self, value: X509PrivateKeyUsageFlags) -> ::windows::core::Result<()> { | |
20805 | (::windows::core::Interface::vtable(self).base__.SetKeyUsage)(::windows::core::Interface::as_raw(self), value).ok() | |
20806 | } | |
20807 | pub unsafe fn KeyProtection(&self) -> ::windows::core::Result<X509PrivateKeyProtection> { | |
20808 | let mut result__ = ::windows::core::zeroed::<X509PrivateKeyProtection>(); | |
20809 | (::windows::core::Interface::vtable(self).base__.KeyProtection)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20810 | } | |
20811 | pub unsafe fn SetKeyProtection(&self, value: X509PrivateKeyProtection) -> ::windows::core::Result<()> { | |
20812 | (::windows::core::Interface::vtable(self).base__.SetKeyProtection)(::windows::core::Interface::as_raw(self), value).ok() | |
20813 | } | |
20814 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20815 | #[cfg(feature = "Win32_Foundation")] | |
20816 | pub unsafe fn MachineContext(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20817 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20818 | (::windows::core::Interface::vtable(self).base__.MachineContext)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20819 | } | |
20820 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20821 | #[cfg(feature = "Win32_Foundation")] | |
20822 | pub unsafe fn SetMachineContext<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20823 | where | |
20824 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20825 | { | |
20826 | (::windows::core::Interface::vtable(self).base__.SetMachineContext)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20827 | } | |
20828 | pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20829 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20830 | (::windows::core::Interface::vtable(self).base__.SecurityDescriptor)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20831 | } | |
20832 | pub unsafe fn SetSecurityDescriptor<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20833 | where | |
20834 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20835 | { | |
20836 | (::windows::core::Interface::vtable(self).base__.SetSecurityDescriptor)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20837 | } | |
20838 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
20839 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20840 | (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
20841 | } | |
20842 | pub unsafe fn put_Certificate<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
20843 | where | |
20844 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20845 | { | |
20846 | (::windows::core::Interface::vtable(self).base__.put_Certificate)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
20847 | } | |
20848 | pub unsafe fn UniqueContainerName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20849 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20850 | (::windows::core::Interface::vtable(self).base__.UniqueContainerName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20851 | } | |
20852 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20853 | #[cfg(feature = "Win32_Foundation")] | |
20854 | pub unsafe fn Opened(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20855 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20856 | (::windows::core::Interface::vtable(self).base__.Opened)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20857 | } | |
20858 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20859 | #[cfg(feature = "Win32_Foundation")] | |
20860 | pub unsafe fn DefaultContainer(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20861 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20862 | (::windows::core::Interface::vtable(self).base__.DefaultContainer)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20863 | } | |
20864 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20865 | #[cfg(feature = "Win32_Foundation")] | |
20866 | pub unsafe fn Existing(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20867 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20868 | (::windows::core::Interface::vtable(self).base__.Existing)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20869 | } | |
20870 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20871 | #[cfg(feature = "Win32_Foundation")] | |
20872 | pub unsafe fn SetExisting<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20873 | where | |
20874 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20875 | { | |
20876 | (::windows::core::Interface::vtable(self).base__.SetExisting)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20877 | } | |
20878 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20879 | #[cfg(feature = "Win32_Foundation")] | |
20880 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
20881 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
20882 | (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20883 | } | |
20884 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
20885 | #[cfg(feature = "Win32_Foundation")] | |
20886 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20887 | where | |
20888 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
20889 | { | |
20890 | (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20891 | } | |
20892 | pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<i32> { | |
20893 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
20894 | (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20895 | } | |
20896 | pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { | |
20897 | (::windows::core::Interface::vtable(self).base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value).ok() | |
20898 | } | |
20899 | pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20900 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20901 | (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20902 | } | |
20903 | pub unsafe fn SetUIContextMessage<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20904 | where | |
20905 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20906 | { | |
20907 | (::windows::core::Interface::vtable(self).base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20908 | } | |
20909 | pub unsafe fn SetPin<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20910 | where | |
20911 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20912 | { | |
20913 | (::windows::core::Interface::vtable(self).base__.SetPin)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20914 | } | |
20915 | pub unsafe fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20916 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20917 | (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20918 | } | |
20919 | pub unsafe fn SetFriendlyName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20920 | where | |
20921 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20922 | { | |
20923 | (::windows::core::Interface::vtable(self).base__.SetFriendlyName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20924 | } | |
20925 | pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20926 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20927 | (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20928 | } | |
20929 | pub unsafe fn SetDescription<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20930 | where | |
20931 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20932 | { | |
20933 | (::windows::core::Interface::vtable(self).base__.SetDescription)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20934 | } | |
20935 | pub unsafe fn HardwareKeyUsage(&self) -> ::windows::core::Result<X509HardwareKeyUsageFlags> { | |
20936 | let mut result__ = ::windows::core::zeroed::<X509HardwareKeyUsageFlags>(); | |
20937 | (::windows::core::Interface::vtable(self).HardwareKeyUsage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20938 | } | |
20939 | pub unsafe fn SetHardwareKeyUsage(&self, value: X509HardwareKeyUsageFlags) -> ::windows::core::Result<()> { | |
20940 | (::windows::core::Interface::vtable(self).SetHardwareKeyUsage)(::windows::core::Interface::as_raw(self), value).ok() | |
20941 | } | |
20942 | pub unsafe fn AlternateStorageLocation(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20943 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20944 | (::windows::core::Interface::vtable(self).AlternateStorageLocation)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20945 | } | |
20946 | pub unsafe fn SetAlternateStorageLocation<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20947 | where | |
20948 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20949 | { | |
20950 | (::windows::core::Interface::vtable(self).SetAlternateStorageLocation)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20951 | } | |
20952 | pub unsafe fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
20953 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20954 | (::windows::core::Interface::vtable(self).AlgorithmName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20955 | } | |
20956 | pub unsafe fn SetAlgorithmName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
20957 | where | |
20958 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20959 | { | |
20960 | (::windows::core::Interface::vtable(self).SetAlgorithmName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
20961 | } | |
20962 | pub unsafe fn get_AlgorithmParameters(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
20963 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
20964 | (::windows::core::Interface::vtable(self).get_AlgorithmParameters)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
20965 | } | |
20966 | pub unsafe fn put_AlgorithmParameters<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
20967 | where | |
20968 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
20969 | { | |
20970 | (::windows::core::Interface::vtable(self).put_AlgorithmParameters)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
20971 | } | |
20972 | pub unsafe fn ParametersExportType(&self) -> ::windows::core::Result<X509KeyParametersExportType> { | |
20973 | let mut result__ = ::windows::core::zeroed::<X509KeyParametersExportType>(); | |
20974 | (::windows::core::Interface::vtable(self).ParametersExportType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
20975 | } | |
20976 | pub unsafe fn SetParametersExportType(&self, value: X509KeyParametersExportType) -> ::windows::core::Result<()> { | |
20977 | (::windows::core::Interface::vtable(self).SetParametersExportType)(::windows::core::Interface::as_raw(self), value).ok() | |
20978 | } | |
20979 | } | |
20980 | #[cfg(feature = "Win32_System_Com")] | |
20981 | ::windows::imp::interface_hierarchy!(IX509PrivateKey2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509PrivateKey); | |
20982 | #[cfg(feature = "Win32_System_Com")] | |
20983 | impl ::core::cmp::PartialEq for IX509PrivateKey2 { | |
20984 | fn eq(&self, other: &Self) -> bool { | |
20985 | self.0 == other.0 | |
20986 | } | |
20987 | } | |
20988 | #[cfg(feature = "Win32_System_Com")] | |
20989 | impl ::core::cmp::Eq for IX509PrivateKey2 {} | |
20990 | #[cfg(feature = "Win32_System_Com")] | |
20991 | impl ::core::fmt::Debug for IX509PrivateKey2 { | |
20992 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20993 | f.debug_tuple("IX509PrivateKey2").field(&self.0).finish() | |
20994 | } | |
20995 | } | |
20996 | #[cfg(feature = "Win32_System_Com")] | |
20997 | unsafe impl ::windows::core::Interface for IX509PrivateKey2 { | |
20998 | type Vtable = IX509PrivateKey2_Vtbl; | |
20999 | } | |
21000 | #[cfg(feature = "Win32_System_Com")] | |
21001 | impl ::core::clone::Clone for IX509PrivateKey2 { | |
21002 | fn clone(&self) -> Self { | |
21003 | Self(self.0.clone()) | |
21004 | } | |
21005 | } | |
21006 | #[cfg(feature = "Win32_System_Com")] | |
21007 | unsafe impl ::windows::core::ComInterface for IX509PrivateKey2 { | |
21008 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab362_217d_11da_b2a4_000e7bbb2b09); | |
21009 | } | |
21010 | #[cfg(feature = "Win32_System_Com")] | |
21011 | #[repr(C)] | |
21012 | #[doc(hidden)] | |
21013 | pub struct IX509PrivateKey2_Vtbl { | |
21014 | pub base__: IX509PrivateKey_Vtbl, | |
21015 | pub HardwareKeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509HardwareKeyUsageFlags) -> ::windows::core::HRESULT, | |
21016 | pub SetHardwareKeyUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509HardwareKeyUsageFlags) -> ::windows::core::HRESULT, | |
21017 | pub AlternateStorageLocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21018 | pub SetAlternateStorageLocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21019 | pub AlgorithmName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21020 | pub SetAlgorithmName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21021 | pub get_AlgorithmParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21022 | pub put_AlgorithmParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21023 | pub ParametersExportType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509KeyParametersExportType) -> ::windows::core::HRESULT, | |
21024 | pub SetParametersExportType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: X509KeyParametersExportType) -> ::windows::core::HRESULT, | |
21025 | } | |
21026 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
21027 | #[cfg(feature = "Win32_System_Com")] | |
21028 | #[repr(transparent)] | |
21029 | pub struct IX509PublicKey(::windows::core::IUnknown); | |
21030 | #[cfg(feature = "Win32_System_Com")] | |
21031 | impl IX509PublicKey { | |
21032 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21033 | #[cfg(feature = "Win32_System_Com")] | |
21034 | pub unsafe fn Initialize<P0, P1, P2>(&self, pobjectid: P0, strencodedkey: P1, strencodedparameters: P2, encoding: EncodingType) -> ::windows::core::Result<()> | |
21035 | where | |
21036 | P0: ::windows::core::IntoParam<IObjectId>, | |
21037 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21038 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21039 | { | |
21040 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pobjectid.into_param().abi(), strencodedkey.into_param().abi(), strencodedparameters.into_param().abi(), encoding).ok() | |
21041 | } | |
21042 | pub unsafe fn InitializeFromEncodedPublicKeyInfo<P0>(&self, strencodedpublickeyinfo: P0, encoding: EncodingType) -> ::windows::core::Result<()> | |
21043 | where | |
21044 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21045 | { | |
21046 | (::windows::core::Interface::vtable(self).InitializeFromEncodedPublicKeyInfo)(::windows::core::Interface::as_raw(self), strencodedpublickeyinfo.into_param().abi(), encoding).ok() | |
21047 | } | |
21048 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21049 | #[cfg(feature = "Win32_System_Com")] | |
21050 | pub unsafe fn Algorithm(&self) -> ::windows::core::Result<IObjectId> { | |
21051 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
21052 | (::windows::core::Interface::vtable(self).Algorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21053 | } | |
21054 | pub unsafe fn Length(&self) -> ::windows::core::Result<i32> { | |
21055 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
21056 | (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21057 | } | |
21058 | pub unsafe fn get_EncodedKey(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21059 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21060 | (::windows::core::Interface::vtable(self).get_EncodedKey)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21061 | } | |
21062 | pub unsafe fn get_EncodedParameters(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21063 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21064 | (::windows::core::Interface::vtable(self).get_EncodedParameters)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21065 | } | |
21066 | pub unsafe fn ComputeKeyIdentifier(&self, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21067 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21068 | (::windows::core::Interface::vtable(self).ComputeKeyIdentifier)(::windows::core::Interface::as_raw(self), algorithm, encoding, &mut result__).from_abi(result__) | |
21069 | } | |
21070 | } | |
21071 | #[cfg(feature = "Win32_System_Com")] | |
21072 | ::windows::imp::interface_hierarchy!(IX509PublicKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
21073 | #[cfg(feature = "Win32_System_Com")] | |
21074 | impl ::core::cmp::PartialEq for IX509PublicKey { | |
21075 | fn eq(&self, other: &Self) -> bool { | |
21076 | self.0 == other.0 | |
21077 | } | |
21078 | } | |
21079 | #[cfg(feature = "Win32_System_Com")] | |
21080 | impl ::core::cmp::Eq for IX509PublicKey {} | |
21081 | #[cfg(feature = "Win32_System_Com")] | |
21082 | impl ::core::fmt::Debug for IX509PublicKey { | |
21083 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21084 | f.debug_tuple("IX509PublicKey").field(&self.0).finish() | |
21085 | } | |
21086 | } | |
21087 | #[cfg(feature = "Win32_System_Com")] | |
21088 | unsafe impl ::windows::core::Interface for IX509PublicKey { | |
21089 | type Vtable = IX509PublicKey_Vtbl; | |
21090 | } | |
21091 | #[cfg(feature = "Win32_System_Com")] | |
21092 | impl ::core::clone::Clone for IX509PublicKey { | |
21093 | fn clone(&self) -> Self { | |
21094 | Self(self.0.clone()) | |
21095 | } | |
21096 | } | |
21097 | #[cfg(feature = "Win32_System_Com")] | |
21098 | unsafe impl ::windows::core::ComInterface for IX509PublicKey { | |
21099 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab30b_217d_11da_b2a4_000e7bbb2b09); | |
21100 | } | |
21101 | #[cfg(feature = "Win32_System_Com")] | |
21102 | #[repr(C)] | |
21103 | #[doc(hidden)] | |
21104 | pub struct IX509PublicKey_Vtbl { | |
21105 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
21106 | #[cfg(feature = "Win32_System_Com")] | |
21107 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobjectid: *mut ::core::ffi::c_void, strencodedkey: ::std::mem::MaybeUninit<::windows::core::BSTR>, strencodedparameters: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
21108 | #[cfg(not(feature = "Win32_System_Com"))] | |
21109 | Initialize: usize, | |
21110 | pub InitializeFromEncodedPublicKeyInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strencodedpublickeyinfo: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
21111 | #[cfg(feature = "Win32_System_Com")] | |
21112 | pub Algorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21113 | #[cfg(not(feature = "Win32_System_Com"))] | |
21114 | Algorithm: usize, | |
21115 | pub Length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut i32) -> ::windows::core::HRESULT, | |
21116 | pub get_EncodedKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21117 | pub get_EncodedParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21118 | pub ComputeKeyIdentifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21119 | } | |
21120 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
21121 | #[cfg(feature = "Win32_System_Com")] | |
21122 | #[repr(transparent)] | |
21123 | pub struct IX509SCEPEnrollment(::windows::core::IUnknown); | |
21124 | #[cfg(feature = "Win32_System_Com")] | |
21125 | impl IX509SCEPEnrollment { | |
21126 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21127 | #[cfg(feature = "Win32_System_Com")] | |
21128 | pub unsafe fn Initialize<P0, P1, P2>(&self, prequest: P0, strthumbprint: P1, thumprintencoding: EncodingType, strservercertificates: P2, encoding: EncodingType) -> ::windows::core::Result<()> | |
21129 | where | |
21130 | P0: ::windows::core::IntoParam<IX509CertificateRequestPkcs10>, | |
21131 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21132 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21133 | { | |
21134 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), prequest.into_param().abi(), strthumbprint.into_param().abi(), thumprintencoding, strservercertificates.into_param().abi(), encoding).ok() | |
21135 | } | |
21136 | pub unsafe fn InitializeForPending(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
21137 | (::windows::core::Interface::vtable(self).InitializeForPending)(::windows::core::Interface::as_raw(self), context).ok() | |
21138 | } | |
21139 | pub unsafe fn CreateRequestMessage(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21140 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21141 | (::windows::core::Interface::vtable(self).CreateRequestMessage)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21142 | } | |
21143 | pub unsafe fn CreateRetrievePendingMessage(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21144 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21145 | (::windows::core::Interface::vtable(self).CreateRetrievePendingMessage)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21146 | } | |
21147 | pub unsafe fn CreateRetrieveCertificateMessage<P0, P1>(&self, context: X509CertificateEnrollmentContext, strissuer: P0, issuerencoding: EncodingType, strserialnumber: P1, serialnumberencoding: EncodingType, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
21148 | where | |
21149 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21150 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21151 | { | |
21152 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21153 | (::windows::core::Interface::vtable(self).CreateRetrieveCertificateMessage)(::windows::core::Interface::as_raw(self), context, strissuer.into_param().abi(), issuerencoding, strserialnumber.into_param().abi(), serialnumberencoding, encoding, &mut result__).from_abi(result__) | |
21154 | } | |
21155 | pub unsafe fn ProcessResponseMessage<P0>(&self, strresponse: P0, encoding: EncodingType) -> ::windows::core::Result<X509SCEPDisposition> | |
21156 | where | |
21157 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21158 | { | |
21159 | let mut result__ = ::windows::core::zeroed::<X509SCEPDisposition>(); | |
21160 | (::windows::core::Interface::vtable(self).ProcessResponseMessage)(::windows::core::Interface::as_raw(self), strresponse.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
21161 | } | |
21162 | pub unsafe fn SetServerCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21163 | where | |
21164 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21165 | { | |
21166 | (::windows::core::Interface::vtable(self).SetServerCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21167 | } | |
21168 | pub unsafe fn FailInfo(&self) -> ::windows::core::Result<X509SCEPFailInfo> { | |
21169 | let mut result__ = ::windows::core::zeroed::<X509SCEPFailInfo>(); | |
21170 | (::windows::core::Interface::vtable(self).FailInfo)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21171 | } | |
21172 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21173 | #[cfg(feature = "Win32_System_Com")] | |
21174 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
21175 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
21176 | (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21177 | } | |
21178 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21179 | #[cfg(feature = "Win32_System_Com")] | |
21180 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21181 | where | |
21182 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
21183 | { | |
21184 | (::windows::core::Interface::vtable(self).SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21185 | } | |
21186 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21187 | #[cfg(feature = "Win32_System_Com")] | |
21188 | pub unsafe fn OldCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
21189 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
21190 | (::windows::core::Interface::vtable(self).OldCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21191 | } | |
21192 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21193 | #[cfg(feature = "Win32_System_Com")] | |
21194 | pub unsafe fn SetOldCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21195 | where | |
21196 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
21197 | { | |
21198 | (::windows::core::Interface::vtable(self).SetOldCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21199 | } | |
21200 | pub unsafe fn get_TransactionId(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21201 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21202 | (::windows::core::Interface::vtable(self).get_TransactionId)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21203 | } | |
21204 | pub unsafe fn put_TransactionId<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
21205 | where | |
21206 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21207 | { | |
21208 | (::windows::core::Interface::vtable(self).put_TransactionId)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
21209 | } | |
21210 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21211 | #[cfg(feature = "Win32_System_Com")] | |
21212 | pub unsafe fn Request(&self) -> ::windows::core::Result<IX509CertificateRequestPkcs10> { | |
21213 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequestPkcs10>(); | |
21214 | (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21215 | } | |
21216 | pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
21217 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21218 | (::windows::core::Interface::vtable(self).CertificateFriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21219 | } | |
21220 | pub unsafe fn SetCertificateFriendlyName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21221 | where | |
21222 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21223 | { | |
21224 | (::windows::core::Interface::vtable(self).SetCertificateFriendlyName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21225 | } | |
21226 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21227 | #[cfg(feature = "Win32_System_Com")] | |
21228 | pub unsafe fn Status(&self) -> ::windows::core::Result<IX509EnrollmentStatus> { | |
21229 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentStatus>(); | |
21230 | (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21231 | } | |
21232 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21233 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21234 | (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21235 | } | |
21236 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21237 | #[cfg(feature = "Win32_Foundation")] | |
21238 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
21239 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
21240 | (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21241 | } | |
21242 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21243 | #[cfg(feature = "Win32_Foundation")] | |
21244 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21245 | where | |
21246 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21247 | { | |
21248 | (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21249 | } | |
21250 | pub unsafe fn DeleteRequest(&self) -> ::windows::core::Result<()> { | |
21251 | (::windows::core::Interface::vtable(self).DeleteRequest)(::windows::core::Interface::as_raw(self)).ok() | |
21252 | } | |
21253 | } | |
21254 | #[cfg(feature = "Win32_System_Com")] | |
21255 | ::windows::imp::interface_hierarchy!(IX509SCEPEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
21256 | #[cfg(feature = "Win32_System_Com")] | |
21257 | impl ::core::cmp::PartialEq for IX509SCEPEnrollment { | |
21258 | fn eq(&self, other: &Self) -> bool { | |
21259 | self.0 == other.0 | |
21260 | } | |
21261 | } | |
21262 | #[cfg(feature = "Win32_System_Com")] | |
21263 | impl ::core::cmp::Eq for IX509SCEPEnrollment {} | |
21264 | #[cfg(feature = "Win32_System_Com")] | |
21265 | impl ::core::fmt::Debug for IX509SCEPEnrollment { | |
21266 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21267 | f.debug_tuple("IX509SCEPEnrollment").field(&self.0).finish() | |
21268 | } | |
21269 | } | |
21270 | #[cfg(feature = "Win32_System_Com")] | |
21271 | unsafe impl ::windows::core::Interface for IX509SCEPEnrollment { | |
21272 | type Vtable = IX509SCEPEnrollment_Vtbl; | |
21273 | } | |
21274 | #[cfg(feature = "Win32_System_Com")] | |
21275 | impl ::core::clone::Clone for IX509SCEPEnrollment { | |
21276 | fn clone(&self) -> Self { | |
21277 | Self(self.0.clone()) | |
21278 | } | |
21279 | } | |
21280 | #[cfg(feature = "Win32_System_Com")] | |
21281 | unsafe impl ::windows::core::ComInterface for IX509SCEPEnrollment { | |
21282 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab361_217d_11da_b2a4_000e7bbb2b09); | |
21283 | } | |
21284 | #[cfg(feature = "Win32_System_Com")] | |
21285 | #[repr(C)] | |
21286 | #[doc(hidden)] | |
21287 | pub struct IX509SCEPEnrollment_Vtbl { | |
21288 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
21289 | #[cfg(feature = "Win32_System_Com")] | |
21290 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prequest: *mut ::core::ffi::c_void, strthumbprint: ::std::mem::MaybeUninit<::windows::core::BSTR>, thumprintencoding: EncodingType, strservercertificates: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType) -> ::windows::core::HRESULT, | |
21291 | #[cfg(not(feature = "Win32_System_Com"))] | |
21292 | Initialize: usize, | |
21293 | pub InitializeForPending: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext) -> ::windows::core::HRESULT, | |
21294 | pub CreateRequestMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21295 | pub CreateRetrievePendingMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21296 | pub CreateRetrieveCertificateMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, context: X509CertificateEnrollmentContext, strissuer: ::std::mem::MaybeUninit<::windows::core::BSTR>, issuerencoding: EncodingType, strserialnumber: ::std::mem::MaybeUninit<::windows::core::BSTR>, serialnumberencoding: EncodingType, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21297 | pub ProcessResponseMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> ::windows::core::HRESULT, | |
21298 | pub SetServerCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21299 | pub FailInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut X509SCEPFailInfo) -> ::windows::core::HRESULT, | |
21300 | #[cfg(feature = "Win32_System_Com")] | |
21301 | pub SignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21302 | #[cfg(not(feature = "Win32_System_Com"))] | |
21303 | SignerCertificate: usize, | |
21304 | #[cfg(feature = "Win32_System_Com")] | |
21305 | pub SetSignerCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21306 | #[cfg(not(feature = "Win32_System_Com"))] | |
21307 | SetSignerCertificate: usize, | |
21308 | #[cfg(feature = "Win32_System_Com")] | |
21309 | pub OldCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21310 | #[cfg(not(feature = "Win32_System_Com"))] | |
21311 | OldCertificate: usize, | |
21312 | #[cfg(feature = "Win32_System_Com")] | |
21313 | pub SetOldCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21314 | #[cfg(not(feature = "Win32_System_Com"))] | |
21315 | SetOldCertificate: usize, | |
21316 | pub get_TransactionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21317 | pub put_TransactionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21318 | #[cfg(feature = "Win32_System_Com")] | |
21319 | pub Request: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21320 | #[cfg(not(feature = "Win32_System_Com"))] | |
21321 | Request: usize, | |
21322 | pub CertificateFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21323 | pub SetCertificateFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21324 | #[cfg(feature = "Win32_System_Com")] | |
21325 | pub Status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21326 | #[cfg(not(feature = "Win32_System_Com"))] | |
21327 | Status: usize, | |
21328 | pub get_Certificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21329 | #[cfg(feature = "Win32_Foundation")] | |
21330 | pub Silent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21331 | #[cfg(not(feature = "Win32_Foundation"))] | |
21332 | Silent: usize, | |
21333 | #[cfg(feature = "Win32_Foundation")] | |
21334 | pub SetSilent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21335 | #[cfg(not(feature = "Win32_Foundation"))] | |
21336 | SetSilent: usize, | |
21337 | pub DeleteRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21338 | } | |
21339 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
21340 | #[cfg(feature = "Win32_System_Com")] | |
21341 | #[repr(transparent)] | |
21342 | pub struct IX509SCEPEnrollment2(::windows::core::IUnknown); | |
21343 | #[cfg(feature = "Win32_System_Com")] | |
21344 | impl IX509SCEPEnrollment2 { | |
21345 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21346 | #[cfg(feature = "Win32_System_Com")] | |
21347 | pub unsafe fn Initialize<P0, P1, P2>(&self, prequest: P0, strthumbprint: P1, thumprintencoding: EncodingType, strservercertificates: P2, encoding: EncodingType) -> ::windows::core::Result<()> | |
21348 | where | |
21349 | P0: ::windows::core::IntoParam<IX509CertificateRequestPkcs10>, | |
21350 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21351 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21352 | { | |
21353 | (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), prequest.into_param().abi(), strthumbprint.into_param().abi(), thumprintencoding, strservercertificates.into_param().abi(), encoding).ok() | |
21354 | } | |
21355 | pub unsafe fn InitializeForPending(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { | |
21356 | (::windows::core::Interface::vtable(self).base__.InitializeForPending)(::windows::core::Interface::as_raw(self), context).ok() | |
21357 | } | |
21358 | pub unsafe fn CreateRequestMessage(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21359 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21360 | (::windows::core::Interface::vtable(self).base__.CreateRequestMessage)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21361 | } | |
21362 | pub unsafe fn CreateRetrievePendingMessage(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21363 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21364 | (::windows::core::Interface::vtable(self).base__.CreateRetrievePendingMessage)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21365 | } | |
21366 | pub unsafe fn CreateRetrieveCertificateMessage<P0, P1>(&self, context: X509CertificateEnrollmentContext, strissuer: P0, issuerencoding: EncodingType, strserialnumber: P1, serialnumberencoding: EncodingType, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> | |
21367 | where | |
21368 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21369 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21370 | { | |
21371 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21372 | (::windows::core::Interface::vtable(self).base__.CreateRetrieveCertificateMessage)(::windows::core::Interface::as_raw(self), context, strissuer.into_param().abi(), issuerencoding, strserialnumber.into_param().abi(), serialnumberencoding, encoding, &mut result__).from_abi(result__) | |
21373 | } | |
21374 | pub unsafe fn ProcessResponseMessage<P0>(&self, strresponse: P0, encoding: EncodingType) -> ::windows::core::Result<X509SCEPDisposition> | |
21375 | where | |
21376 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21377 | { | |
21378 | let mut result__ = ::windows::core::zeroed::<X509SCEPDisposition>(); | |
21379 | (::windows::core::Interface::vtable(self).base__.ProcessResponseMessage)(::windows::core::Interface::as_raw(self), strresponse.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
21380 | } | |
21381 | pub unsafe fn SetServerCapabilities<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21382 | where | |
21383 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21384 | { | |
21385 | (::windows::core::Interface::vtable(self).base__.SetServerCapabilities)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21386 | } | |
21387 | pub unsafe fn FailInfo(&self) -> ::windows::core::Result<X509SCEPFailInfo> { | |
21388 | let mut result__ = ::windows::core::zeroed::<X509SCEPFailInfo>(); | |
21389 | (::windows::core::Interface::vtable(self).base__.FailInfo)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21390 | } | |
21391 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21392 | #[cfg(feature = "Win32_System_Com")] | |
21393 | pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
21394 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
21395 | (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21396 | } | |
21397 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21398 | #[cfg(feature = "Win32_System_Com")] | |
21399 | pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21400 | where | |
21401 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
21402 | { | |
21403 | (::windows::core::Interface::vtable(self).base__.SetSignerCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21404 | } | |
21405 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21406 | #[cfg(feature = "Win32_System_Com")] | |
21407 | pub unsafe fn OldCertificate(&self) -> ::windows::core::Result<ISignerCertificate> { | |
21408 | let mut result__ = ::windows::core::zeroed::<ISignerCertificate>(); | |
21409 | (::windows::core::Interface::vtable(self).base__.OldCertificate)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21410 | } | |
21411 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21412 | #[cfg(feature = "Win32_System_Com")] | |
21413 | pub unsafe fn SetOldCertificate<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21414 | where | |
21415 | P0: ::windows::core::IntoParam<ISignerCertificate>, | |
21416 | { | |
21417 | (::windows::core::Interface::vtable(self).base__.SetOldCertificate)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21418 | } | |
21419 | pub unsafe fn get_TransactionId(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21420 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21421 | (::windows::core::Interface::vtable(self).base__.get_TransactionId)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21422 | } | |
21423 | pub unsafe fn put_TransactionId<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
21424 | where | |
21425 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21426 | { | |
21427 | (::windows::core::Interface::vtable(self).base__.put_TransactionId)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
21428 | } | |
21429 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21430 | #[cfg(feature = "Win32_System_Com")] | |
21431 | pub unsafe fn Request(&self) -> ::windows::core::Result<IX509CertificateRequestPkcs10> { | |
21432 | let mut result__ = ::windows::core::zeroed::<IX509CertificateRequestPkcs10>(); | |
21433 | (::windows::core::Interface::vtable(self).base__.Request)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21434 | } | |
21435 | pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
21436 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21437 | (::windows::core::Interface::vtable(self).base__.CertificateFriendlyName)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21438 | } | |
21439 | pub unsafe fn SetCertificateFriendlyName<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21440 | where | |
21441 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21442 | { | |
21443 | (::windows::core::Interface::vtable(self).base__.SetCertificateFriendlyName)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21444 | } | |
21445 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21446 | #[cfg(feature = "Win32_System_Com")] | |
21447 | pub unsafe fn Status(&self) -> ::windows::core::Result<IX509EnrollmentStatus> { | |
21448 | let mut result__ = ::windows::core::zeroed::<IX509EnrollmentStatus>(); | |
21449 | (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21450 | } | |
21451 | pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21452 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21453 | (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21454 | } | |
21455 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21456 | #[cfg(feature = "Win32_Foundation")] | |
21457 | pub unsafe fn Silent(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
21458 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
21459 | (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21460 | } | |
21461 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21462 | #[cfg(feature = "Win32_Foundation")] | |
21463 | pub unsafe fn SetSilent<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21464 | where | |
21465 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21466 | { | |
21467 | (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21468 | } | |
21469 | pub unsafe fn DeleteRequest(&self) -> ::windows::core::Result<()> { | |
21470 | (::windows::core::Interface::vtable(self).base__.DeleteRequest)(::windows::core::Interface::as_raw(self)).ok() | |
21471 | } | |
21472 | pub unsafe fn CreateChallengeAnswerMessage(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21473 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21474 | (::windows::core::Interface::vtable(self).CreateChallengeAnswerMessage)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21475 | } | |
21476 | pub unsafe fn ProcessResponseMessage2<P0>(&self, flags: X509SCEPProcessMessageFlags, strresponse: P0, encoding: EncodingType) -> ::windows::core::Result<X509SCEPDisposition> | |
21477 | where | |
21478 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21479 | { | |
21480 | let mut result__ = ::windows::core::zeroed::<X509SCEPDisposition>(); | |
21481 | (::windows::core::Interface::vtable(self).ProcessResponseMessage2)(::windows::core::Interface::as_raw(self), flags, strresponse.into_param().abi(), encoding, &mut result__).from_abi(result__) | |
21482 | } | |
21483 | pub unsafe fn ResultMessageText(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
21484 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21485 | (::windows::core::Interface::vtable(self).ResultMessageText)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21486 | } | |
21487 | pub unsafe fn DelayRetry(&self) -> ::windows::core::Result<DelayRetryAction> { | |
21488 | let mut result__ = ::windows::core::zeroed::<DelayRetryAction>(); | |
21489 | (::windows::core::Interface::vtable(self).DelayRetry)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21490 | } | |
21491 | pub unsafe fn ActivityId(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
21492 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21493 | (::windows::core::Interface::vtable(self).ActivityId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21494 | } | |
21495 | pub unsafe fn SetActivityId<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21496 | where | |
21497 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21498 | { | |
21499 | (::windows::core::Interface::vtable(self).SetActivityId)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21500 | } | |
21501 | } | |
21502 | #[cfg(feature = "Win32_System_Com")] | |
21503 | ::windows::imp::interface_hierarchy!(IX509SCEPEnrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509SCEPEnrollment); | |
21504 | #[cfg(feature = "Win32_System_Com")] | |
21505 | impl ::core::cmp::PartialEq for IX509SCEPEnrollment2 { | |
21506 | fn eq(&self, other: &Self) -> bool { | |
21507 | self.0 == other.0 | |
21508 | } | |
21509 | } | |
21510 | #[cfg(feature = "Win32_System_Com")] | |
21511 | impl ::core::cmp::Eq for IX509SCEPEnrollment2 {} | |
21512 | #[cfg(feature = "Win32_System_Com")] | |
21513 | impl ::core::fmt::Debug for IX509SCEPEnrollment2 { | |
21514 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21515 | f.debug_tuple("IX509SCEPEnrollment2").field(&self.0).finish() | |
21516 | } | |
21517 | } | |
21518 | #[cfg(feature = "Win32_System_Com")] | |
21519 | unsafe impl ::windows::core::Interface for IX509SCEPEnrollment2 { | |
21520 | type Vtable = IX509SCEPEnrollment2_Vtbl; | |
21521 | } | |
21522 | #[cfg(feature = "Win32_System_Com")] | |
21523 | impl ::core::clone::Clone for IX509SCEPEnrollment2 { | |
21524 | fn clone(&self) -> Self { | |
21525 | Self(self.0.clone()) | |
21526 | } | |
21527 | } | |
21528 | #[cfg(feature = "Win32_System_Com")] | |
21529 | unsafe impl ::windows::core::ComInterface for IX509SCEPEnrollment2 { | |
21530 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab364_217d_11da_b2a4_000e7bbb2b09); | |
21531 | } | |
21532 | #[cfg(feature = "Win32_System_Com")] | |
21533 | #[repr(C)] | |
21534 | #[doc(hidden)] | |
21535 | pub struct IX509SCEPEnrollment2_Vtbl { | |
21536 | pub base__: IX509SCEPEnrollment_Vtbl, | |
21537 | pub CreateChallengeAnswerMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21538 | pub ProcessResponseMessage2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: X509SCEPProcessMessageFlags, strresponse: ::std::mem::MaybeUninit<::windows::core::BSTR>, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> ::windows::core::HRESULT, | |
21539 | pub ResultMessageText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21540 | pub DelayRetry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut DelayRetryAction) -> ::windows::core::HRESULT, | |
21541 | pub ActivityId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21542 | pub SetActivityId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21543 | } | |
21544 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
21545 | #[cfg(feature = "Win32_System_Com")] | |
21546 | #[repr(transparent)] | |
21547 | pub struct IX509SCEPEnrollmentHelper(::windows::core::IUnknown); | |
21548 | #[cfg(feature = "Win32_System_Com")] | |
21549 | impl IX509SCEPEnrollmentHelper { | |
21550 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21551 | #[cfg(feature = "Win32_System_Com")] | |
21552 | pub unsafe fn Initialize<P0, P1, P2, P3>(&self, strserverurl: P0, strrequestheaders: P1, prequest: P2, strcacertificatethumbprint: P3) -> ::windows::core::Result<()> | |
21553 | where | |
21554 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21555 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21556 | P2: ::windows::core::IntoParam<IX509CertificateRequestPkcs10>, | |
21557 | P3: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21558 | { | |
21559 | (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strserverurl.into_param().abi(), strrequestheaders.into_param().abi(), prequest.into_param().abi(), strcacertificatethumbprint.into_param().abi()).ok() | |
21560 | } | |
21561 | pub unsafe fn InitializeForPending<P0, P1, P2>(&self, strserverurl: P0, strrequestheaders: P1, context: X509CertificateEnrollmentContext, strtransactionid: P2) -> ::windows::core::Result<()> | |
21562 | where | |
21563 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21564 | P1: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21565 | P2: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21566 | { | |
21567 | (::windows::core::Interface::vtable(self).InitializeForPending)(::windows::core::Interface::as_raw(self), strserverurl.into_param().abi(), strrequestheaders.into_param().abi(), context, strtransactionid.into_param().abi()).ok() | |
21568 | } | |
21569 | pub unsafe fn Enroll(&self, processflags: X509SCEPProcessMessageFlags) -> ::windows::core::Result<X509SCEPDisposition> { | |
21570 | let mut result__ = ::windows::core::zeroed::<X509SCEPDisposition>(); | |
21571 | (::windows::core::Interface::vtable(self).Enroll)(::windows::core::Interface::as_raw(self), processflags, &mut result__).from_abi(result__) | |
21572 | } | |
21573 | pub unsafe fn FetchPending(&self, processflags: X509SCEPProcessMessageFlags) -> ::windows::core::Result<X509SCEPDisposition> { | |
21574 | let mut result__ = ::windows::core::zeroed::<X509SCEPDisposition>(); | |
21575 | (::windows::core::Interface::vtable(self).FetchPending)(::windows::core::Interface::as_raw(self), processflags, &mut result__).from_abi(result__) | |
21576 | } | |
21577 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21578 | #[cfg(feature = "Win32_System_Com")] | |
21579 | pub unsafe fn X509SCEPEnrollment(&self) -> ::windows::core::Result<IX509SCEPEnrollment> { | |
21580 | let mut result__ = ::windows::core::zeroed::<IX509SCEPEnrollment>(); | |
21581 | (::windows::core::Interface::vtable(self).X509SCEPEnrollment)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21582 | } | |
21583 | pub unsafe fn ResultMessageText(&self) -> ::windows::core::Result<::windows::core::BSTR> { | |
21584 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21585 | (::windows::core::Interface::vtable(self).ResultMessageText)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21586 | } | |
21587 | } | |
21588 | #[cfg(feature = "Win32_System_Com")] | |
21589 | ::windows::imp::interface_hierarchy!(IX509SCEPEnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
21590 | #[cfg(feature = "Win32_System_Com")] | |
21591 | impl ::core::cmp::PartialEq for IX509SCEPEnrollmentHelper { | |
21592 | fn eq(&self, other: &Self) -> bool { | |
21593 | self.0 == other.0 | |
21594 | } | |
21595 | } | |
21596 | #[cfg(feature = "Win32_System_Com")] | |
21597 | impl ::core::cmp::Eq for IX509SCEPEnrollmentHelper {} | |
21598 | #[cfg(feature = "Win32_System_Com")] | |
21599 | impl ::core::fmt::Debug for IX509SCEPEnrollmentHelper { | |
21600 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21601 | f.debug_tuple("IX509SCEPEnrollmentHelper").field(&self.0).finish() | |
21602 | } | |
21603 | } | |
21604 | #[cfg(feature = "Win32_System_Com")] | |
21605 | unsafe impl ::windows::core::Interface for IX509SCEPEnrollmentHelper { | |
21606 | type Vtable = IX509SCEPEnrollmentHelper_Vtbl; | |
21607 | } | |
21608 | #[cfg(feature = "Win32_System_Com")] | |
21609 | impl ::core::clone::Clone for IX509SCEPEnrollmentHelper { | |
21610 | fn clone(&self) -> Self { | |
21611 | Self(self.0.clone()) | |
21612 | } | |
21613 | } | |
21614 | #[cfg(feature = "Win32_System_Com")] | |
21615 | unsafe impl ::windows::core::ComInterface for IX509SCEPEnrollmentHelper { | |
21616 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab365_217d_11da_b2a4_000e7bbb2b09); | |
21617 | } | |
21618 | #[cfg(feature = "Win32_System_Com")] | |
21619 | #[repr(C)] | |
21620 | #[doc(hidden)] | |
21621 | pub struct IX509SCEPEnrollmentHelper_Vtbl { | |
21622 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
21623 | #[cfg(feature = "Win32_System_Com")] | |
21624 | pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strserverurl: ::std::mem::MaybeUninit<::windows::core::BSTR>, strrequestheaders: ::std::mem::MaybeUninit<::windows::core::BSTR>, prequest: *mut ::core::ffi::c_void, strcacertificatethumbprint: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21625 | #[cfg(not(feature = "Win32_System_Com"))] | |
21626 | Initialize: usize, | |
21627 | pub InitializeForPending: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strserverurl: ::std::mem::MaybeUninit<::windows::core::BSTR>, strrequestheaders: ::std::mem::MaybeUninit<::windows::core::BSTR>, context: X509CertificateEnrollmentContext, strtransactionid: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21628 | pub Enroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, processflags: X509SCEPProcessMessageFlags, pdisposition: *mut X509SCEPDisposition) -> ::windows::core::HRESULT, | |
21629 | pub FetchPending: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, processflags: X509SCEPProcessMessageFlags, pdisposition: *mut X509SCEPDisposition) -> ::windows::core::HRESULT, | |
21630 | #[cfg(feature = "Win32_System_Com")] | |
21631 | pub X509SCEPEnrollment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21632 | #[cfg(not(feature = "Win32_System_Com"))] | |
21633 | X509SCEPEnrollment: usize, | |
21634 | pub ResultMessageText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21635 | } | |
21636 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] | |
21637 | #[cfg(feature = "Win32_System_Com")] | |
21638 | #[repr(transparent)] | |
21639 | pub struct IX509SignatureInformation(::windows::core::IUnknown); | |
21640 | #[cfg(feature = "Win32_System_Com")] | |
21641 | impl IX509SignatureInformation { | |
21642 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21643 | #[cfg(feature = "Win32_System_Com")] | |
21644 | pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
21645 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
21646 | (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21647 | } | |
21648 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21649 | #[cfg(feature = "Win32_System_Com")] | |
21650 | pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21651 | where | |
21652 | P0: ::windows::core::IntoParam<IObjectId>, | |
21653 | { | |
21654 | (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21655 | } | |
21656 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21657 | #[cfg(feature = "Win32_System_Com")] | |
21658 | pub unsafe fn PublicKeyAlgorithm(&self) -> ::windows::core::Result<IObjectId> { | |
21659 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
21660 | (::windows::core::Interface::vtable(self).PublicKeyAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21661 | } | |
21662 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] | |
21663 | #[cfg(feature = "Win32_System_Com")] | |
21664 | pub unsafe fn SetPublicKeyAlgorithm<P0>(&self, pvalue: P0) -> ::windows::core::Result<()> | |
21665 | where | |
21666 | P0: ::windows::core::IntoParam<IObjectId>, | |
21667 | { | |
21668 | (::windows::core::Interface::vtable(self).SetPublicKeyAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into_param().abi()).ok() | |
21669 | } | |
21670 | pub unsafe fn get_Parameters(&self, encoding: EncodingType) -> ::windows::core::Result<::windows::core::BSTR> { | |
21671 | let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); | |
21672 | (::windows::core::Interface::vtable(self).get_Parameters)(::windows::core::Interface::as_raw(self), encoding, &mut result__).from_abi(result__) | |
21673 | } | |
21674 | pub unsafe fn put_Parameters<P0>(&self, encoding: EncodingType, value: P0) -> ::windows::core::Result<()> | |
21675 | where | |
21676 | P0: ::windows::core::IntoParam<::windows::core::BSTR>, | |
21677 | { | |
21678 | (::windows::core::Interface::vtable(self).put_Parameters)(::windows::core::Interface::as_raw(self), encoding, value.into_param().abi()).ok() | |
21679 | } | |
21680 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21681 | #[cfg(feature = "Win32_Foundation")] | |
21682 | pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
21683 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
21684 | (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21685 | } | |
21686 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21687 | #[cfg(feature = "Win32_Foundation")] | |
21688 | pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21689 | where | |
21690 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21691 | { | |
21692 | (::windows::core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21693 | } | |
21694 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21695 | #[cfg(feature = "Win32_Foundation")] | |
21696 | pub unsafe fn AlternateSignatureAlgorithmSet(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
21697 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
21698 | (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithmSet)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21699 | } | |
21700 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21701 | #[cfg(feature = "Win32_Foundation")] | |
21702 | pub unsafe fn NullSigned(&self) -> ::windows::core::Result<super::super::super::Foundation::VARIANT_BOOL> { | |
21703 | let mut result__ = ::windows::core::zeroed::<super::super::super::Foundation::VARIANT_BOOL>(); | |
21704 | (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
21705 | } | |
21706 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
21707 | #[cfg(feature = "Win32_Foundation")] | |
21708 | pub unsafe fn SetNullSigned<P0>(&self, value: P0) -> ::windows::core::Result<()> | |
21709 | where | |
21710 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21711 | { | |
21712 | (::windows::core::Interface::vtable(self).SetNullSigned)(::windows::core::Interface::as_raw(self), value.into_param().abi()).ok() | |
21713 | } | |
21714 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
21715 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
21716 | pub unsafe fn GetSignatureAlgorithm<P0, P1>(&self, pkcs7signature: P0, signaturekey: P1) -> ::windows::core::Result<IObjectId> | |
21717 | where | |
21718 | P0: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21719 | P1: ::windows::core::IntoParam<super::super::super::Foundation::VARIANT_BOOL>, | |
21720 | { | |
21721 | let mut result__ = ::windows::core::zeroed::<IObjectId>(); | |
21722 | (::windows::core::Interface::vtable(self).GetSignatureAlgorithm)(::windows::core::Interface::as_raw(self), pkcs7signature.into_param().abi(), signaturekey.into_param().abi(), &mut result__).from_abi(result__) | |
21723 | } | |
21724 | pub unsafe fn SetDefaultValues(&self) -> ::windows::core::Result<()> { | |
21725 | (::windows::core::Interface::vtable(self).SetDefaultValues)(::windows::core::Interface::as_raw(self)).ok() | |
21726 | } | |
21727 | } | |
21728 | #[cfg(feature = "Win32_System_Com")] | |
21729 | ::windows::imp::interface_hierarchy!(IX509SignatureInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); | |
21730 | #[cfg(feature = "Win32_System_Com")] | |
21731 | impl ::core::cmp::PartialEq for IX509SignatureInformation { | |
21732 | fn eq(&self, other: &Self) -> bool { | |
21733 | self.0 == other.0 | |
21734 | } | |
21735 | } | |
21736 | #[cfg(feature = "Win32_System_Com")] | |
21737 | impl ::core::cmp::Eq for IX509SignatureInformation {} | |
21738 | #[cfg(feature = "Win32_System_Com")] | |
21739 | impl ::core::fmt::Debug for IX509SignatureInformation { | |
21740 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21741 | f.debug_tuple("IX509SignatureInformation").field(&self.0).finish() | |
21742 | } | |
21743 | } | |
21744 | #[cfg(feature = "Win32_System_Com")] | |
21745 | unsafe impl ::windows::core::Interface for IX509SignatureInformation { | |
21746 | type Vtable = IX509SignatureInformation_Vtbl; | |
21747 | } | |
21748 | #[cfg(feature = "Win32_System_Com")] | |
21749 | impl ::core::clone::Clone for IX509SignatureInformation { | |
21750 | fn clone(&self) -> Self { | |
21751 | Self(self.0.clone()) | |
21752 | } | |
21753 | } | |
21754 | #[cfg(feature = "Win32_System_Com")] | |
21755 | unsafe impl ::windows::core::ComInterface for IX509SignatureInformation { | |
21756 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x728ab33c_217d_11da_b2a4_000e7bbb2b09); | |
21757 | } | |
21758 | #[cfg(feature = "Win32_System_Com")] | |
21759 | #[repr(C)] | |
21760 | #[doc(hidden)] | |
21761 | pub struct IX509SignatureInformation_Vtbl { | |
21762 | pub base__: super::super::super::System::Com::IDispatch_Vtbl, | |
21763 | #[cfg(feature = "Win32_System_Com")] | |
21764 | pub HashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21765 | #[cfg(not(feature = "Win32_System_Com"))] | |
21766 | HashAlgorithm: usize, | |
21767 | #[cfg(feature = "Win32_System_Com")] | |
21768 | pub SetHashAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21769 | #[cfg(not(feature = "Win32_System_Com"))] | |
21770 | SetHashAlgorithm: usize, | |
21771 | #[cfg(feature = "Win32_System_Com")] | |
21772 | pub PublicKeyAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21773 | #[cfg(not(feature = "Win32_System_Com"))] | |
21774 | PublicKeyAlgorithm: usize, | |
21775 | #[cfg(feature = "Win32_System_Com")] | |
21776 | pub SetPublicKeyAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21777 | #[cfg(not(feature = "Win32_System_Com"))] | |
21778 | SetPublicKeyAlgorithm: usize, | |
21779 | pub get_Parameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, pvalue: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21780 | pub put_Parameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoding: EncodingType, value: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT, | |
21781 | #[cfg(feature = "Win32_Foundation")] | |
21782 | pub AlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21783 | #[cfg(not(feature = "Win32_Foundation"))] | |
21784 | AlternateSignatureAlgorithm: usize, | |
21785 | #[cfg(feature = "Win32_Foundation")] | |
21786 | pub SetAlternateSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21787 | #[cfg(not(feature = "Win32_Foundation"))] | |
21788 | SetAlternateSignatureAlgorithm: usize, | |
21789 | #[cfg(feature = "Win32_Foundation")] | |
21790 | pub AlternateSignatureAlgorithmSet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21791 | #[cfg(not(feature = "Win32_Foundation"))] | |
21792 | AlternateSignatureAlgorithmSet: usize, | |
21793 | #[cfg(feature = "Win32_Foundation")] | |
21794 | pub NullSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21795 | #[cfg(not(feature = "Win32_Foundation"))] | |
21796 | NullSigned: usize, | |
21797 | #[cfg(feature = "Win32_Foundation")] | |
21798 | pub SetNullSigned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT, | |
21799 | #[cfg(not(feature = "Win32_Foundation"))] | |
21800 | SetNullSigned: usize, | |
21801 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
21802 | pub GetSignatureAlgorithm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkcs7signature: super::super::super::Foundation::VARIANT_BOOL, signaturekey: super::super::super::Foundation::VARIANT_BOOL, ppvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21803 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] | |
21804 | GetSignatureAlgorithm: usize, | |
21805 | pub SetDefaultValues: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
21806 | } | |
21807 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21808 | pub const CAIF_DSENTRY: u32 = 1u32; | |
21809 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21810 | pub const CAIF_LOCAL: u32 = 8u32; | |
21811 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21812 | pub const CAIF_REGISTRY: u32 = 4u32; | |
21813 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21814 | pub const CAIF_REGISTRYPARENT: u32 = 16u32; | |
21815 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21816 | pub const CAIF_SHAREDFOLDERENTRY: u32 = 2u32; | |
21817 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21818 | pub const CAPATHLENGTH_INFINITE: u32 = 4294967295u32; | |
21819 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21820 | pub const CA_ACCESS_MASKROLES: u32 = 255u32; | |
21821 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21822 | pub const CA_CRL_BASE: u32 = 1u32; | |
21823 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21824 | pub const CA_CRL_DELTA: u32 = 2u32; | |
21825 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21826 | pub const CA_CRL_REPUBLISH: u32 = 16u32; | |
21827 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21828 | pub const CA_DISP_ERROR: u32 = 1u32; | |
21829 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21830 | pub const CA_DISP_INCOMPLETE: u32 = 0u32; | |
21831 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21832 | pub const CA_DISP_INVALID: u32 = 4u32; | |
21833 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21834 | pub const CA_DISP_REVOKED: u32 = 2u32; | |
21835 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21836 | pub const CA_DISP_UNDER_SUBMISSION: u32 = 5u32; | |
21837 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21838 | pub const CA_DISP_VALID: u32 = 3u32; | |
21839 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21840 | pub const CAlternativeName: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2013_217d_11da_b2a4_000e7bbb2b09); | |
21841 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21842 | pub const CAlternativeNames: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2014_217d_11da_b2a4_000e7bbb2b09); | |
21843 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21844 | pub const CBinaryConverter: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2002_217d_11da_b2a4_000e7bbb2b09); | |
21845 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21846 | pub const CCLOCKSKEWMINUTESDEFAULT: u32 = 10u32; | |
21847 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21848 | pub const CCertAdmin: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x37eabaf0_7fb6_11d0_8817_00a0c903b83c); | |
21849 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21850 | pub const CCertConfig: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x372fce38_4324_11d0_8810_00a0c903b83c); | |
21851 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21852 | pub const CCertEncodeAltName: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1cfc4cda_1271_11d1_9bd4_00c04fb683fa); | |
21853 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21854 | pub const CCertEncodeBitString: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6d6b3cd8_1278_11d1_9bd4_00c04fb683fa); | |
21855 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21856 | pub const CCertEncodeCRLDistInfo: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x01fa60a0_bbff_11d0_8825_00a0c903b83c); | |
21857 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21858 | pub const CCertEncodeDateArray: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x301f77b0_a470_11d0_8821_00a0c903b83c); | |
21859 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21860 | pub const CCertEncodeLongArray: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4e0680a0_a0a2_11d0_8821_00a0c903b83c); | |
21861 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21862 | pub const CCertEncodeStringArray: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x19a76fe0_7494_11d0_8816_00a0c903b83c); | |
21863 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21864 | pub const CCertGetConfig: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc6cc49b0_ce17_11d0_8833_00a0c903b83c); | |
21865 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21866 | pub const CCertProperties: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202f_217d_11da_b2a4_000e7bbb2b09); | |
21867 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21868 | pub const CCertProperty: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202e_217d_11da_b2a4_000e7bbb2b09); | |
21869 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21870 | pub const CCertPropertyArchived: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2037_217d_11da_b2a4_000e7bbb2b09); | |
21871 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21872 | pub const CCertPropertyArchivedKeyHash: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e203b_217d_11da_b2a4_000e7bbb2b09); | |
21873 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21874 | pub const CCertPropertyAutoEnroll: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2032_217d_11da_b2a4_000e7bbb2b09); | |
21875 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21876 | pub const CCertPropertyBackedUp: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2038_217d_11da_b2a4_000e7bbb2b09); | |
21877 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21878 | pub const CCertPropertyDescription: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2031_217d_11da_b2a4_000e7bbb2b09); | |
21879 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21880 | pub const CCertPropertyEnrollment: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2039_217d_11da_b2a4_000e7bbb2b09); | |
21881 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21882 | pub const CCertPropertyEnrollmentPolicyServer: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e204c_217d_11da_b2a4_000e7bbb2b09); | |
21883 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21884 | pub const CCertPropertyFriendlyName: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2030_217d_11da_b2a4_000e7bbb2b09); | |
21885 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21886 | pub const CCertPropertyKeyProvInfo: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2036_217d_11da_b2a4_000e7bbb2b09); | |
21887 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21888 | pub const CCertPropertyRenewal: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e203a_217d_11da_b2a4_000e7bbb2b09); | |
21889 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21890 | pub const CCertPropertyRequestOriginator: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2033_217d_11da_b2a4_000e7bbb2b09); | |
21891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21892 | pub const CCertPropertySHA1Hash: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2034_217d_11da_b2a4_000e7bbb2b09); | |
21893 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21894 | pub const CCertRequest: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x98aff3f0_5524_11d0_8812_00a0c903b83c); | |
21895 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21896 | pub const CCertServerExit: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4c4a5e40_732c_11d0_8816_00a0c903b83c); | |
21897 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21898 | pub const CCertServerPolicy: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaa000926_ffbe_11cf_8800_00a0c903b83c); | |
21899 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21900 | pub const CCertView: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa12d0f7a_1e84_11d1_9bd6_00c04fb683fa); | |
21901 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21902 | pub const CCertificateAttestationChallenge: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1362ada1_eb60_456a_b6e1_118050db741b); | |
21903 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21904 | pub const CCertificatePolicies: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201f_217d_11da_b2a4_000e7bbb2b09); | |
21905 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21906 | pub const CCertificatePolicy: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201e_217d_11da_b2a4_000e7bbb2b09); | |
21907 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21908 | pub const CCryptAttribute: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202c_217d_11da_b2a4_000e7bbb2b09); | |
21909 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21910 | pub const CCryptAttributes: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202d_217d_11da_b2a4_000e7bbb2b09); | |
21911 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21912 | pub const CCspInformation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2007_217d_11da_b2a4_000e7bbb2b09); | |
21913 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21914 | pub const CCspInformations: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2008_217d_11da_b2a4_000e7bbb2b09); | |
21915 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21916 | pub const CCspStatus: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2009_217d_11da_b2a4_000e7bbb2b09); | |
21917 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21918 | pub const CERTENROLL_INDEX_BASE: u32 = 0u32; | |
21919 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21920 | pub const CEnroll: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x43f8f289_7a20_11d0_8f06_00c04fc295e1); | |
21921 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21922 | pub const CEnroll2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x127698e4_e730_4e5c_a2b1_21490a70c8a1); | |
21923 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21924 | pub const CMM_READONLY: u32 = 2u32; | |
21925 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21926 | pub const CMM_REFRESHONLY: u32 = 1u32; | |
21927 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21928 | pub const CObjectId: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2000_217d_11da_b2a4_000e7bbb2b09); | |
21929 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21930 | pub const CObjectIds: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2001_217d_11da_b2a4_000e7bbb2b09); | |
21931 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21932 | pub const CPF_BADURL_ERROR: u32 = 32u32; | |
21933 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21934 | pub const CPF_BASE: u32 = 1u32; | |
21935 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21936 | pub const CPF_CASTORE_ERROR: u32 = 16u32; | |
21937 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21938 | pub const CPF_COMPLETE: u32 = 4u32; | |
21939 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21940 | pub const CPF_DELTA: u32 = 2u32; | |
21941 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21942 | pub const CPF_FILE_ERROR: u32 = 512u32; | |
21943 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21944 | pub const CPF_FTP_ERROR: u32 = 1024u32; | |
21945 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21946 | pub const CPF_HTTP_ERROR: u32 = 2048u32; | |
21947 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21948 | pub const CPF_LDAP_ERROR: u32 = 256u32; | |
21949 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21950 | pub const CPF_MANUAL: u32 = 64u32; | |
21951 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21952 | pub const CPF_POSTPONED_BASE_FILE_ERROR: u32 = 8192u32; | |
21953 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21954 | pub const CPF_POSTPONED_BASE_LDAP_ERROR: u32 = 4096u32; | |
21955 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21956 | pub const CPF_SHADOW: u32 = 8u32; | |
21957 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21958 | pub const CPF_SIGNATURE_ERROR: u32 = 128u32; | |
21959 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21960 | pub const CPolicyQualifier: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201c_217d_11da_b2a4_000e7bbb2b09); | |
21961 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21962 | pub const CPolicyQualifiers: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201d_217d_11da_b2a4_000e7bbb2b09); | |
21963 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21964 | pub const CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT: u32 = 65536u32; | |
21965 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21966 | pub const CRLF_BUILD_ROOTCA_CRLENTRIES_BASEDONKEY: u32 = 2097152u32; | |
21967 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21968 | pub const CRLF_CRLNUMBER_CRITICAL: u32 = 4u32; | |
21969 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21970 | pub const CRLF_DELETE_EXPIRED_CRLS: u32 = 2u32; | |
21971 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21972 | pub const CRLF_DELTA_USE_OLDEST_UNEXPIRED_BASE: u32 = 1u32; | |
21973 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21974 | pub const CRLF_DISABLE_CHAIN_VERIFICATION: u32 = 1048576u32; | |
21975 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21976 | pub const CRLF_DISABLE_RDN_REORDER: u32 = 2048u32; | |
21977 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21978 | pub const CRLF_DISABLE_ROOT_CROSS_CERTS: u32 = 4096u32; | |
21979 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21980 | pub const CRLF_ENFORCE_ENROLLMENT_AGENT: u32 = 1024u32; | |
21981 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21982 | pub const CRLF_IGNORE_CROSS_CERT_TRUST_ERROR: u32 = 256u32; | |
21983 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21984 | pub const CRLF_IGNORE_INVALID_POLICIES: u32 = 16u32; | |
21985 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21986 | pub const CRLF_IGNORE_UNKNOWN_CMC_ATTRIBUTES: u32 = 128u32; | |
21987 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21988 | pub const CRLF_LOG_FULL_RESPONSE: u32 = 8192u32; | |
21989 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21990 | pub const CRLF_PRESERVE_EXPIRED_CA_CERTS: u32 = 262144u32; | |
21991 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21992 | pub const CRLF_PRESERVE_REVOKED_CA_CERTS: u32 = 524288u32; | |
21993 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21994 | pub const CRLF_PUBLISH_EXPIRED_CERT_CRLS: u32 = 512u32; | |
21995 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21996 | pub const CRLF_REBUILD_MODIFIED_SUBJECT_ONLY: u32 = 32u32; | |
21997 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
21998 | pub const CRLF_REVCHECK_IGNORE_NOREVCHECK: u32 = 131072u32; | |
21999 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22000 | pub const CRLF_REVCHECK_IGNORE_OFFLINE: u32 = 8u32; | |
22001 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22002 | pub const CRLF_SAVE_FAILED_CERTS: u32 = 64u32; | |
22003 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22004 | pub const CRLF_USE_CROSS_CERT_TEMPLATE: u32 = 32768u32; | |
22005 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22006 | pub const CRLF_USE_XCHG_CERT_TEMPLATE: u32 = 16384u32; | |
22007 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22008 | pub const CRYPT_ENUM_ALL_PROVIDERS: u32 = 1u32; | |
22009 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22010 | pub const CR_DISP_REVOKED: u32 = 6u32; | |
22011 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22012 | pub const CR_FLG_CACROSSCERT: u32 = 128u32; | |
22013 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22014 | pub const CR_FLG_CAXCHGCERT: u32 = 8u32; | |
22015 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22016 | pub const CR_FLG_CHALLENGEPENDING: u32 = 1024u32; | |
22017 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22018 | pub const CR_FLG_CHALLENGESATISFIED: u32 = 2048u32; | |
22019 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22020 | pub const CR_FLG_DEFINEDCACERT: u32 = 512u32; | |
22021 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22022 | pub const CR_FLG_ENFORCEUTF8: u32 = 256u32; | |
22023 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22024 | pub const CR_FLG_ENROLLONBEHALFOF: u32 = 16u32; | |
22025 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22026 | pub const CR_FLG_FORCETELETEX: u32 = 1u32; | |
22027 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22028 | pub const CR_FLG_FORCEUTF8: u32 = 4u32; | |
22029 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22030 | pub const CR_FLG_PUBLISHERROR: u32 = 2147483648u32; | |
22031 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22032 | pub const CR_FLG_RENEWAL: u32 = 2u32; | |
22033 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22034 | pub const CR_FLG_SUBJECTUNMODIFIED: u32 = 32u32; | |
22035 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22036 | pub const CR_FLG_TRUSTEKCERT: u32 = 8192u32; | |
22037 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22038 | pub const CR_FLG_TRUSTEKKEY: u32 = 16384u32; | |
22039 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22040 | pub const CR_FLG_TRUSTONUSE: u32 = 4096u32; | |
22041 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22042 | pub const CR_FLG_VALIDENCRYPTEDKEYHASH: u32 = 64u32; | |
22043 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22044 | pub const CR_GEMT_DEFAULT: u32 = 0u32; | |
22045 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22046 | pub const CR_GEMT_HRESULT_STRING: u32 = 1u32; | |
22047 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22048 | pub const CR_GEMT_HTTP_ERROR: u32 = 2u32; | |
22049 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22050 | pub const CR_IN_CERTIFICATETRANSPARENCY: u32 = 67108864u32; | |
22051 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22052 | pub const CR_IN_CHALLENGERESPONSE: u32 = 1280u32; | |
22053 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22054 | pub const CR_IN_CLIENTIDNONE: u32 = 4194304u32; | |
22055 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22056 | pub const CR_IN_CMC: u32 = 1024u32; | |
22057 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22058 | pub const CR_IN_CONNECTONLY: u32 = 8388608u32; | |
22059 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22060 | pub const CR_IN_CRLS: u32 = 524288u32; | |
22061 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22062 | pub const CR_IN_ENCODEANY: u32 = 255u32; | |
22063 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22064 | pub const CR_IN_ENCODEMASK: u32 = 255u32; | |
22065 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22066 | pub const CR_IN_FORMATANY: u32 = 0u32; | |
22067 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22068 | pub const CR_IN_FORMATMASK: u32 = 65280u32; | |
22069 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22070 | pub const CR_IN_FULLRESPONSE: u32 = 262144u32; | |
22071 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22072 | pub const CR_IN_HTTP: u32 = 196608u32; | |
22073 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22074 | pub const CR_IN_KEYGEN: u32 = 512u32; | |
22075 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22076 | pub const CR_IN_MACHINE: u32 = 1048576u32; | |
22077 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22078 | pub const CR_IN_PKCS10: u32 = 256u32; | |
22079 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22080 | pub const CR_IN_PKCS7: u32 = 768u32; | |
22081 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22082 | pub const CR_IN_RETURNCHALLENGE: u32 = 16777216u32; | |
22083 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22084 | pub const CR_IN_ROBO: u32 = 2097152u32; | |
22085 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22086 | pub const CR_IN_RPC: u32 = 131072u32; | |
22087 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22088 | pub const CR_IN_SCEP: u32 = 65536u32; | |
22089 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22090 | pub const CR_IN_SCEPPOST: u32 = 33554432u32; | |
22091 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22092 | pub const CR_IN_SIGNEDCERTIFICATETIMESTAMPLIST: u32 = 1536u32; | |
22093 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22094 | pub const CR_OUT_BASE64REQUESTHEADER: u32 = 3u32; | |
22095 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22096 | pub const CR_OUT_BASE64X509CRLHEADER: u32 = 9u32; | |
22097 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22098 | pub const CR_OUT_CHAIN: u32 = 256u32; | |
22099 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22100 | pub const CR_OUT_CRLS: u32 = 512u32; | |
22101 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22102 | pub const CR_OUT_ENCODEMASK: u32 = 255u32; | |
22103 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22104 | pub const CR_OUT_HEX: u32 = 4u32; | |
22105 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22106 | pub const CR_OUT_HEXADDR: u32 = 10u32; | |
22107 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22108 | pub const CR_OUT_HEXASCII: u32 = 5u32; | |
22109 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22110 | pub const CR_OUT_HEXASCIIADDR: u32 = 11u32; | |
22111 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22112 | pub const CR_OUT_HEXRAW: u32 = 12u32; | |
22113 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22114 | pub const CR_OUT_NOCR: u32 = 2147483648u32; | |
22115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22116 | pub const CR_OUT_NOCRLF: u32 = 1073741824u32; | |
22117 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22118 | pub const CR_PROP_ADVANCEDSERVER: u32 = 28u32; | |
22119 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22120 | pub const CR_PROP_BASECRL: u32 = 17u32; | |
22121 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22122 | pub const CR_PROP_BASECRLPUBLISHSTATUS: u32 = 30u32; | |
22123 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22124 | pub const CR_PROP_CABACKWARDCROSSCERT: u32 = 36u32; | |
22125 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22126 | pub const CR_PROP_CABACKWARDCROSSCERTSTATE: u32 = 38u32; | |
22127 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22128 | pub const CR_PROP_CACERTSTATE: u32 = 19u32; | |
22129 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22130 | pub const CR_PROP_CACERTSTATUSCODE: u32 = 34u32; | |
22131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22132 | pub const CR_PROP_CACERTVERSION: u32 = 39u32; | |
22133 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22134 | pub const CR_PROP_CAFORWARDCROSSCERT: u32 = 35u32; | |
22135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22136 | pub const CR_PROP_CAFORWARDCROSSCERTSTATE: u32 = 37u32; | |
22137 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22138 | pub const CR_PROP_CANAME: u32 = 6u32; | |
22139 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22140 | pub const CR_PROP_CAPROPIDMAX: u32 = 21u32; | |
22141 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22142 | pub const CR_PROP_CASIGCERT: u32 = 12u32; | |
22143 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22144 | pub const CR_PROP_CASIGCERTCHAIN: u32 = 13u32; | |
22145 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22146 | pub const CR_PROP_CASIGCERTCOUNT: u32 = 11u32; | |
22147 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22148 | pub const CR_PROP_CASIGCERTCRLCHAIN: u32 = 32u32; | |
22149 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22150 | pub const CR_PROP_CATYPE: u32 = 10u32; | |
22151 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22152 | pub const CR_PROP_CAXCHGCERT: u32 = 15u32; | |
22153 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22154 | pub const CR_PROP_CAXCHGCERTCHAIN: u32 = 16u32; | |
22155 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22156 | pub const CR_PROP_CAXCHGCERTCOUNT: u32 = 14u32; | |
22157 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22158 | pub const CR_PROP_CAXCHGCERTCRLCHAIN: u32 = 33u32; | |
22159 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22160 | pub const CR_PROP_CERTAIAOCSPURLS: u32 = 43u32; | |
22161 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22162 | pub const CR_PROP_CERTAIAURLS: u32 = 42u32; | |
22163 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22164 | pub const CR_PROP_CERTCDPURLS: u32 = 41u32; | |
22165 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22166 | pub const CR_PROP_CRLSTATE: u32 = 20u32; | |
22167 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22168 | pub const CR_PROP_DELTACRL: u32 = 18u32; | |
22169 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22170 | pub const CR_PROP_DELTACRLPUBLISHSTATUS: u32 = 31u32; | |
22171 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22172 | pub const CR_PROP_DNSNAME: u32 = 22u32; | |
22173 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22174 | pub const CR_PROP_EXITCOUNT: u32 = 3u32; | |
22175 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22176 | pub const CR_PROP_EXITDESCRIPTION: u32 = 4u32; | |
22177 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22178 | pub const CR_PROP_FILEVERSION: u32 = 1u32; | |
22179 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22180 | pub const CR_PROP_KRACERT: u32 = 26u32; | |
22181 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22182 | pub const CR_PROP_KRACERTCOUNT: u32 = 25u32; | |
22183 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22184 | pub const CR_PROP_KRACERTSTATE: u32 = 27u32; | |
22185 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22186 | pub const CR_PROP_KRACERTUSEDCOUNT: u32 = 24u32; | |
22187 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22188 | pub const CR_PROP_LOCALENAME: u32 = 44u32; | |
22189 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22190 | pub const CR_PROP_NONE: u32 = 0u32; | |
22191 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22192 | pub const CR_PROP_PARENTCA: u32 = 9u32; | |
22193 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22194 | pub const CR_PROP_POLICYDESCRIPTION: u32 = 5u32; | |
22195 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22196 | pub const CR_PROP_PRODUCTVERSION: u32 = 2u32; | |
22197 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22198 | pub const CR_PROP_ROLESEPARATIONENABLED: u32 = 23u32; | |
22199 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22200 | pub const CR_PROP_SANITIZEDCANAME: u32 = 7u32; | |
22201 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22202 | pub const CR_PROP_SANITIZEDCASHORTNAME: u32 = 40u32; | |
22203 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22204 | pub const CR_PROP_SCEPMAX: u32 = 1002u32; | |
22205 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22206 | pub const CR_PROP_SCEPMIN: u32 = 1000u32; | |
22207 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22208 | pub const CR_PROP_SCEPSERVERCAPABILITIES: u32 = 1001u32; | |
22209 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22210 | pub const CR_PROP_SCEPSERVERCERTS: u32 = 1000u32; | |
22211 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22212 | pub const CR_PROP_SCEPSERVERCERTSCHAIN: u32 = 1002u32; | |
22213 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22214 | pub const CR_PROP_SHAREDFOLDER: u32 = 8u32; | |
22215 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22216 | pub const CR_PROP_SUBJECTTEMPLATE_OIDS: u32 = 45u32; | |
22217 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22218 | pub const CR_PROP_TEMPLATES: u32 = 29u32; | |
22219 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22220 | pub const CSBACKUP_DISABLE_INCREMENTAL: u32 = 4294967295u32; | |
22221 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22222 | pub const CSBACKUP_TYPE_MASK: u32 = 3u32; | |
22223 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22224 | pub const CSBFT_DATABASE_DIRECTORY: u32 = 64u32; | |
22225 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22226 | pub const CSBFT_DIRECTORY: u32 = 128u32; | |
22227 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22228 | pub const CSBFT_LOG_DIRECTORY: u32 = 32u32; | |
22229 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22230 | pub const CSCONTROL_RESTART: u64 = 3u64; | |
22231 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22232 | pub const CSCONTROL_SHUTDOWN: u64 = 1u64; | |
22233 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22234 | pub const CSCONTROL_SUSPEND: u64 = 2u64; | |
22235 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22236 | pub const CSRESTORE_TYPE_CATCHUP: u32 = 4u32; | |
22237 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22238 | pub const CSRESTORE_TYPE_FULL: u32 = 1u32; | |
22239 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22240 | pub const CSRESTORE_TYPE_MASK: u32 = 5u32; | |
22241 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22242 | pub const CSRESTORE_TYPE_ONLINE: u32 = 2u32; | |
22243 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22244 | pub const CSURL_ADDTOCERTCDP: u32 = 2u32; | |
22245 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22246 | pub const CSURL_ADDTOCERTOCSP: u32 = 32u32; | |
22247 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22248 | pub const CSURL_ADDTOCRLCDP: u32 = 8u32; | |
22249 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22250 | pub const CSURL_ADDTOFRESHESTCRL: u32 = 4u32; | |
22251 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22252 | pub const CSURL_ADDTOIDP: u32 = 128u32; | |
22253 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22254 | pub const CSURL_PUBLISHRETRY: u32 = 16u32; | |
22255 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22256 | pub const CSURL_SERVERPUBLISH: u32 = 1u32; | |
22257 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22258 | pub const CSURL_SERVERPUBLISHDELTA: u32 = 64u32; | |
22259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22260 | pub const CSVER_MAJOR: u32 = 7u32; | |
22261 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22262 | pub const CSVER_MAJOR_LONGHORN: u32 = 3u32; | |
22263 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22264 | pub const CSVER_MAJOR_THRESHOLD: u32 = 7u32; | |
22265 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22266 | pub const CSVER_MAJOR_WHISTLER: u32 = 2u32; | |
22267 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22268 | pub const CSVER_MAJOR_WIN2K: u32 = 1u32; | |
22269 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22270 | pub const CSVER_MAJOR_WIN7: u32 = 4u32; | |
22271 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22272 | pub const CSVER_MAJOR_WIN8: u32 = 5u32; | |
22273 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22274 | pub const CSVER_MAJOR_WINBLUE: u32 = 6u32; | |
22275 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22276 | pub const CSVER_MINOR: u32 = 1u32; | |
22277 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22278 | pub const CSVER_MINOR_LONGHORN_BETA1: u32 = 1u32; | |
22279 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22280 | pub const CSVER_MINOR_THRESHOLD: u32 = 1u32; | |
22281 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22282 | pub const CSVER_MINOR_WHISTLER_BETA2: u32 = 1u32; | |
22283 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22284 | pub const CSVER_MINOR_WHISTLER_BETA3: u32 = 2u32; | |
22285 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22286 | pub const CSVER_MINOR_WIN2K: u32 = 1u32; | |
22287 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22288 | pub const CSVER_MINOR_WIN7: u32 = 1u32; | |
22289 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22290 | pub const CSVER_MINOR_WIN8: u32 = 1u32; | |
22291 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22292 | pub const CSVER_MINOR_WINBLUE: u32 = 1u32; | |
22293 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22294 | pub const CSignerCertificate: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e203d_217d_11da_b2a4_000e7bbb2b09); | |
22295 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22296 | pub const CSmimeCapabilities: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201a_217d_11da_b2a4_000e7bbb2b09); | |
22297 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22298 | pub const CSmimeCapability: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2019_217d_11da_b2a4_000e7bbb2b09); | |
22299 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22300 | pub const CVIEWAGEMINUTESDEFAULT: u32 = 16u32; | |
22301 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22302 | pub const CVRC_TABLE_MASK: u32 = 61440u32; | |
22303 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22304 | pub const CVRC_TABLE_SHIFT: u32 = 12u32; | |
22305 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22306 | pub const CVR_SEEK_MASK: u32 = 255u32; | |
22307 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22308 | pub const CVR_SEEK_NODELTA: u32 = 4096u32; | |
22309 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22310 | pub const CVR_SEEK_NONE: u32 = 0u32; | |
22311 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22312 | pub const CVR_SORT_ASCEND: u32 = 1u32; | |
22313 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22314 | pub const CVR_SORT_DESCEND: u32 = 2u32; | |
22315 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22316 | pub const CVR_SORT_NONE: u32 = 0u32; | |
22317 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22318 | pub const CV_COLUMN_ATTRIBUTE_DEFAULT: i32 = -5i32; | |
22319 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22320 | pub const CV_COLUMN_CRL_DEFAULT: i32 = -6i32; | |
22321 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22322 | pub const CV_COLUMN_EXTENSION_DEFAULT: i32 = -4i32; | |
22323 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22324 | pub const CV_COLUMN_LOG_REVOKED_DEFAULT: i32 = -7i32; | |
22325 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22326 | pub const CV_OUT_ENCODEMASK: u32 = 255u32; | |
22327 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22328 | pub const CV_OUT_HEXRAW: u32 = 12u32; | |
22329 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22330 | pub const CV_OUT_NOCR: u32 = 2147483648u32; | |
22331 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22332 | pub const CV_OUT_NOCRLF: u32 = 1073741824u32; | |
22333 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22334 | pub const CX500DistinguishedName: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2003_217d_11da_b2a4_000e7bbb2b09); | |
22335 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22336 | pub const CX509Attribute: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2022_217d_11da_b2a4_000e7bbb2b09); | |
22337 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22338 | pub const CX509AttributeArchiveKey: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2027_217d_11da_b2a4_000e7bbb2b09); | |
22339 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22340 | pub const CX509AttributeArchiveKeyHash: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2028_217d_11da_b2a4_000e7bbb2b09); | |
22341 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22342 | pub const CX509AttributeClientId: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2025_217d_11da_b2a4_000e7bbb2b09); | |
22343 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22344 | pub const CX509AttributeCspProvider: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202b_217d_11da_b2a4_000e7bbb2b09); | |
22345 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22346 | pub const CX509AttributeExtensions: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2024_217d_11da_b2a4_000e7bbb2b09); | |
22347 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22348 | pub const CX509AttributeOSVersion: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e202a_217d_11da_b2a4_000e7bbb2b09); | |
22349 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22350 | pub const CX509AttributeRenewalCertificate: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2026_217d_11da_b2a4_000e7bbb2b09); | |
22351 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22352 | pub const CX509Attributes: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2023_217d_11da_b2a4_000e7bbb2b09); | |
22353 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22354 | pub const CX509CertificateRequestCertificate: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2043_217d_11da_b2a4_000e7bbb2b09); | |
22355 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22356 | pub const CX509CertificateRequestCmc: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2045_217d_11da_b2a4_000e7bbb2b09); | |
22357 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22358 | pub const CX509CertificateRequestPkcs10: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2042_217d_11da_b2a4_000e7bbb2b09); | |
22359 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22360 | pub const CX509CertificateRequestPkcs7: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2044_217d_11da_b2a4_000e7bbb2b09); | |
22361 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22362 | pub const CX509CertificateRevocationList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2060_217d_11da_b2a4_000e7bbb2b09); | |
22363 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22364 | pub const CX509CertificateRevocationListEntries: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e205f_217d_11da_b2a4_000e7bbb2b09); | |
22365 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22366 | pub const CX509CertificateRevocationListEntry: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e205e_217d_11da_b2a4_000e7bbb2b09); | |
22367 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22368 | pub const CX509CertificateTemplateADWritable: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8336e323_2e6a_4a04_937c_548f681839b3); | |
22369 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22370 | pub const CX509EndorsementKey: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x11a25a1d_b9a3_4edd_af83_3b59adbed361); | |
22371 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22372 | pub const CX509Enrollment: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2046_217d_11da_b2a4_000e7bbb2b09); | |
22373 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22374 | pub const CX509EnrollmentHelper: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2050_217d_11da_b2a4_000e7bbb2b09); | |
22375 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22376 | pub const CX509EnrollmentPolicyActiveDirectory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91f39027_217f_11da_b2a4_000e7bbb2b09); | |
22377 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22378 | pub const CX509EnrollmentPolicyWebService: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91f39028_217f_11da_b2a4_000e7bbb2b09); | |
22379 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22380 | pub const CX509EnrollmentWebClassFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2049_217d_11da_b2a4_000e7bbb2b09); | |
22381 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22382 | pub const CX509Extension: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e200d_217d_11da_b2a4_000e7bbb2b09); | |
22383 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22384 | pub const CX509ExtensionAlternativeNames: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2015_217d_11da_b2a4_000e7bbb2b09); | |
22385 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22386 | pub const CX509ExtensionAuthorityKeyIdentifier: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2018_217d_11da_b2a4_000e7bbb2b09); | |
22387 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22388 | pub const CX509ExtensionBasicConstraints: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2016_217d_11da_b2a4_000e7bbb2b09); | |
22389 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22390 | pub const CX509ExtensionCertificatePolicies: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2020_217d_11da_b2a4_000e7bbb2b09); | |
22391 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22392 | pub const CX509ExtensionEnhancedKeyUsage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2010_217d_11da_b2a4_000e7bbb2b09); | |
22393 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22394 | pub const CX509ExtensionKeyUsage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e200f_217d_11da_b2a4_000e7bbb2b09); | |
22395 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22396 | pub const CX509ExtensionMSApplicationPolicies: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2021_217d_11da_b2a4_000e7bbb2b09); | |
22397 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22398 | pub const CX509ExtensionSmimeCapabilities: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e201b_217d_11da_b2a4_000e7bbb2b09); | |
22399 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22400 | pub const CX509ExtensionSubjectKeyIdentifier: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2017_217d_11da_b2a4_000e7bbb2b09); | |
22401 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22402 | pub const CX509ExtensionTemplate: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2012_217d_11da_b2a4_000e7bbb2b09); | |
22403 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22404 | pub const CX509ExtensionTemplateName: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2011_217d_11da_b2a4_000e7bbb2b09); | |
22405 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22406 | pub const CX509Extensions: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e200e_217d_11da_b2a4_000e7bbb2b09); | |
22407 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22408 | pub const CX509MachineEnrollmentFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2051_217d_11da_b2a4_000e7bbb2b09); | |
22409 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22410 | pub const CX509NameValuePair: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e203f_217d_11da_b2a4_000e7bbb2b09); | |
22411 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22412 | pub const CX509PolicyServerListManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91f39029_217f_11da_b2a4_000e7bbb2b09); | |
22413 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22414 | pub const CX509PolicyServerUrl: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91f3902a_217f_11da_b2a4_000e7bbb2b09); | |
22415 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22416 | pub const CX509PrivateKey: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e200c_217d_11da_b2a4_000e7bbb2b09); | |
22417 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22418 | pub const CX509PublicKey: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e200b_217d_11da_b2a4_000e7bbb2b09); | |
22419 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22420 | pub const CX509SCEPEnrollment: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2061_217d_11da_b2a4_000e7bbb2b09); | |
22421 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22422 | pub const CX509SCEPEnrollmentHelper: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x884e2062_217d_11da_b2a4_000e7bbb2b09); | |
22423 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22424 | pub const DBFLAGS_CHECKPOINTDEPTH60MB: u32 = 32u32; | |
22425 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22426 | pub const DBFLAGS_CIRCULARLOGGING: u32 = 4u32; | |
22427 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22428 | pub const DBFLAGS_CREATEIFNEEDED: u32 = 2u32; | |
22429 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22430 | pub const DBFLAGS_DISABLESNAPSHOTBACKUP: u32 = 1024u32; | |
22431 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22432 | pub const DBFLAGS_ENABLEVOLATILEREQUESTS: u32 = 2048u32; | |
22433 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22434 | pub const DBFLAGS_LAZYFLUSH: u32 = 8u32; | |
22435 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22436 | pub const DBFLAGS_LOGBUFFERSHUGE: u32 = 128u32; | |
22437 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22438 | pub const DBFLAGS_LOGBUFFERSLARGE: u32 = 64u32; | |
22439 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22440 | pub const DBFLAGS_LOGFILESIZE16MB: u32 = 256u32; | |
22441 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22442 | pub const DBFLAGS_MAXCACHESIZEX100: u32 = 16u32; | |
22443 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22444 | pub const DBFLAGS_MULTITHREADTRANSACTIONS: u32 = 512u32; | |
22445 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22446 | pub const DBFLAGS_READONLY: u32 = 1u32; | |
22447 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22448 | pub const DBG_CERTSRV: u32 = 1u32; | |
22449 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22450 | pub const DBSESSIONCOUNTDEFAULT: u32 = 100u32; | |
22451 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22452 | pub const DB_DISP_ACTIVE: u32 = 8u32; | |
22453 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22454 | pub const DB_DISP_CA_CERT: u32 = 15u32; | |
22455 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22456 | pub const DB_DISP_CA_CERT_CHAIN: u32 = 16u32; | |
22457 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22458 | pub const DB_DISP_DENIED: u32 = 31u32; | |
22459 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22460 | pub const DB_DISP_ERROR: u32 = 30u32; | |
22461 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22462 | pub const DB_DISP_FOREIGN: u32 = 12u32; | |
22463 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22464 | pub const DB_DISP_ISSUED: u32 = 20u32; | |
22465 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22466 | pub const DB_DISP_KRA_CERT: u32 = 17u32; | |
22467 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22468 | pub const DB_DISP_LOG_FAILED_MIN: u32 = 30u32; | |
22469 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22470 | pub const DB_DISP_LOG_MIN: u32 = 20u32; | |
22471 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22472 | pub const DB_DISP_PENDING: u32 = 9u32; | |
22473 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22474 | pub const DB_DISP_QUEUE_MAX: u32 = 9u32; | |
22475 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22476 | pub const DB_DISP_REVOKED: u32 = 21u32; | |
22477 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22478 | pub const EANR_SUPPRESS_IA5CONVERSION: u32 = 2147483648u32; | |
22479 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22480 | pub const EAN_NAMEOBJECTID: u32 = 2147483648u32; | |
22481 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22482 | pub const EDITF_ADDOLDCERTTYPE: u32 = 16u32; | |
22483 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22484 | pub const EDITF_ADDOLDKEYUSAGE: u32 = 8u32; | |
22485 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22486 | pub const EDITF_ATTRIBUTECA: u32 = 512u32; | |
22487 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22488 | pub const EDITF_ATTRIBUTEEKU: u32 = 32768u32; | |
22489 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22490 | pub const EDITF_ATTRIBUTEENDDATE: u32 = 32u32; | |
22491 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22492 | pub const EDITF_ATTRIBUTESUBJECTALTNAME2: u32 = 262144u32; | |
22493 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22494 | pub const EDITF_AUDITCERTTEMPLATELOAD: u32 = 2097152u32; | |
22495 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22496 | pub const EDITF_BASICCONSTRAINTSCA: u32 = 128u32; | |
22497 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22498 | pub const EDITF_BASICCONSTRAINTSCRITICAL: u32 = 64u32; | |
22499 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22500 | pub const EDITF_DISABLEEXTENSIONLIST: u32 = 4u32; | |
22501 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22502 | pub const EDITF_DISABLELDAPPACKAGELIST: u32 = 8388608u32; | |
22503 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22504 | pub const EDITF_DISABLEOLDOSCNUPN: u32 = 4194304u32; | |
22505 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22506 | pub const EDITF_EMAILOPTIONAL: u32 = 131072u32; | |
22507 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22508 | pub const EDITF_ENABLEAKICRITICAL: u32 = 8192u32; | |
22509 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22510 | pub const EDITF_ENABLEAKIISSUERNAME: u32 = 2048u32; | |
22511 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22512 | pub const EDITF_ENABLEAKIISSUERSERIAL: u32 = 4096u32; | |
22513 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22514 | pub const EDITF_ENABLEAKIKEYID: u32 = 256u32; | |
22515 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22516 | pub const EDITF_ENABLECHASECLIENTDC: u32 = 1048576u32; | |
22517 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22518 | pub const EDITF_ENABLEDEFAULTSMIME: u32 = 65536u32; | |
22519 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22520 | pub const EDITF_ENABLEKEYENCIPHERMENTCACERT: u32 = 134217728u32; | |
22521 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22522 | pub const EDITF_ENABLELDAPREFERRALS: u32 = 524288u32; | |
22523 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22524 | pub const EDITF_ENABLEOCSPREVNOCHECK: u32 = 33554432u32; | |
22525 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22526 | pub const EDITF_ENABLERENEWONBEHALFOF: u32 = 67108864u32; | |
22527 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22528 | pub const EDITF_ENABLEREQUESTEXTENSIONS: u32 = 1u32; | |
22529 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22530 | pub const EDITF_ENABLEUPNMAP: u32 = 16777216u32; | |
22531 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22532 | pub const EDITF_IGNOREREQUESTERGROUP: u32 = 1024u32; | |
22533 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22534 | pub const EDITF_REQUESTEXTENSIONLIST: u32 = 2u32; | |
22535 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22536 | pub const EDITF_SERVERUPGRADED: u32 = 16384u32; | |
22537 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22538 | pub const ENUMEXT_OBJECTID: u32 = 1u32; | |
22539 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22540 | pub const EXITEVENT_CERTIMPORTED: u32 = 512u32; | |
22541 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22542 | pub const EXITEVENT_INVALID: u32 = 0u32; | |
22543 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22544 | pub const EXITEVENT_STARTUP: u32 = 128u32; | |
22545 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22546 | pub const EXITPUB_ACTIVEDIRECTORY: u32 = 2u32; | |
22547 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22548 | pub const EXITPUB_DEFAULT_ENTERPRISE: u32 = 2u32; | |
22549 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22550 | pub const EXITPUB_DEFAULT_STANDALONE: u32 = 1u32; | |
22551 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22552 | pub const EXITPUB_FILE: u32 = 1u32; | |
22553 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22554 | pub const EXITPUB_REMOVEOLDCERTS: u32 = 16u32; | |
22555 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22556 | pub const EXTENSION_CRITICAL_FLAG: u32 = 1u32; | |
22557 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22558 | pub const EXTENSION_DELETE_FLAG: u32 = 4u32; | |
22559 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22560 | pub const EXTENSION_DISABLE_FLAG: u32 = 2u32; | |
22561 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22562 | pub const EXTENSION_ORIGIN_ADMIN: u32 = 196608u32; | |
22563 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22564 | pub const EXTENSION_ORIGIN_CACERT: u32 = 589824u32; | |
22565 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22566 | pub const EXTENSION_ORIGIN_CMC: u32 = 524288u32; | |
22567 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22568 | pub const EXTENSION_ORIGIN_IMPORTEDCERT: u32 = 393216u32; | |
22569 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22570 | pub const EXTENSION_ORIGIN_MASK: u32 = 983040u32; | |
22571 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22572 | pub const EXTENSION_ORIGIN_PKCS7: u32 = 458752u32; | |
22573 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22574 | pub const EXTENSION_ORIGIN_POLICY: u32 = 131072u32; | |
22575 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22576 | pub const EXTENSION_ORIGIN_RENEWALCERT: u32 = 327680u32; | |
22577 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22578 | pub const EXTENSION_ORIGIN_REQUEST: u32 = 65536u32; | |
22579 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22580 | pub const EXTENSION_ORIGIN_SERVER: u32 = 262144u32; | |
22581 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22582 | pub const EXTENSION_POLICY_MASK: u32 = 65535u32; | |
22583 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22584 | pub const FR_PROP_CLAIMCHALLENGE: u32 = 22u32; | |
22585 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22586 | pub const ICF_ALLOWFOREIGN: u32 = 65536u32; | |
22587 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22588 | pub const ICF_EXISTINGROW: u32 = 131072u32; | |
22589 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22590 | pub const IF_ENABLEADMINASAUDITOR: u32 = 4096u32; | |
22591 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22592 | pub const IF_ENABLEEXITKEYRETRIEVAL: u32 = 2048u32; | |
22593 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22594 | pub const IF_ENFORCEENCRYPTICERTADMIN: u32 = 1024u32; | |
22595 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22596 | pub const IF_ENFORCEENCRYPTICERTREQUEST: u32 = 512u32; | |
22597 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22598 | pub const IF_LOCKICERTREQUEST: u32 = 1u32; | |
22599 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22600 | pub const IF_NOLOCALICERTADMIN: u32 = 32u32; | |
22601 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22602 | pub const IF_NOLOCALICERTADMINBACKUP: u32 = 128u32; | |
22603 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22604 | pub const IF_NOLOCALICERTREQUEST: u32 = 4u32; | |
22605 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22606 | pub const IF_NOREMOTEICERTADMIN: u32 = 16u32; | |
22607 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22608 | pub const IF_NOREMOTEICERTADMINBACKUP: u32 = 64u32; | |
22609 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22610 | pub const IF_NOREMOTEICERTREQUEST: u32 = 2u32; | |
22611 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22612 | pub const IF_NORPCICERTREQUEST: u32 = 8u32; | |
22613 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22614 | pub const IF_NOSNAPSHOTBACKUP: u32 = 256u32; | |
22615 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22616 | pub const IKF_OVERWRITE: u32 = 65536u32; | |
22617 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22618 | pub const ISSCERT_DEFAULT_DS: u32 = 256u32; | |
22619 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22620 | pub const ISSCERT_DEFAULT_NODS: u32 = 256u32; | |
22621 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22622 | pub const ISSCERT_ENABLE: u32 = 256u32; | |
22623 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22624 | pub const ISSCERT_FILEURL_OLD: u32 = 8u32; | |
22625 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22626 | pub const ISSCERT_FTPURL_OLD: u32 = 4u32; | |
22627 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22628 | pub const ISSCERT_HTTPURL_OLD: u32 = 2u32; | |
22629 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22630 | pub const ISSCERT_LDAPURL_OLD: u32 = 1u32; | |
22631 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22632 | pub const ISSCERT_URLMASK_OLD: u32 = 255u32; | |
22633 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22634 | pub const KRAF_DISABLEUSEDEFAULTPROVIDER: u32 = 8u32; | |
22635 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22636 | pub const KRAF_ENABLEARCHIVEALL: u32 = 4u32; | |
22637 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22638 | pub const KRAF_ENABLEFOREIGN: u32 = 1u32; | |
22639 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22640 | pub const KRAF_SAVEBADREQUESTKEY: u32 = 2u32; | |
22641 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22642 | pub const KRA_DISP_EXPIRED: u32 = 0u32; | |
22643 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22644 | pub const KRA_DISP_INVALID: u32 = 4u32; | |
22645 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22646 | pub const KRA_DISP_NOTFOUND: u32 = 1u32; | |
22647 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22648 | pub const KRA_DISP_NOTLOADED: u32 = 6u32; | |
22649 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22650 | pub const KRA_DISP_REVOKED: u32 = 2u32; | |
22651 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22652 | pub const KRA_DISP_UNTRUSTED: u32 = 5u32; | |
22653 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22654 | pub const KRA_DISP_VALID: u32 = 3u32; | |
22655 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22656 | pub const KR_ENABLE_MACHINE: u32 = 1u32; | |
22657 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22658 | pub const KR_ENABLE_USER: u32 = 2u32; | |
22659 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22660 | pub const LDAPF_SIGNDISABLE: u32 = 2u32; | |
22661 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22662 | pub const LDAPF_SSLENABLE: u32 = 1u32; | |
22663 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22664 | pub const OCSPAdmin: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd3f73511_92c9_47cb_8ff2_8d891a7c4de4); | |
22665 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22666 | pub const OCSPPropertyCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf935a528_ba8a_4dd9_ba79_f283275cb2de); | |
22667 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22668 | pub const PROCFLG_ENFORCEGOODKEYS: u32 = 1u32; | |
22669 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22670 | pub const PROCFLG_NONE: u32 = 0u32; | |
22671 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22672 | pub const PROPCALLER_ADMIN: u32 = 1024u32; | |
22673 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22674 | pub const PROPCALLER_EXIT: u32 = 768u32; | |
22675 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22676 | pub const PROPCALLER_MASK: u32 = 3840u32; | |
22677 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22678 | pub const PROPCALLER_POLICY: u32 = 512u32; | |
22679 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22680 | pub const PROPCALLER_REQUEST: u32 = 1280u32; | |
22681 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22682 | pub const PROPCALLER_SERVER: u32 = 256u32; | |
22683 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22684 | pub const PROPFLAGS_INDEXED: u32 = 65536u32; | |
22685 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22686 | pub const PROPTYPE_MASK: u32 = 255u32; | |
22687 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22688 | pub const REQDISP_DEFAULT_ENTERPRISE: u32 = 1u32; | |
22689 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22690 | pub const REQDISP_DENY: u32 = 2u32; | |
22691 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22692 | pub const REQDISP_ISSUE: u32 = 1u32; | |
22693 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22694 | pub const REQDISP_MASK: u32 = 255u32; | |
22695 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22696 | pub const REQDISP_PENDING: u32 = 0u32; | |
22697 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22698 | pub const REQDISP_PENDINGFIRST: u32 = 256u32; | |
22699 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22700 | pub const REQDISP_USEREQUESTATTRIBUTE: u32 = 3u32; | |
22701 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22702 | pub const REVEXT_ASPENABLE: u32 = 512u32; | |
22703 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22704 | pub const REVEXT_CDPENABLE: u32 = 256u32; | |
22705 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22706 | pub const REVEXT_CDPFILEURL_OLD: u32 = 8u32; | |
22707 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22708 | pub const REVEXT_CDPFTPURL_OLD: u32 = 4u32; | |
22709 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22710 | pub const REVEXT_CDPHTTPURL_OLD: u32 = 2u32; | |
22711 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22712 | pub const REVEXT_CDPLDAPURL_OLD: u32 = 1u32; | |
22713 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22714 | pub const REVEXT_CDPURLMASK_OLD: u32 = 255u32; | |
22715 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22716 | pub const REVEXT_DEFAULT_DS: u32 = 256u32; | |
22717 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22718 | pub const REVEXT_DEFAULT_NODS: u32 = 256u32; | |
22719 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22720 | pub const SETUP_ATTEMPT_VROOT_CREATE: u32 = 128u32; | |
22721 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22722 | pub const SETUP_CLIENT_FLAG: u32 = 2u32; | |
22723 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22724 | pub const SETUP_CREATEDB_FLAG: u32 = 64u32; | |
22725 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22726 | pub const SETUP_DCOM_SECURITY_UPDATED_FLAG: u32 = 8192u32; | |
22727 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22728 | pub const SETUP_DENIED_FLAG: u32 = 32u32; | |
22729 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22730 | pub const SETUP_FORCECRL_FLAG: u32 = 256u32; | |
22731 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22732 | pub const SETUP_ONLINE_FLAG: u32 = 16u32; | |
22733 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22734 | pub const SETUP_REQUEST_FLAG: u32 = 8u32; | |
22735 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22736 | pub const SETUP_SECURITY_CHANGED: u32 = 4096u32; | |
22737 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22738 | pub const SETUP_SERVER_FLAG: u32 = 1u32; | |
22739 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22740 | pub const SETUP_SERVER_IS_UP_TO_DATE_FLAG: u32 = 16384u32; | |
22741 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22742 | pub const SETUP_SERVER_UPGRADED_FLAG: u32 = 1024u32; | |
22743 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22744 | pub const SETUP_SUSPEND_FLAG: u32 = 4u32; | |
22745 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22746 | pub const SETUP_UPDATE_CAOBJECT_SVRTYPE: u32 = 512u32; | |
22747 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22748 | pub const SETUP_W2K_SECURITY_NOT_UPGRADED_FLAG: u32 = 2048u32; | |
22749 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22750 | pub const TP_MACHINEPOLICY: u32 = 1u32; | |
22751 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22752 | pub const VR_INSTANT_BAD: u32 = 2u32; | |
22753 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22754 | pub const VR_INSTANT_OK: u32 = 1u32; | |
22755 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22756 | pub const VR_PENDING: u32 = 0u32; | |
22757 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22758 | pub const XECI_AUTOENROLL: u32 = 2u32; | |
22759 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22760 | pub const XECI_CERTREQ: u32 = 4u32; | |
22761 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22762 | pub const XECI_DISABLE: u32 = 0u32; | |
22763 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22764 | pub const XECI_REQWIZARD: u32 = 3u32; | |
22765 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22766 | pub const XECI_XENROLL: u32 = 1u32; | |
22767 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22768 | pub const XECP_STRING_PROPERTY: u32 = 1u32; | |
22769 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22770 | pub const XEKL_KEYSIZE_DEFAULT: u32 = 4u32; | |
22771 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22772 | pub const XEPR_DATE: u32 = 5u32; | |
22773 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22774 | pub const XEPR_ENUM_FIRST: i32 = -1i32; | |
22775 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22776 | pub const XEPR_TEMPLATENAME: u32 = 6u32; | |
22777 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22778 | pub const XEPR_V1TEMPLATENAME: u32 = 9u32; | |
22779 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22780 | pub const XEPR_V2TEMPLATEOID: u32 = 16u32; | |
22781 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22782 | pub const XEPR_VERSION: u32 = 7u32; | |
22783 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22784 | pub const dwCAXCHGOVERLAPPERIODCOUNTDEFAULT: u32 = 1u32; | |
22785 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22786 | pub const dwCAXCHGVALIDITYPERIODCOUNTDEFAULT: u32 = 1u32; | |
22787 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22788 | pub const dwCRLDELTAOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; | |
22789 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22790 | pub const dwCRLDELTAPERIODCOUNTDEFAULT: u32 = 1u32; | |
22791 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22792 | pub const dwCRLOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; | |
22793 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22794 | pub const dwCRLPERIODCOUNTDEFAULT: u32 = 1u32; | |
22795 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22796 | pub const dwVALIDITYPERIODCOUNTDEFAULT_ENTERPRISE: u32 = 2u32; | |
22797 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22798 | pub const dwVALIDITYPERIODCOUNTDEFAULT_ROOT: u32 = 5u32; | |
22799 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22800 | pub const dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE: u32 = 1u32; | |
22801 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22802 | pub const szBACKUPANNOTATION: ::windows::core::PCSTR = ::windows::s!("Cert Server Backup Interface"); | |
22803 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22804 | pub const szDBBASENAMEPARM: ::windows::core::PCSTR = ::windows::s!("edb"); | |
22805 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22806 | pub const szNAMESEPARATORDEFAULT: ::windows::core::PCSTR = ::windows::s!("\n"); | |
22807 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22808 | pub const szPROPASNTAG: ::windows::core::PCSTR = ::windows::s!("{asn}"); | |
22809 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22810 | pub const szRESTOREANNOTATION: ::windows::core::PCSTR = ::windows::s!("Cert Server Restore Interface"); | |
22811 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22812 | pub const wszAT_EKCERTINF: ::windows::core::PCWSTR = ::windows::w!("@EKCert"); | |
22813 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22814 | pub const wszAT_TESTROOT: ::windows::core::PCWSTR = ::windows::w!("@TestRoot"); | |
22815 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22816 | pub const wszCAPOLICYFILE: ::windows::core::PCWSTR = ::windows::w!("CAPolicy.inf"); | |
22817 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22818 | pub const wszCERTEXITMODULE_POSTFIX: ::windows::core::PCWSTR = ::windows::w!(".Exit"); | |
22819 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22820 | pub const wszCERTIFICATETRANSPARENCYFLAGS: ::windows::core::PCWSTR = ::windows::w!("CertificateTransparencyFlags"); | |
22821 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22822 | pub const wszCERTMANAGE_SUFFIX: ::windows::core::PCWSTR = ::windows::w!("Manage"); | |
22823 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22824 | pub const wszCERTPOLICYMODULE_POSTFIX: ::windows::core::PCWSTR = ::windows::w!(".Policy"); | |
22825 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22826 | pub const wszCERT_TYPE: ::windows::core::PCWSTR = ::windows::w!("RequestType"); | |
22827 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22828 | pub const wszCERT_TYPE_CLIENT: ::windows::core::PCWSTR = ::windows::w!("Client"); | |
22829 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22830 | pub const wszCERT_TYPE_CODESIGN: ::windows::core::PCWSTR = ::windows::w!("CodeSign"); | |
22831 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22832 | pub const wszCERT_TYPE_CUSTOMER: ::windows::core::PCWSTR = ::windows::w!("SetCustomer"); | |
22833 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22834 | pub const wszCERT_TYPE_MERCHANT: ::windows::core::PCWSTR = ::windows::w!("SetMerchant"); | |
22835 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22836 | pub const wszCERT_TYPE_PAYMENT: ::windows::core::PCWSTR = ::windows::w!("SetPayment"); | |
22837 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22838 | pub const wszCERT_TYPE_SERVER: ::windows::core::PCWSTR = ::windows::w!("Server"); | |
22839 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22840 | pub const wszCERT_VERSION: ::windows::core::PCWSTR = ::windows::w!("Version"); | |
22841 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22842 | pub const wszCERT_VERSION_1: ::windows::core::PCWSTR = ::windows::w!("1"); | |
22843 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22844 | pub const wszCERT_VERSION_2: ::windows::core::PCWSTR = ::windows::w!("2"); | |
22845 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22846 | pub const wszCERT_VERSION_3: ::windows::core::PCWSTR = ::windows::w!("3"); | |
22847 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22848 | pub const wszCLASS_CERTADMIN: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.Admin"); | |
22849 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22850 | pub const wszCLASS_CERTCONFIG: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.Config"); | |
22851 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22852 | pub const wszCLASS_CERTDBMEM: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.DBMem"); | |
22853 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22854 | pub const wszCLASS_CERTENCODE: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.Encode"); | |
22855 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22856 | pub const wszCLASS_CERTGETCONFIG: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.GetConfig"); | |
22857 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22858 | pub const wszCLASS_CERTREQUEST: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.Request"); | |
22859 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22860 | pub const wszCLASS_CERTSERVEREXIT: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.ServerExit"); | |
22861 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22862 | pub const wszCLASS_CERTSERVERPOLICY: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.ServerPolicy"); | |
22863 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22864 | pub const wszCLASS_CERTVIEW: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority.View"); | |
22865 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22866 | pub const wszCMM_PROP_COPYRIGHT: ::windows::core::PCWSTR = ::windows::w!("Copyright"); | |
22867 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22868 | pub const wszCMM_PROP_DESCRIPTION: ::windows::core::PCWSTR = ::windows::w!("Description"); | |
22869 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22870 | pub const wszCMM_PROP_DISPLAY_HWND: ::windows::core::PCWSTR = ::windows::w!("HWND"); | |
22871 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22872 | pub const wszCMM_PROP_FILEVER: ::windows::core::PCWSTR = ::windows::w!("File Version"); | |
22873 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22874 | pub const wszCMM_PROP_ISMULTITHREADED: ::windows::core::PCWSTR = ::windows::w!("IsMultiThreaded"); | |
22875 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22876 | pub const wszCMM_PROP_NAME: ::windows::core::PCWSTR = ::windows::w!("Name"); | |
22877 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22878 | pub const wszCMM_PROP_PRODUCTVER: ::windows::core::PCWSTR = ::windows::w!("Product Version"); | |
22879 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22880 | pub const wszCNGENCRYPTIONALGORITHM: ::windows::core::PCWSTR = ::windows::w!("CNGEncryptionAlgorithm"); | |
22881 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22882 | pub const wszCNGHASHALGORITHM: ::windows::core::PCWSTR = ::windows::w!("CNGHashAlgorithm"); | |
22883 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22884 | pub const wszCNGPUBLICKEYALGORITHM: ::windows::core::PCWSTR = ::windows::w!("CNGPublicKeyAlgorithm"); | |
22885 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22886 | pub const wszCONFIG_AUTHORITY: ::windows::core::PCWSTR = ::windows::w!("Authority"); | |
22887 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22888 | pub const wszCONFIG_COMMENT: ::windows::core::PCWSTR = ::windows::w!("Comment"); | |
22889 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22890 | pub const wszCONFIG_COMMONNAME: ::windows::core::PCWSTR = ::windows::w!("CommonName"); | |
22891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22892 | pub const wszCONFIG_CONFIG: ::windows::core::PCWSTR = ::windows::w!("Config"); | |
22893 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22894 | pub const wszCONFIG_COUNTRY: ::windows::core::PCWSTR = ::windows::w!("Country"); | |
22895 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22896 | pub const wszCONFIG_DESCRIPTION: ::windows::core::PCWSTR = ::windows::w!("Description"); | |
22897 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22898 | pub const wszCONFIG_EXCHANGECERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("ExchangeCertificate"); | |
22899 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22900 | pub const wszCONFIG_FLAGS: ::windows::core::PCWSTR = ::windows::w!("Flags"); | |
22901 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22902 | pub const wszCONFIG_LOCALITY: ::windows::core::PCWSTR = ::windows::w!("Locality"); | |
22903 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22904 | pub const wszCONFIG_ORGANIZATION: ::windows::core::PCWSTR = ::windows::w!("Organization"); | |
22905 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22906 | pub const wszCONFIG_ORGUNIT: ::windows::core::PCWSTR = ::windows::w!("OrgUnit"); | |
22907 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22908 | pub const wszCONFIG_SANITIZEDNAME: ::windows::core::PCWSTR = ::windows::w!("SanitizedName"); | |
22909 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22910 | pub const wszCONFIG_SANITIZEDSHORTNAME: ::windows::core::PCWSTR = ::windows::w!("SanitizedShortName"); | |
22911 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22912 | pub const wszCONFIG_SERVER: ::windows::core::PCWSTR = ::windows::w!("Server"); | |
22913 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22914 | pub const wszCONFIG_SHORTNAME: ::windows::core::PCWSTR = ::windows::w!("ShortName"); | |
22915 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22916 | pub const wszCONFIG_SIGNATURECERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("SignatureCertificate"); | |
22917 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22918 | pub const wszCONFIG_STATE: ::windows::core::PCWSTR = ::windows::w!("State"); | |
22919 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22920 | pub const wszCONFIG_WEBENROLLMENTSERVERS: ::windows::core::PCWSTR = ::windows::w!("WebEnrollmentServers"); | |
22921 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22922 | pub const wszCRLPUBLISHRETRYCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLPublishRetryCount"); | |
22923 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22924 | pub const wszCRTFILENAMEEXT: ::windows::core::PCWSTR = ::windows::w!(".crt"); | |
22925 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22926 | pub const wszDATFILENAMEEXT: ::windows::core::PCWSTR = ::windows::w!(".dat"); | |
22927 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22928 | pub const wszDBBACKUPCERTBACKDAT: ::windows::core::PCWSTR = ::windows::w!("certbkxp.dat"); | |
22929 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22930 | pub const wszDBBACKUPSUBDIR: ::windows::core::PCWSTR = ::windows::w!("DataBase"); | |
22931 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22932 | pub const wszDBFILENAMEEXT: ::windows::core::PCWSTR = ::windows::w!(".edb"); | |
22933 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22934 | pub const wszENCRYPTIONALGORITHM: ::windows::core::PCWSTR = ::windows::w!("EncryptionAlgorithm"); | |
22935 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22936 | pub const wszENROLLMENTAGENTRIGHTS: ::windows::core::PCWSTR = ::windows::w!("EnrollmentAgentRights"); | |
22937 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22938 | pub const wszHASHALGORITHM: ::windows::core::PCWSTR = ::windows::w!("HashAlgorithm"); | |
22939 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22940 | pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: ::windows::core::PCWSTR = ::windows::w!("AlternateSignatureAlgorithm"); | |
22941 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22942 | pub const wszINFKEY_ATTESTPRIVATEKEY: ::windows::core::PCWSTR = ::windows::w!("AttestPrivateKey"); | |
22943 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22944 | pub const wszINFKEY_CACAPABILITIES: ::windows::core::PCWSTR = ::windows::w!("CACapabilities"); | |
22945 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22946 | pub const wszINFKEY_CACERTS: ::windows::core::PCWSTR = ::windows::w!("CACerts"); | |
22947 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22948 | pub const wszINFKEY_CATHUMBPRINT: ::windows::core::PCWSTR = ::windows::w!("CAThumbprint"); | |
22949 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22950 | pub const wszINFKEY_CCDPSYNCDELTATIME: ::windows::core::PCWSTR = ::windows::w!("SyncDeltaTime"); | |
22951 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22952 | pub const wszINFKEY_CHALLENGEPASSWORD: ::windows::core::PCWSTR = ::windows::w!("ChallengePassword"); | |
22953 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22954 | pub const wszINFKEY_CONTINUE: ::windows::core::PCWSTR = ::windows::w!("_continue_"); | |
22955 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22956 | pub const wszINFKEY_CRITICAL: ::windows::core::PCWSTR = ::windows::w!("Critical"); | |
22957 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22958 | pub const wszINFKEY_CRLDELTAPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaPeriodUnits"); | |
22959 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22960 | pub const wszINFKEY_CRLDELTAPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaPeriod"); | |
22961 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22962 | pub const wszINFKEY_CRLPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLPeriodUnits"); | |
22963 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22964 | pub const wszINFKEY_CRLPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLPeriod"); | |
22965 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22966 | pub const wszINFKEY_DIRECTORYNAME: ::windows::core::PCWSTR = ::windows::w!("DirectoryName"); | |
22967 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22968 | pub const wszINFKEY_DNS: ::windows::core::PCWSTR = ::windows::w!("DNS"); | |
22969 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22970 | pub const wszINFKEY_ECCKEYPARAMETERS: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters"); | |
22971 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22972 | pub const wszINFKEY_ECCKEYPARAMETERSTYPE: ::windows::core::PCWSTR = ::windows::w!("EccKeyParametersType"); | |
22973 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22974 | pub const wszINFKEY_ECCKEYPARAMETERS_A: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_A"); | |
22975 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22976 | pub const wszINFKEY_ECCKEYPARAMETERS_B: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_B"); | |
22977 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22978 | pub const wszINFKEY_ECCKEYPARAMETERS_BASE: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_Base"); | |
22979 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22980 | pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_Cofactor"); | |
22981 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22982 | pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_Order"); | |
22983 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22984 | pub const wszINFKEY_ECCKEYPARAMETERS_P: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_P"); | |
22985 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22986 | pub const wszINFKEY_ECCKEYPARAMETERS_SEED: ::windows::core::PCWSTR = ::windows::w!("EccKeyParameters_Seed"); | |
22987 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22988 | pub const wszINFKEY_EMAIL: ::windows::core::PCWSTR = ::windows::w!("EMail"); | |
22989 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22990 | pub const wszINFKEY_EMPTY: ::windows::core::PCWSTR = ::windows::w!("Empty"); | |
22991 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22992 | pub const wszINFKEY_ENABLEKEYCOUNTING: ::windows::core::PCWSTR = ::windows::w!("EnableKeyCounting"); | |
22993 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22994 | pub const wszINFKEY_ENCRYPTIONALGORITHM: ::windows::core::PCWSTR = ::windows::w!("EncryptionAlgorithm"); | |
22995 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22996 | pub const wszINFKEY_ENCRYPTIONLENGTH: ::windows::core::PCWSTR = ::windows::w!("EncryptionLength"); | |
22997 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
22998 | pub const wszINFKEY_EXCLUDE: ::windows::core::PCWSTR = ::windows::w!("Exclude"); | |
22999 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23000 | pub const wszINFKEY_EXPORTABLE: ::windows::core::PCWSTR = ::windows::w!("Exportable"); | |
23001 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23002 | pub const wszINFKEY_EXPORTABLEENCRYPTED: ::windows::core::PCWSTR = ::windows::w!("ExportableEncrypted"); | |
23003 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23004 | pub const wszINFKEY_FLAGS: ::windows::core::PCWSTR = ::windows::w!("Flags"); | |
23005 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23006 | pub const wszINFKEY_FORCEUTF8: ::windows::core::PCWSTR = ::windows::w!("ForceUTF8"); | |
23007 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23008 | pub const wszINFKEY_FRIENDLYNAME: ::windows::core::PCWSTR = ::windows::w!("FriendlyName"); | |
23009 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23010 | pub const wszINFKEY_HASHALGORITHM: ::windows::core::PCWSTR = ::windows::w!("HashAlgorithm"); | |
23011 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23012 | pub const wszINFKEY_INCLUDE: ::windows::core::PCWSTR = ::windows::w!("Include"); | |
23013 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23014 | pub const wszINFKEY_INHIBITPOLICYMAPPING: ::windows::core::PCWSTR = ::windows::w!("InhibitPolicyMapping"); | |
23015 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23016 | pub const wszINFKEY_IPADDRESS: ::windows::core::PCWSTR = ::windows::w!("IPAddress"); | |
23017 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23018 | pub const wszINFKEY_KEYALGORITHM: ::windows::core::PCWSTR = ::windows::w!("KeyAlgorithm"); | |
23019 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23020 | pub const wszINFKEY_KEYALGORITHMPARMETERS: ::windows::core::PCWSTR = ::windows::w!("KeyAlgorithmParameters"); | |
23021 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23022 | pub const wszINFKEY_KEYCONTAINER: ::windows::core::PCWSTR = ::windows::w!("KeyContainer"); | |
23023 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23024 | pub const wszINFKEY_KEYLENGTH: ::windows::core::PCWSTR = ::windows::w!("KeyLength"); | |
23025 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23026 | pub const wszINFKEY_KEYPROTECTION: ::windows::core::PCWSTR = ::windows::w!("KeyProtection"); | |
23027 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23028 | pub const wszINFKEY_KEYUSAGEEXTENSION: ::windows::core::PCWSTR = ::windows::w!("KeyUsage"); | |
23029 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23030 | pub const wszINFKEY_KEYUSAGEPROPERTY: ::windows::core::PCWSTR = ::windows::w!("KeyUsageProperty"); | |
23031 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23032 | pub const wszINFKEY_LEGACYKEYSPEC: ::windows::core::PCWSTR = ::windows::w!("KeySpec"); | |
23033 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23034 | pub const wszINFKEY_LOADDEFAULTTEMPLATES: ::windows::core::PCWSTR = ::windows::w!("LoadDefaultTemplates"); | |
23035 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23036 | pub const wszINFKEY_MACHINEKEYSET: ::windows::core::PCWSTR = ::windows::w!("MachineKeySet"); | |
23037 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23038 | pub const wszINFKEY_NOTAFTER: ::windows::core::PCWSTR = ::windows::w!("NotAfter"); | |
23039 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23040 | pub const wszINFKEY_NOTBEFORE: ::windows::core::PCWSTR = ::windows::w!("NotBefore"); | |
23041 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23042 | pub const wszINFKEY_NOTICE: ::windows::core::PCWSTR = ::windows::w!("Notice"); | |
23043 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23044 | pub const wszINFKEY_OID: ::windows::core::PCWSTR = ::windows::w!("OID"); | |
23045 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23046 | pub const wszINFKEY_OTHERNAME: ::windows::core::PCWSTR = ::windows::w!("OtherName"); | |
23047 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23048 | pub const wszINFKEY_PATHLENGTH: ::windows::core::PCWSTR = ::windows::w!("PathLength"); | |
23049 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23050 | pub const wszINFKEY_POLICIES: ::windows::core::PCWSTR = ::windows::w!("Policies"); | |
23051 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23052 | pub const wszINFKEY_PRIVATEKEYARCHIVE: ::windows::core::PCWSTR = ::windows::w!("PrivateKeyArchive"); | |
23053 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23054 | pub const wszINFKEY_PROVIDERNAME: ::windows::core::PCWSTR = ::windows::w!("ProviderName"); | |
23055 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23056 | pub const wszINFKEY_PROVIDERTYPE: ::windows::core::PCWSTR = ::windows::w!("ProviderType"); | |
23057 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23058 | pub const wszINFKEY_PUBLICKEY: ::windows::core::PCWSTR = ::windows::w!("PublicKey"); | |
23059 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23060 | pub const wszINFKEY_PUBLICKEYPARAMETERS: ::windows::core::PCWSTR = ::windows::w!("PublicKeyParameters"); | |
23061 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23062 | pub const wszINFKEY_READERNAME: ::windows::core::PCWSTR = ::windows::w!("ReaderName"); | |
23063 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23064 | pub const wszINFKEY_REGISTEREDID: ::windows::core::PCWSTR = ::windows::w!("RegisteredId"); | |
23065 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23066 | pub const wszINFKEY_RENEWALCERT: ::windows::core::PCWSTR = ::windows::w!("RenewalCert"); | |
23067 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23068 | pub const wszINFKEY_RENEWALKEYLENGTH: ::windows::core::PCWSTR = ::windows::w!("RenewalKeyLength"); | |
23069 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23070 | pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("RenewalValidityPeriodUnits"); | |
23071 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23072 | pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("RenewalValidityPeriod"); | |
23073 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23074 | pub const wszINFKEY_REQUESTTYPE: ::windows::core::PCWSTR = ::windows::w!("RequestType"); | |
23075 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23076 | pub const wszINFKEY_REQUIREEXPLICITPOLICY: ::windows::core::PCWSTR = ::windows::w!("RequireExplicitPolicy"); | |
23077 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23078 | pub const wszINFKEY_SECURITYDESCRIPTOR: ::windows::core::PCWSTR = ::windows::w!("SecurityDescriptor"); | |
23079 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23080 | pub const wszINFKEY_SERIALNUMBER: ::windows::core::PCWSTR = ::windows::w!("SerialNumber"); | |
23081 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23082 | pub const wszINFKEY_SHOWALLCSPS: ::windows::core::PCWSTR = ::windows::w!("ShowAllCSPs"); | |
23083 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23084 | pub const wszINFKEY_SILENT: ::windows::core::PCWSTR = ::windows::w!("Silent"); | |
23085 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23086 | pub const wszINFKEY_SMIME: ::windows::core::PCWSTR = ::windows::w!("SMIME"); | |
23087 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23088 | pub const wszINFKEY_SUBJECT: ::windows::core::PCWSTR = ::windows::w!("Subject"); | |
23089 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23090 | pub const wszINFKEY_SUBJECTNAMEFLAGS: ::windows::core::PCWSTR = ::windows::w!("SubjectNameFlags"); | |
23091 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23092 | pub const wszINFKEY_SUBTREE: ::windows::core::PCWSTR = ::windows::w!("SubTree"); | |
23093 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23094 | pub const wszINFKEY_SUPPRESSDEFAULTS: ::windows::core::PCWSTR = ::windows::w!("SuppressDefaults"); | |
23095 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23096 | pub const wszINFKEY_UICONTEXTMESSAGE: ::windows::core::PCWSTR = ::windows::w!("UIContextMessage"); | |
23097 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23098 | pub const wszINFKEY_UPN: ::windows::core::PCWSTR = ::windows::w!("UPN"); | |
23099 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23100 | pub const wszINFKEY_URL: ::windows::core::PCWSTR = ::windows::w!("URL"); | |
23101 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23102 | pub const wszINFKEY_USEEXISTINGKEY: ::windows::core::PCWSTR = ::windows::w!("UseExistingKeySet"); | |
23103 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23104 | pub const wszINFKEY_USERPROTECTED: ::windows::core::PCWSTR = ::windows::w!("UserProtected"); | |
23105 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23106 | pub const wszINFKEY_UTF8: ::windows::core::PCWSTR = ::windows::w!("UTF8"); | |
23107 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23108 | pub const wszINFKEY_X500NAMEFLAGS: ::windows::core::PCWSTR = ::windows::w!("X500NameFlags"); | |
23109 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23110 | pub const wszINFSECTION_AIA: ::windows::core::PCWSTR = ::windows::w!("AuthorityInformationAccess"); | |
23111 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23112 | pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: ::windows::core::PCWSTR = ::windows::w!("ApplicationPolicyConstraintsExtension"); | |
23113 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23114 | pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: ::windows::core::PCWSTR = ::windows::w!("ApplicationPolicyMappingsExtension"); | |
23115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23116 | pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: ::windows::core::PCWSTR = ::windows::w!("ApplicationPolicyStatementExtension"); | |
23117 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23118 | pub const wszINFSECTION_BASICCONSTRAINTS: ::windows::core::PCWSTR = ::windows::w!("BasicConstraintsExtension"); | |
23119 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23120 | pub const wszINFSECTION_CAPOLICY: ::windows::core::PCWSTR = ::windows::w!("CAPolicy"); | |
23121 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23122 | pub const wszINFSECTION_CCDP: ::windows::core::PCWSTR = ::windows::w!("CrossCertificateDistributionPointsExtension"); | |
23123 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23124 | pub const wszINFSECTION_CDP: ::windows::core::PCWSTR = ::windows::w!("CRLDistributionPoint"); | |
23125 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23126 | pub const wszINFSECTION_CERTSERVER: ::windows::core::PCWSTR = ::windows::w!("certsrv_server"); | |
23127 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23128 | pub const wszINFSECTION_EKU: ::windows::core::PCWSTR = ::windows::w!("EnhancedKeyUsageExtension"); | |
23129 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23130 | pub const wszINFSECTION_EXTENSIONS: ::windows::core::PCWSTR = ::windows::w!("Extensions"); | |
23131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23132 | pub const wszINFSECTION_NAMECONSTRAINTS: ::windows::core::PCWSTR = ::windows::w!("NameConstraintsExtension"); | |
23133 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23134 | pub const wszINFSECTION_NEWREQUEST: ::windows::core::PCWSTR = ::windows::w!("NewRequest"); | |
23135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23136 | pub const wszINFSECTION_POLICYCONSTRAINTS: ::windows::core::PCWSTR = ::windows::w!("PolicyConstraintsExtension"); | |
23137 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23138 | pub const wszINFSECTION_POLICYMAPPINGS: ::windows::core::PCWSTR = ::windows::w!("PolicyMappingsExtension"); | |
23139 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23140 | pub const wszINFSECTION_POLICYSTATEMENT: ::windows::core::PCWSTR = ::windows::w!("PolicyStatementExtension"); | |
23141 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23142 | pub const wszINFSECTION_PROPERTIES: ::windows::core::PCWSTR = ::windows::w!("Properties"); | |
23143 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23144 | pub const wszINFSECTION_REQUESTATTRIBUTES: ::windows::core::PCWSTR = ::windows::w!("RequestAttributes"); | |
23145 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23146 | pub const wszINFVALUE_ENDORSEMENTKEY: ::windows::core::PCWSTR = ::windows::w!("EndorsementKey"); | |
23147 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23148 | pub const wszINFVALUE_REQUESTTYPE_CERT: ::windows::core::PCWSTR = ::windows::w!("Cert"); | |
23149 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23150 | pub const wszINFVALUE_REQUESTTYPE_CMC: ::windows::core::PCWSTR = ::windows::w!("CMC"); | |
23151 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23152 | pub const wszINFVALUE_REQUESTTYPE_PKCS10: ::windows::core::PCWSTR = ::windows::w!("PKCS10"); | |
23153 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23154 | pub const wszINFVALUE_REQUESTTYPE_PKCS7: ::windows::core::PCWSTR = ::windows::w!("PKCS7"); | |
23155 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23156 | pub const wszINFVALUE_REQUESTTYPE_SCEP: ::windows::core::PCWSTR = ::windows::w!("SCEP"); | |
23157 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23158 | pub const wszLDAPSESSIONOPTIONVALUE: ::windows::core::PCWSTR = ::windows::w!("LDAPSessionOptionValue"); | |
23159 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23160 | pub const wszLOCALIZEDTIMEPERIODUNITS: ::windows::core::PCWSTR = ::windows::w!("LocalizedTimePeriodUnits"); | |
23161 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23162 | pub const wszLOGFILENAMEEXT: ::windows::core::PCWSTR = ::windows::w!(".log"); | |
23163 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23164 | pub const wszLOGPATH: ::windows::core::PCWSTR = ::windows::w!("CertLog"); | |
23165 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23166 | pub const wszMACHINEKEYSET: ::windows::core::PCWSTR = ::windows::w!("MachineKeyset"); | |
23167 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23168 | pub const wszMICROSOFTCERTMODULE_PREFIX: ::windows::core::PCWSTR = ::windows::w!("CertificateAuthority_MicrosoftDefault"); | |
23169 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23170 | pub const wszNETSCAPEREVOCATIONTYPE: ::windows::core::PCWSTR = ::windows::w!("Netscape"); | |
23171 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23172 | pub const wszOCSPCAPROP_CACERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("CACertificate"); | |
23173 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23174 | pub const wszOCSPCAPROP_CACONFIG: ::windows::core::PCWSTR = ::windows::w!("CAConfig"); | |
23175 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23176 | pub const wszOCSPCAPROP_CSPNAME: ::windows::core::PCWSTR = ::windows::w!("CSPName"); | |
23177 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23178 | pub const wszOCSPCAPROP_ERRORCODE: ::windows::core::PCWSTR = ::windows::w!("ErrorCode"); | |
23179 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23180 | pub const wszOCSPCAPROP_HASHALGORITHMID: ::windows::core::PCWSTR = ::windows::w!("HashAlgorithmId"); | |
23181 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23182 | pub const wszOCSPCAPROP_KEYSPEC: ::windows::core::PCWSTR = ::windows::w!("KeySpec"); | |
23183 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23184 | pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: ::windows::core::PCWSTR = ::windows::w!("LocalRevocationInformation"); | |
23185 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23186 | pub const wszOCSPCAPROP_PROVIDERCLSID: ::windows::core::PCWSTR = ::windows::w!("ProviderCLSID"); | |
23187 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23188 | pub const wszOCSPCAPROP_PROVIDERPROPERTIES: ::windows::core::PCWSTR = ::windows::w!("Provider"); | |
23189 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23190 | pub const wszOCSPCAPROP_REMINDERDURATION: ::windows::core::PCWSTR = ::windows::w!("ReminderDuration"); | |
23191 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23192 | pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("SigningCertificate"); | |
23193 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23194 | pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: ::windows::core::PCWSTR = ::windows::w!("SigningCertificateTemplate"); | |
23195 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23196 | pub const wszOCSPCAPROP_SIGNINGFLAGS: ::windows::core::PCWSTR = ::windows::w!("SigningFlags"); | |
23197 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23198 | pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: ::windows::core::PCWSTR = ::windows::w!("MaxIncomingMessageSize"); | |
23199 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23200 | pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: ::windows::core::PCWSTR = ::windows::w!("MaxNumOfRequestEntries"); | |
23201 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23202 | pub const wszOCSPCOMMONPROP_REQFLAGS: ::windows::core::PCWSTR = ::windows::w!("RequestFlags"); | |
23203 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23204 | pub const wszOCSPISAPIPROP_DEBUG: ::windows::core::PCWSTR = ::windows::w!("ISAPIDebug"); | |
23205 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23206 | pub const wszOCSPISAPIPROP_MAXAGE: ::windows::core::PCWSTR = ::windows::w!("MaxAge"); | |
23207 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23208 | pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: ::windows::core::PCWSTR = ::windows::w!("MaxNumOfCacheEntries"); | |
23209 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23210 | pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: ::windows::core::PCWSTR = ::windows::w!("NumOfBackendConnections"); | |
23211 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23212 | pub const wszOCSPISAPIPROP_NUMOFTHREADS: ::windows::core::PCWSTR = ::windows::w!("NumOfThreads"); | |
23213 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23214 | pub const wszOCSPISAPIPROP_REFRESHRATE: ::windows::core::PCWSTR = ::windows::w!("RefreshRate"); | |
23215 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23216 | pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: ::windows::core::PCWSTR = ::windows::w!("VirtualRootName"); | |
23217 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23218 | pub const wszOCSPPROP_ARRAYCONTROLLER: ::windows::core::PCWSTR = ::windows::w!("ArrayController"); | |
23219 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23220 | pub const wszOCSPPROP_ARRAYMEMBERS: ::windows::core::PCWSTR = ::windows::w!("ArrayMembers"); | |
23221 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23222 | pub const wszOCSPPROP_AUDITFILTER: ::windows::core::PCWSTR = ::windows::w!("AuditFilter"); | |
23223 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23224 | pub const wszOCSPPROP_DEBUG: ::windows::core::PCWSTR = ::windows::w!("Debug"); | |
23225 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23226 | pub const wszOCSPPROP_ENROLLPOLLINTERVAL: ::windows::core::PCWSTR = ::windows::w!("EnrollPollInterval"); | |
23227 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23228 | pub const wszOCSPPROP_LOGLEVEL: ::windows::core::PCWSTR = ::windows::w!("LogLevel"); | |
23229 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23230 | pub const wszOCSPREVPROP_BASECRL: ::windows::core::PCWSTR = ::windows::w!("BaseCrl"); | |
23231 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23232 | pub const wszOCSPREVPROP_BASECRLURLS: ::windows::core::PCWSTR = ::windows::w!("BaseCrlUrls"); | |
23233 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23234 | pub const wszOCSPREVPROP_CRLURLTIMEOUT: ::windows::core::PCWSTR = ::windows::w!("CrlUrlTimeOut"); | |
23235 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23236 | pub const wszOCSPREVPROP_DELTACRL: ::windows::core::PCWSTR = ::windows::w!("DeltaCrl"); | |
23237 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23238 | pub const wszOCSPREVPROP_DELTACRLURLS: ::windows::core::PCWSTR = ::windows::w!("DeltaCrlUrls"); | |
23239 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23240 | pub const wszOCSPREVPROP_ERRORCODE: ::windows::core::PCWSTR = ::windows::w!("RevocationErrorCode"); | |
23241 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23242 | pub const wszOCSPREVPROP_REFRESHTIMEOUT: ::windows::core::PCWSTR = ::windows::w!("RefreshTimeOut"); | |
23243 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23244 | pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: ::windows::core::PCWSTR = ::windows::w!("IssuedSerialNumbersDirectories"); | |
23245 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23246 | pub const wszPERIODDAYS: ::windows::core::PCWSTR = ::windows::w!("Days"); | |
23247 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23248 | pub const wszPERIODHOURS: ::windows::core::PCWSTR = ::windows::w!("Hours"); | |
23249 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23250 | pub const wszPERIODMINUTES: ::windows::core::PCWSTR = ::windows::w!("Minutes"); | |
23251 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23252 | pub const wszPERIODMONTHS: ::windows::core::PCWSTR = ::windows::w!("Months"); | |
23253 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23254 | pub const wszPERIODSECONDS: ::windows::core::PCWSTR = ::windows::w!("Seconds"); | |
23255 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23256 | pub const wszPERIODWEEKS: ::windows::core::PCWSTR = ::windows::w!("Weeks"); | |
23257 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23258 | pub const wszPERIODYEARS: ::windows::core::PCWSTR = ::windows::w!("Years"); | |
23259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23260 | pub const wszPFXFILENAMEEXT: ::windows::core::PCWSTR = ::windows::w!(".p12"); | |
23261 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23262 | pub const wszPROPATTESTATIONCHALLENGE: ::windows::core::PCWSTR = ::windows::w!("AttestationChallenge"); | |
23263 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23264 | pub const wszPROPATTRIBNAME: ::windows::core::PCWSTR = ::windows::w!("AttributeName"); | |
23265 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23266 | pub const wszPROPATTRIBREQUESTID: ::windows::core::PCWSTR = ::windows::w!("AttributeRequestId"); | |
23267 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23268 | pub const wszPROPATTRIBVALUE: ::windows::core::PCWSTR = ::windows::w!("AttributeValue"); | |
23269 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23270 | pub const wszPROPCALLERNAME: ::windows::core::PCWSTR = ::windows::w!("CallerName"); | |
23271 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23272 | pub const wszPROPCATYPE: ::windows::core::PCWSTR = ::windows::w!("CAType"); | |
23273 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23274 | pub const wszPROPCERTCLIENTMACHINE: ::windows::core::PCWSTR = ::windows::w!("ccm"); | |
23275 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23276 | pub const wszPROPCERTCOUNT: ::windows::core::PCWSTR = ::windows::w!("CertCount"); | |
23277 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23278 | pub const wszPROPCERTIFICATEENROLLMENTFLAGS: ::windows::core::PCWSTR = ::windows::w!("EnrollmentFlags"); | |
23279 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23280 | pub const wszPROPCERTIFICATEGENERALFLAGS: ::windows::core::PCWSTR = ::windows::w!("GeneralFlags"); | |
23281 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23282 | pub const wszPROPCERTIFICATEHASH: ::windows::core::PCWSTR = ::windows::w!("CertificateHash"); | |
23283 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23284 | pub const wszPROPCERTIFICATENOTAFTERDATE: ::windows::core::PCWSTR = ::windows::w!("NotAfter"); | |
23285 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23286 | pub const wszPROPCERTIFICATENOTBEFOREDATE: ::windows::core::PCWSTR = ::windows::w!("NotBefore"); | |
23287 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23288 | pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: ::windows::core::PCWSTR = ::windows::w!("PrivatekeyFlags"); | |
23289 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23290 | pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: ::windows::core::PCWSTR = ::windows::w!("PublicKeyAlgorithm"); | |
23291 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23292 | pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: ::windows::core::PCWSTR = ::windows::w!("PublicKeyLength"); | |
23293 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23294 | pub const wszPROPCERTIFICATERAWPUBLICKEY: ::windows::core::PCWSTR = ::windows::w!("RawPublicKey"); | |
23295 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23296 | pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: ::windows::core::PCWSTR = ::windows::w!("RawPublicKeyAlgorithmParameters"); | |
23297 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23298 | pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: ::windows::core::PCWSTR = ::windows::w!("RawSMIMECapabilities"); | |
23299 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23300 | pub const wszPROPCERTIFICATEREQUESTID: ::windows::core::PCWSTR = ::windows::w!("RequestID"); | |
23301 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23302 | pub const wszPROPCERTIFICATESERIALNUMBER: ::windows::core::PCWSTR = ::windows::w!("SerialNumber"); | |
23303 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23304 | pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: ::windows::core::PCWSTR = ::windows::w!("SubjectKeyIdentifier"); | |
23305 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23306 | pub const wszPROPCERTIFICATETEMPLATE: ::windows::core::PCWSTR = ::windows::w!("CertificateTemplate"); | |
23307 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23308 | pub const wszPROPCERTIFICATETYPE: ::windows::core::PCWSTR = ::windows::w!("CertificateType"); | |
23309 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23310 | pub const wszPROPCERTIFICATEUPN: ::windows::core::PCWSTR = ::windows::w!("UPN"); | |
23311 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23312 | pub const wszPROPCERTSTATE: ::windows::core::PCWSTR = ::windows::w!("CertState"); | |
23313 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23314 | pub const wszPROPCERTSUFFIX: ::windows::core::PCWSTR = ::windows::w!("CertSuffix"); | |
23315 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23316 | pub const wszPROPCERTTEMPLATE: ::windows::core::PCWSTR = ::windows::w!("CertificateTemplate"); | |
23317 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23318 | pub const wszPROPCERTTYPE: ::windows::core::PCWSTR = ::windows::w!("CertType"); | |
23319 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23320 | pub const wszPROPCERTUSAGE: ::windows::core::PCWSTR = ::windows::w!("CertificateUsage"); | |
23321 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23322 | pub const wszPROPCHALLENGE: ::windows::core::PCWSTR = ::windows::w!("Challenge"); | |
23323 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23324 | pub const wszPROPCLIENTBROWSERMACHINE: ::windows::core::PCWSTR = ::windows::w!("cbm"); | |
23325 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23326 | pub const wszPROPCLIENTDCDNS: ::windows::core::PCWSTR = ::windows::w!("cdc"); | |
23327 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23328 | pub const wszPROPCOMMONNAME: ::windows::core::PCWSTR = ::windows::w!("CommonName"); | |
23329 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23330 | pub const wszPROPCONFIGDN: ::windows::core::PCWSTR = ::windows::w!("ConfigDN"); | |
23331 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23332 | pub const wszPROPCOUNTRY: ::windows::core::PCWSTR = ::windows::w!("Country"); | |
23333 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23334 | pub const wszPROPCRITICALTAG: ::windows::core::PCWSTR = ::windows::w!("{critical}"); | |
23335 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23336 | pub const wszPROPCRLCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLCount"); | |
23337 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23338 | pub const wszPROPCRLEFFECTIVE: ::windows::core::PCWSTR = ::windows::w!("CRLEffective"); | |
23339 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23340 | pub const wszPROPCRLINDEX: ::windows::core::PCWSTR = ::windows::w!("CRLIndex"); | |
23341 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23342 | pub const wszPROPCRLLASTPUBLISHED: ::windows::core::PCWSTR = ::windows::w!("CRLLastPublished"); | |
23343 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23344 | pub const wszPROPCRLMINBASE: ::windows::core::PCWSTR = ::windows::w!("CRLMinBase"); | |
23345 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23346 | pub const wszPROPCRLNAMEID: ::windows::core::PCWSTR = ::windows::w!("CRLNameId"); | |
23347 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23348 | pub const wszPROPCRLNEXTPUBLISH: ::windows::core::PCWSTR = ::windows::w!("CRLNextPublish"); | |
23349 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23350 | pub const wszPROPCRLNEXTUPDATE: ::windows::core::PCWSTR = ::windows::w!("CRLNextUpdate"); | |
23351 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23352 | pub const wszPROPCRLNUMBER: ::windows::core::PCWSTR = ::windows::w!("CRLNumber"); | |
23353 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23354 | pub const wszPROPCRLPROPAGATIONCOMPLETE: ::windows::core::PCWSTR = ::windows::w!("CRLPropagationComplete"); | |
23355 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23356 | pub const wszPROPCRLPUBLISHATTEMPTS: ::windows::core::PCWSTR = ::windows::w!("CRLPublishAttempts"); | |
23357 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23358 | pub const wszPROPCRLPUBLISHERROR: ::windows::core::PCWSTR = ::windows::w!("CRLPublishError"); | |
23359 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23360 | pub const wszPROPCRLPUBLISHFLAGS: ::windows::core::PCWSTR = ::windows::w!("CRLPublishFlags"); | |
23361 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23362 | pub const wszPROPCRLPUBLISHSTATUSCODE: ::windows::core::PCWSTR = ::windows::w!("CRLPublishStatusCode"); | |
23363 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23364 | pub const wszPROPCRLRAWCRL: ::windows::core::PCWSTR = ::windows::w!("CRLRawCRL"); | |
23365 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23366 | pub const wszPROPCRLROWID: ::windows::core::PCWSTR = ::windows::w!("CRLRowId"); | |
23367 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23368 | pub const wszPROPCRLSTATE: ::windows::core::PCWSTR = ::windows::w!("CRLState"); | |
23369 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23370 | pub const wszPROPCRLSUFFIX: ::windows::core::PCWSTR = ::windows::w!("CRLSuffix"); | |
23371 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23372 | pub const wszPROPCRLTHISPUBLISH: ::windows::core::PCWSTR = ::windows::w!("CRLThisPublish"); | |
23373 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23374 | pub const wszPROPCRLTHISUPDATE: ::windows::core::PCWSTR = ::windows::w!("CRLThisUpdate"); | |
23375 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23376 | pub const wszPROPCROSSFOREST: ::windows::core::PCWSTR = ::windows::w!("CrossForest"); | |
23377 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23378 | pub const wszPROPDCNAME: ::windows::core::PCWSTR = ::windows::w!("DCName"); | |
23379 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23380 | pub const wszPROPDECIMALTAG: ::windows::core::PCWSTR = ::windows::w!("{decimal}"); | |
23381 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23382 | pub const wszPROPDELTACRLSDISABLED: ::windows::core::PCWSTR = ::windows::w!("fDeltaCRLsDisabled"); | |
23383 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23384 | pub const wszPROPDEVICESERIALNUMBER: ::windows::core::PCWSTR = ::windows::w!("DeviceSerialNumber"); | |
23385 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23386 | pub const wszPROPDISPOSITION: ::windows::core::PCWSTR = ::windows::w!("Disposition"); | |
23387 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23388 | pub const wszPROPDISPOSITIONDENY: ::windows::core::PCWSTR = ::windows::w!("Deny"); | |
23389 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23390 | pub const wszPROPDISPOSITIONPENDING: ::windows::core::PCWSTR = ::windows::w!("Pending"); | |
23391 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23392 | pub const wszPROPDISTINGUISHEDNAME: ::windows::core::PCWSTR = ::windows::w!("DistinguishedName"); | |
23393 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23394 | pub const wszPROPDN: ::windows::core::PCWSTR = ::windows::w!("dn"); | |
23395 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23396 | pub const wszPROPDNS: ::windows::core::PCWSTR = ::windows::w!("dns"); | |
23397 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23398 | pub const wszPROPDOMAINCOMPONENT: ::windows::core::PCWSTR = ::windows::w!("DomainComponent"); | |
23399 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23400 | pub const wszPROPDOMAINDN: ::windows::core::PCWSTR = ::windows::w!("DomainDN"); | |
23401 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23402 | pub const wszPROPEMAIL: ::windows::core::PCWSTR = ::windows::w!("EMail"); | |
23403 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23404 | pub const wszPROPENDORSEMENTCERTIFICATEHASH: ::windows::core::PCWSTR = ::windows::w!("EndorsementCertificateHash"); | |
23405 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23406 | pub const wszPROPENDORSEMENTKEYHASH: ::windows::core::PCWSTR = ::windows::w!("EndorsementKeyHash"); | |
23407 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23408 | pub const wszPROPEVENTLOGERROR: ::windows::core::PCWSTR = ::windows::w!("EventLogError"); | |
23409 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23410 | pub const wszPROPEVENTLOGEXHAUSTIVE: ::windows::core::PCWSTR = ::windows::w!("EventLogExhaustive"); | |
23411 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23412 | pub const wszPROPEVENTLOGTERSE: ::windows::core::PCWSTR = ::windows::w!("EventLogTerse"); | |
23413 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23414 | pub const wszPROPEVENTLOGVERBOSE: ::windows::core::PCWSTR = ::windows::w!("EventLogVerbose"); | |
23415 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23416 | pub const wszPROPEVENTLOGWARNING: ::windows::core::PCWSTR = ::windows::w!("EventLogWarning"); | |
23417 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23418 | pub const wszPROPEXITCERTFILE: ::windows::core::PCWSTR = ::windows::w!("CertFile"); | |
23419 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23420 | pub const wszPROPEXPECTEDCHALLENGE: ::windows::core::PCWSTR = ::windows::w!("ExpectedChallenge"); | |
23421 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23422 | pub const wszPROPEXPIRATIONDATE: ::windows::core::PCWSTR = ::windows::w!("ExpirationDate"); | |
23423 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23424 | pub const wszPROPEXTFLAGS: ::windows::core::PCWSTR = ::windows::w!("ExtensionFlags"); | |
23425 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23426 | pub const wszPROPEXTNAME: ::windows::core::PCWSTR = ::windows::w!("ExtensionName"); | |
23427 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23428 | pub const wszPROPEXTRAWVALUE: ::windows::core::PCWSTR = ::windows::w!("ExtensionRawValue"); | |
23429 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23430 | pub const wszPROPEXTREQUESTID: ::windows::core::PCWSTR = ::windows::w!("ExtensionRequestId"); | |
23431 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23432 | pub const wszPROPFILETAG: ::windows::core::PCWSTR = ::windows::w!("{file}"); | |
23433 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23434 | pub const wszPROPGIVENNAME: ::windows::core::PCWSTR = ::windows::w!("GivenName"); | |
23435 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23436 | pub const wszPROPGUID: ::windows::core::PCWSTR = ::windows::w!("guid"); | |
23437 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23438 | pub const wszPROPHEXTAG: ::windows::core::PCWSTR = ::windows::w!("{hex}"); | |
23439 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23440 | pub const wszPROPINITIALS: ::windows::core::PCWSTR = ::windows::w!("Initials"); | |
23441 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23442 | pub const wszPROPIPADDRESS: ::windows::core::PCWSTR = ::windows::w!("ipaddress"); | |
23443 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23444 | pub const wszPROPKEYARCHIVED: ::windows::core::PCWSTR = ::windows::w!("KeyArchived"); | |
23445 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23446 | pub const wszPROPLOCALITY: ::windows::core::PCWSTR = ::windows::w!("Locality"); | |
23447 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23448 | pub const wszPROPLOGLEVEL: ::windows::core::PCWSTR = ::windows::w!("LogLevel"); | |
23449 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23450 | pub const wszPROPMACHINEDNSNAME: ::windows::core::PCWSTR = ::windows::w!("MachineDNSName"); | |
23451 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23452 | pub const wszPROPMODULEREGLOC: ::windows::core::PCWSTR = ::windows::w!("ModuleRegistryLocation"); | |
23453 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23454 | pub const wszPROPNAMETYPE: ::windows::core::PCWSTR = ::windows::w!("NameType"); | |
23455 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23456 | pub const wszPROPOCTETTAG: ::windows::core::PCWSTR = ::windows::w!("{octet}"); | |
23457 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23458 | pub const wszPROPOFFICER: ::windows::core::PCWSTR = ::windows::w!("Officer"); | |
23459 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23460 | pub const wszPROPOID: ::windows::core::PCWSTR = ::windows::w!("oid"); | |
23461 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23462 | pub const wszPROPORGANIZATION: ::windows::core::PCWSTR = ::windows::w!("Organization"); | |
23463 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23464 | pub const wszPROPORGUNIT: ::windows::core::PCWSTR = ::windows::w!("OrgUnit"); | |
23465 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23466 | pub const wszPROPPUBLISHEXPIREDCERTINCRL: ::windows::core::PCWSTR = ::windows::w!("PublishExpiredCertInCRL"); | |
23467 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23468 | pub const wszPROPRAWCACERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("RawCACertificate"); | |
23469 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23470 | pub const wszPROPRAWCERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("RawCertificate"); | |
23471 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23472 | pub const wszPROPRAWCRL: ::windows::core::PCWSTR = ::windows::w!("RawCRL"); | |
23473 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23474 | pub const wszPROPRAWDELTACRL: ::windows::core::PCWSTR = ::windows::w!("RawDeltaCRL"); | |
23475 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23476 | pub const wszPROPRAWNAME: ::windows::core::PCWSTR = ::windows::w!("RawName"); | |
23477 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23478 | pub const wszPROPRAWPRECERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("RawPrecertificate"); | |
23479 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23480 | pub const wszPROPREQUESTARCHIVEDKEY: ::windows::core::PCWSTR = ::windows::w!("ArchivedKey"); | |
23481 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23482 | pub const wszPROPREQUESTATTRIBUTES: ::windows::core::PCWSTR = ::windows::w!("RequestAttributes"); | |
23483 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23484 | pub const wszPROPREQUESTCSPPROVIDER: ::windows::core::PCWSTR = ::windows::w!("RequestCSPProvider"); | |
23485 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23486 | pub const wszPROPREQUESTDISPOSITION: ::windows::core::PCWSTR = ::windows::w!("Disposition"); | |
23487 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23488 | pub const wszPROPREQUESTDISPOSITIONMESSAGE: ::windows::core::PCWSTR = ::windows::w!("DispositionMessage"); | |
23489 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23490 | pub const wszPROPREQUESTDOT: ::windows::core::PCWSTR = ::windows::w!("Request."); | |
23491 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23492 | pub const wszPROPREQUESTERCAACCESS: ::windows::core::PCWSTR = ::windows::w!("RequesterCAAccess"); | |
23493 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23494 | pub const wszPROPREQUESTERDN: ::windows::core::PCWSTR = ::windows::w!("RequesterDN"); | |
23495 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23496 | pub const wszPROPREQUESTERNAME: ::windows::core::PCWSTR = ::windows::w!("RequesterName"); | |
23497 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23498 | pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("RequesterNameFromOldCertificate"); | |
23499 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23500 | pub const wszPROPREQUESTERSAMNAME: ::windows::core::PCWSTR = ::windows::w!("RequesterSAMName"); | |
23501 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23502 | pub const wszPROPREQUESTERUPN: ::windows::core::PCWSTR = ::windows::w!("RequesterUPN"); | |
23503 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23504 | pub const wszPROPREQUESTFLAGS: ::windows::core::PCWSTR = ::windows::w!("RequestFlags"); | |
23505 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23506 | pub const wszPROPREQUESTKEYRECOVERYHASHES: ::windows::core::PCWSTR = ::windows::w!("KeyRecoveryHashes"); | |
23507 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23508 | pub const wszPROPREQUESTMACHINEDNS: ::windows::core::PCWSTR = ::windows::w!("rmd"); | |
23509 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23510 | pub const wszPROPREQUESTOSVERSION: ::windows::core::PCWSTR = ::windows::w!("RequestOSVersion"); | |
23511 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23512 | pub const wszPROPREQUESTRAWARCHIVEDKEY: ::windows::core::PCWSTR = ::windows::w!("RawArchivedKey"); | |
23513 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23514 | pub const wszPROPREQUESTRAWOLDCERTIFICATE: ::windows::core::PCWSTR = ::windows::w!("RawOldCertificate"); | |
23515 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23516 | pub const wszPROPREQUESTRAWREQUEST: ::windows::core::PCWSTR = ::windows::w!("RawRequest"); | |
23517 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23518 | pub const wszPROPREQUESTREQUESTID: ::windows::core::PCWSTR = ::windows::w!("RequestID"); | |
23519 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23520 | pub const wszPROPREQUESTRESOLVEDWHEN: ::windows::core::PCWSTR = ::windows::w!("ResolvedWhen"); | |
23521 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23522 | pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: ::windows::core::PCWSTR = ::windows::w!("RevokedEffectiveWhen"); | |
23523 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23524 | pub const wszPROPREQUESTREVOKEDREASON: ::windows::core::PCWSTR = ::windows::w!("RevokedReason"); | |
23525 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23526 | pub const wszPROPREQUESTREVOKEDWHEN: ::windows::core::PCWSTR = ::windows::w!("RevokedWhen"); | |
23527 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23528 | pub const wszPROPREQUESTSTATUSCODE: ::windows::core::PCWSTR = ::windows::w!("StatusCode"); | |
23529 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23530 | pub const wszPROPREQUESTSUBMITTEDWHEN: ::windows::core::PCWSTR = ::windows::w!("SubmittedWhen"); | |
23531 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23532 | pub const wszPROPREQUESTTYPE: ::windows::core::PCWSTR = ::windows::w!("RequestType"); | |
23533 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23534 | pub const wszPROPSANITIZEDCANAME: ::windows::core::PCWSTR = ::windows::w!("SanitizedCAName"); | |
23535 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23536 | pub const wszPROPSANITIZEDSHORTNAME: ::windows::core::PCWSTR = ::windows::w!("SanitizedShortName"); | |
23537 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23538 | pub const wszPROPSEAUDITFILTER: ::windows::core::PCWSTR = ::windows::w!("SEAuditFilter"); | |
23539 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23540 | pub const wszPROPSEAUDITID: ::windows::core::PCWSTR = ::windows::w!("SEAuditId"); | |
23541 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23542 | pub const wszPROPSERVERUPGRADED: ::windows::core::PCWSTR = ::windows::w!("fServerUpgraded"); | |
23543 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23544 | pub const wszPROPSESSIONCOUNT: ::windows::core::PCWSTR = ::windows::w!("SessionCount"); | |
23545 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23546 | pub const wszPROPSIGNERAPPLICATIONPOLICIES: ::windows::core::PCWSTR = ::windows::w!("SignerApplicationPolicies"); | |
23547 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23548 | pub const wszPROPSIGNERPOLICIES: ::windows::core::PCWSTR = ::windows::w!("SignerPolicies"); | |
23549 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23550 | pub const wszPROPSTATE: ::windows::core::PCWSTR = ::windows::w!("State"); | |
23551 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23552 | pub const wszPROPSTREETADDRESS: ::windows::core::PCWSTR = ::windows::w!("StreetAddress"); | |
23553 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23554 | pub const wszPROPSUBJECTALTNAME2: ::windows::core::PCWSTR = ::windows::w!("san"); | |
23555 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23556 | pub const wszPROPSUBJECTDOT: ::windows::core::PCWSTR = ::windows::w!("Subject."); | |
23557 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23558 | pub const wszPROPSURNAME: ::windows::core::PCWSTR = ::windows::w!("SurName"); | |
23559 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23560 | pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: ::windows::core::PCWSTR = ::windows::w!("TemplateChangeSequenceNumber"); | |
23561 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23562 | pub const wszPROPTEXTTAG: ::windows::core::PCWSTR = ::windows::w!("{text}"); | |
23563 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23564 | pub const wszPROPTITLE: ::windows::core::PCWSTR = ::windows::w!("Title"); | |
23565 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23566 | pub const wszPROPUNSTRUCTUREDADDRESS: ::windows::core::PCWSTR = ::windows::w!("UnstructuredAddress"); | |
23567 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23568 | pub const wszPROPUNSTRUCTUREDNAME: ::windows::core::PCWSTR = ::windows::w!("UnstructuredName"); | |
23569 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23570 | pub const wszPROPUPN: ::windows::core::PCWSTR = ::windows::w!("upn"); | |
23571 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23572 | pub const wszPROPURL: ::windows::core::PCWSTR = ::windows::w!("url"); | |
23573 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23574 | pub const wszPROPUSEDS: ::windows::core::PCWSTR = ::windows::w!("fUseDS"); | |
23575 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23576 | pub const wszPROPUSERDN: ::windows::core::PCWSTR = ::windows::w!("UserDN"); | |
23577 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23578 | pub const wszPROPUTF8TAG: ::windows::core::PCWSTR = ::windows::w!("{utf8}"); | |
23579 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23580 | pub const wszPROPVALIDITYPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("ValidityPeriodUnits"); | |
23581 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23582 | pub const wszPROPVALIDITYPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("ValidityPeriod"); | |
23583 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23584 | pub const wszPROPVOLATILEMODE: ::windows::core::PCWSTR = ::windows::w!("VolatileMode"); | |
23585 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23586 | pub const wszREGACTIVE: ::windows::core::PCWSTR = ::windows::w!("Active"); | |
23587 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23588 | pub const wszREGAELOGLEVEL_OLD: ::windows::core::PCWSTR = ::windows::w!("AEEventLogLevel"); | |
23589 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23590 | pub const wszREGAIKCLOUDCAURL: ::windows::core::PCWSTR = ::windows::w!("AIKCloudCAURL"); | |
23591 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23592 | pub const wszREGAIKKEYALGORITHM: ::windows::core::PCWSTR = ::windows::w!("AIKKeyAlgorithm"); | |
23593 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23594 | pub const wszREGAIKKEYLENGTH: ::windows::core::PCWSTR = ::windows::w!("AIKKeyLength"); | |
23595 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23596 | pub const wszREGALLPROVIDERS: ::windows::core::PCWSTR = ::windows::w!("All"); | |
23597 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23598 | pub const wszREGALTERNATEPUBLISHDOMAINS: ::windows::core::PCWSTR = ::windows::w!("AlternatePublishDomains"); | |
23599 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23600 | pub const wszREGALTERNATESIGNATUREALGORITHM: ::windows::core::PCWSTR = ::windows::w!("AlternateSignatureAlgorithm"); | |
23601 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23602 | pub const wszREGAUDITFILTER: ::windows::core::PCWSTR = ::windows::w!("AuditFilter"); | |
23603 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23604 | pub const wszREGB2ICERTMANAGEMODULE: ::windows::core::PCWSTR = ::windows::w!("ICertManageModule"); | |
23605 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23606 | pub const wszREGBACKUPLOGDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("BackupLogDirectory"); | |
23607 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23608 | pub const wszREGCACERTFILENAME: ::windows::core::PCWSTR = ::windows::w!("CACertFileName"); | |
23609 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23610 | pub const wszREGCACERTHASH: ::windows::core::PCWSTR = ::windows::w!("CACertHash"); | |
23611 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23612 | pub const wszREGCACERTPUBLICATIONURLS: ::windows::core::PCWSTR = ::windows::w!("CACertPublicationURLs"); | |
23613 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23614 | pub const wszREGCADESCRIPTION: ::windows::core::PCWSTR = ::windows::w!("CADescription"); | |
23615 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23616 | pub const wszREGCAPATHLENGTH: ::windows::core::PCWSTR = ::windows::w!("CAPathLength"); | |
23617 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23618 | pub const wszREGCASECURITY: ::windows::core::PCWSTR = ::windows::w!("Security"); | |
23619 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23620 | pub const wszREGCASERIALNUMBER: ::windows::core::PCWSTR = ::windows::w!("CACertSerialNumber"); | |
23621 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23622 | pub const wszREGCASERVERNAME: ::windows::core::PCWSTR = ::windows::w!("CAServerName"); | |
23623 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23624 | pub const wszREGCATYPE: ::windows::core::PCWSTR = ::windows::w!("CAType"); | |
23625 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23626 | pub const wszREGCAUSEDS: ::windows::core::PCWSTR = ::windows::w!("UseDS"); | |
23627 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23628 | pub const wszREGCAXCHGCERTHASH: ::windows::core::PCWSTR = ::windows::w!("CAXchgCertHash"); | |
23629 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23630 | pub const wszREGCAXCHGOVERLAPPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CAXchgOverlapPeriodUnits"); | |
23631 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23632 | pub const wszREGCAXCHGOVERLAPPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CAXchgOverlapPeriod"); | |
23633 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23634 | pub const wszREGCAXCHGVALIDITYPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CAXchgValidityPeriodUnits"); | |
23635 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23636 | pub const wszREGCAXCHGVALIDITYPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CAXchgValidityPeriod"); | |
23637 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23638 | pub const wszREGCERTENROLLCOMPATIBLE: ::windows::core::PCWSTR = ::windows::w!("CertEnrollCompatible"); | |
23639 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23640 | pub const wszREGCERTIFICATETRANSPARENCYINFOOID: ::windows::core::PCWSTR = ::windows::w!("CTInformationExtensionOid"); | |
23641 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23642 | pub const wszREGCERTPUBLISHFLAGS: ::windows::core::PCWSTR = ::windows::w!("PublishCertFlags"); | |
23643 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23644 | pub const wszREGCERTSRVDEBUG: ::windows::core::PCWSTR = ::windows::w!("Debug"); | |
23645 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23646 | pub const wszREGCHECKPOINTFILE: ::windows::core::PCWSTR = ::windows::w!("CheckPointFile"); | |
23647 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23648 | pub const wszREGCLOCKSKEWMINUTES: ::windows::core::PCWSTR = ::windows::w!("ClockSkewMinutes"); | |
23649 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23650 | pub const wszREGCOMMONNAME: ::windows::core::PCWSTR = ::windows::w!("CommonName"); | |
23651 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23652 | pub const wszREGCRLATTEMPTREPUBLISH: ::windows::core::PCWSTR = ::windows::w!("CRLAttemptRepublish"); | |
23653 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23654 | pub const wszREGCRLDELTANEXTPUBLISH: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaNextPublish"); | |
23655 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23656 | pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaOverlapUnits"); | |
23657 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23658 | pub const wszREGCRLDELTAOVERLAPPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaOverlapPeriod"); | |
23659 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23660 | pub const wszREGCRLDELTAPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaPeriodUnits"); | |
23661 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23662 | pub const wszREGCRLDELTAPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLDeltaPeriod"); | |
23663 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23664 | pub const wszREGCRLEDITFLAGS: ::windows::core::PCWSTR = ::windows::w!("CRLEditFlags"); | |
23665 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23666 | pub const wszREGCRLFLAGS: ::windows::core::PCWSTR = ::windows::w!("CRLFlags"); | |
23667 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23668 | pub const wszREGCRLNEXTPUBLISH: ::windows::core::PCWSTR = ::windows::w!("CRLNextPublish"); | |
23669 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23670 | pub const wszREGCRLOVERLAPPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLOverlapUnits"); | |
23671 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23672 | pub const wszREGCRLOVERLAPPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLOverlapPeriod"); | |
23673 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23674 | pub const wszREGCRLPATH_OLD: ::windows::core::PCWSTR = ::windows::w!("CRLPath"); | |
23675 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23676 | pub const wszREGCRLPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("CRLPeriodUnits"); | |
23677 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23678 | pub const wszREGCRLPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("CRLPeriod"); | |
23679 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23680 | pub const wszREGCRLPUBLICATIONURLS: ::windows::core::PCWSTR = ::windows::w!("CRLPublicationURLs"); | |
23681 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23682 | pub const wszREGDATABASERECOVERED: ::windows::core::PCWSTR = ::windows::w!("DatabaseRecovered"); | |
23683 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23684 | pub const wszREGDBDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("DBDirectory"); | |
23685 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23686 | pub const wszREGDBFLAGS: ::windows::core::PCWSTR = ::windows::w!("DBFlags"); | |
23687 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23688 | pub const wszREGDBLASTFULLBACKUP: ::windows::core::PCWSTR = ::windows::w!("DBLastFullBackup"); | |
23689 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23690 | pub const wszREGDBLASTINCREMENTALBACKUP: ::windows::core::PCWSTR = ::windows::w!("DBLastIncrementalBackup"); | |
23691 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23692 | pub const wszREGDBLASTRECOVERY: ::windows::core::PCWSTR = ::windows::w!("DBLastRecovery"); | |
23693 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23694 | pub const wszREGDBLOGDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("DBLogDirectory"); | |
23695 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23696 | pub const wszREGDBMAXREADSESSIONCOUNT: ::windows::core::PCWSTR = ::windows::w!("DBMaxReadSessionCount"); | |
23697 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23698 | pub const wszREGDBSESSIONCOUNT: ::windows::core::PCWSTR = ::windows::w!("DBSessionCount"); | |
23699 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23700 | pub const wszREGDBSYSDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("DBSystemDirectory"); | |
23701 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23702 | pub const wszREGDBTEMPDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("DBTempDirectory"); | |
23703 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23704 | pub const wszREGDEFAULTSMIME: ::windows::core::PCWSTR = ::windows::w!("DefaultSMIME"); | |
23705 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23706 | pub const wszREGDIRECTORY: ::windows::core::PCWSTR = ::windows::w!("ConfigurationDirectory"); | |
23707 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23708 | pub const wszREGDISABLEEXTENSIONLIST: ::windows::core::PCWSTR = ::windows::w!("DisableExtensionList"); | |
23709 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23710 | pub const wszREGDSCONFIGDN: ::windows::core::PCWSTR = ::windows::w!("DSConfigDN"); | |
23711 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23712 | pub const wszREGDSDOMAINDN: ::windows::core::PCWSTR = ::windows::w!("DSDomainDN"); | |
23713 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23714 | pub const wszREGEDITFLAGS: ::windows::core::PCWSTR = ::windows::w!("EditFlags"); | |
23715 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23716 | pub const wszREGEKPUBLISTDIRECTORIES: ::windows::core::PCWSTR = ::windows::w!("EndorsementKeyListDirectories"); | |
23717 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23718 | pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: ::windows::core::PCWSTR = ::windows::w!("EKUOIDsForPublishExpiredCertInCRL"); | |
23719 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23720 | pub const wszREGEKUOIDSFORVOLATILEREQUESTS: ::windows::core::PCWSTR = ::windows::w!("EKUOIDsforVolatileRequests"); | |
23721 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23722 | pub const wszREGENABLED: ::windows::core::PCWSTR = ::windows::w!("Enabled"); | |
23723 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23724 | pub const wszREGENABLEDEKUFORDEFINEDCACERT: ::windows::core::PCWSTR = ::windows::w!("EnabledEKUForDefinedCACert"); | |
23725 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23726 | pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: ::windows::core::PCWSTR = ::windows::w!("EnableEnrolleeRequestExtensionList"); | |
23727 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23728 | pub const wszREGENABLEREQUESTEXTENSIONLIST: ::windows::core::PCWSTR = ::windows::w!("EnableRequestExtensionList"); | |
23729 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23730 | pub const wszREGENFORCEX500NAMELENGTHS: ::windows::core::PCWSTR = ::windows::w!("EnforceX500NameLengths"); | |
23731 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23732 | pub const wszREGENROLLFLAGS: ::windows::core::PCWSTR = ::windows::w!("EnrollFlags"); | |
23733 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23734 | pub const wszREGEXITBODYARG: ::windows::core::PCWSTR = ::windows::w!("BodyArg"); | |
23735 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23736 | pub const wszREGEXITBODYFORMAT: ::windows::core::PCWSTR = ::windows::w!("BodyFormat"); | |
23737 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23738 | pub const wszREGEXITCRLISSUEDKEY: ::windows::core::PCWSTR = ::windows::w!("CRLIssued"); | |
23739 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23740 | pub const wszREGEXITDENIEDKEY: ::windows::core::PCWSTR = ::windows::w!("Denied"); | |
23741 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23742 | pub const wszREGEXITIMPORTEDKEY: ::windows::core::PCWSTR = ::windows::w!("Imported"); | |
23743 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23744 | pub const wszREGEXITISSUEDKEY: ::windows::core::PCWSTR = ::windows::w!("Issued"); | |
23745 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23746 | pub const wszREGEXITPENDINGKEY: ::windows::core::PCWSTR = ::windows::w!("Pending"); | |
23747 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23748 | pub const wszREGEXITPROPNOTFOUND: ::windows::core::PCWSTR = ::windows::w!("???"); | |
23749 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23750 | pub const wszREGEXITREVOKEDKEY: ::windows::core::PCWSTR = ::windows::w!("Revoked"); | |
23751 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23752 | pub const wszREGEXITSHUTDOWNKEY: ::windows::core::PCWSTR = ::windows::w!("Shutdown"); | |
23753 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23754 | pub const wszREGEXITSMTPAUTHENTICATE: ::windows::core::PCWSTR = ::windows::w!("SMTPAuthenticate"); | |
23755 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23756 | pub const wszREGEXITSMTPCC: ::windows::core::PCWSTR = ::windows::w!("Cc"); | |
23757 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23758 | pub const wszREGEXITSMTPEVENTFILTER: ::windows::core::PCWSTR = ::windows::w!("EventFilter"); | |
23759 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23760 | pub const wszREGEXITSMTPFROM: ::windows::core::PCWSTR = ::windows::w!("From"); | |
23761 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23762 | pub const wszREGEXITSMTPKEY: ::windows::core::PCWSTR = ::windows::w!("SMTP"); | |
23763 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23764 | pub const wszREGEXITSMTPSERVER: ::windows::core::PCWSTR = ::windows::w!("SMTPServer"); | |
23765 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23766 | pub const wszREGEXITSMTPTEMPLATES: ::windows::core::PCWSTR = ::windows::w!("Templates"); | |
23767 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23768 | pub const wszREGEXITSMTPTO: ::windows::core::PCWSTR = ::windows::w!("To"); | |
23769 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23770 | pub const wszREGEXITSTARTUPKEY: ::windows::core::PCWSTR = ::windows::w!("Startup"); | |
23771 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23772 | pub const wszREGEXITTITLEARG: ::windows::core::PCWSTR = ::windows::w!("TitleArg"); | |
23773 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23774 | pub const wszREGEXITTITLEFORMAT: ::windows::core::PCWSTR = ::windows::w!("TitleFormat"); | |
23775 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23776 | pub const wszREGFILEISSUERCERTURL_OLD: ::windows::core::PCWSTR = ::windows::w!("FileIssuerCertURL"); | |
23777 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23778 | pub const wszREGFILEREVOCATIONCRLURL_OLD: ::windows::core::PCWSTR = ::windows::w!("FileRevocationCRLURL"); | |
23779 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23780 | pub const wszREGFORCETELETEX: ::windows::core::PCWSTR = ::windows::w!("ForceTeletex"); | |
23781 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23782 | pub const wszREGFTPISSUERCERTURL_OLD: ::windows::core::PCWSTR = ::windows::w!("FTPIssuerCertURL"); | |
23783 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23784 | pub const wszREGFTPREVOCATIONCRLURL_OLD: ::windows::core::PCWSTR = ::windows::w!("FTPRevocationCRLURL"); | |
23785 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23786 | pub const wszREGHIGHLOGNUMBER: ::windows::core::PCWSTR = ::windows::w!("HighLogNumber"); | |
23787 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23788 | pub const wszREGHIGHSERIAL: ::windows::core::PCWSTR = ::windows::w!("HighSerial"); | |
23789 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23790 | pub const wszREGINTERFACEFLAGS: ::windows::core::PCWSTR = ::windows::w!("InterfaceFlags"); | |
23791 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23792 | pub const wszREGISSUERCERTURLFLAGS: ::windows::core::PCWSTR = ::windows::w!("IssuerCertURLFlags"); | |
23793 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23794 | pub const wszREGISSUERCERTURL_OLD: ::windows::core::PCWSTR = ::windows::w!("IssuerCertURL"); | |
23795 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23796 | pub const wszREGKEYBASE: ::windows::core::PCWSTR = ::windows::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); | |
23797 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23798 | pub const wszREGKEYCERTSVCPATH: ::windows::core::PCWSTR = ::windows::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); | |
23799 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23800 | pub const wszREGKEYCONFIG: ::windows::core::PCWSTR = ::windows::w!("Configuration"); | |
23801 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23802 | pub const wszREGKEYCSP: ::windows::core::PCWSTR = ::windows::w!("CSP"); | |
23803 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23804 | pub const wszREGKEYDBPARAMETERS: ::windows::core::PCWSTR = ::windows::w!("DBParameters"); | |
23805 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23806 | pub const wszREGKEYENCRYPTIONCSP: ::windows::core::PCWSTR = ::windows::w!("EncryptionCSP"); | |
23807 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23808 | pub const wszREGKEYENROLLMENT: ::windows::core::PCWSTR = ::windows::w!("Software\\Microsoft\\Cryptography\\AutoEnrollment"); | |
23809 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23810 | pub const wszREGKEYEXITMODULES: ::windows::core::PCWSTR = ::windows::w!("ExitModules"); | |
23811 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23812 | pub const wszREGKEYGROUPPOLICYENROLLMENT: ::windows::core::PCWSTR = ::windows::w!("Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment"); | |
23813 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23814 | pub const wszREGKEYNOSYSTEMCERTSVCPATH: ::windows::core::PCWSTR = ::windows::w!("CurrentControlSet\\Services\\CertSvc"); | |
23815 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23816 | pub const wszREGKEYPOLICYMODULES: ::windows::core::PCWSTR = ::windows::w!("PolicyModules"); | |
23817 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23818 | pub const wszREGKEYREPAIR: ::windows::core::PCWSTR = ::windows::w!("KeyRepair"); | |
23819 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23820 | pub const wszREGKEYRESTOREINPROGRESS: ::windows::core::PCWSTR = ::windows::w!("RestoreInProgress"); | |
23821 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23822 | pub const wszREGKEYSIZE: ::windows::core::PCWSTR = ::windows::w!("KeySize"); | |
23823 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23824 | pub const wszREGKRACERTCOUNT: ::windows::core::PCWSTR = ::windows::w!("KRACertCount"); | |
23825 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23826 | pub const wszREGKRACERTHASH: ::windows::core::PCWSTR = ::windows::w!("KRACertHash"); | |
23827 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23828 | pub const wszREGKRAFLAGS: ::windows::core::PCWSTR = ::windows::w!("KRAFlags"); | |
23829 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23830 | pub const wszREGLDAPFLAGS: ::windows::core::PCWSTR = ::windows::w!("LDAPFlags"); | |
23831 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23832 | pub const wszREGLDAPISSUERCERTURL_OLD: ::windows::core::PCWSTR = ::windows::w!("LDAPIssuerCertURL"); | |
23833 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23834 | pub const wszREGLDAPREVOCATIONCRLURL_OLD: ::windows::core::PCWSTR = ::windows::w!("LDAPRevocationCRLURL"); | |
23835 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23836 | pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: ::windows::core::PCWSTR = ::windows::w!("LDAPRevocationDNTemplate"); | |
23837 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23838 | pub const wszREGLDAPREVOCATIONDN_OLD: ::windows::core::PCWSTR = ::windows::w!("LDAPRevocationDN"); | |
23839 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23840 | pub const wszREGLDAPSESSIONOPTIONS: ::windows::core::PCWSTR = ::windows::w!("LDAPSessionOptions"); | |
23841 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23842 | pub const wszREGLOGLEVEL: ::windows::core::PCWSTR = ::windows::w!("LogLevel"); | |
23843 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23844 | pub const wszREGLOGPATH: ::windows::core::PCWSTR = ::windows::w!("LogPath"); | |
23845 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23846 | pub const wszREGLOWLOGNUMBER: ::windows::core::PCWSTR = ::windows::w!("LowLogNumber"); | |
23847 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23848 | pub const wszREGMAXINCOMINGALLOCSIZE: ::windows::core::PCWSTR = ::windows::w!("MaxIncomingAllocSize"); | |
23849 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23850 | pub const wszREGMAXINCOMINGMESSAGESIZE: ::windows::core::PCWSTR = ::windows::w!("MaxIncomingMessageSize"); | |
23851 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23852 | pub const wszREGMAXPENDINGREQUESTDAYS: ::windows::core::PCWSTR = ::windows::w!("MaxPendingRequestDays"); | |
23853 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23854 | pub const wszREGMAXSCTLISTSIZE: ::windows::core::PCWSTR = ::windows::w!("MaxSCTListSize"); | |
23855 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23856 | pub const wszREGNAMESEPARATOR: ::windows::core::PCWSTR = ::windows::w!("SubjectNameSeparator"); | |
23857 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23858 | pub const wszREGNETSCAPECERTTYPE: ::windows::core::PCWSTR = ::windows::w!("NetscapeCertType"); | |
23859 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23860 | pub const wszREGOFFICERRIGHTS: ::windows::core::PCWSTR = ::windows::w!("OfficerRights"); | |
23861 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23862 | pub const wszREGPARENTCAMACHINE: ::windows::core::PCWSTR = ::windows::w!("ParentCAMachine"); | |
23863 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23864 | pub const wszREGPARENTCANAME: ::windows::core::PCWSTR = ::windows::w!("ParentCAName"); | |
23865 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23866 | pub const wszREGPOLICYFLAGS: ::windows::core::PCWSTR = ::windows::w!("PolicyFlags"); | |
23867 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23868 | pub const wszREGPRESERVESCEPDUMMYCERTS: ::windows::core::PCWSTR = ::windows::w!("PreserveSCEPDummyCerts"); | |
23869 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23870 | pub const wszREGPROCESSINGFLAGS: ::windows::core::PCWSTR = ::windows::w!("ProcessingFlags"); | |
23871 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23872 | pub const wszREGPROVIDER: ::windows::core::PCWSTR = ::windows::w!("Provider"); | |
23873 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23874 | pub const wszREGPROVIDERTYPE: ::windows::core::PCWSTR = ::windows::w!("ProviderType"); | |
23875 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23876 | pub const wszREGREQUESTDISPOSITION: ::windows::core::PCWSTR = ::windows::w!("RequestDisposition"); | |
23877 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23878 | pub const wszREGREQUESTFILENAME: ::windows::core::PCWSTR = ::windows::w!("RequestFileName"); | |
23879 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23880 | pub const wszREGREQUESTID: ::windows::core::PCWSTR = ::windows::w!("RequestId"); | |
23881 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23882 | pub const wszREGREQUESTKEYCONTAINER: ::windows::core::PCWSTR = ::windows::w!("RequestKeyContainer"); | |
23883 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23884 | pub const wszREGREQUESTKEYINDEX: ::windows::core::PCWSTR = ::windows::w!("RequestKeyIndex"); | |
23885 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23886 | pub const wszREGRESTOREMAP: ::windows::core::PCWSTR = ::windows::w!("RestoreMap"); | |
23887 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23888 | pub const wszREGRESTOREMAPCOUNT: ::windows::core::PCWSTR = ::windows::w!("RestoreMapCount"); | |
23889 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23890 | pub const wszREGRESTORESTATUS: ::windows::core::PCWSTR = ::windows::w!("RestoreStatus"); | |
23891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23892 | pub const wszREGREVOCATIONCRLURL_OLD: ::windows::core::PCWSTR = ::windows::w!("RevocationCRLURL"); | |
23893 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23894 | pub const wszREGREVOCATIONTYPE: ::windows::core::PCWSTR = ::windows::w!("RevocationType"); | |
23895 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23896 | pub const wszREGREVOCATIONURL: ::windows::core::PCWSTR = ::windows::w!("RevocationURL"); | |
23897 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23898 | pub const wszREGROLESEPARATIONENABLED: ::windows::core::PCWSTR = ::windows::w!("RoleSeparationEnabled"); | |
23899 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23900 | pub const wszREGSETUPSTATUS: ::windows::core::PCWSTR = ::windows::w!("SetupStatus"); | |
23901 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23902 | pub const wszREGSP4DEFAULTCONFIGURATION: ::windows::core::PCWSTR = ::windows::w!("DefaultConfiguration"); | |
23903 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23904 | pub const wszREGSP4KEYSETNAME: ::windows::core::PCWSTR = ::windows::w!("KeySetName"); | |
23905 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23906 | pub const wszREGSP4NAMES: ::windows::core::PCWSTR = ::windows::w!("Names"); | |
23907 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23908 | pub const wszREGSP4QUERIES: ::windows::core::PCWSTR = ::windows::w!("Queries"); | |
23909 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23910 | pub const wszREGSP4SUBJECTNAMESEPARATOR: ::windows::core::PCWSTR = ::windows::w!("SubjectNameSeparator"); | |
23911 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23912 | pub const wszREGSUBJECTALTNAME: ::windows::core::PCWSTR = ::windows::w!("SubjectAltName"); | |
23913 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23914 | pub const wszREGSUBJECTALTNAME2: ::windows::core::PCWSTR = ::windows::w!("SubjectAltName2"); | |
23915 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23916 | pub const wszREGSUBJECTTEMPLATE: ::windows::core::PCWSTR = ::windows::w!("SubjectTemplate"); | |
23917 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23918 | pub const wszREGSYMMETRICKEYSIZE: ::windows::core::PCWSTR = ::windows::w!("SymmetricKeySize"); | |
23919 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23920 | pub const wszREGUNICODE: ::windows::core::PCWSTR = ::windows::w!("Unicode"); | |
23921 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23922 | pub const wszREGUPNMAP: ::windows::core::PCWSTR = ::windows::w!("UPNMap"); | |
23923 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23924 | pub const wszREGUSEDEFINEDCACERTINREQ: ::windows::core::PCWSTR = ::windows::w!("UseDefinedCACertInRequest"); | |
23925 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23926 | pub const wszREGVALIDITYPERIODCOUNT: ::windows::core::PCWSTR = ::windows::w!("ValidityPeriodUnits"); | |
23927 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23928 | pub const wszREGVALIDITYPERIODSTRING: ::windows::core::PCWSTR = ::windows::w!("ValidityPeriod"); | |
23929 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23930 | pub const wszREGVERIFYFLAGS: ::windows::core::PCWSTR = ::windows::w!("VerifyFlags"); | |
23931 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23932 | pub const wszREGVERSION: ::windows::core::PCWSTR = ::windows::w!("Version"); | |
23933 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23934 | pub const wszREGVIEWAGEMINUTES: ::windows::core::PCWSTR = ::windows::w!("ViewAgeMinutes"); | |
23935 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23936 | pub const wszREGVIEWIDLEMINUTES: ::windows::core::PCWSTR = ::windows::w!("ViewIdleMinutes"); | |
23937 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23938 | pub const wszREGWEBCLIENTCAMACHINE: ::windows::core::PCWSTR = ::windows::w!("WebClientCAMachine"); | |
23939 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23940 | pub const wszREGWEBCLIENTCANAME: ::windows::core::PCWSTR = ::windows::w!("WebClientCAName"); | |
23941 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23942 | pub const wszREGWEBCLIENTCATYPE: ::windows::core::PCWSTR = ::windows::w!("WebClientCAType"); | |
23943 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23944 | pub const wszSECUREDATTRIBUTES: ::windows::core::PCWSTR = ::windows::w!("SignedAttributes"); | |
23945 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23946 | pub const wszSERVICE_NAME: ::windows::core::PCWSTR = ::windows::w!("CertSvc"); | |
23947 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23948 | pub const wszzDEFAULTSIGNEDATTRIBUTES: ::windows::core::PCWSTR = ::windows::w!("RequesterName\u{0}"); | |
23949 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23950 | #[repr(transparent)] | |
23951 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
23952 | pub struct ADDED_CERT_TYPE(pub u32); | |
23953 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23954 | pub const XECT_EXTENSION_V1: ADDED_CERT_TYPE = ADDED_CERT_TYPE(1u32); | |
23955 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23956 | pub const XECT_EXTENSION_V2: ADDED_CERT_TYPE = ADDED_CERT_TYPE(2u32); | |
23957 | impl ::core::marker::Copy for ADDED_CERT_TYPE {} | |
23958 | impl ::core::clone::Clone for ADDED_CERT_TYPE { | |
23959 | fn clone(&self) -> Self { | |
23960 | *self | |
23961 | } | |
23962 | } | |
23963 | impl ::core::default::Default for ADDED_CERT_TYPE { | |
23964 | fn default() -> Self { | |
23965 | Self(0) | |
23966 | } | |
23967 | } | |
23968 | impl ::windows::core::TypeKind for ADDED_CERT_TYPE { | |
23969 | type TypeKind = ::windows::core::CopyType; | |
23970 | } | |
23971 | impl ::core::fmt::Debug for ADDED_CERT_TYPE { | |
23972 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23973 | f.debug_tuple("ADDED_CERT_TYPE").field(&self.0).finish() | |
23974 | } | |
23975 | } | |
23976 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23977 | #[repr(transparent)] | |
23978 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
23979 | pub struct AlgorithmFlags(pub i32); | |
23980 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23981 | pub const AlgorithmFlagsNone: AlgorithmFlags = AlgorithmFlags(0i32); | |
23982 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
23983 | pub const AlgorithmFlagsWrap: AlgorithmFlags = AlgorithmFlags(1i32); | |
23984 | impl ::core::marker::Copy for AlgorithmFlags {} | |
23985 | impl ::core::clone::Clone for AlgorithmFlags { | |
23986 | fn clone(&self) -> Self { | |
23987 | *self | |
23988 | } | |
23989 | } | |
23990 | impl ::core::default::Default for AlgorithmFlags { | |
23991 | fn default() -> Self { | |
23992 | Self(0) | |
23993 | } | |
23994 | } | |
23995 | impl ::windows::core::TypeKind for AlgorithmFlags { | |
23996 | type TypeKind = ::windows::core::CopyType; | |
23997 | } | |
23998 | impl ::core::fmt::Debug for AlgorithmFlags { | |
23999 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24000 | f.debug_tuple("AlgorithmFlags").field(&self.0).finish() | |
24001 | } | |
24002 | } | |
24003 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24004 | #[repr(transparent)] | |
24005 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
24006 | pub struct AlgorithmOperationFlags(pub i32); | |
24007 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24008 | pub const XCN_NCRYPT_NO_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(0i32); | |
24009 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24010 | pub const XCN_NCRYPT_CIPHER_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(1i32); | |
24011 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24012 | pub const XCN_NCRYPT_HASH_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(2i32); | |
24013 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24014 | pub const XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(4i32); | |
24015 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24016 | pub const XCN_NCRYPT_SECRET_AGREEMENT_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(8i32); | |
24017 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24018 | pub const XCN_NCRYPT_SIGNATURE_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(16i32); | |
24019 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24020 | pub const XCN_NCRYPT_RNG_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(32i32); | |
24021 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24022 | pub const XCN_NCRYPT_KEY_DERIVATION_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(64i32); | |
24023 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24024 | pub const XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(28i32); | |
24025 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24026 | pub const XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(2097152i32); | |
24027 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24028 | pub const XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(4194304i32); | |
24029 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24030 | pub const XCN_NCRYPT_EXACT_MATCH_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(8388608i32); | |
24031 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24032 | pub const XCN_NCRYPT_PREFERENCE_MASK_OPERATION: AlgorithmOperationFlags = AlgorithmOperationFlags(14680064i32); | |
24033 | impl ::core::marker::Copy for AlgorithmOperationFlags {} | |
24034 | impl ::core::clone::Clone for AlgorithmOperationFlags { | |
24035 | fn clone(&self) -> Self { | |
24036 | *self | |
24037 | } | |
24038 | } | |
24039 | impl ::core::default::Default for AlgorithmOperationFlags { | |
24040 | fn default() -> Self { | |
24041 | Self(0) | |
24042 | } | |
24043 | } | |
24044 | impl ::windows::core::TypeKind for AlgorithmOperationFlags { | |
24045 | type TypeKind = ::windows::core::CopyType; | |
24046 | } | |
24047 | impl ::core::fmt::Debug for AlgorithmOperationFlags { | |
24048 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24049 | f.debug_tuple("AlgorithmOperationFlags").field(&self.0).finish() | |
24050 | } | |
24051 | } | |
24052 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24053 | #[repr(transparent)] | |
24054 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
24055 | pub struct AlgorithmType(pub i32); | |
24056 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24057 | pub const XCN_BCRYPT_UNKNOWN_INTERFACE: AlgorithmType = AlgorithmType(0i32); | |
24058 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24059 | pub const XCN_BCRYPT_CIPHER_INTERFACE: AlgorithmType = AlgorithmType(1i32); | |
24060 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24061 | pub const XCN_BCRYPT_HASH_INTERFACE: AlgorithmType = AlgorithmType(2i32); | |
24062 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24063 | pub const XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: AlgorithmType = AlgorithmType(3i32); | |
24064 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24065 | pub const XCN_BCRYPT_SIGNATURE_INTERFACE: AlgorithmType = AlgorithmType(5i32); | |
24066 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24067 | pub const XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE: AlgorithmType = AlgorithmType(4i32); | |
24068 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24069 | pub const XCN_BCRYPT_RNG_INTERFACE: AlgorithmType = AlgorithmType(6i32); | |
24070 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24071 | pub const XCN_BCRYPT_KEY_DERIVATION_INTERFACE: AlgorithmType = AlgorithmType(7i32); | |
24072 | impl ::core::marker::Copy for AlgorithmType {} | |
24073 | impl ::core::clone::Clone for AlgorithmType { | |
24074 | fn clone(&self) -> Self { | |
24075 | *self | |
24076 | } | |
24077 | } | |
24078 | impl ::core::default::Default for AlgorithmType { | |
24079 | fn default() -> Self { | |
24080 | Self(0) | |
24081 | } | |
24082 | } | |
24083 | impl ::windows::core::TypeKind for AlgorithmType { | |
24084 | type TypeKind = ::windows::core::CopyType; | |
24085 | } | |
24086 | impl ::core::fmt::Debug for AlgorithmType { | |
24087 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24088 | f.debug_tuple("AlgorithmType").field(&self.0).finish() | |
24089 | } | |
24090 | } | |
24091 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24092 | #[repr(transparent)] | |
24093 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
24094 | pub struct AlternativeNameType(pub i32); | |
24095 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24096 | pub const XCN_CERT_ALT_NAME_UNKNOWN: AlternativeNameType = AlternativeNameType(0i32); | |
24097 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24098 | pub const XCN_CERT_ALT_NAME_OTHER_NAME: AlternativeNameType = AlternativeNameType(1i32); | |
24099 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24100 | pub const XCN_CERT_ALT_NAME_RFC822_NAME: AlternativeNameType = AlternativeNameType(2i32); | |
24101 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24102 | pub const XCN_CERT_ALT_NAME_DNS_NAME: AlternativeNameType = AlternativeNameType(3i32); | |
24103 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24104 | pub const XCN_CERT_ALT_NAME_X400_ADDRESS: AlternativeNameType = AlternativeNameType(4i32); | |
24105 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24106 | pub const XCN_CERT_ALT_NAME_DIRECTORY_NAME: AlternativeNameType = AlternativeNameType(5i32); | |
24107 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24108 | pub const XCN_CERT_ALT_NAME_EDI_PARTY_NAME: AlternativeNameType = AlternativeNameType(6i32); | |
24109 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24110 | pub const XCN_CERT_ALT_NAME_URL: AlternativeNameType = AlternativeNameType(7i32); | |
24111 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24112 | pub const XCN_CERT_ALT_NAME_IP_ADDRESS: AlternativeNameType = AlternativeNameType(8i32); | |
24113 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24114 | pub const XCN_CERT_ALT_NAME_REGISTERED_ID: AlternativeNameType = AlternativeNameType(9i32); | |
24115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24116 | pub const XCN_CERT_ALT_NAME_GUID: AlternativeNameType = AlternativeNameType(10i32); | |
24117 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24118 | pub const XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME: AlternativeNameType = AlternativeNameType(11i32); | |
24119 | impl ::core::marker::Copy for AlternativeNameType {} | |
24120 | impl ::core::clone::Clone for AlternativeNameType { | |
24121 | fn clone(&self) -> Self { | |
24122 | *self | |
24123 | } | |
24124 | } | |
24125 | impl ::core::default::Default for AlternativeNameType { | |
24126 | fn default() -> Self { | |
24127 | Self(0) | |
24128 | } | |
24129 | } | |
24130 | impl ::windows::core::TypeKind for AlternativeNameType { | |
24131 | type TypeKind = ::windows::core::CopyType; | |
24132 | } | |
24133 | impl ::core::fmt::Debug for AlternativeNameType { | |
24134 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24135 | f.debug_tuple("AlternativeNameType").field(&self.0).finish() | |
24136 | } | |
24137 | } | |
24138 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24139 | #[repr(transparent)] | |
24140 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
24141 | pub struct CERTADMIN_GET_ROLES_FLAGS(pub u32); | |
24142 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24143 | pub const CA_ACCESS_ADMIN: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(1u32); | |
24144 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24145 | pub const CA_ACCESS_AUDITOR: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(4u32); | |
24146 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24147 | pub const CA_ACCESS_ENROLL: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(512u32); | |
24148 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24149 | pub const CA_ACCESS_OFFICER: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(2u32); | |
24150 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24151 | pub const CA_ACCESS_OPERATOR: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(8u32); | |
24152 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24153 | pub const CA_ACCESS_READ: CERTADMIN_GET_ROLES_FLAGS = CERTADMIN_GET_ROLES_FLAGS(256u32); | |
24154 | impl ::core::marker::Copy for CERTADMIN_GET_ROLES_FLAGS {} | |
24155 | impl ::core::clone::Clone for CERTADMIN_GET_ROLES_FLAGS { | |
24156 | fn clone(&self) -> Self { | |
24157 | *self | |
24158 | } | |
24159 | } | |
24160 | impl ::core::default::Default for CERTADMIN_GET_ROLES_FLAGS { | |
24161 | fn default() -> Self { | |
24162 | Self(0) | |
24163 | } | |
24164 | } | |
24165 | impl ::windows::core::TypeKind for CERTADMIN_GET_ROLES_FLAGS { | |
24166 | type TypeKind = ::windows::core::CopyType; | |
24167 | } | |
24168 | impl ::core::fmt::Debug for CERTADMIN_GET_ROLES_FLAGS { | |
24169 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24170 | f.debug_tuple("CERTADMIN_GET_ROLES_FLAGS").field(&self.0).finish() | |
24171 | } | |
24172 | } | |
24173 | impl CERTADMIN_GET_ROLES_FLAGS { | |
24174 | pub const fn contains(&self, other: Self) -> bool { | |
24175 | self.0 & other.0 == other.0 | |
24176 | } | |
24177 | } | |
24178 | impl ::core::ops::BitOr for CERTADMIN_GET_ROLES_FLAGS { | |
24179 | type Output = Self; | |
24180 | fn bitor(self, other: Self) -> Self { | |
24181 | Self(self.0 | other.0) | |
24182 | } | |
24183 | } | |
24184 | impl ::core::ops::BitAnd for CERTADMIN_GET_ROLES_FLAGS { | |
24185 | type Output = Self; | |
24186 | fn bitand(self, other: Self) -> Self { | |
24187 | Self(self.0 & other.0) | |
24188 | } | |
24189 | } | |
24190 | impl ::core::ops::BitOrAssign for CERTADMIN_GET_ROLES_FLAGS { | |
24191 | fn bitor_assign(&mut self, other: Self) { | |
24192 | self.0.bitor_assign(other.0) | |
24193 | } | |
24194 | } | |
24195 | impl ::core::ops::BitAndAssign for CERTADMIN_GET_ROLES_FLAGS { | |
24196 | fn bitand_assign(&mut self, other: Self) { | |
24197 | self.0.bitand_assign(other.0) | |
24198 | } | |
24199 | } | |
24200 | impl ::core::ops::Not for CERTADMIN_GET_ROLES_FLAGS { | |
24201 | type Output = Self; | |
24202 | fn not(self) -> Self { | |
24203 | Self(self.0.not()) | |
24204 | } | |
24205 | } | |
24206 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24207 | #[repr(transparent)] | |
24208 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
24209 | pub struct CERTENROLL_OBJECTID(pub i32); | |
24210 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24211 | pub const XCN_OID_NONE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(0i32); | |
24212 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24213 | pub const XCN_OID_RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(1i32); | |
24214 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24215 | pub const XCN_OID_PKCS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(2i32); | |
24216 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24217 | pub const XCN_OID_RSA_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(3i32); | |
24218 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24219 | pub const XCN_OID_RSA_ENCRYPT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(4i32); | |
24220 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24221 | pub const XCN_OID_PKCS_1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(5i32); | |
24222 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24223 | pub const XCN_OID_PKCS_2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(6i32); | |
24224 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24225 | pub const XCN_OID_PKCS_3: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(7i32); | |
24226 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24227 | pub const XCN_OID_PKCS_4: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(8i32); | |
24228 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24229 | pub const XCN_OID_PKCS_5: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(9i32); | |
24230 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24231 | pub const XCN_OID_PKCS_6: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(10i32); | |
24232 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24233 | pub const XCN_OID_PKCS_7: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(11i32); | |
24234 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24235 | pub const XCN_OID_PKCS_8: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(12i32); | |
24236 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24237 | pub const XCN_OID_PKCS_9: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(13i32); | |
24238 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24239 | pub const XCN_OID_PKCS_10: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(14i32); | |
24240 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24241 | pub const XCN_OID_PKCS_12: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(15i32); | |
24242 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24243 | pub const XCN_OID_RSA_RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(16i32); | |
24244 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24245 | pub const XCN_OID_RSA_MD2RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(17i32); | |
24246 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24247 | pub const XCN_OID_RSA_MD4RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(18i32); | |
24248 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24249 | pub const XCN_OID_RSA_MD5RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(19i32); | |
24250 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24251 | pub const XCN_OID_RSA_SHA1RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(20i32); | |
24252 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24253 | pub const XCN_OID_RSA_SETOAEP_RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(21i32); | |
24254 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24255 | pub const XCN_OID_RSA_DH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(22i32); | |
24256 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24257 | pub const XCN_OID_RSA_data: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(23i32); | |
24258 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24259 | pub const XCN_OID_RSA_signedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(24i32); | |
24260 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24261 | pub const XCN_OID_RSA_envelopedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(25i32); | |
24262 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24263 | pub const XCN_OID_RSA_signEnvData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(26i32); | |
24264 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24265 | pub const XCN_OID_RSA_digestedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(27i32); | |
24266 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24267 | pub const XCN_OID_RSA_hashedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(28i32); | |
24268 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24269 | pub const XCN_OID_RSA_encryptedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(29i32); | |
24270 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24271 | pub const XCN_OID_RSA_emailAddr: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(30i32); | |
24272 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24273 | pub const XCN_OID_RSA_unstructName: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(31i32); | |
24274 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24275 | pub const XCN_OID_RSA_contentType: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(32i32); | |
24276 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24277 | pub const XCN_OID_RSA_messageDigest: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(33i32); | |
24278 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24279 | pub const XCN_OID_RSA_signingTime: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(34i32); | |
24280 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24281 | pub const XCN_OID_RSA_counterSign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(35i32); | |
24282 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24283 | pub const XCN_OID_RSA_challengePwd: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(36i32); | |
24284 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24285 | pub const XCN_OID_RSA_unstructAddr: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(37i32); | |
24286 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24287 | pub const XCN_OID_RSA_extCertAttrs: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(38i32); | |
24288 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24289 | pub const XCN_OID_RSA_certExtensions: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(39i32); | |
24290 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24291 | pub const XCN_OID_RSA_SMIMECapabilities: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(40i32); | |
24292 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24293 | pub const XCN_OID_RSA_preferSignedData: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(41i32); | |
24294 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24295 | pub const XCN_OID_RSA_SMIMEalg: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(42i32); | |
24296 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24297 | pub const XCN_OID_RSA_SMIMEalgESDH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(43i32); | |
24298 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24299 | pub const XCN_OID_RSA_SMIMEalgCMS3DESwrap: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(44i32); | |
24300 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24301 | pub const XCN_OID_RSA_SMIMEalgCMSRC2wrap: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(45i32); | |
24302 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24303 | pub const XCN_OID_RSA_MD2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(46i32); | |
24304 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24305 | pub const XCN_OID_RSA_MD4: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(47i32); | |
24306 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24307 | pub const XCN_OID_RSA_MD5: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(48i32); | |
24308 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24309 | pub const XCN_OID_RSA_RC2CBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(49i32); | |
24310 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24311 | pub const XCN_OID_RSA_RC4: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(50i32); | |
24312 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24313 | pub const XCN_OID_RSA_DES_EDE3_CBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(51i32); | |
24314 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24315 | pub const XCN_OID_RSA_RC5_CBCPad: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(52i32); | |
24316 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24317 | pub const XCN_OID_ANSI_X942: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(53i32); | |
24318 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24319 | pub const XCN_OID_ANSI_X942_DH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(54i32); | |
24320 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24321 | pub const XCN_OID_X957: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(55i32); | |
24322 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24323 | pub const XCN_OID_X957_DSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(56i32); | |
24324 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24325 | pub const XCN_OID_X957_SHA1DSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(57i32); | |
24326 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24327 | pub const XCN_OID_DS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(58i32); | |
24328 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24329 | pub const XCN_OID_DSALG: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(59i32); | |
24330 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24331 | pub const XCN_OID_DSALG_CRPT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(60i32); | |
24332 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24333 | pub const XCN_OID_DSALG_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(61i32); | |
24334 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24335 | pub const XCN_OID_DSALG_SIGN: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(62i32); | |
24336 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24337 | pub const XCN_OID_DSALG_RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(63i32); | |
24338 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24339 | pub const XCN_OID_OIW: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(64i32); | |
24340 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24341 | pub const XCN_OID_OIWSEC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(65i32); | |
24342 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24343 | pub const XCN_OID_OIWSEC_md4RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(66i32); | |
24344 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24345 | pub const XCN_OID_OIWSEC_md5RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(67i32); | |
24346 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24347 | pub const XCN_OID_OIWSEC_md4RSA2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(68i32); | |
24348 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24349 | pub const XCN_OID_OIWSEC_desECB: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(69i32); | |
24350 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24351 | pub const XCN_OID_OIWSEC_desCBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(70i32); | |
24352 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24353 | pub const XCN_OID_OIWSEC_desOFB: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(71i32); | |
24354 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24355 | pub const XCN_OID_OIWSEC_desCFB: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(72i32); | |
24356 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24357 | pub const XCN_OID_OIWSEC_desMAC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(73i32); | |
24358 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24359 | pub const XCN_OID_OIWSEC_rsaSign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(74i32); | |
24360 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24361 | pub const XCN_OID_OIWSEC_dsa: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(75i32); | |
24362 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24363 | pub const XCN_OID_OIWSEC_shaDSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(76i32); | |
24364 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24365 | pub const XCN_OID_OIWSEC_mdc2RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(77i32); | |
24366 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24367 | pub const XCN_OID_OIWSEC_shaRSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(78i32); | |
24368 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24369 | pub const XCN_OID_OIWSEC_dhCommMod: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(79i32); | |
24370 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24371 | pub const XCN_OID_OIWSEC_desEDE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(80i32); | |
24372 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24373 | pub const XCN_OID_OIWSEC_sha: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(81i32); | |
24374 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24375 | pub const XCN_OID_OIWSEC_mdc2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(82i32); | |
24376 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24377 | pub const XCN_OID_OIWSEC_dsaComm: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(83i32); | |
24378 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24379 | pub const XCN_OID_OIWSEC_dsaCommSHA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(84i32); | |
24380 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24381 | pub const XCN_OID_OIWSEC_rsaXchg: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(85i32); | |
24382 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24383 | pub const XCN_OID_OIWSEC_keyHashSeal: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(86i32); | |
24384 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24385 | pub const XCN_OID_OIWSEC_md2RSASign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(87i32); | |
24386 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24387 | pub const XCN_OID_OIWSEC_md5RSASign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(88i32); | |
24388 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24389 | pub const XCN_OID_OIWSEC_sha1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(89i32); | |
24390 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24391 | pub const XCN_OID_OIWSEC_dsaSHA1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(90i32); | |
24392 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24393 | pub const XCN_OID_OIWSEC_dsaCommSHA1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(91i32); | |
24394 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24395 | pub const XCN_OID_OIWSEC_sha1RSASign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(92i32); | |
24396 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24397 | pub const XCN_OID_OIWDIR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(93i32); | |
24398 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24399 | pub const XCN_OID_OIWDIR_CRPT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(94i32); | |
24400 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24401 | pub const XCN_OID_OIWDIR_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(95i32); | |
24402 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24403 | pub const XCN_OID_OIWDIR_SIGN: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(96i32); | |
24404 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24405 | pub const XCN_OID_OIWDIR_md2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(97i32); | |
24406 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24407 | pub const XCN_OID_OIWDIR_md2RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(98i32); | |
24408 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24409 | pub const XCN_OID_INFOSEC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(99i32); | |
24410 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24411 | pub const XCN_OID_INFOSEC_sdnsSignature: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(100i32); | |
24412 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24413 | pub const XCN_OID_INFOSEC_mosaicSignature: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(101i32); | |
24414 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24415 | pub const XCN_OID_INFOSEC_sdnsConfidentiality: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(102i32); | |
24416 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24417 | pub const XCN_OID_INFOSEC_mosaicConfidentiality: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(103i32); | |
24418 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24419 | pub const XCN_OID_INFOSEC_sdnsIntegrity: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(104i32); | |
24420 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24421 | pub const XCN_OID_INFOSEC_mosaicIntegrity: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(105i32); | |
24422 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24423 | pub const XCN_OID_INFOSEC_sdnsTokenProtection: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(106i32); | |
24424 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24425 | pub const XCN_OID_INFOSEC_mosaicTokenProtection: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(107i32); | |
24426 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24427 | pub const XCN_OID_INFOSEC_sdnsKeyManagement: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(108i32); | |
24428 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24429 | pub const XCN_OID_INFOSEC_mosaicKeyManagement: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(109i32); | |
24430 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24431 | pub const XCN_OID_INFOSEC_sdnsKMandSig: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(110i32); | |
24432 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24433 | pub const XCN_OID_INFOSEC_mosaicKMandSig: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(111i32); | |
24434 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24435 | pub const XCN_OID_INFOSEC_SuiteASignature: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(112i32); | |
24436 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24437 | pub const XCN_OID_INFOSEC_SuiteAConfidentiality: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(113i32); | |
24438 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24439 | pub const XCN_OID_INFOSEC_SuiteAIntegrity: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(114i32); | |
24440 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24441 | pub const XCN_OID_INFOSEC_SuiteATokenProtection: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(115i32); | |
24442 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24443 | pub const XCN_OID_INFOSEC_SuiteAKeyManagement: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(116i32); | |
24444 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24445 | pub const XCN_OID_INFOSEC_SuiteAKMandSig: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(117i32); | |
24446 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24447 | pub const XCN_OID_INFOSEC_mosaicUpdatedSig: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(118i32); | |
24448 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24449 | pub const XCN_OID_INFOSEC_mosaicKMandUpdSig: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(119i32); | |
24450 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24451 | pub const XCN_OID_INFOSEC_mosaicUpdatedInteg: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(120i32); | |
24452 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24453 | pub const XCN_OID_COMMON_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(121i32); | |
24454 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24455 | pub const XCN_OID_SUR_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(122i32); | |
24456 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24457 | pub const XCN_OID_DEVICE_SERIAL_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(123i32); | |
24458 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24459 | pub const XCN_OID_COUNTRY_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(124i32); | |
24460 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24461 | pub const XCN_OID_LOCALITY_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(125i32); | |
24462 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24463 | pub const XCN_OID_STATE_OR_PROVINCE_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(126i32); | |
24464 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24465 | pub const XCN_OID_STREET_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(127i32); | |
24466 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24467 | pub const XCN_OID_ORGANIZATION_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(128i32); | |
24468 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24469 | pub const XCN_OID_ORGANIZATIONAL_UNIT_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(129i32); | |
24470 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24471 | pub const XCN_OID_TITLE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(130i32); | |
24472 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24473 | pub const XCN_OID_DESCRIPTION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(131i32); | |
24474 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24475 | pub const XCN_OID_SEARCH_GUIDE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(132i32); | |
24476 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24477 | pub const XCN_OID_BUSINESS_CATEGORY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(133i32); | |
24478 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24479 | pub const XCN_OID_POSTAL_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(134i32); | |
24480 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24481 | pub const XCN_OID_POSTAL_CODE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(135i32); | |
24482 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24483 | pub const XCN_OID_POST_OFFICE_BOX: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(136i32); | |
24484 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24485 | pub const XCN_OID_PHYSICAL_DELIVERY_OFFICE_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(137i32); | |
24486 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24487 | pub const XCN_OID_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(138i32); | |
24488 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24489 | pub const XCN_OID_TELEX_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(139i32); | |
24490 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24491 | pub const XCN_OID_TELETEXT_TERMINAL_IDENTIFIER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(140i32); | |
24492 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24493 | pub const XCN_OID_FACSIMILE_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(141i32); | |
24494 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24495 | pub const XCN_OID_X21_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(142i32); | |
24496 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24497 | pub const XCN_OID_INTERNATIONAL_ISDN_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(143i32); | |
24498 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24499 | pub const XCN_OID_REGISTERED_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(144i32); | |
24500 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24501 | pub const XCN_OID_DESTINATION_INDICATOR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(145i32); | |
24502 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24503 | pub const XCN_OID_PREFERRED_DELIVERY_METHOD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(146i32); | |
24504 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24505 | pub const XCN_OID_PRESENTATION_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(147i32); | |
24506 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24507 | pub const XCN_OID_SUPPORTED_APPLICATION_CONTEXT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(148i32); | |
24508 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24509 | pub const XCN_OID_MEMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(149i32); | |
24510 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24511 | pub const XCN_OID_OWNER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(150i32); | |
24512 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24513 | pub const XCN_OID_ROLE_OCCUPANT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(151i32); | |
24514 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24515 | pub const XCN_OID_SEE_ALSO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(152i32); | |
24516 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24517 | pub const XCN_OID_USER_PASSWORD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(153i32); | |
24518 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24519 | pub const XCN_OID_USER_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(154i32); | |
24520 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24521 | pub const XCN_OID_CA_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(155i32); | |
24522 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24523 | pub const XCN_OID_AUTHORITY_REVOCATION_LIST: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(156i32); | |
24524 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24525 | pub const XCN_OID_CERTIFICATE_REVOCATION_LIST: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(157i32); | |
24526 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24527 | pub const XCN_OID_CROSS_CERTIFICATE_PAIR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(158i32); | |
24528 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24529 | pub const XCN_OID_GIVEN_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(159i32); | |
24530 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24531 | pub const XCN_OID_INITIALS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(160i32); | |
24532 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24533 | pub const XCN_OID_DN_QUALIFIER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(161i32); | |
24534 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24535 | pub const XCN_OID_DOMAIN_COMPONENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(162i32); | |
24536 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24537 | pub const XCN_OID_PKCS_12_FRIENDLY_NAME_ATTR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(163i32); | |
24538 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24539 | pub const XCN_OID_PKCS_12_LOCAL_KEY_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(164i32); | |
24540 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24541 | pub const XCN_OID_PKCS_12_KEY_PROVIDER_NAME_ATTR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(165i32); | |
24542 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24543 | pub const XCN_OID_LOCAL_MACHINE_KEYSET: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(166i32); | |
24544 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24545 | pub const XCN_OID_PKCS_12_EXTENDED_ATTRIBUTES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(167i32); | |
24546 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24547 | pub const XCN_OID_KEYID_RDN: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(168i32); | |
24548 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24549 | pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(169i32); | |
24550 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24551 | pub const XCN_OID_KEY_ATTRIBUTES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(170i32); | |
24552 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24553 | pub const XCN_OID_CERT_POLICIES_95: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(171i32); | |
24554 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24555 | pub const XCN_OID_KEY_USAGE_RESTRICTION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(172i32); | |
24556 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24557 | pub const XCN_OID_SUBJECT_ALT_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(173i32); | |
24558 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24559 | pub const XCN_OID_ISSUER_ALT_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(174i32); | |
24560 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24561 | pub const XCN_OID_BASIC_CONSTRAINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(175i32); | |
24562 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24563 | pub const XCN_OID_KEY_USAGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(176i32); | |
24564 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24565 | pub const XCN_OID_PRIVATEKEY_USAGE_PERIOD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(177i32); | |
24566 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24567 | pub const XCN_OID_BASIC_CONSTRAINTS2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(178i32); | |
24568 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24569 | pub const XCN_OID_CERT_POLICIES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(179i32); | |
24570 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24571 | pub const XCN_OID_ANY_CERT_POLICY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(180i32); | |
24572 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24573 | pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(181i32); | |
24574 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24575 | pub const XCN_OID_SUBJECT_KEY_IDENTIFIER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(182i32); | |
24576 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24577 | pub const XCN_OID_SUBJECT_ALT_NAME2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(183i32); | |
24578 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24579 | pub const XCN_OID_ISSUER_ALT_NAME2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(184i32); | |
24580 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24581 | pub const XCN_OID_CRL_REASON_CODE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(185i32); | |
24582 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24583 | pub const XCN_OID_REASON_CODE_HOLD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(186i32); | |
24584 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24585 | pub const XCN_OID_CRL_DIST_POINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(187i32); | |
24586 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24587 | pub const XCN_OID_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(188i32); | |
24588 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24589 | pub const XCN_OID_CRL_NUMBER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(189i32); | |
24590 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24591 | pub const XCN_OID_DELTA_CRL_INDICATOR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(190i32); | |
24592 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24593 | pub const XCN_OID_ISSUING_DIST_POINT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(191i32); | |
24594 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24595 | pub const XCN_OID_FRESHEST_CRL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(192i32); | |
24596 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24597 | pub const XCN_OID_NAME_CONSTRAINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(193i32); | |
24598 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24599 | pub const XCN_OID_POLICY_MAPPINGS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(194i32); | |
24600 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24601 | pub const XCN_OID_LEGACY_POLICY_MAPPINGS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(195i32); | |
24602 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24603 | pub const XCN_OID_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(196i32); | |
24604 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24605 | pub const XCN_OID_RENEWAL_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(197i32); | |
24606 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24607 | pub const XCN_OID_ENROLLMENT_NAME_VALUE_PAIR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(198i32); | |
24608 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24609 | pub const XCN_OID_ENROLLMENT_CSP_PROVIDER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(199i32); | |
24610 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24611 | pub const XCN_OID_OS_VERSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(200i32); | |
24612 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24613 | pub const XCN_OID_ENROLLMENT_AGENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(201i32); | |
24614 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24615 | pub const XCN_OID_PKIX: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(202i32); | |
24616 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24617 | pub const XCN_OID_PKIX_PE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(203i32); | |
24618 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24619 | pub const XCN_OID_AUTHORITY_INFO_ACCESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(204i32); | |
24620 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24621 | pub const XCN_OID_BIOMETRIC_EXT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(205i32); | |
24622 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24623 | pub const XCN_OID_LOGOTYPE_EXT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(206i32); | |
24624 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24625 | pub const XCN_OID_CERT_EXTENSIONS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(207i32); | |
24626 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24627 | pub const XCN_OID_NEXT_UPDATE_LOCATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(208i32); | |
24628 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24629 | pub const XCN_OID_REMOVE_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(209i32); | |
24630 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24631 | pub const XCN_OID_CROSS_CERT_DIST_POINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(210i32); | |
24632 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24633 | pub const XCN_OID_CTL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(211i32); | |
24634 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24635 | pub const XCN_OID_SORTED_CTL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(212i32); | |
24636 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24637 | pub const XCN_OID_SERIALIZED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(213i32); | |
24638 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24639 | pub const XCN_OID_NT_PRINCIPAL_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(214i32); | |
24640 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24641 | pub const XCN_OID_PRODUCT_UPDATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(215i32); | |
24642 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24643 | pub const XCN_OID_ANY_APPLICATION_POLICY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(216i32); | |
24644 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24645 | pub const XCN_OID_AUTO_ENROLL_CTL_USAGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(217i32); | |
24646 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24647 | pub const XCN_OID_ENROLL_CERTTYPE_EXTENSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(218i32); | |
24648 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24649 | pub const XCN_OID_CERT_MANIFOLD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(219i32); | |
24650 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24651 | pub const XCN_OID_CERTSRV_CA_VERSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(220i32); | |
24652 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24653 | pub const XCN_OID_CERTSRV_PREVIOUS_CERT_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(221i32); | |
24654 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24655 | pub const XCN_OID_CRL_VIRTUAL_BASE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(222i32); | |
24656 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24657 | pub const XCN_OID_CRL_NEXT_PUBLISH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(223i32); | |
24658 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24659 | pub const XCN_OID_KP_CA_EXCHANGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(224i32); | |
24660 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24661 | pub const XCN_OID_KP_KEY_RECOVERY_AGENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(225i32); | |
24662 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24663 | pub const XCN_OID_CERTIFICATE_TEMPLATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(226i32); | |
24664 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24665 | pub const XCN_OID_ENTERPRISE_OID_ROOT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(227i32); | |
24666 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24667 | pub const XCN_OID_RDN_DUMMY_SIGNER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(228i32); | |
24668 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24669 | pub const XCN_OID_APPLICATION_CERT_POLICIES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(229i32); | |
24670 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24671 | pub const XCN_OID_APPLICATION_POLICY_MAPPINGS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(230i32); | |
24672 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24673 | pub const XCN_OID_APPLICATION_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(231i32); | |
24674 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24675 | pub const XCN_OID_ARCHIVED_KEY_ATTR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(232i32); | |
24676 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24677 | pub const XCN_OID_CRL_SELF_CDP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(233i32); | |
24678 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24679 | pub const XCN_OID_REQUIRE_CERT_CHAIN_POLICY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(234i32); | |
24680 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24681 | pub const XCN_OID_ARCHIVED_KEY_CERT_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(235i32); | |
24682 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24683 | pub const XCN_OID_ISSUED_CERT_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(236i32); | |
24684 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24685 | pub const XCN_OID_DS_EMAIL_REPLICATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(237i32); | |
24686 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24687 | pub const XCN_OID_REQUEST_CLIENT_INFO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(238i32); | |
24688 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24689 | pub const XCN_OID_ENCRYPTED_KEY_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(239i32); | |
24690 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24691 | pub const XCN_OID_CERTSRV_CROSSCA_VERSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(240i32); | |
24692 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24693 | pub const XCN_OID_NTDS_REPLICATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(241i32); | |
24694 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24695 | pub const XCN_OID_SUBJECT_DIR_ATTRS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(242i32); | |
24696 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24697 | pub const XCN_OID_PKIX_KP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(243i32); | |
24698 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24699 | pub const XCN_OID_PKIX_KP_SERVER_AUTH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(244i32); | |
24700 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24701 | pub const XCN_OID_PKIX_KP_CLIENT_AUTH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(245i32); | |
24702 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24703 | pub const XCN_OID_PKIX_KP_CODE_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(246i32); | |
24704 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24705 | pub const XCN_OID_PKIX_KP_EMAIL_PROTECTION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(247i32); | |
24706 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24707 | pub const XCN_OID_PKIX_KP_IPSEC_END_SYSTEM: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(248i32); | |
24708 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24709 | pub const XCN_OID_PKIX_KP_IPSEC_TUNNEL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(249i32); | |
24710 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24711 | pub const XCN_OID_PKIX_KP_IPSEC_USER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(250i32); | |
24712 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24713 | pub const XCN_OID_PKIX_KP_TIMESTAMP_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(251i32); | |
24714 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24715 | pub const XCN_OID_PKIX_KP_OCSP_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(252i32); | |
24716 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24717 | pub const XCN_OID_PKIX_OCSP_NOCHECK: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(253i32); | |
24718 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24719 | pub const XCN_OID_IPSEC_KP_IKE_INTERMEDIATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(254i32); | |
24720 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24721 | pub const XCN_OID_KP_CTL_USAGE_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(255i32); | |
24722 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24723 | pub const XCN_OID_KP_TIME_STAMP_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(256i32); | |
24724 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24725 | pub const XCN_OID_SERVER_GATED_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(257i32); | |
24726 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24727 | pub const XCN_OID_SGC_NETSCAPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(258i32); | |
24728 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24729 | pub const XCN_OID_KP_EFS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(259i32); | |
24730 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24731 | pub const XCN_OID_EFS_RECOVERY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(260i32); | |
24732 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24733 | pub const XCN_OID_WHQL_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(261i32); | |
24734 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24735 | pub const XCN_OID_NT5_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(262i32); | |
24736 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24737 | pub const XCN_OID_OEM_WHQL_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(263i32); | |
24738 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24739 | pub const XCN_OID_EMBEDDED_NT_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(264i32); | |
24740 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24741 | pub const XCN_OID_ROOT_LIST_SIGNER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(265i32); | |
24742 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24743 | pub const XCN_OID_KP_QUALIFIED_SUBORDINATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(266i32); | |
24744 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24745 | pub const XCN_OID_KP_KEY_RECOVERY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(267i32); | |
24746 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24747 | pub const XCN_OID_KP_DOCUMENT_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(268i32); | |
24748 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24749 | pub const XCN_OID_KP_LIFETIME_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(269i32); | |
24750 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24751 | pub const XCN_OID_KP_MOBILE_DEVICE_SOFTWARE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(270i32); | |
24752 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24753 | pub const XCN_OID_KP_SMART_DISPLAY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(271i32); | |
24754 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24755 | pub const XCN_OID_KP_CSP_SIGNATURE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(272i32); | |
24756 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24757 | pub const XCN_OID_DRM: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(273i32); | |
24758 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24759 | pub const XCN_OID_DRM_INDIVIDUALIZATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(274i32); | |
24760 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24761 | pub const XCN_OID_LICENSES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(275i32); | |
24762 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24763 | pub const XCN_OID_LICENSE_SERVER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(276i32); | |
24764 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24765 | pub const XCN_OID_KP_SMARTCARD_LOGON: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(277i32); | |
24766 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24767 | pub const XCN_OID_YESNO_TRUST_ATTR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(278i32); | |
24768 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24769 | pub const XCN_OID_PKIX_POLICY_QUALIFIER_CPS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(279i32); | |
24770 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24771 | pub const XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(280i32); | |
24772 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24773 | pub const XCN_OID_CERT_POLICIES_95_QUALIFIER1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(281i32); | |
24774 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24775 | pub const XCN_OID_PKIX_ACC_DESCR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(282i32); | |
24776 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24777 | pub const XCN_OID_PKIX_OCSP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(283i32); | |
24778 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24779 | pub const XCN_OID_PKIX_CA_ISSUERS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(284i32); | |
24780 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24781 | pub const XCN_OID_VERISIGN_PRIVATE_6_9: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(285i32); | |
24782 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24783 | pub const XCN_OID_VERISIGN_ONSITE_JURISDICTION_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(286i32); | |
24784 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24785 | pub const XCN_OID_VERISIGN_BITSTRING_6_13: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(287i32); | |
24786 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24787 | pub const XCN_OID_VERISIGN_ISS_STRONG_CRYPTO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(288i32); | |
24788 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24789 | pub const XCN_OID_NETSCAPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(289i32); | |
24790 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24791 | pub const XCN_OID_NETSCAPE_CERT_EXTENSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(290i32); | |
24792 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24793 | pub const XCN_OID_NETSCAPE_CERT_TYPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(291i32); | |
24794 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24795 | pub const XCN_OID_NETSCAPE_BASE_URL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(292i32); | |
24796 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24797 | pub const XCN_OID_NETSCAPE_REVOCATION_URL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(293i32); | |
24798 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24799 | pub const XCN_OID_NETSCAPE_CA_REVOCATION_URL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(294i32); | |
24800 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24801 | pub const XCN_OID_NETSCAPE_CERT_RENEWAL_URL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(295i32); | |
24802 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24803 | pub const XCN_OID_NETSCAPE_CA_POLICY_URL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(296i32); | |
24804 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24805 | pub const XCN_OID_NETSCAPE_SSL_SERVER_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(297i32); | |
24806 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24807 | pub const XCN_OID_NETSCAPE_COMMENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(298i32); | |
24808 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24809 | pub const XCN_OID_NETSCAPE_DATA_TYPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(299i32); | |
24810 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24811 | pub const XCN_OID_NETSCAPE_CERT_SEQUENCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(300i32); | |
24812 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24813 | pub const XCN_OID_CT_PKI_DATA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(301i32); | |
24814 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24815 | pub const XCN_OID_CT_PKI_RESPONSE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(302i32); | |
24816 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24817 | pub const XCN_OID_PKIX_NO_SIGNATURE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(303i32); | |
24818 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24819 | pub const XCN_OID_CMC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(304i32); | |
24820 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24821 | pub const XCN_OID_CMC_STATUS_INFO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(305i32); | |
24822 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24823 | pub const XCN_OID_CMC_IDENTIFICATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(306i32); | |
24824 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24825 | pub const XCN_OID_CMC_IDENTITY_PROOF: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(307i32); | |
24826 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24827 | pub const XCN_OID_CMC_DATA_RETURN: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(308i32); | |
24828 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24829 | pub const XCN_OID_CMC_TRANSACTION_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(309i32); | |
24830 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24831 | pub const XCN_OID_CMC_SENDER_NONCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(310i32); | |
24832 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24833 | pub const XCN_OID_CMC_RECIPIENT_NONCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(311i32); | |
24834 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24835 | pub const XCN_OID_CMC_ADD_EXTENSIONS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(312i32); | |
24836 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24837 | pub const XCN_OID_CMC_ENCRYPTED_POP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(313i32); | |
24838 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24839 | pub const XCN_OID_CMC_DECRYPTED_POP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(314i32); | |
24840 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24841 | pub const XCN_OID_CMC_LRA_POP_WITNESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(315i32); | |
24842 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24843 | pub const XCN_OID_CMC_GET_CERT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(316i32); | |
24844 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24845 | pub const XCN_OID_CMC_GET_CRL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(317i32); | |
24846 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24847 | pub const XCN_OID_CMC_REVOKE_REQUEST: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(318i32); | |
24848 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24849 | pub const XCN_OID_CMC_REG_INFO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(319i32); | |
24850 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24851 | pub const XCN_OID_CMC_RESPONSE_INFO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(320i32); | |
24852 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24853 | pub const XCN_OID_CMC_QUERY_PENDING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(321i32); | |
24854 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24855 | pub const XCN_OID_CMC_ID_POP_LINK_RANDOM: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(322i32); | |
24856 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24857 | pub const XCN_OID_CMC_ID_POP_LINK_WITNESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(323i32); | |
24858 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24859 | pub const XCN_OID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(324i32); | |
24860 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24861 | pub const XCN_OID_CMC_ADD_ATTRIBUTES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(325i32); | |
24862 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24863 | pub const XCN_OID_LOYALTY_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(326i32); | |
24864 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24865 | pub const XCN_OID_BACKGROUND_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(327i32); | |
24866 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24867 | pub const XCN_OID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(328i32); | |
24868 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24869 | pub const XCN_OID_PKCS_7_DATA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(329i32); | |
24870 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24871 | pub const XCN_OID_PKCS_7_SIGNED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(330i32); | |
24872 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24873 | pub const XCN_OID_PKCS_7_ENVELOPED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(331i32); | |
24874 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24875 | pub const XCN_OID_PKCS_7_SIGNEDANDENVELOPED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(332i32); | |
24876 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24877 | pub const XCN_OID_PKCS_7_DIGESTED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(333i32); | |
24878 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24879 | pub const XCN_OID_PKCS_7_ENCRYPTED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(334i32); | |
24880 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24881 | pub const XCN_OID_PKCS_9_CONTENT_TYPE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(335i32); | |
24882 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24883 | pub const XCN_OID_PKCS_9_MESSAGE_DIGEST: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(336i32); | |
24884 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24885 | pub const XCN_OID_CERT_PROP_ID_PREFIX: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(337i32); | |
24886 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24887 | pub const XCN_OID_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(338i32); | |
24888 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24889 | pub const XCN_OID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(339i32); | |
24890 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24891 | pub const XCN_OID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(340i32); | |
24892 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24893 | pub const XCN_OID_CERT_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(341i32); | |
24894 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24895 | pub const XCN_OID_RSA_SHA256RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(342i32); | |
24896 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24897 | pub const XCN_OID_RSA_SHA384RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(343i32); | |
24898 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24899 | pub const XCN_OID_RSA_SHA512RSA: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(344i32); | |
24900 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24901 | pub const XCN_OID_NIST_sha256: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(345i32); | |
24902 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24903 | pub const XCN_OID_NIST_sha384: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(346i32); | |
24904 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24905 | pub const XCN_OID_NIST_sha512: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(347i32); | |
24906 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24907 | pub const XCN_OID_RSA_MGF1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(348i32); | |
24908 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24909 | pub const XCN_OID_ECC_PUBLIC_KEY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(349i32); | |
24910 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24911 | pub const XCN_OID_ECDSA_SHA1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(350i32); | |
24912 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24913 | pub const XCN_OID_ECDSA_SPECIFIED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(351i32); | |
24914 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24915 | pub const XCN_OID_ANY_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(352i32); | |
24916 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24917 | pub const XCN_OID_RSA_SSA_PSS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(353i32); | |
24918 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24919 | pub const XCN_OID_ATTR_SUPPORTED_ALGORITHMS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(355i32); | |
24920 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24921 | pub const XCN_OID_ATTR_TPM_SECURITY_ASSERTIONS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(356i32); | |
24922 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24923 | pub const XCN_OID_ATTR_TPM_SPECIFICATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(357i32); | |
24924 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24925 | pub const XCN_OID_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(358i32); | |
24926 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24927 | pub const XCN_OID_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(359i32); | |
24928 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24929 | pub const XCN_OID_CERT_STRONG_KEY_OS_1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(360i32); | |
24930 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24931 | pub const XCN_OID_CERT_STRONG_KEY_OS_CURRENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(361i32); | |
24932 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24933 | pub const XCN_OID_CERT_STRONG_KEY_OS_PREFIX: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(362i32); | |
24934 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24935 | pub const XCN_OID_CERT_STRONG_SIGN_OS_1: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(363i32); | |
24936 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24937 | pub const XCN_OID_CERT_STRONG_SIGN_OS_CURRENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(364i32); | |
24938 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24939 | pub const XCN_OID_CERT_STRONG_SIGN_OS_PREFIX: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(365i32); | |
24940 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24941 | pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA1_KDF: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(366i32); | |
24942 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24943 | pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA256_KDF: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(367i32); | |
24944 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24945 | pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA384_KDF: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(368i32); | |
24946 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24947 | pub const XCN_OID_DISALLOWED_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(369i32); | |
24948 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24949 | pub const XCN_OID_DISALLOWED_LIST: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(370i32); | |
24950 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24951 | pub const XCN_OID_ECC_CURVE_P256: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(371i32); | |
24952 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24953 | pub const XCN_OID_ECC_CURVE_P384: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(372i32); | |
24954 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24955 | pub const XCN_OID_ECC_CURVE_P521: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(373i32); | |
24956 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24957 | pub const XCN_OID_ECDSA_SHA256: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(374i32); | |
24958 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24959 | pub const XCN_OID_ECDSA_SHA384: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(375i32); | |
24960 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24961 | pub const XCN_OID_ECDSA_SHA512: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(376i32); | |
24962 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24963 | pub const XCN_OID_ENROLL_CAXCHGCERT_HASH: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(377i32); | |
24964 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24965 | pub const XCN_OID_ENROLL_EK_INFO: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(378i32); | |
24966 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24967 | pub const XCN_OID_ENROLL_EKPUB_CHALLENGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(379i32); | |
24968 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24969 | pub const XCN_OID_ENROLL_EKVERIFYCERT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(380i32); | |
24970 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24971 | pub const XCN_OID_ENROLL_EKVERIFYCREDS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(381i32); | |
24972 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24973 | pub const XCN_OID_ENROLL_EKVERIFYKEY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(382i32); | |
24974 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24975 | pub const XCN_OID_EV_RDN_COUNTRY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(383i32); | |
24976 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24977 | pub const XCN_OID_EV_RDN_LOCALE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(384i32); | |
24978 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24979 | pub const XCN_OID_EV_RDN_STATE_OR_PROVINCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(385i32); | |
24980 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24981 | pub const XCN_OID_INHIBIT_ANY_POLICY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(386i32); | |
24982 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24983 | pub const XCN_OID_INTERNATIONALIZED_EMAIL_ADDRESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(387i32); | |
24984 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24985 | pub const XCN_OID_KP_KERNEL_MODE_CODE_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(388i32); | |
24986 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24987 | pub const XCN_OID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(389i32); | |
24988 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24989 | pub const XCN_OID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(390i32); | |
24990 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24991 | pub const XCN_OID_KP_TPM_AIK_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(391i32); | |
24992 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24993 | pub const XCN_OID_KP_TPM_EK_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(392i32); | |
24994 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24995 | pub const XCN_OID_KP_TPM_PLATFORM_CERTIFICATE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(393i32); | |
24996 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24997 | pub const XCN_OID_NIST_AES128_CBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(394i32); | |
24998 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
24999 | pub const XCN_OID_NIST_AES128_WRAP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(395i32); | |
25000 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25001 | pub const XCN_OID_NIST_AES192_CBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(396i32); | |
25002 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25003 | pub const XCN_OID_NIST_AES192_WRAP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(397i32); | |
25004 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25005 | pub const XCN_OID_NIST_AES256_CBC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(398i32); | |
25006 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25007 | pub const XCN_OID_NIST_AES256_WRAP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(399i32); | |
25008 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25009 | pub const XCN_OID_PKCS_12_PbeIds: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(400i32); | |
25010 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25011 | pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(401i32); | |
25012 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25013 | pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC4: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(402i32); | |
25014 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25015 | pub const XCN_OID_PKCS_12_pbeWithSHA1And2KeyTripleDES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(403i32); | |
25016 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25017 | pub const XCN_OID_PKCS_12_pbeWithSHA1And3KeyTripleDES: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(404i32); | |
25018 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25019 | pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC2: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(405i32); | |
25020 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25021 | pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC4: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(406i32); | |
25022 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25023 | pub const XCN_OID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(407i32); | |
25024 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25025 | pub const XCN_OID_PKINIT_KP_KDC: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(408i32); | |
25026 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25027 | pub const XCN_OID_PKIX_CA_REPOSITORY: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(409i32); | |
25028 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25029 | pub const XCN_OID_PKIX_OCSP_NONCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(410i32); | |
25030 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25031 | pub const XCN_OID_PKIX_TIME_STAMPING: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(411i32); | |
25032 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25033 | pub const XCN_OID_QC_EU_COMPLIANCE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(412i32); | |
25034 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25035 | pub const XCN_OID_QC_SSCD: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(413i32); | |
25036 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25037 | pub const XCN_OID_QC_STATEMENTS_EXT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(414i32); | |
25038 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25039 | pub const XCN_OID_RDN_TPM_MANUFACTURER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(415i32); | |
25040 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25041 | pub const XCN_OID_RDN_TPM_MODEL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(416i32); | |
25042 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25043 | pub const XCN_OID_RDN_TPM_VERSION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(417i32); | |
25044 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25045 | pub const XCN_OID_REVOKED_LIST_SIGNER: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(418i32); | |
25046 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25047 | pub const XCN_OID_RFC3161_counterSign: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(419i32); | |
25048 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25049 | pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(420i32); | |
25050 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25051 | pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(421i32); | |
25052 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25053 | pub const XCN_OID_ROOT_PROGRAM_FLAGS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(422i32); | |
25054 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25055 | pub const XCN_OID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(423i32); | |
25056 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25057 | pub const XCN_OID_RSA_PSPECIFIED: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(424i32); | |
25058 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25059 | pub const XCN_OID_RSAES_OAEP: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(425i32); | |
25060 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25061 | pub const XCN_OID_SUBJECT_INFO_ACCESS: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(426i32); | |
25062 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25063 | pub const XCN_OID_TIMESTAMP_TOKEN: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(427i32); | |
25064 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25065 | pub const XCN_OID_ENROLL_SCEP_ERROR: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(428i32); | |
25066 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25067 | pub const XCN_OIDVerisign_MessageType: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(429i32); | |
25068 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25069 | pub const XCN_OIDVerisign_PkiStatus: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(430i32); | |
25070 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25071 | pub const XCN_OIDVerisign_FailInfo: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(431i32); | |
25072 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25073 | pub const XCN_OIDVerisign_SenderNonce: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(432i32); | |
25074 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25075 | pub const XCN_OIDVerisign_RecipientNonce: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(433i32); | |
25076 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25077 | pub const XCN_OIDVerisign_TransactionID: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(434i32); | |
25078 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25079 | pub const XCN_OID_ENROLL_ATTESTATION_CHALLENGE: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(435i32); | |
25080 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25081 | pub const XCN_OID_ENROLL_ATTESTATION_STATEMENT: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(436i32); | |
25082 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25083 | pub const XCN_OID_ENROLL_ENCRYPTION_ALGORITHM: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(437i32); | |
25084 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25085 | pub const XCN_OID_ENROLL_KSP_NAME: CERTENROLL_OBJECTID = CERTENROLL_OBJECTID(438i32); | |
25086 | impl ::core::marker::Copy for CERTENROLL_OBJECTID {} | |
25087 | impl ::core::clone::Clone for CERTENROLL_OBJECTID { | |
25088 | fn clone(&self) -> Self { | |
25089 | *self | |
25090 | } | |
25091 | } | |
25092 | impl ::core::default::Default for CERTENROLL_OBJECTID { | |
25093 | fn default() -> Self { | |
25094 | Self(0) | |
25095 | } | |
25096 | } | |
25097 | impl ::windows::core::TypeKind for CERTENROLL_OBJECTID { | |
25098 | type TypeKind = ::windows::core::CopyType; | |
25099 | } | |
25100 | impl ::core::fmt::Debug for CERTENROLL_OBJECTID { | |
25101 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25102 | f.debug_tuple("CERTENROLL_OBJECTID").field(&self.0).finish() | |
25103 | } | |
25104 | } | |
25105 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25106 | #[repr(transparent)] | |
25107 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25108 | pub struct CERTENROLL_PROPERTYID(pub i32); | |
25109 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25110 | pub const XCN_PROPERTYID_NONE: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(0i32); | |
25111 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25112 | pub const XCN_CERT_KEY_PROV_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(1i32); | |
25113 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25114 | pub const XCN_CERT_KEY_PROV_INFO_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(2i32); | |
25115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25116 | pub const XCN_CERT_SHA1_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(3i32); | |
25117 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25118 | pub const XCN_CERT_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(4i32); | |
25119 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25120 | pub const XCN_CERT_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(3i32); | |
25121 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25122 | pub const XCN_CERT_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(5i32); | |
25123 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25124 | pub const XCN_CERT_KEY_SPEC_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(6i32); | |
25125 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25126 | pub const XCN_CERT_IE30_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(7i32); | |
25127 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25128 | pub const XCN_CERT_PUBKEY_HASH_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(8i32); | |
25129 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25130 | pub const XCN_CERT_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(9i32); | |
25131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25132 | pub const XCN_CERT_CTL_USAGE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(9i32); | |
25133 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25134 | pub const XCN_CERT_NEXT_UPDATE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(10i32); | |
25135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25136 | pub const XCN_CERT_FRIENDLY_NAME_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(11i32); | |
25137 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25138 | pub const XCN_CERT_PVK_FILE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(12i32); | |
25139 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25140 | pub const XCN_CERT_DESCRIPTION_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(13i32); | |
25141 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25142 | pub const XCN_CERT_ACCESS_STATE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(14i32); | |
25143 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25144 | pub const XCN_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(15i32); | |
25145 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25146 | pub const XCN_CERT_SMART_CARD_DATA_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(16i32); | |
25147 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25148 | pub const XCN_CERT_EFS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(17i32); | |
25149 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25150 | pub const XCN_CERT_FORTEZZA_DATA_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(18i32); | |
25151 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25152 | pub const XCN_CERT_ARCHIVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(19i32); | |
25153 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25154 | pub const XCN_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(20i32); | |
25155 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25156 | pub const XCN_CERT_AUTO_ENROLL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(21i32); | |
25157 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25158 | pub const XCN_CERT_PUBKEY_ALG_PARA_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(22i32); | |
25159 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25160 | pub const XCN_CERT_CROSS_CERT_DIST_POINTS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(23i32); | |
25161 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25162 | pub const XCN_CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(24i32); | |
25163 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25164 | pub const XCN_CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(25i32); | |
25165 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25166 | pub const XCN_CERT_ENROLLMENT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(26i32); | |
25167 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25168 | pub const XCN_CERT_DATE_STAMP_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(27i32); | |
25169 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25170 | pub const XCN_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(28i32); | |
25171 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25172 | pub const XCN_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(29i32); | |
25173 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25174 | pub const XCN_CERT_EXTENDED_ERROR_INFO_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(30i32); | |
25175 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25176 | pub const XCN_CERT_RENEWAL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(64i32); | |
25177 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25178 | pub const XCN_CERT_ARCHIVED_KEY_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(65i32); | |
25179 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25180 | pub const XCN_CERT_AUTO_ENROLL_RETRY_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(66i32); | |
25181 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25182 | pub const XCN_CERT_AIA_URL_RETRIEVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(67i32); | |
25183 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25184 | pub const XCN_CERT_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(68i32); | |
25185 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25186 | pub const XCN_CERT_BACKED_UP_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(69i32); | |
25187 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25188 | pub const XCN_CERT_OCSP_RESPONSE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(70i32); | |
25189 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25190 | pub const XCN_CERT_REQUEST_ORIGINATOR_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(71i32); | |
25191 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25192 | pub const XCN_CERT_SOURCE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(72i32); | |
25193 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25194 | pub const XCN_CERT_SOURCE_URL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(73i32); | |
25195 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25196 | pub const XCN_CERT_NEW_KEY_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(74i32); | |
25197 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25198 | pub const XCN_CERT_OCSP_CACHE_PREFIX_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(75i32); | |
25199 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25200 | pub const XCN_CERT_SMART_CARD_ROOT_INFO_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(76i32); | |
25201 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25202 | pub const XCN_CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(77i32); | |
25203 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25204 | pub const XCN_CERT_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(78i32); | |
25205 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25206 | pub const XCN_CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(79i32); | |
25207 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25208 | pub const XCN_CERT_SUBJECT_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(80i32); | |
25209 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25210 | pub const XCN_CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(81i32); | |
25211 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25212 | pub const XCN_CERT_CA_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(82i32); | |
25213 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25214 | pub const XCN_CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(83i32); | |
25215 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25216 | pub const XCN_CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(84i32); | |
25217 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25218 | pub const XCN_CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(85i32); | |
25219 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25220 | pub const XCN_CERT_SUBJECT_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(86i32); | |
25221 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25222 | pub const XCN_CERT_CEP_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(87i32); | |
25223 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25224 | pub const XCN_CERT_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(89i32); | |
25225 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25226 | pub const XCN_CERT_SCARD_PIN_ID_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(90i32); | |
25227 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25228 | pub const XCN_CERT_SCARD_PIN_INFO_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(91i32); | |
25229 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25230 | pub const XCN_CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(92i32); | |
25231 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25232 | pub const XCN_CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(93i32); | |
25233 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25234 | pub const XCN_CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(94i32); | |
25235 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25236 | pub const XCN_CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(95i32); | |
25237 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25238 | pub const XCN_CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(96i32); | |
25239 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25240 | pub const XCN_CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(97i32); | |
25241 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25242 | pub const XCN_CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(98i32); | |
25243 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25244 | pub const XCN_CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(99i32); | |
25245 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25246 | pub const XCN_CERT_HCRYPTPROV_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(100i32); | |
25247 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25248 | pub const XCN_CERT_SMART_CARD_READER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(101i32); | |
25249 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25250 | pub const XCN_CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(102i32); | |
25251 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25252 | pub const XCN_CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(103i32); | |
25253 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25254 | pub const XCN_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(104i32); | |
25255 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25256 | pub const XCN_CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(105i32); | |
25257 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25258 | pub const XCN_CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(106i32); | |
25259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25260 | pub const XCN_CERT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(107i32); | |
25261 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25262 | pub const XCN_CERT_SCEP_SERVER_CERTS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(108i32); | |
25263 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25264 | pub const XCN_CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(109i32); | |
25265 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25266 | pub const XCN_CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(110i32); | |
25267 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25268 | pub const XCN_CERT_SCEP_CA_CERT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(111i32); | |
25269 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25270 | pub const XCN_CERT_SCEP_SIGNER_CERT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(112i32); | |
25271 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25272 | pub const XCN_CERT_SCEP_NONCE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(113i32); | |
25273 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25274 | pub const XCN_CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(114i32); | |
25275 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25276 | pub const XCN_CERT_SCEP_FLAGS_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(115i32); | |
25277 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25278 | pub const XCN_CERT_SCEP_GUID_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(116i32); | |
25279 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25280 | pub const XCN_CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(117i32); | |
25281 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25282 | pub const XCN_CERT_ISOLATED_KEY_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(118i32); | |
25283 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25284 | pub const XCN_CERT_SERIAL_CHAIN_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(119i32); | |
25285 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25286 | pub const XCN_CERT_KEY_CLASSIFICATION_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(120i32); | |
25287 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25288 | pub const XCN_CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(122i32); | |
25289 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25290 | pub const XCN_CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(123i32); | |
25291 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25292 | pub const XCN_CERT_PIN_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(124i32); | |
25293 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25294 | pub const XCN_CERT_CLR_DELETE_KEY_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(125i32); | |
25295 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25296 | pub const XCN_CERT_NOT_BEFORE_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(126i32); | |
25297 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25298 | pub const XCN_CERT_CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(127i32); | |
25299 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25300 | pub const XCN_CERT_FIRST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(128i32); | |
25301 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25302 | pub const XCN_CERT_LAST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(32767i32); | |
25303 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25304 | pub const XCN_CERT_FIRST_USER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(32768i32); | |
25305 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25306 | pub const XCN_CERT_LAST_USER_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(65535i32); | |
25307 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25308 | pub const XCN_CERT_STORE_LOCALIZED_NAME_PROP_ID: CERTENROLL_PROPERTYID = CERTENROLL_PROPERTYID(4096i32); | |
25309 | impl ::core::marker::Copy for CERTENROLL_PROPERTYID {} | |
25310 | impl ::core::clone::Clone for CERTENROLL_PROPERTYID { | |
25311 | fn clone(&self) -> Self { | |
25312 | *self | |
25313 | } | |
25314 | } | |
25315 | impl ::core::default::Default for CERTENROLL_PROPERTYID { | |
25316 | fn default() -> Self { | |
25317 | Self(0) | |
25318 | } | |
25319 | } | |
25320 | impl ::windows::core::TypeKind for CERTENROLL_PROPERTYID { | |
25321 | type TypeKind = ::windows::core::CopyType; | |
25322 | } | |
25323 | impl ::core::fmt::Debug for CERTENROLL_PROPERTYID { | |
25324 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25325 | f.debug_tuple("CERTENROLL_PROPERTYID").field(&self.0).finish() | |
25326 | } | |
25327 | } | |
25328 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25329 | #[repr(transparent)] | |
25330 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25331 | pub struct CERT_ALT_NAME(pub u32); | |
25332 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25333 | pub const CERT_ALT_NAME_RFC822_NAME: CERT_ALT_NAME = CERT_ALT_NAME(2u32); | |
25334 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25335 | pub const CERT_ALT_NAME_DNS_NAME: CERT_ALT_NAME = CERT_ALT_NAME(3u32); | |
25336 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25337 | pub const CERT_ALT_NAME_URL: CERT_ALT_NAME = CERT_ALT_NAME(7u32); | |
25338 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25339 | pub const CERT_ALT_NAME_REGISTERED_ID: CERT_ALT_NAME = CERT_ALT_NAME(9u32); | |
25340 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25341 | pub const CERT_ALT_NAME_DIRECTORY_NAME: CERT_ALT_NAME = CERT_ALT_NAME(5u32); | |
25342 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25343 | pub const CERT_ALT_NAME_IP_ADDRESS: CERT_ALT_NAME = CERT_ALT_NAME(8u32); | |
25344 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25345 | pub const CERT_ALT_NAME_OTHER_NAME: CERT_ALT_NAME = CERT_ALT_NAME(1u32); | |
25346 | impl ::core::marker::Copy for CERT_ALT_NAME {} | |
25347 | impl ::core::clone::Clone for CERT_ALT_NAME { | |
25348 | fn clone(&self) -> Self { | |
25349 | *self | |
25350 | } | |
25351 | } | |
25352 | impl ::core::default::Default for CERT_ALT_NAME { | |
25353 | fn default() -> Self { | |
25354 | Self(0) | |
25355 | } | |
25356 | } | |
25357 | impl ::windows::core::TypeKind for CERT_ALT_NAME { | |
25358 | type TypeKind = ::windows::core::CopyType; | |
25359 | } | |
25360 | impl ::core::fmt::Debug for CERT_ALT_NAME { | |
25361 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25362 | f.debug_tuple("CERT_ALT_NAME").field(&self.0).finish() | |
25363 | } | |
25364 | } | |
25365 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25366 | #[repr(transparent)] | |
25367 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25368 | pub struct CERT_CREATE_REQUEST_FLAGS(pub u32); | |
25369 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25370 | pub const XECR_CMC: CERT_CREATE_REQUEST_FLAGS = CERT_CREATE_REQUEST_FLAGS(3u32); | |
25371 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25372 | pub const XECR_PKCS10_V1_5: CERT_CREATE_REQUEST_FLAGS = CERT_CREATE_REQUEST_FLAGS(4u32); | |
25373 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25374 | pub const XECR_PKCS10_V2_0: CERT_CREATE_REQUEST_FLAGS = CERT_CREATE_REQUEST_FLAGS(1u32); | |
25375 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25376 | pub const XECR_PKCS7: CERT_CREATE_REQUEST_FLAGS = CERT_CREATE_REQUEST_FLAGS(2u32); | |
25377 | impl ::core::marker::Copy for CERT_CREATE_REQUEST_FLAGS {} | |
25378 | impl ::core::clone::Clone for CERT_CREATE_REQUEST_FLAGS { | |
25379 | fn clone(&self) -> Self { | |
25380 | *self | |
25381 | } | |
25382 | } | |
25383 | impl ::core::default::Default for CERT_CREATE_REQUEST_FLAGS { | |
25384 | fn default() -> Self { | |
25385 | Self(0) | |
25386 | } | |
25387 | } | |
25388 | impl ::windows::core::TypeKind for CERT_CREATE_REQUEST_FLAGS { | |
25389 | type TypeKind = ::windows::core::CopyType; | |
25390 | } | |
25391 | impl ::core::fmt::Debug for CERT_CREATE_REQUEST_FLAGS { | |
25392 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25393 | f.debug_tuple("CERT_CREATE_REQUEST_FLAGS").field(&self.0).finish() | |
25394 | } | |
25395 | } | |
25396 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25397 | #[repr(transparent)] | |
25398 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25399 | pub struct CERT_DELETE_ROW_FLAGS(pub u32); | |
25400 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25401 | pub const CDR_EXPIRED: CERT_DELETE_ROW_FLAGS = CERT_DELETE_ROW_FLAGS(1u32); | |
25402 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25403 | pub const CDR_REQUEST_LAST_CHANGED: CERT_DELETE_ROW_FLAGS = CERT_DELETE_ROW_FLAGS(2u32); | |
25404 | impl ::core::marker::Copy for CERT_DELETE_ROW_FLAGS {} | |
25405 | impl ::core::clone::Clone for CERT_DELETE_ROW_FLAGS { | |
25406 | fn clone(&self) -> Self { | |
25407 | *self | |
25408 | } | |
25409 | } | |
25410 | impl ::core::default::Default for CERT_DELETE_ROW_FLAGS { | |
25411 | fn default() -> Self { | |
25412 | Self(0) | |
25413 | } | |
25414 | } | |
25415 | impl ::windows::core::TypeKind for CERT_DELETE_ROW_FLAGS { | |
25416 | type TypeKind = ::windows::core::CopyType; | |
25417 | } | |
25418 | impl ::core::fmt::Debug for CERT_DELETE_ROW_FLAGS { | |
25419 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25420 | f.debug_tuple("CERT_DELETE_ROW_FLAGS").field(&self.0).finish() | |
25421 | } | |
25422 | } | |
25423 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25424 | #[repr(transparent)] | |
25425 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25426 | pub struct CERT_EXIT_EVENT_MASK(pub u32); | |
25427 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25428 | pub const EXITEVENT_CERTDENIED: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(4u32); | |
25429 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25430 | pub const EXITEVENT_CERTISSUED: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(1u32); | |
25431 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25432 | pub const EXITEVENT_CERTPENDING: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(2u32); | |
25433 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25434 | pub const EXITEVENT_CERTRETRIEVEPENDING: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(16u32); | |
25435 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25436 | pub const EXITEVENT_CERTREVOKED: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(8u32); | |
25437 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25438 | pub const EXITEVENT_CRLISSUED: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(32u32); | |
25439 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25440 | pub const EXITEVENT_SHUTDOWN: CERT_EXIT_EVENT_MASK = CERT_EXIT_EVENT_MASK(64u32); | |
25441 | impl ::core::marker::Copy for CERT_EXIT_EVENT_MASK {} | |
25442 | impl ::core::clone::Clone for CERT_EXIT_EVENT_MASK { | |
25443 | fn clone(&self) -> Self { | |
25444 | *self | |
25445 | } | |
25446 | } | |
25447 | impl ::core::default::Default for CERT_EXIT_EVENT_MASK { | |
25448 | fn default() -> Self { | |
25449 | Self(0) | |
25450 | } | |
25451 | } | |
25452 | impl ::windows::core::TypeKind for CERT_EXIT_EVENT_MASK { | |
25453 | type TypeKind = ::windows::core::CopyType; | |
25454 | } | |
25455 | impl ::core::fmt::Debug for CERT_EXIT_EVENT_MASK { | |
25456 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25457 | f.debug_tuple("CERT_EXIT_EVENT_MASK").field(&self.0).finish() | |
25458 | } | |
25459 | } | |
25460 | impl CERT_EXIT_EVENT_MASK { | |
25461 | pub const fn contains(&self, other: Self) -> bool { | |
25462 | self.0 & other.0 == other.0 | |
25463 | } | |
25464 | } | |
25465 | impl ::core::ops::BitOr for CERT_EXIT_EVENT_MASK { | |
25466 | type Output = Self; | |
25467 | fn bitor(self, other: Self) -> Self { | |
25468 | Self(self.0 | other.0) | |
25469 | } | |
25470 | } | |
25471 | impl ::core::ops::BitAnd for CERT_EXIT_EVENT_MASK { | |
25472 | type Output = Self; | |
25473 | fn bitand(self, other: Self) -> Self { | |
25474 | Self(self.0 & other.0) | |
25475 | } | |
25476 | } | |
25477 | impl ::core::ops::BitOrAssign for CERT_EXIT_EVENT_MASK { | |
25478 | fn bitor_assign(&mut self, other: Self) { | |
25479 | self.0.bitor_assign(other.0) | |
25480 | } | |
25481 | } | |
25482 | impl ::core::ops::BitAndAssign for CERT_EXIT_EVENT_MASK { | |
25483 | fn bitand_assign(&mut self, other: Self) { | |
25484 | self.0.bitand_assign(other.0) | |
25485 | } | |
25486 | } | |
25487 | impl ::core::ops::Not for CERT_EXIT_EVENT_MASK { | |
25488 | type Output = Self; | |
25489 | fn not(self) -> Self { | |
25490 | Self(self.0.not()) | |
25491 | } | |
25492 | } | |
25493 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25494 | #[repr(transparent)] | |
25495 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25496 | pub struct CERT_GET_CONFIG_FLAGS(pub u32); | |
25497 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25498 | pub const CC_DEFAULTCONFIG: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(0u32); | |
25499 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25500 | pub const CC_FIRSTCONFIG: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(2u32); | |
25501 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25502 | pub const CC_LOCALACTIVECONFIG: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(4u32); | |
25503 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25504 | pub const CC_LOCALCONFIG: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(3u32); | |
25505 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25506 | pub const CC_UIPICKCONFIG: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(1u32); | |
25507 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25508 | pub const CC_UIPICKCONFIGSKIPLOCALCA: CERT_GET_CONFIG_FLAGS = CERT_GET_CONFIG_FLAGS(5u32); | |
25509 | impl ::core::marker::Copy for CERT_GET_CONFIG_FLAGS {} | |
25510 | impl ::core::clone::Clone for CERT_GET_CONFIG_FLAGS { | |
25511 | fn clone(&self) -> Self { | |
25512 | *self | |
25513 | } | |
25514 | } | |
25515 | impl ::core::default::Default for CERT_GET_CONFIG_FLAGS { | |
25516 | fn default() -> Self { | |
25517 | Self(0) | |
25518 | } | |
25519 | } | |
25520 | impl ::windows::core::TypeKind for CERT_GET_CONFIG_FLAGS { | |
25521 | type TypeKind = ::windows::core::CopyType; | |
25522 | } | |
25523 | impl ::core::fmt::Debug for CERT_GET_CONFIG_FLAGS { | |
25524 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25525 | f.debug_tuple("CERT_GET_CONFIG_FLAGS").field(&self.0).finish() | |
25526 | } | |
25527 | } | |
25528 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25529 | #[repr(transparent)] | |
25530 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25531 | pub struct CERT_IMPORT_FLAGS(pub u32); | |
25532 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25533 | pub const CR_IN_BASE64HEADER: CERT_IMPORT_FLAGS = CERT_IMPORT_FLAGS(0u32); | |
25534 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25535 | pub const CR_IN_BASE64: CERT_IMPORT_FLAGS = CERT_IMPORT_FLAGS(1u32); | |
25536 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25537 | pub const CR_IN_BINARY: CERT_IMPORT_FLAGS = CERT_IMPORT_FLAGS(2u32); | |
25538 | impl ::core::marker::Copy for CERT_IMPORT_FLAGS {} | |
25539 | impl ::core::clone::Clone for CERT_IMPORT_FLAGS { | |
25540 | fn clone(&self) -> Self { | |
25541 | *self | |
25542 | } | |
25543 | } | |
25544 | impl ::core::default::Default for CERT_IMPORT_FLAGS { | |
25545 | fn default() -> Self { | |
25546 | Self(0) | |
25547 | } | |
25548 | } | |
25549 | impl ::windows::core::TypeKind for CERT_IMPORT_FLAGS { | |
25550 | type TypeKind = ::windows::core::CopyType; | |
25551 | } | |
25552 | impl ::core::fmt::Debug for CERT_IMPORT_FLAGS { | |
25553 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25554 | f.debug_tuple("CERT_IMPORT_FLAGS").field(&self.0).finish() | |
25555 | } | |
25556 | } | |
25557 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25558 | #[repr(transparent)] | |
25559 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25560 | pub struct CERT_PROPERTY_TYPE(pub u32); | |
25561 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25562 | pub const PROPTYPE_BINARY: CERT_PROPERTY_TYPE = CERT_PROPERTY_TYPE(3u32); | |
25563 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25564 | pub const PROPTYPE_DATE: CERT_PROPERTY_TYPE = CERT_PROPERTY_TYPE(2u32); | |
25565 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25566 | pub const PROPTYPE_LONG: CERT_PROPERTY_TYPE = CERT_PROPERTY_TYPE(1u32); | |
25567 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25568 | pub const PROPTYPE_STRING: CERT_PROPERTY_TYPE = CERT_PROPERTY_TYPE(4u32); | |
25569 | impl ::core::marker::Copy for CERT_PROPERTY_TYPE {} | |
25570 | impl ::core::clone::Clone for CERT_PROPERTY_TYPE { | |
25571 | fn clone(&self) -> Self { | |
25572 | *self | |
25573 | } | |
25574 | } | |
25575 | impl ::core::default::Default for CERT_PROPERTY_TYPE { | |
25576 | fn default() -> Self { | |
25577 | Self(0) | |
25578 | } | |
25579 | } | |
25580 | impl ::windows::core::TypeKind for CERT_PROPERTY_TYPE { | |
25581 | type TypeKind = ::windows::core::CopyType; | |
25582 | } | |
25583 | impl ::core::fmt::Debug for CERT_PROPERTY_TYPE { | |
25584 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25585 | f.debug_tuple("CERT_PROPERTY_TYPE").field(&self.0).finish() | |
25586 | } | |
25587 | } | |
25588 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25589 | #[repr(transparent)] | |
25590 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25591 | pub struct CERT_REQUEST_OUT_TYPE(pub u32); | |
25592 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25593 | pub const CR_OUT_BASE64HEADER: CERT_REQUEST_OUT_TYPE = CERT_REQUEST_OUT_TYPE(0u32); | |
25594 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25595 | pub const CR_OUT_BASE64: CERT_REQUEST_OUT_TYPE = CERT_REQUEST_OUT_TYPE(1u32); | |
25596 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25597 | pub const CR_OUT_BINARY: CERT_REQUEST_OUT_TYPE = CERT_REQUEST_OUT_TYPE(2u32); | |
25598 | impl ::core::marker::Copy for CERT_REQUEST_OUT_TYPE {} | |
25599 | impl ::core::clone::Clone for CERT_REQUEST_OUT_TYPE { | |
25600 | fn clone(&self) -> Self { | |
25601 | *self | |
25602 | } | |
25603 | } | |
25604 | impl ::core::default::Default for CERT_REQUEST_OUT_TYPE { | |
25605 | fn default() -> Self { | |
25606 | Self(0) | |
25607 | } | |
25608 | } | |
25609 | impl ::windows::core::TypeKind for CERT_REQUEST_OUT_TYPE { | |
25610 | type TypeKind = ::windows::core::CopyType; | |
25611 | } | |
25612 | impl ::core::fmt::Debug for CERT_REQUEST_OUT_TYPE { | |
25613 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25614 | f.debug_tuple("CERT_REQUEST_OUT_TYPE").field(&self.0).finish() | |
25615 | } | |
25616 | } | |
25617 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25618 | #[repr(transparent)] | |
25619 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25620 | pub struct CERT_VIEW_COLUMN_INDEX(pub i32); | |
25621 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25622 | pub const CV_COLUMN_LOG_DEFAULT: CERT_VIEW_COLUMN_INDEX = CERT_VIEW_COLUMN_INDEX(-2i32); | |
25623 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25624 | pub const CV_COLUMN_LOG_FAILED_DEFAULT: CERT_VIEW_COLUMN_INDEX = CERT_VIEW_COLUMN_INDEX(-3i32); | |
25625 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25626 | pub const CV_COLUMN_QUEUE_DEFAULT: CERT_VIEW_COLUMN_INDEX = CERT_VIEW_COLUMN_INDEX(-1i32); | |
25627 | impl ::core::marker::Copy for CERT_VIEW_COLUMN_INDEX {} | |
25628 | impl ::core::clone::Clone for CERT_VIEW_COLUMN_INDEX { | |
25629 | fn clone(&self) -> Self { | |
25630 | *self | |
25631 | } | |
25632 | } | |
25633 | impl ::core::default::Default for CERT_VIEW_COLUMN_INDEX { | |
25634 | fn default() -> Self { | |
25635 | Self(0) | |
25636 | } | |
25637 | } | |
25638 | impl ::windows::core::TypeKind for CERT_VIEW_COLUMN_INDEX { | |
25639 | type TypeKind = ::windows::core::CopyType; | |
25640 | } | |
25641 | impl ::core::fmt::Debug for CERT_VIEW_COLUMN_INDEX { | |
25642 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25643 | f.debug_tuple("CERT_VIEW_COLUMN_INDEX").field(&self.0).finish() | |
25644 | } | |
25645 | } | |
25646 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25647 | #[repr(transparent)] | |
25648 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25649 | pub struct CERT_VIEW_SEEK_OPERATOR_FLAGS(pub u32); | |
25650 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25651 | pub const CVR_SEEK_EQ: CERT_VIEW_SEEK_OPERATOR_FLAGS = CERT_VIEW_SEEK_OPERATOR_FLAGS(1u32); | |
25652 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25653 | pub const CVR_SEEK_LE: CERT_VIEW_SEEK_OPERATOR_FLAGS = CERT_VIEW_SEEK_OPERATOR_FLAGS(4u32); | |
25654 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25655 | pub const CVR_SEEK_LT: CERT_VIEW_SEEK_OPERATOR_FLAGS = CERT_VIEW_SEEK_OPERATOR_FLAGS(2u32); | |
25656 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25657 | pub const CVR_SEEK_GE: CERT_VIEW_SEEK_OPERATOR_FLAGS = CERT_VIEW_SEEK_OPERATOR_FLAGS(8u32); | |
25658 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25659 | pub const CVR_SEEK_GT: CERT_VIEW_SEEK_OPERATOR_FLAGS = CERT_VIEW_SEEK_OPERATOR_FLAGS(16u32); | |
25660 | impl ::core::marker::Copy for CERT_VIEW_SEEK_OPERATOR_FLAGS {} | |
25661 | impl ::core::clone::Clone for CERT_VIEW_SEEK_OPERATOR_FLAGS { | |
25662 | fn clone(&self) -> Self { | |
25663 | *self | |
25664 | } | |
25665 | } | |
25666 | impl ::core::default::Default for CERT_VIEW_SEEK_OPERATOR_FLAGS { | |
25667 | fn default() -> Self { | |
25668 | Self(0) | |
25669 | } | |
25670 | } | |
25671 | impl ::windows::core::TypeKind for CERT_VIEW_SEEK_OPERATOR_FLAGS { | |
25672 | type TypeKind = ::windows::core::CopyType; | |
25673 | } | |
25674 | impl ::core::fmt::Debug for CERT_VIEW_SEEK_OPERATOR_FLAGS { | |
25675 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25676 | f.debug_tuple("CERT_VIEW_SEEK_OPERATOR_FLAGS").field(&self.0).finish() | |
25677 | } | |
25678 | } | |
25679 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25680 | #[repr(transparent)] | |
25681 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25682 | pub struct CRLRevocationReason(pub i32); | |
25683 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25684 | pub const XCN_CRL_REASON_UNSPECIFIED: CRLRevocationReason = CRLRevocationReason(0i32); | |
25685 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25686 | pub const XCN_CRL_REASON_KEY_COMPROMISE: CRLRevocationReason = CRLRevocationReason(1i32); | |
25687 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25688 | pub const XCN_CRL_REASON_CA_COMPROMISE: CRLRevocationReason = CRLRevocationReason(2i32); | |
25689 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25690 | pub const XCN_CRL_REASON_AFFILIATION_CHANGED: CRLRevocationReason = CRLRevocationReason(3i32); | |
25691 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25692 | pub const XCN_CRL_REASON_SUPERSEDED: CRLRevocationReason = CRLRevocationReason(4i32); | |
25693 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25694 | pub const XCN_CRL_REASON_CESSATION_OF_OPERATION: CRLRevocationReason = CRLRevocationReason(5i32); | |
25695 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25696 | pub const XCN_CRL_REASON_CERTIFICATE_HOLD: CRLRevocationReason = CRLRevocationReason(6i32); | |
25697 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25698 | pub const XCN_CRL_REASON_REMOVE_FROM_CRL: CRLRevocationReason = CRLRevocationReason(8i32); | |
25699 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25700 | pub const XCN_CRL_REASON_PRIVILEGE_WITHDRAWN: CRLRevocationReason = CRLRevocationReason(9i32); | |
25701 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25702 | pub const XCN_CRL_REASON_AA_COMPROMISE: CRLRevocationReason = CRLRevocationReason(10i32); | |
25703 | impl ::core::marker::Copy for CRLRevocationReason {} | |
25704 | impl ::core::clone::Clone for CRLRevocationReason { | |
25705 | fn clone(&self) -> Self { | |
25706 | *self | |
25707 | } | |
25708 | } | |
25709 | impl ::core::default::Default for CRLRevocationReason { | |
25710 | fn default() -> Self { | |
25711 | Self(0) | |
25712 | } | |
25713 | } | |
25714 | impl ::windows::core::TypeKind for CRLRevocationReason { | |
25715 | type TypeKind = ::windows::core::CopyType; | |
25716 | } | |
25717 | impl ::core::fmt::Debug for CRLRevocationReason { | |
25718 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25719 | f.debug_tuple("CRLRevocationReason").field(&self.0).finish() | |
25720 | } | |
25721 | } | |
25722 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25723 | #[repr(transparent)] | |
25724 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25725 | pub struct CR_DISP(pub u32); | |
25726 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25727 | pub const CR_DISP_DENIED: CR_DISP = CR_DISP(2u32); | |
25728 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25729 | pub const CR_DISP_ERROR: CR_DISP = CR_DISP(1u32); | |
25730 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25731 | pub const CR_DISP_INCOMPLETE: CR_DISP = CR_DISP(0u32); | |
25732 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25733 | pub const CR_DISP_ISSUED: CR_DISP = CR_DISP(3u32); | |
25734 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25735 | pub const CR_DISP_ISSUED_OUT_OF_BAND: CR_DISP = CR_DISP(4u32); | |
25736 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25737 | pub const CR_DISP_UNDER_SUBMISSION: CR_DISP = CR_DISP(5u32); | |
25738 | impl ::core::marker::Copy for CR_DISP {} | |
25739 | impl ::core::clone::Clone for CR_DISP { | |
25740 | fn clone(&self) -> Self { | |
25741 | *self | |
25742 | } | |
25743 | } | |
25744 | impl ::core::default::Default for CR_DISP { | |
25745 | fn default() -> Self { | |
25746 | Self(0) | |
25747 | } | |
25748 | } | |
25749 | impl ::windows::core::TypeKind for CR_DISP { | |
25750 | type TypeKind = ::windows::core::CopyType; | |
25751 | } | |
25752 | impl ::core::fmt::Debug for CR_DISP { | |
25753 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25754 | f.debug_tuple("CR_DISP").field(&self.0).finish() | |
25755 | } | |
25756 | } | |
25757 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25758 | #[repr(transparent)] | |
25759 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25760 | pub struct CSBACKUP_TYPE(pub u32); | |
25761 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25762 | pub const CSBACKUP_TYPE_FULL: CSBACKUP_TYPE = CSBACKUP_TYPE(1u32); | |
25763 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25764 | pub const CSBACKUP_TYPE_LOGS_ONLY: CSBACKUP_TYPE = CSBACKUP_TYPE(2u32); | |
25765 | impl ::core::marker::Copy for CSBACKUP_TYPE {} | |
25766 | impl ::core::clone::Clone for CSBACKUP_TYPE { | |
25767 | fn clone(&self) -> Self { | |
25768 | *self | |
25769 | } | |
25770 | } | |
25771 | impl ::core::default::Default for CSBACKUP_TYPE { | |
25772 | fn default() -> Self { | |
25773 | Self(0) | |
25774 | } | |
25775 | } | |
25776 | impl ::windows::core::TypeKind for CSBACKUP_TYPE { | |
25777 | type TypeKind = ::windows::core::CopyType; | |
25778 | } | |
25779 | impl ::core::fmt::Debug for CSBACKUP_TYPE { | |
25780 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25781 | f.debug_tuple("CSBACKUP_TYPE").field(&self.0).finish() | |
25782 | } | |
25783 | } | |
25784 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25785 | #[repr(transparent)] | |
25786 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25787 | pub struct CVRC_COLUMN(pub u32); | |
25788 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25789 | pub const CVRC_COLUMN_SCHEMA: CVRC_COLUMN = CVRC_COLUMN(0u32); | |
25790 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25791 | pub const CVRC_COLUMN_RESULT: CVRC_COLUMN = CVRC_COLUMN(1u32); | |
25792 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25793 | pub const CVRC_COLUMN_VALUE: CVRC_COLUMN = CVRC_COLUMN(2u32); | |
25794 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25795 | pub const CVRC_COLUMN_MASK: CVRC_COLUMN = CVRC_COLUMN(4095u32); | |
25796 | impl ::core::marker::Copy for CVRC_COLUMN {} | |
25797 | impl ::core::clone::Clone for CVRC_COLUMN { | |
25798 | fn clone(&self) -> Self { | |
25799 | *self | |
25800 | } | |
25801 | } | |
25802 | impl ::core::default::Default for CVRC_COLUMN { | |
25803 | fn default() -> Self { | |
25804 | Self(0) | |
25805 | } | |
25806 | } | |
25807 | impl ::windows::core::TypeKind for CVRC_COLUMN { | |
25808 | type TypeKind = ::windows::core::CopyType; | |
25809 | } | |
25810 | impl ::core::fmt::Debug for CVRC_COLUMN { | |
25811 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25812 | f.debug_tuple("CVRC_COLUMN").field(&self.0).finish() | |
25813 | } | |
25814 | } | |
25815 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25816 | #[repr(transparent)] | |
25817 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25818 | pub struct CVRC_TABLE(pub u32); | |
25819 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25820 | pub const CVRC_TABLE_ATTRIBUTES: CVRC_TABLE = CVRC_TABLE(16384u32); | |
25821 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25822 | pub const CVRC_TABLE_CRL: CVRC_TABLE = CVRC_TABLE(20480u32); | |
25823 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25824 | pub const CVRC_TABLE_EXTENSIONS: CVRC_TABLE = CVRC_TABLE(12288u32); | |
25825 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25826 | pub const CVRC_TABLE_REQCERT: CVRC_TABLE = CVRC_TABLE(0u32); | |
25827 | impl ::core::marker::Copy for CVRC_TABLE {} | |
25828 | impl ::core::clone::Clone for CVRC_TABLE { | |
25829 | fn clone(&self) -> Self { | |
25830 | *self | |
25831 | } | |
25832 | } | |
25833 | impl ::core::default::Default for CVRC_TABLE { | |
25834 | fn default() -> Self { | |
25835 | Self(0) | |
25836 | } | |
25837 | } | |
25838 | impl ::windows::core::TypeKind for CVRC_TABLE { | |
25839 | type TypeKind = ::windows::core::CopyType; | |
25840 | } | |
25841 | impl ::core::fmt::Debug for CVRC_TABLE { | |
25842 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25843 | f.debug_tuple("CVRC_TABLE").field(&self.0).finish() | |
25844 | } | |
25845 | } | |
25846 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25847 | #[repr(transparent)] | |
25848 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25849 | pub struct CommitTemplateFlags(pub i32); | |
25850 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25851 | pub const CommitFlagSaveTemplateGenerateOID: CommitTemplateFlags = CommitTemplateFlags(1i32); | |
25852 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25853 | pub const CommitFlagSaveTemplateUseCurrentOID: CommitTemplateFlags = CommitTemplateFlags(2i32); | |
25854 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25855 | pub const CommitFlagSaveTemplateOverwrite: CommitTemplateFlags = CommitTemplateFlags(3i32); | |
25856 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25857 | pub const CommitFlagDeleteTemplate: CommitTemplateFlags = CommitTemplateFlags(4i32); | |
25858 | impl ::core::marker::Copy for CommitTemplateFlags {} | |
25859 | impl ::core::clone::Clone for CommitTemplateFlags { | |
25860 | fn clone(&self) -> Self { | |
25861 | *self | |
25862 | } | |
25863 | } | |
25864 | impl ::core::default::Default for CommitTemplateFlags { | |
25865 | fn default() -> Self { | |
25866 | Self(0) | |
25867 | } | |
25868 | } | |
25869 | impl ::windows::core::TypeKind for CommitTemplateFlags { | |
25870 | type TypeKind = ::windows::core::CopyType; | |
25871 | } | |
25872 | impl ::core::fmt::Debug for CommitTemplateFlags { | |
25873 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25874 | f.debug_tuple("CommitTemplateFlags").field(&self.0).finish() | |
25875 | } | |
25876 | } | |
25877 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25878 | #[repr(transparent)] | |
25879 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25880 | pub struct DelayRetryAction(pub i32); | |
25881 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25882 | pub const DelayRetryUnknown: DelayRetryAction = DelayRetryAction(0i32); | |
25883 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25884 | pub const DelayRetryNone: DelayRetryAction = DelayRetryAction(1i32); | |
25885 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25886 | pub const DelayRetryShort: DelayRetryAction = DelayRetryAction(2i32); | |
25887 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25888 | pub const DelayRetryLong: DelayRetryAction = DelayRetryAction(3i32); | |
25889 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25890 | pub const DelayRetrySuccess: DelayRetryAction = DelayRetryAction(4i32); | |
25891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25892 | pub const DelayRetryPastSuccess: DelayRetryAction = DelayRetryAction(5i32); | |
25893 | impl ::core::marker::Copy for DelayRetryAction {} | |
25894 | impl ::core::clone::Clone for DelayRetryAction { | |
25895 | fn clone(&self) -> Self { | |
25896 | *self | |
25897 | } | |
25898 | } | |
25899 | impl ::core::default::Default for DelayRetryAction { | |
25900 | fn default() -> Self { | |
25901 | Self(0) | |
25902 | } | |
25903 | } | |
25904 | impl ::windows::core::TypeKind for DelayRetryAction { | |
25905 | type TypeKind = ::windows::core::CopyType; | |
25906 | } | |
25907 | impl ::core::fmt::Debug for DelayRetryAction { | |
25908 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25909 | f.debug_tuple("DelayRetryAction").field(&self.0).finish() | |
25910 | } | |
25911 | } | |
25912 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25913 | #[repr(transparent)] | |
25914 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25915 | pub struct ENUM_CATYPES(pub i32); | |
25916 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25917 | pub const ENUM_ENTERPRISE_ROOTCA: ENUM_CATYPES = ENUM_CATYPES(0i32); | |
25918 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25919 | pub const ENUM_ENTERPRISE_SUBCA: ENUM_CATYPES = ENUM_CATYPES(1i32); | |
25920 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25921 | pub const ENUM_STANDALONE_ROOTCA: ENUM_CATYPES = ENUM_CATYPES(3i32); | |
25922 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25923 | pub const ENUM_STANDALONE_SUBCA: ENUM_CATYPES = ENUM_CATYPES(4i32); | |
25924 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25925 | pub const ENUM_UNKNOWN_CA: ENUM_CATYPES = ENUM_CATYPES(5i32); | |
25926 | impl ::core::marker::Copy for ENUM_CATYPES {} | |
25927 | impl ::core::clone::Clone for ENUM_CATYPES { | |
25928 | fn clone(&self) -> Self { | |
25929 | *self | |
25930 | } | |
25931 | } | |
25932 | impl ::core::default::Default for ENUM_CATYPES { | |
25933 | fn default() -> Self { | |
25934 | Self(0) | |
25935 | } | |
25936 | } | |
25937 | impl ::windows::core::TypeKind for ENUM_CATYPES { | |
25938 | type TypeKind = ::windows::core::CopyType; | |
25939 | } | |
25940 | impl ::core::fmt::Debug for ENUM_CATYPES { | |
25941 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25942 | f.debug_tuple("ENUM_CATYPES").field(&self.0).finish() | |
25943 | } | |
25944 | } | |
25945 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25946 | #[repr(transparent)] | |
25947 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25948 | pub struct ENUM_CERT_COLUMN_VALUE_FLAGS(pub u32); | |
25949 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25950 | pub const CV_OUT_BASE64: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(1u32); | |
25951 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25952 | pub const CV_OUT_BASE64HEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(0u32); | |
25953 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25954 | pub const CV_OUT_BASE64REQUESTHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(3u32); | |
25955 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25956 | pub const CV_OUT_BASE64X509CRLHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(9u32); | |
25957 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25958 | pub const CV_OUT_BINARY: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(2u32); | |
25959 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25960 | pub const CV_OUT_HEX: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(4u32); | |
25961 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25962 | pub const CV_OUT_HEXADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(10u32); | |
25963 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25964 | pub const CV_OUT_HEXASCII: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(5u32); | |
25965 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25966 | pub const CV_OUT_HEXASCIIADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = ENUM_CERT_COLUMN_VALUE_FLAGS(11u32); | |
25967 | impl ::core::marker::Copy for ENUM_CERT_COLUMN_VALUE_FLAGS {} | |
25968 | impl ::core::clone::Clone for ENUM_CERT_COLUMN_VALUE_FLAGS { | |
25969 | fn clone(&self) -> Self { | |
25970 | *self | |
25971 | } | |
25972 | } | |
25973 | impl ::core::default::Default for ENUM_CERT_COLUMN_VALUE_FLAGS { | |
25974 | fn default() -> Self { | |
25975 | Self(0) | |
25976 | } | |
25977 | } | |
25978 | impl ::windows::core::TypeKind for ENUM_CERT_COLUMN_VALUE_FLAGS { | |
25979 | type TypeKind = ::windows::core::CopyType; | |
25980 | } | |
25981 | impl ::core::fmt::Debug for ENUM_CERT_COLUMN_VALUE_FLAGS { | |
25982 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25983 | f.debug_tuple("ENUM_CERT_COLUMN_VALUE_FLAGS").field(&self.0).finish() | |
25984 | } | |
25985 | } | |
25986 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25987 | #[repr(transparent)] | |
25988 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
25989 | pub struct EncodingType(pub i32); | |
25990 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25991 | pub const XCN_CRYPT_STRING_BASE64HEADER: EncodingType = EncodingType(0i32); | |
25992 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25993 | pub const XCN_CRYPT_STRING_BASE64: EncodingType = EncodingType(1i32); | |
25994 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25995 | pub const XCN_CRYPT_STRING_BINARY: EncodingType = EncodingType(2i32); | |
25996 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25997 | pub const XCN_CRYPT_STRING_BASE64REQUESTHEADER: EncodingType = EncodingType(3i32); | |
25998 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
25999 | pub const XCN_CRYPT_STRING_HEX: EncodingType = EncodingType(4i32); | |
26000 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26001 | pub const XCN_CRYPT_STRING_HEXASCII: EncodingType = EncodingType(5i32); | |
26002 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26003 | pub const XCN_CRYPT_STRING_BASE64_ANY: EncodingType = EncodingType(6i32); | |
26004 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26005 | pub const XCN_CRYPT_STRING_ANY: EncodingType = EncodingType(7i32); | |
26006 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26007 | pub const XCN_CRYPT_STRING_HEX_ANY: EncodingType = EncodingType(8i32); | |
26008 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26009 | pub const XCN_CRYPT_STRING_BASE64X509CRLHEADER: EncodingType = EncodingType(9i32); | |
26010 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26011 | pub const XCN_CRYPT_STRING_HEXADDR: EncodingType = EncodingType(10i32); | |
26012 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26013 | pub const XCN_CRYPT_STRING_HEXASCIIADDR: EncodingType = EncodingType(11i32); | |
26014 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26015 | pub const XCN_CRYPT_STRING_HEXRAW: EncodingType = EncodingType(12i32); | |
26016 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26017 | pub const XCN_CRYPT_STRING_BASE64URI: EncodingType = EncodingType(13i32); | |
26018 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26019 | pub const XCN_CRYPT_STRING_ENCODEMASK: EncodingType = EncodingType(255i32); | |
26020 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26021 | pub const XCN_CRYPT_STRING_CHAIN: EncodingType = EncodingType(256i32); | |
26022 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26023 | pub const XCN_CRYPT_STRING_TEXT: EncodingType = EncodingType(512i32); | |
26024 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26025 | pub const XCN_CRYPT_STRING_PERCENTESCAPE: EncodingType = EncodingType(134217728i32); | |
26026 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26027 | pub const XCN_CRYPT_STRING_HASHDATA: EncodingType = EncodingType(268435456i32); | |
26028 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26029 | pub const XCN_CRYPT_STRING_STRICT: EncodingType = EncodingType(536870912i32); | |
26030 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26031 | pub const XCN_CRYPT_STRING_NOCRLF: EncodingType = EncodingType(1073741824i32); | |
26032 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26033 | pub const XCN_CRYPT_STRING_NOCR: EncodingType = EncodingType(-2147483648i32); | |
26034 | impl ::core::marker::Copy for EncodingType {} | |
26035 | impl ::core::clone::Clone for EncodingType { | |
26036 | fn clone(&self) -> Self { | |
26037 | *self | |
26038 | } | |
26039 | } | |
26040 | impl ::core::default::Default for EncodingType { | |
26041 | fn default() -> Self { | |
26042 | Self(0) | |
26043 | } | |
26044 | } | |
26045 | impl ::windows::core::TypeKind for EncodingType { | |
26046 | type TypeKind = ::windows::core::CopyType; | |
26047 | } | |
26048 | impl ::core::fmt::Debug for EncodingType { | |
26049 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26050 | f.debug_tuple("EncodingType").field(&self.0).finish() | |
26051 | } | |
26052 | } | |
26053 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26054 | #[repr(transparent)] | |
26055 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26056 | pub struct EnrollmentCAProperty(pub i32); | |
26057 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26058 | pub const CAPropCommonName: EnrollmentCAProperty = EnrollmentCAProperty(1i32); | |
26059 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26060 | pub const CAPropDistinguishedName: EnrollmentCAProperty = EnrollmentCAProperty(2i32); | |
26061 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26062 | pub const CAPropSanitizedName: EnrollmentCAProperty = EnrollmentCAProperty(3i32); | |
26063 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26064 | pub const CAPropSanitizedShortName: EnrollmentCAProperty = EnrollmentCAProperty(4i32); | |
26065 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26066 | pub const CAPropDNSName: EnrollmentCAProperty = EnrollmentCAProperty(5i32); | |
26067 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26068 | pub const CAPropCertificateTypes: EnrollmentCAProperty = EnrollmentCAProperty(6i32); | |
26069 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26070 | pub const CAPropCertificate: EnrollmentCAProperty = EnrollmentCAProperty(7i32); | |
26071 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26072 | pub const CAPropDescription: EnrollmentCAProperty = EnrollmentCAProperty(8i32); | |
26073 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26074 | pub const CAPropWebServers: EnrollmentCAProperty = EnrollmentCAProperty(9i32); | |
26075 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26076 | pub const CAPropSiteName: EnrollmentCAProperty = EnrollmentCAProperty(10i32); | |
26077 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26078 | pub const CAPropSecurity: EnrollmentCAProperty = EnrollmentCAProperty(11i32); | |
26079 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26080 | pub const CAPropRenewalOnly: EnrollmentCAProperty = EnrollmentCAProperty(12i32); | |
26081 | impl ::core::marker::Copy for EnrollmentCAProperty {} | |
26082 | impl ::core::clone::Clone for EnrollmentCAProperty { | |
26083 | fn clone(&self) -> Self { | |
26084 | *self | |
26085 | } | |
26086 | } | |
26087 | impl ::core::default::Default for EnrollmentCAProperty { | |
26088 | fn default() -> Self { | |
26089 | Self(0) | |
26090 | } | |
26091 | } | |
26092 | impl ::windows::core::TypeKind for EnrollmentCAProperty { | |
26093 | type TypeKind = ::windows::core::CopyType; | |
26094 | } | |
26095 | impl ::core::fmt::Debug for EnrollmentCAProperty { | |
26096 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26097 | f.debug_tuple("EnrollmentCAProperty").field(&self.0).finish() | |
26098 | } | |
26099 | } | |
26100 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26101 | #[repr(transparent)] | |
26102 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26103 | pub struct EnrollmentDisplayStatus(pub i32); | |
26104 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26105 | pub const DisplayNo: EnrollmentDisplayStatus = EnrollmentDisplayStatus(0i32); | |
26106 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26107 | pub const DisplayYes: EnrollmentDisplayStatus = EnrollmentDisplayStatus(1i32); | |
26108 | impl ::core::marker::Copy for EnrollmentDisplayStatus {} | |
26109 | impl ::core::clone::Clone for EnrollmentDisplayStatus { | |
26110 | fn clone(&self) -> Self { | |
26111 | *self | |
26112 | } | |
26113 | } | |
26114 | impl ::core::default::Default for EnrollmentDisplayStatus { | |
26115 | fn default() -> Self { | |
26116 | Self(0) | |
26117 | } | |
26118 | } | |
26119 | impl ::windows::core::TypeKind for EnrollmentDisplayStatus { | |
26120 | type TypeKind = ::windows::core::CopyType; | |
26121 | } | |
26122 | impl ::core::fmt::Debug for EnrollmentDisplayStatus { | |
26123 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26124 | f.debug_tuple("EnrollmentDisplayStatus").field(&self.0).finish() | |
26125 | } | |
26126 | } | |
26127 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26128 | #[repr(transparent)] | |
26129 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26130 | pub struct EnrollmentEnrollStatus(pub i32); | |
26131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26132 | pub const Enrolled: EnrollmentEnrollStatus = EnrollmentEnrollStatus(1i32); | |
26133 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26134 | pub const EnrollPended: EnrollmentEnrollStatus = EnrollmentEnrollStatus(2i32); | |
26135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26136 | pub const EnrollUIDeferredEnrollmentRequired: EnrollmentEnrollStatus = EnrollmentEnrollStatus(4i32); | |
26137 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26138 | pub const EnrollError: EnrollmentEnrollStatus = EnrollmentEnrollStatus(16i32); | |
26139 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26140 | pub const EnrollUnknown: EnrollmentEnrollStatus = EnrollmentEnrollStatus(32i32); | |
26141 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26142 | pub const EnrollSkipped: EnrollmentEnrollStatus = EnrollmentEnrollStatus(64i32); | |
26143 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26144 | pub const EnrollDenied: EnrollmentEnrollStatus = EnrollmentEnrollStatus(256i32); | |
26145 | impl ::core::marker::Copy for EnrollmentEnrollStatus {} | |
26146 | impl ::core::clone::Clone for EnrollmentEnrollStatus { | |
26147 | fn clone(&self) -> Self { | |
26148 | *self | |
26149 | } | |
26150 | } | |
26151 | impl ::core::default::Default for EnrollmentEnrollStatus { | |
26152 | fn default() -> Self { | |
26153 | Self(0) | |
26154 | } | |
26155 | } | |
26156 | impl ::windows::core::TypeKind for EnrollmentEnrollStatus { | |
26157 | type TypeKind = ::windows::core::CopyType; | |
26158 | } | |
26159 | impl ::core::fmt::Debug for EnrollmentEnrollStatus { | |
26160 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26161 | f.debug_tuple("EnrollmentEnrollStatus").field(&self.0).finish() | |
26162 | } | |
26163 | } | |
26164 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26165 | #[repr(transparent)] | |
26166 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26167 | pub struct EnrollmentPolicyFlags(pub i32); | |
26168 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26169 | pub const DisableGroupPolicyList: EnrollmentPolicyFlags = EnrollmentPolicyFlags(2i32); | |
26170 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26171 | pub const DisableUserServerList: EnrollmentPolicyFlags = EnrollmentPolicyFlags(4i32); | |
26172 | impl ::core::marker::Copy for EnrollmentPolicyFlags {} | |
26173 | impl ::core::clone::Clone for EnrollmentPolicyFlags { | |
26174 | fn clone(&self) -> Self { | |
26175 | *self | |
26176 | } | |
26177 | } | |
26178 | impl ::core::default::Default for EnrollmentPolicyFlags { | |
26179 | fn default() -> Self { | |
26180 | Self(0) | |
26181 | } | |
26182 | } | |
26183 | impl ::windows::core::TypeKind for EnrollmentPolicyFlags { | |
26184 | type TypeKind = ::windows::core::CopyType; | |
26185 | } | |
26186 | impl ::core::fmt::Debug for EnrollmentPolicyFlags { | |
26187 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26188 | f.debug_tuple("EnrollmentPolicyFlags").field(&self.0).finish() | |
26189 | } | |
26190 | } | |
26191 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26192 | #[repr(transparent)] | |
26193 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26194 | pub struct EnrollmentPolicyServerPropertyFlags(pub i32); | |
26195 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26196 | pub const DefaultNone: EnrollmentPolicyServerPropertyFlags = EnrollmentPolicyServerPropertyFlags(0i32); | |
26197 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26198 | pub const DefaultPolicyServer: EnrollmentPolicyServerPropertyFlags = EnrollmentPolicyServerPropertyFlags(1i32); | |
26199 | impl ::core::marker::Copy for EnrollmentPolicyServerPropertyFlags {} | |
26200 | impl ::core::clone::Clone for EnrollmentPolicyServerPropertyFlags { | |
26201 | fn clone(&self) -> Self { | |
26202 | *self | |
26203 | } | |
26204 | } | |
26205 | impl ::core::default::Default for EnrollmentPolicyServerPropertyFlags { | |
26206 | fn default() -> Self { | |
26207 | Self(0) | |
26208 | } | |
26209 | } | |
26210 | impl ::windows::core::TypeKind for EnrollmentPolicyServerPropertyFlags { | |
26211 | type TypeKind = ::windows::core::CopyType; | |
26212 | } | |
26213 | impl ::core::fmt::Debug for EnrollmentPolicyServerPropertyFlags { | |
26214 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26215 | f.debug_tuple("EnrollmentPolicyServerPropertyFlags").field(&self.0).finish() | |
26216 | } | |
26217 | } | |
26218 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26219 | #[repr(transparent)] | |
26220 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26221 | pub struct EnrollmentSelectionStatus(pub i32); | |
26222 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26223 | pub const SelectedNo: EnrollmentSelectionStatus = EnrollmentSelectionStatus(0i32); | |
26224 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26225 | pub const SelectedYes: EnrollmentSelectionStatus = EnrollmentSelectionStatus(1i32); | |
26226 | impl ::core::marker::Copy for EnrollmentSelectionStatus {} | |
26227 | impl ::core::clone::Clone for EnrollmentSelectionStatus { | |
26228 | fn clone(&self) -> Self { | |
26229 | *self | |
26230 | } | |
26231 | } | |
26232 | impl ::core::default::Default for EnrollmentSelectionStatus { | |
26233 | fn default() -> Self { | |
26234 | Self(0) | |
26235 | } | |
26236 | } | |
26237 | impl ::windows::core::TypeKind for EnrollmentSelectionStatus { | |
26238 | type TypeKind = ::windows::core::CopyType; | |
26239 | } | |
26240 | impl ::core::fmt::Debug for EnrollmentSelectionStatus { | |
26241 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26242 | f.debug_tuple("EnrollmentSelectionStatus").field(&self.0).finish() | |
26243 | } | |
26244 | } | |
26245 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26246 | #[repr(transparent)] | |
26247 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26248 | pub struct EnrollmentTemplateProperty(pub i32); | |
26249 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26250 | pub const TemplatePropCommonName: EnrollmentTemplateProperty = EnrollmentTemplateProperty(1i32); | |
26251 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26252 | pub const TemplatePropFriendlyName: EnrollmentTemplateProperty = EnrollmentTemplateProperty(2i32); | |
26253 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26254 | pub const TemplatePropEKUs: EnrollmentTemplateProperty = EnrollmentTemplateProperty(3i32); | |
26255 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26256 | pub const TemplatePropCryptoProviders: EnrollmentTemplateProperty = EnrollmentTemplateProperty(4i32); | |
26257 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26258 | pub const TemplatePropMajorRevision: EnrollmentTemplateProperty = EnrollmentTemplateProperty(5i32); | |
26259 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26260 | pub const TemplatePropDescription: EnrollmentTemplateProperty = EnrollmentTemplateProperty(6i32); | |
26261 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26262 | pub const TemplatePropKeySpec: EnrollmentTemplateProperty = EnrollmentTemplateProperty(7i32); | |
26263 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26264 | pub const TemplatePropSchemaVersion: EnrollmentTemplateProperty = EnrollmentTemplateProperty(8i32); | |
26265 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26266 | pub const TemplatePropMinorRevision: EnrollmentTemplateProperty = EnrollmentTemplateProperty(9i32); | |
26267 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26268 | pub const TemplatePropRASignatureCount: EnrollmentTemplateProperty = EnrollmentTemplateProperty(10i32); | |
26269 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26270 | pub const TemplatePropMinimumKeySize: EnrollmentTemplateProperty = EnrollmentTemplateProperty(11i32); | |
26271 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26272 | pub const TemplatePropOID: EnrollmentTemplateProperty = EnrollmentTemplateProperty(12i32); | |
26273 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26274 | pub const TemplatePropSupersede: EnrollmentTemplateProperty = EnrollmentTemplateProperty(13i32); | |
26275 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26276 | pub const TemplatePropRACertificatePolicies: EnrollmentTemplateProperty = EnrollmentTemplateProperty(14i32); | |
26277 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26278 | pub const TemplatePropRAEKUs: EnrollmentTemplateProperty = EnrollmentTemplateProperty(15i32); | |
26279 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26280 | pub const TemplatePropCertificatePolicies: EnrollmentTemplateProperty = EnrollmentTemplateProperty(16i32); | |
26281 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26282 | pub const TemplatePropV1ApplicationPolicy: EnrollmentTemplateProperty = EnrollmentTemplateProperty(17i32); | |
26283 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26284 | pub const TemplatePropAsymmetricAlgorithm: EnrollmentTemplateProperty = EnrollmentTemplateProperty(18i32); | |
26285 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26286 | pub const TemplatePropKeySecurityDescriptor: EnrollmentTemplateProperty = EnrollmentTemplateProperty(19i32); | |
26287 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26288 | pub const TemplatePropSymmetricAlgorithm: EnrollmentTemplateProperty = EnrollmentTemplateProperty(20i32); | |
26289 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26290 | pub const TemplatePropSymmetricKeyLength: EnrollmentTemplateProperty = EnrollmentTemplateProperty(21i32); | |
26291 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26292 | pub const TemplatePropHashAlgorithm: EnrollmentTemplateProperty = EnrollmentTemplateProperty(22i32); | |
26293 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26294 | pub const TemplatePropKeyUsage: EnrollmentTemplateProperty = EnrollmentTemplateProperty(23i32); | |
26295 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26296 | pub const TemplatePropEnrollmentFlags: EnrollmentTemplateProperty = EnrollmentTemplateProperty(24i32); | |
26297 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26298 | pub const TemplatePropSubjectNameFlags: EnrollmentTemplateProperty = EnrollmentTemplateProperty(25i32); | |
26299 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26300 | pub const TemplatePropPrivateKeyFlags: EnrollmentTemplateProperty = EnrollmentTemplateProperty(26i32); | |
26301 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26302 | pub const TemplatePropGeneralFlags: EnrollmentTemplateProperty = EnrollmentTemplateProperty(27i32); | |
26303 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26304 | pub const TemplatePropSecurityDescriptor: EnrollmentTemplateProperty = EnrollmentTemplateProperty(28i32); | |
26305 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26306 | pub const TemplatePropExtensions: EnrollmentTemplateProperty = EnrollmentTemplateProperty(29i32); | |
26307 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26308 | pub const TemplatePropValidityPeriod: EnrollmentTemplateProperty = EnrollmentTemplateProperty(30i32); | |
26309 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26310 | pub const TemplatePropRenewalPeriod: EnrollmentTemplateProperty = EnrollmentTemplateProperty(31i32); | |
26311 | impl ::core::marker::Copy for EnrollmentTemplateProperty {} | |
26312 | impl ::core::clone::Clone for EnrollmentTemplateProperty { | |
26313 | fn clone(&self) -> Self { | |
26314 | *self | |
26315 | } | |
26316 | } | |
26317 | impl ::core::default::Default for EnrollmentTemplateProperty { | |
26318 | fn default() -> Self { | |
26319 | Self(0) | |
26320 | } | |
26321 | } | |
26322 | impl ::windows::core::TypeKind for EnrollmentTemplateProperty { | |
26323 | type TypeKind = ::windows::core::CopyType; | |
26324 | } | |
26325 | impl ::core::fmt::Debug for EnrollmentTemplateProperty { | |
26326 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26327 | f.debug_tuple("EnrollmentTemplateProperty").field(&self.0).finish() | |
26328 | } | |
26329 | } | |
26330 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26331 | #[repr(transparent)] | |
26332 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26333 | pub struct FULL_RESPONSE_PROPERTY_ID(pub u32); | |
26334 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26335 | pub const FR_PROP_NONE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(0u32); | |
26336 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26337 | pub const FR_PROP_FULLRESPONSE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(1u32); | |
26338 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26339 | pub const FR_PROP_STATUSINFOCOUNT: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(2u32); | |
26340 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26341 | pub const FR_PROP_BODYPARTSTRING: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(3u32); | |
26342 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26343 | pub const FR_PROP_STATUS: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(4u32); | |
26344 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26345 | pub const FR_PROP_STATUSSTRING: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(5u32); | |
26346 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26347 | pub const FR_PROP_OTHERINFOCHOICE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(6u32); | |
26348 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26349 | pub const FR_PROP_FAILINFO: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(7u32); | |
26350 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26351 | pub const FR_PROP_PENDINFOTOKEN: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(8u32); | |
26352 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26353 | pub const FR_PROP_PENDINFOTIME: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(9u32); | |
26354 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26355 | pub const FR_PROP_ISSUEDCERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(10u32); | |
26356 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26357 | pub const FR_PROP_ISSUEDCERTIFICATE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(11u32); | |
26358 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26359 | pub const FR_PROP_ISSUEDCERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(12u32); | |
26360 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26361 | pub const FR_PROP_ISSUEDCERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(13u32); | |
26362 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26363 | pub const FR_PROP_ENCRYPTEDKEYHASH: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(14u32); | |
26364 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26365 | pub const FR_PROP_FULLRESPONSENOPKCS7: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(15u32); | |
26366 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26367 | pub const FR_PROP_CAEXCHANGECERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(16u32); | |
26368 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26369 | pub const FR_PROP_CAEXCHANGECERTIFICATE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(17u32); | |
26370 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26371 | pub const FR_PROP_CAEXCHANGECERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(18u32); | |
26372 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26373 | pub const FR_PROP_CAEXCHANGECERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(19u32); | |
26374 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26375 | pub const FR_PROP_ATTESTATIONCHALLENGE: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(20u32); | |
26376 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26377 | pub const FR_PROP_ATTESTATIONPROVIDERNAME: FULL_RESPONSE_PROPERTY_ID = FULL_RESPONSE_PROPERTY_ID(21u32); | |
26378 | impl ::core::marker::Copy for FULL_RESPONSE_PROPERTY_ID {} | |
26379 | impl ::core::clone::Clone for FULL_RESPONSE_PROPERTY_ID { | |
26380 | fn clone(&self) -> Self { | |
26381 | *self | |
26382 | } | |
26383 | } | |
26384 | impl ::core::default::Default for FULL_RESPONSE_PROPERTY_ID { | |
26385 | fn default() -> Self { | |
26386 | Self(0) | |
26387 | } | |
26388 | } | |
26389 | impl ::windows::core::TypeKind for FULL_RESPONSE_PROPERTY_ID { | |
26390 | type TypeKind = ::windows::core::CopyType; | |
26391 | } | |
26392 | impl ::core::fmt::Debug for FULL_RESPONSE_PROPERTY_ID { | |
26393 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26394 | f.debug_tuple("FULL_RESPONSE_PROPERTY_ID").field(&self.0).finish() | |
26395 | } | |
26396 | } | |
26397 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26398 | #[repr(transparent)] | |
26399 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26400 | pub struct ImportPFXFlags(pub i32); | |
26401 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26402 | pub const ImportNone: ImportPFXFlags = ImportPFXFlags(0i32); | |
26403 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26404 | pub const ImportMachineContext: ImportPFXFlags = ImportPFXFlags(1i32); | |
26405 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26406 | pub const ImportForceOverwrite: ImportPFXFlags = ImportPFXFlags(2i32); | |
26407 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26408 | pub const ImportSilent: ImportPFXFlags = ImportPFXFlags(4i32); | |
26409 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26410 | pub const ImportSaveProperties: ImportPFXFlags = ImportPFXFlags(8i32); | |
26411 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26412 | pub const ImportExportable: ImportPFXFlags = ImportPFXFlags(16i32); | |
26413 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26414 | pub const ImportExportableEncrypted: ImportPFXFlags = ImportPFXFlags(32i32); | |
26415 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26416 | pub const ImportNoUserProtected: ImportPFXFlags = ImportPFXFlags(64i32); | |
26417 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26418 | pub const ImportUserProtected: ImportPFXFlags = ImportPFXFlags(128i32); | |
26419 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26420 | pub const ImportUserProtectedHigh: ImportPFXFlags = ImportPFXFlags(256i32); | |
26421 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26422 | pub const ImportInstallCertificate: ImportPFXFlags = ImportPFXFlags(512i32); | |
26423 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26424 | pub const ImportInstallChain: ImportPFXFlags = ImportPFXFlags(1024i32); | |
26425 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26426 | pub const ImportInstallChainAndRoot: ImportPFXFlags = ImportPFXFlags(2048i32); | |
26427 | impl ::core::marker::Copy for ImportPFXFlags {} | |
26428 | impl ::core::clone::Clone for ImportPFXFlags { | |
26429 | fn clone(&self) -> Self { | |
26430 | *self | |
26431 | } | |
26432 | } | |
26433 | impl ::core::default::Default for ImportPFXFlags { | |
26434 | fn default() -> Self { | |
26435 | Self(0) | |
26436 | } | |
26437 | } | |
26438 | impl ::windows::core::TypeKind for ImportPFXFlags { | |
26439 | type TypeKind = ::windows::core::CopyType; | |
26440 | } | |
26441 | impl ::core::fmt::Debug for ImportPFXFlags { | |
26442 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26443 | f.debug_tuple("ImportPFXFlags").field(&self.0).finish() | |
26444 | } | |
26445 | } | |
26446 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26447 | #[repr(transparent)] | |
26448 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26449 | pub struct InnerRequestLevel(pub i32); | |
26450 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26451 | pub const LevelInnermost: InnerRequestLevel = InnerRequestLevel(0i32); | |
26452 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26453 | pub const LevelNext: InnerRequestLevel = InnerRequestLevel(1i32); | |
26454 | impl ::core::marker::Copy for InnerRequestLevel {} | |
26455 | impl ::core::clone::Clone for InnerRequestLevel { | |
26456 | fn clone(&self) -> Self { | |
26457 | *self | |
26458 | } | |
26459 | } | |
26460 | impl ::core::default::Default for InnerRequestLevel { | |
26461 | fn default() -> Self { | |
26462 | Self(0) | |
26463 | } | |
26464 | } | |
26465 | impl ::windows::core::TypeKind for InnerRequestLevel { | |
26466 | type TypeKind = ::windows::core::CopyType; | |
26467 | } | |
26468 | impl ::core::fmt::Debug for InnerRequestLevel { | |
26469 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26470 | f.debug_tuple("InnerRequestLevel").field(&self.0).finish() | |
26471 | } | |
26472 | } | |
26473 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26474 | #[repr(transparent)] | |
26475 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26476 | pub struct InstallResponseRestrictionFlags(pub i32); | |
26477 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26478 | pub const AllowNone: InstallResponseRestrictionFlags = InstallResponseRestrictionFlags(0i32); | |
26479 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26480 | pub const AllowNoOutstandingRequest: InstallResponseRestrictionFlags = InstallResponseRestrictionFlags(1i32); | |
26481 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26482 | pub const AllowUntrustedCertificate: InstallResponseRestrictionFlags = InstallResponseRestrictionFlags(2i32); | |
26483 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26484 | pub const AllowUntrustedRoot: InstallResponseRestrictionFlags = InstallResponseRestrictionFlags(4i32); | |
26485 | impl ::core::marker::Copy for InstallResponseRestrictionFlags {} | |
26486 | impl ::core::clone::Clone for InstallResponseRestrictionFlags { | |
26487 | fn clone(&self) -> Self { | |
26488 | *self | |
26489 | } | |
26490 | } | |
26491 | impl ::core::default::Default for InstallResponseRestrictionFlags { | |
26492 | fn default() -> Self { | |
26493 | Self(0) | |
26494 | } | |
26495 | } | |
26496 | impl ::windows::core::TypeKind for InstallResponseRestrictionFlags { | |
26497 | type TypeKind = ::windows::core::CopyType; | |
26498 | } | |
26499 | impl ::core::fmt::Debug for InstallResponseRestrictionFlags { | |
26500 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26501 | f.debug_tuple("InstallResponseRestrictionFlags").field(&self.0).finish() | |
26502 | } | |
26503 | } | |
26504 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26505 | #[repr(transparent)] | |
26506 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26507 | pub struct KeyAttestationClaimType(pub i32); | |
26508 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26509 | pub const XCN_NCRYPT_CLAIM_NONE: KeyAttestationClaimType = KeyAttestationClaimType(0i32); | |
26510 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26511 | pub const XCN_NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: KeyAttestationClaimType = KeyAttestationClaimType(3i32); | |
26512 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26513 | pub const XCN_NCRYPT_CLAIM_AUTHORITY_ONLY: KeyAttestationClaimType = KeyAttestationClaimType(1i32); | |
26514 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26515 | pub const XCN_NCRYPT_CLAIM_SUBJECT_ONLY: KeyAttestationClaimType = KeyAttestationClaimType(2i32); | |
26516 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26517 | pub const XCN_NCRYPT_CLAIM_UNKNOWN: KeyAttestationClaimType = KeyAttestationClaimType(4096i32); | |
26518 | impl ::core::marker::Copy for KeyAttestationClaimType {} | |
26519 | impl ::core::clone::Clone for KeyAttestationClaimType { | |
26520 | fn clone(&self) -> Self { | |
26521 | *self | |
26522 | } | |
26523 | } | |
26524 | impl ::core::default::Default for KeyAttestationClaimType { | |
26525 | fn default() -> Self { | |
26526 | Self(0) | |
26527 | } | |
26528 | } | |
26529 | impl ::windows::core::TypeKind for KeyAttestationClaimType { | |
26530 | type TypeKind = ::windows::core::CopyType; | |
26531 | } | |
26532 | impl ::core::fmt::Debug for KeyAttestationClaimType { | |
26533 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26534 | f.debug_tuple("KeyAttestationClaimType").field(&self.0).finish() | |
26535 | } | |
26536 | } | |
26537 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26538 | #[repr(transparent)] | |
26539 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26540 | pub struct KeyIdentifierHashAlgorithm(pub i32); | |
26541 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26542 | pub const SKIHashDefault: KeyIdentifierHashAlgorithm = KeyIdentifierHashAlgorithm(0i32); | |
26543 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26544 | pub const SKIHashSha1: KeyIdentifierHashAlgorithm = KeyIdentifierHashAlgorithm(1i32); | |
26545 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26546 | pub const SKIHashCapiSha1: KeyIdentifierHashAlgorithm = KeyIdentifierHashAlgorithm(2i32); | |
26547 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26548 | pub const SKIHashSha256: KeyIdentifierHashAlgorithm = KeyIdentifierHashAlgorithm(3i32); | |
26549 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26550 | pub const SKIHashHPKP: KeyIdentifierHashAlgorithm = KeyIdentifierHashAlgorithm(5i32); | |
26551 | impl ::core::marker::Copy for KeyIdentifierHashAlgorithm {} | |
26552 | impl ::core::clone::Clone for KeyIdentifierHashAlgorithm { | |
26553 | fn clone(&self) -> Self { | |
26554 | *self | |
26555 | } | |
26556 | } | |
26557 | impl ::core::default::Default for KeyIdentifierHashAlgorithm { | |
26558 | fn default() -> Self { | |
26559 | Self(0) | |
26560 | } | |
26561 | } | |
26562 | impl ::windows::core::TypeKind for KeyIdentifierHashAlgorithm { | |
26563 | type TypeKind = ::windows::core::CopyType; | |
26564 | } | |
26565 | impl ::core::fmt::Debug for KeyIdentifierHashAlgorithm { | |
26566 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26567 | f.debug_tuple("KeyIdentifierHashAlgorithm").field(&self.0).finish() | |
26568 | } | |
26569 | } | |
26570 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26571 | #[repr(transparent)] | |
26572 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26573 | pub struct OCSPRequestFlag(pub i32); | |
26574 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26575 | pub const OCSP_RF_REJECT_SIGNED_REQUESTS: OCSPRequestFlag = OCSPRequestFlag(1i32); | |
26576 | impl ::core::marker::Copy for OCSPRequestFlag {} | |
26577 | impl ::core::clone::Clone for OCSPRequestFlag { | |
26578 | fn clone(&self) -> Self { | |
26579 | *self | |
26580 | } | |
26581 | } | |
26582 | impl ::core::default::Default for OCSPRequestFlag { | |
26583 | fn default() -> Self { | |
26584 | Self(0) | |
26585 | } | |
26586 | } | |
26587 | impl ::windows::core::TypeKind for OCSPRequestFlag { | |
26588 | type TypeKind = ::windows::core::CopyType; | |
26589 | } | |
26590 | impl ::core::fmt::Debug for OCSPRequestFlag { | |
26591 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26592 | f.debug_tuple("OCSPRequestFlag").field(&self.0).finish() | |
26593 | } | |
26594 | } | |
26595 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26596 | #[repr(transparent)] | |
26597 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26598 | pub struct OCSPSigningFlag(pub i32); | |
26599 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26600 | pub const OCSP_SF_SILENT: OCSPSigningFlag = OCSPSigningFlag(1i32); | |
26601 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26602 | pub const OCSP_SF_USE_CACERT: OCSPSigningFlag = OCSPSigningFlag(2i32); | |
26603 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26604 | pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTORENEWAL: OCSPSigningFlag = OCSPSigningFlag(4i32); | |
26605 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26606 | pub const OCSP_SF_FORCE_SIGNINGCERT_ISSUER_ISCA: OCSPSigningFlag = OCSPSigningFlag(8i32); | |
26607 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26608 | pub const OCSP_SF_AUTODISCOVER_SIGNINGCERT: OCSPSigningFlag = OCSPSigningFlag(16i32); | |
26609 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26610 | pub const OCSP_SF_MANUAL_ASSIGN_SIGNINGCERT: OCSPSigningFlag = OCSPSigningFlag(32i32); | |
26611 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26612 | pub const OCSP_SF_RESPONDER_ID_KEYHASH: OCSPSigningFlag = OCSPSigningFlag(64i32); | |
26613 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26614 | pub const OCSP_SF_RESPONDER_ID_NAME: OCSPSigningFlag = OCSPSigningFlag(128i32); | |
26615 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26616 | pub const OCSP_SF_ALLOW_NONCE_EXTENSION: OCSPSigningFlag = OCSPSigningFlag(256i32); | |
26617 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26618 | pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTOENROLLMENT: OCSPSigningFlag = OCSPSigningFlag(512i32); | |
26619 | impl ::core::marker::Copy for OCSPSigningFlag {} | |
26620 | impl ::core::clone::Clone for OCSPSigningFlag { | |
26621 | fn clone(&self) -> Self { | |
26622 | *self | |
26623 | } | |
26624 | } | |
26625 | impl ::core::default::Default for OCSPSigningFlag { | |
26626 | fn default() -> Self { | |
26627 | Self(0) | |
26628 | } | |
26629 | } | |
26630 | impl ::windows::core::TypeKind for OCSPSigningFlag { | |
26631 | type TypeKind = ::windows::core::CopyType; | |
26632 | } | |
26633 | impl ::core::fmt::Debug for OCSPSigningFlag { | |
26634 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26635 | f.debug_tuple("OCSPSigningFlag").field(&self.0).finish() | |
26636 | } | |
26637 | } | |
26638 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26639 | #[repr(transparent)] | |
26640 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26641 | pub struct ObjectIdGroupId(pub i32); | |
26642 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26643 | pub const XCN_CRYPT_ANY_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(0i32); | |
26644 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26645 | pub const XCN_CRYPT_HASH_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(1i32); | |
26646 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26647 | pub const XCN_CRYPT_ENCRYPT_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(2i32); | |
26648 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26649 | pub const XCN_CRYPT_PUBKEY_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(3i32); | |
26650 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26651 | pub const XCN_CRYPT_SIGN_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(4i32); | |
26652 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26653 | pub const XCN_CRYPT_RDN_ATTR_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(5i32); | |
26654 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26655 | pub const XCN_CRYPT_EXT_OR_ATTR_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(6i32); | |
26656 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26657 | pub const XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(7i32); | |
26658 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26659 | pub const XCN_CRYPT_POLICY_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(8i32); | |
26660 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26661 | pub const XCN_CRYPT_TEMPLATE_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(9i32); | |
26662 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26663 | pub const XCN_CRYPT_KDF_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(10i32); | |
26664 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26665 | pub const XCN_CRYPT_LAST_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(10i32); | |
26666 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26667 | pub const XCN_CRYPT_FIRST_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(1i32); | |
26668 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26669 | pub const XCN_CRYPT_LAST_ALG_OID_GROUP_ID: ObjectIdGroupId = ObjectIdGroupId(4i32); | |
26670 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26671 | pub const XCN_CRYPT_GROUP_ID_MASK: ObjectIdGroupId = ObjectIdGroupId(65535i32); | |
26672 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26673 | pub const XCN_CRYPT_OID_PREFER_CNG_ALGID_FLAG: ObjectIdGroupId = ObjectIdGroupId(1073741824i32); | |
26674 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26675 | pub const XCN_CRYPT_OID_DISABLE_SEARCH_DS_FLAG: ObjectIdGroupId = ObjectIdGroupId(-2147483648i32); | |
26676 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26677 | pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: ObjectIdGroupId = ObjectIdGroupId(268369920i32); | |
26678 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26679 | pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: ObjectIdGroupId = ObjectIdGroupId(16i32); | |
26680 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26681 | pub const XCN_CRYPT_KEY_LENGTH_MASK: ObjectIdGroupId = ObjectIdGroupId(268369920i32); | |
26682 | impl ::core::marker::Copy for ObjectIdGroupId {} | |
26683 | impl ::core::clone::Clone for ObjectIdGroupId { | |
26684 | fn clone(&self) -> Self { | |
26685 | *self | |
26686 | } | |
26687 | } | |
26688 | impl ::core::default::Default for ObjectIdGroupId { | |
26689 | fn default() -> Self { | |
26690 | Self(0) | |
26691 | } | |
26692 | } | |
26693 | impl ::windows::core::TypeKind for ObjectIdGroupId { | |
26694 | type TypeKind = ::windows::core::CopyType; | |
26695 | } | |
26696 | impl ::core::fmt::Debug for ObjectIdGroupId { | |
26697 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26698 | f.debug_tuple("ObjectIdGroupId").field(&self.0).finish() | |
26699 | } | |
26700 | } | |
26701 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26702 | #[repr(transparent)] | |
26703 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26704 | pub struct ObjectIdPublicKeyFlags(pub i32); | |
26705 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26706 | pub const XCN_CRYPT_OID_INFO_PUBKEY_ANY: ObjectIdPublicKeyFlags = ObjectIdPublicKeyFlags(0i32); | |
26707 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26708 | pub const XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: ObjectIdPublicKeyFlags = ObjectIdPublicKeyFlags(-2147483648i32); | |
26709 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26710 | pub const XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: ObjectIdPublicKeyFlags = ObjectIdPublicKeyFlags(1073741824i32); | |
26711 | impl ::core::marker::Copy for ObjectIdPublicKeyFlags {} | |
26712 | impl ::core::clone::Clone for ObjectIdPublicKeyFlags { | |
26713 | fn clone(&self) -> Self { | |
26714 | *self | |
26715 | } | |
26716 | } | |
26717 | impl ::core::default::Default for ObjectIdPublicKeyFlags { | |
26718 | fn default() -> Self { | |
26719 | Self(0) | |
26720 | } | |
26721 | } | |
26722 | impl ::windows::core::TypeKind for ObjectIdPublicKeyFlags { | |
26723 | type TypeKind = ::windows::core::CopyType; | |
26724 | } | |
26725 | impl ::core::fmt::Debug for ObjectIdPublicKeyFlags { | |
26726 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26727 | f.debug_tuple("ObjectIdPublicKeyFlags").field(&self.0).finish() | |
26728 | } | |
26729 | } | |
26730 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26731 | #[repr(transparent)] | |
26732 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26733 | pub struct PENDING_REQUEST_DESIRED_PROPERTY(pub u32); | |
26734 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26735 | pub const XEPR_CADNS: PENDING_REQUEST_DESIRED_PROPERTY = PENDING_REQUEST_DESIRED_PROPERTY(1u32); | |
26736 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26737 | pub const XEPR_CAFRIENDLYNAME: PENDING_REQUEST_DESIRED_PROPERTY = PENDING_REQUEST_DESIRED_PROPERTY(3u32); | |
26738 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26739 | pub const XEPR_CANAME: PENDING_REQUEST_DESIRED_PROPERTY = PENDING_REQUEST_DESIRED_PROPERTY(2u32); | |
26740 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26741 | pub const XEPR_HASH: PENDING_REQUEST_DESIRED_PROPERTY = PENDING_REQUEST_DESIRED_PROPERTY(8u32); | |
26742 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26743 | pub const XEPR_REQUESTID: PENDING_REQUEST_DESIRED_PROPERTY = PENDING_REQUEST_DESIRED_PROPERTY(4u32); | |
26744 | impl ::core::marker::Copy for PENDING_REQUEST_DESIRED_PROPERTY {} | |
26745 | impl ::core::clone::Clone for PENDING_REQUEST_DESIRED_PROPERTY { | |
26746 | fn clone(&self) -> Self { | |
26747 | *self | |
26748 | } | |
26749 | } | |
26750 | impl ::core::default::Default for PENDING_REQUEST_DESIRED_PROPERTY { | |
26751 | fn default() -> Self { | |
26752 | Self(0) | |
26753 | } | |
26754 | } | |
26755 | impl ::windows::core::TypeKind for PENDING_REQUEST_DESIRED_PROPERTY { | |
26756 | type TypeKind = ::windows::core::CopyType; | |
26757 | } | |
26758 | impl ::core::fmt::Debug for PENDING_REQUEST_DESIRED_PROPERTY { | |
26759 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26760 | f.debug_tuple("PENDING_REQUEST_DESIRED_PROPERTY").field(&self.0).finish() | |
26761 | } | |
26762 | } | |
26763 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26764 | #[repr(transparent)] | |
26765 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26766 | pub struct PFXExportOptions(pub i32); | |
26767 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26768 | pub const PFXExportEEOnly: PFXExportOptions = PFXExportOptions(0i32); | |
26769 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26770 | pub const PFXExportChainNoRoot: PFXExportOptions = PFXExportOptions(1i32); | |
26771 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26772 | pub const PFXExportChainWithRoot: PFXExportOptions = PFXExportOptions(2i32); | |
26773 | impl ::core::marker::Copy for PFXExportOptions {} | |
26774 | impl ::core::clone::Clone for PFXExportOptions { | |
26775 | fn clone(&self) -> Self { | |
26776 | *self | |
26777 | } | |
26778 | } | |
26779 | impl ::core::default::Default for PFXExportOptions { | |
26780 | fn default() -> Self { | |
26781 | Self(0) | |
26782 | } | |
26783 | } | |
26784 | impl ::windows::core::TypeKind for PFXExportOptions { | |
26785 | type TypeKind = ::windows::core::CopyType; | |
26786 | } | |
26787 | impl ::core::fmt::Debug for PFXExportOptions { | |
26788 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26789 | f.debug_tuple("PFXExportOptions").field(&self.0).finish() | |
26790 | } | |
26791 | } | |
26792 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26793 | #[repr(transparent)] | |
26794 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26795 | pub struct Pkcs10AllowedSignatureTypes(pub i32); | |
26796 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26797 | pub const AllowedKeySignature: Pkcs10AllowedSignatureTypes = Pkcs10AllowedSignatureTypes(1i32); | |
26798 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26799 | pub const AllowedNullSignature: Pkcs10AllowedSignatureTypes = Pkcs10AllowedSignatureTypes(2i32); | |
26800 | impl ::core::marker::Copy for Pkcs10AllowedSignatureTypes {} | |
26801 | impl ::core::clone::Clone for Pkcs10AllowedSignatureTypes { | |
26802 | fn clone(&self) -> Self { | |
26803 | *self | |
26804 | } | |
26805 | } | |
26806 | impl ::core::default::Default for Pkcs10AllowedSignatureTypes { | |
26807 | fn default() -> Self { | |
26808 | Self(0) | |
26809 | } | |
26810 | } | |
26811 | impl ::windows::core::TypeKind for Pkcs10AllowedSignatureTypes { | |
26812 | type TypeKind = ::windows::core::CopyType; | |
26813 | } | |
26814 | impl ::core::fmt::Debug for Pkcs10AllowedSignatureTypes { | |
26815 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26816 | f.debug_tuple("Pkcs10AllowedSignatureTypes").field(&self.0).finish() | |
26817 | } | |
26818 | } | |
26819 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26820 | #[repr(transparent)] | |
26821 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26822 | pub struct PolicyQualifierType(pub i32); | |
26823 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26824 | pub const PolicyQualifierTypeUnknown: PolicyQualifierType = PolicyQualifierType(0i32); | |
26825 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26826 | pub const PolicyQualifierTypeUrl: PolicyQualifierType = PolicyQualifierType(1i32); | |
26827 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26828 | pub const PolicyQualifierTypeUserNotice: PolicyQualifierType = PolicyQualifierType(2i32); | |
26829 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26830 | pub const PolicyQualifierTypeFlags: PolicyQualifierType = PolicyQualifierType(3i32); | |
26831 | impl ::core::marker::Copy for PolicyQualifierType {} | |
26832 | impl ::core::clone::Clone for PolicyQualifierType { | |
26833 | fn clone(&self) -> Self { | |
26834 | *self | |
26835 | } | |
26836 | } | |
26837 | impl ::core::default::Default for PolicyQualifierType { | |
26838 | fn default() -> Self { | |
26839 | Self(0) | |
26840 | } | |
26841 | } | |
26842 | impl ::windows::core::TypeKind for PolicyQualifierType { | |
26843 | type TypeKind = ::windows::core::CopyType; | |
26844 | } | |
26845 | impl ::core::fmt::Debug for PolicyQualifierType { | |
26846 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26847 | f.debug_tuple("PolicyQualifierType").field(&self.0).finish() | |
26848 | } | |
26849 | } | |
26850 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26851 | #[repr(transparent)] | |
26852 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26853 | pub struct PolicyServerUrlFlags(pub i32); | |
26854 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26855 | pub const PsfNone: PolicyServerUrlFlags = PolicyServerUrlFlags(0i32); | |
26856 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26857 | pub const PsfLocationGroupPolicy: PolicyServerUrlFlags = PolicyServerUrlFlags(1i32); | |
26858 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26859 | pub const PsfLocationRegistry: PolicyServerUrlFlags = PolicyServerUrlFlags(2i32); | |
26860 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26861 | pub const PsfUseClientId: PolicyServerUrlFlags = PolicyServerUrlFlags(4i32); | |
26862 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26863 | pub const PsfAutoEnrollmentEnabled: PolicyServerUrlFlags = PolicyServerUrlFlags(16i32); | |
26864 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26865 | pub const PsfAllowUnTrustedCA: PolicyServerUrlFlags = PolicyServerUrlFlags(32i32); | |
26866 | impl ::core::marker::Copy for PolicyServerUrlFlags {} | |
26867 | impl ::core::clone::Clone for PolicyServerUrlFlags { | |
26868 | fn clone(&self) -> Self { | |
26869 | *self | |
26870 | } | |
26871 | } | |
26872 | impl ::core::default::Default for PolicyServerUrlFlags { | |
26873 | fn default() -> Self { | |
26874 | Self(0) | |
26875 | } | |
26876 | } | |
26877 | impl ::windows::core::TypeKind for PolicyServerUrlFlags { | |
26878 | type TypeKind = ::windows::core::CopyType; | |
26879 | } | |
26880 | impl ::core::fmt::Debug for PolicyServerUrlFlags { | |
26881 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26882 | f.debug_tuple("PolicyServerUrlFlags").field(&self.0).finish() | |
26883 | } | |
26884 | } | |
26885 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26886 | #[repr(transparent)] | |
26887 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26888 | pub struct PolicyServerUrlPropertyID(pub i32); | |
26889 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26890 | pub const PsPolicyID: PolicyServerUrlPropertyID = PolicyServerUrlPropertyID(0i32); | |
26891 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26892 | pub const PsFriendlyName: PolicyServerUrlPropertyID = PolicyServerUrlPropertyID(1i32); | |
26893 | impl ::core::marker::Copy for PolicyServerUrlPropertyID {} | |
26894 | impl ::core::clone::Clone for PolicyServerUrlPropertyID { | |
26895 | fn clone(&self) -> Self { | |
26896 | *self | |
26897 | } | |
26898 | } | |
26899 | impl ::core::default::Default for PolicyServerUrlPropertyID { | |
26900 | fn default() -> Self { | |
26901 | Self(0) | |
26902 | } | |
26903 | } | |
26904 | impl ::windows::core::TypeKind for PolicyServerUrlPropertyID { | |
26905 | type TypeKind = ::windows::core::CopyType; | |
26906 | } | |
26907 | impl ::core::fmt::Debug for PolicyServerUrlPropertyID { | |
26908 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26909 | f.debug_tuple("PolicyServerUrlPropertyID").field(&self.0).finish() | |
26910 | } | |
26911 | } | |
26912 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26913 | #[repr(transparent)] | |
26914 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26915 | pub struct RequestClientInfoClientId(pub i32); | |
26916 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26917 | pub const ClientIdNone: RequestClientInfoClientId = RequestClientInfoClientId(0i32); | |
26918 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26919 | pub const ClientIdXEnroll2003: RequestClientInfoClientId = RequestClientInfoClientId(1i32); | |
26920 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26921 | pub const ClientIdAutoEnroll2003: RequestClientInfoClientId = RequestClientInfoClientId(2i32); | |
26922 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26923 | pub const ClientIdWizard2003: RequestClientInfoClientId = RequestClientInfoClientId(3i32); | |
26924 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26925 | pub const ClientIdCertReq2003: RequestClientInfoClientId = RequestClientInfoClientId(4i32); | |
26926 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26927 | pub const ClientIdDefaultRequest: RequestClientInfoClientId = RequestClientInfoClientId(5i32); | |
26928 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26929 | pub const ClientIdAutoEnroll: RequestClientInfoClientId = RequestClientInfoClientId(6i32); | |
26930 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26931 | pub const ClientIdRequestWizard: RequestClientInfoClientId = RequestClientInfoClientId(7i32); | |
26932 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26933 | pub const ClientIdEOBO: RequestClientInfoClientId = RequestClientInfoClientId(8i32); | |
26934 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26935 | pub const ClientIdCertReq: RequestClientInfoClientId = RequestClientInfoClientId(9i32); | |
26936 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26937 | pub const ClientIdTest: RequestClientInfoClientId = RequestClientInfoClientId(10i32); | |
26938 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26939 | pub const ClientIdWinRT: RequestClientInfoClientId = RequestClientInfoClientId(11i32); | |
26940 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26941 | pub const ClientIdUserStart: RequestClientInfoClientId = RequestClientInfoClientId(1000i32); | |
26942 | impl ::core::marker::Copy for RequestClientInfoClientId {} | |
26943 | impl ::core::clone::Clone for RequestClientInfoClientId { | |
26944 | fn clone(&self) -> Self { | |
26945 | *self | |
26946 | } | |
26947 | } | |
26948 | impl ::core::default::Default for RequestClientInfoClientId { | |
26949 | fn default() -> Self { | |
26950 | Self(0) | |
26951 | } | |
26952 | } | |
26953 | impl ::windows::core::TypeKind for RequestClientInfoClientId { | |
26954 | type TypeKind = ::windows::core::CopyType; | |
26955 | } | |
26956 | impl ::core::fmt::Debug for RequestClientInfoClientId { | |
26957 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26958 | f.debug_tuple("RequestClientInfoClientId").field(&self.0).finish() | |
26959 | } | |
26960 | } | |
26961 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26962 | #[repr(transparent)] | |
26963 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26964 | pub struct WebEnrollmentFlags(pub i32); | |
26965 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26966 | pub const EnrollPrompt: WebEnrollmentFlags = WebEnrollmentFlags(1i32); | |
26967 | impl ::core::marker::Copy for WebEnrollmentFlags {} | |
26968 | impl ::core::clone::Clone for WebEnrollmentFlags { | |
26969 | fn clone(&self) -> Self { | |
26970 | *self | |
26971 | } | |
26972 | } | |
26973 | impl ::core::default::Default for WebEnrollmentFlags { | |
26974 | fn default() -> Self { | |
26975 | Self(0) | |
26976 | } | |
26977 | } | |
26978 | impl ::windows::core::TypeKind for WebEnrollmentFlags { | |
26979 | type TypeKind = ::windows::core::CopyType; | |
26980 | } | |
26981 | impl ::core::fmt::Debug for WebEnrollmentFlags { | |
26982 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26983 | f.debug_tuple("WebEnrollmentFlags").field(&self.0).finish() | |
26984 | } | |
26985 | } | |
26986 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26987 | #[repr(transparent)] | |
26988 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
26989 | pub struct WebSecurityLevel(pub i32); | |
26990 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26991 | pub const LevelUnsafe: WebSecurityLevel = WebSecurityLevel(0i32); | |
26992 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
26993 | pub const LevelSafe: WebSecurityLevel = WebSecurityLevel(1i32); | |
26994 | impl ::core::marker::Copy for WebSecurityLevel {} | |
26995 | impl ::core::clone::Clone for WebSecurityLevel { | |
26996 | fn clone(&self) -> Self { | |
26997 | *self | |
26998 | } | |
26999 | } | |
27000 | impl ::core::default::Default for WebSecurityLevel { | |
27001 | fn default() -> Self { | |
27002 | Self(0) | |
27003 | } | |
27004 | } | |
27005 | impl ::windows::core::TypeKind for WebSecurityLevel { | |
27006 | type TypeKind = ::windows::core::CopyType; | |
27007 | } | |
27008 | impl ::core::fmt::Debug for WebSecurityLevel { | |
27009 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27010 | f.debug_tuple("WebSecurityLevel").field(&self.0).finish() | |
27011 | } | |
27012 | } | |
27013 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27014 | #[repr(transparent)] | |
27015 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27016 | pub struct X500NameFlags(pub i32); | |
27017 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27018 | pub const XCN_CERT_NAME_STR_NONE: X500NameFlags = X500NameFlags(0i32); | |
27019 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27020 | pub const XCN_CERT_SIMPLE_NAME_STR: X500NameFlags = X500NameFlags(1i32); | |
27021 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27022 | pub const XCN_CERT_OID_NAME_STR: X500NameFlags = X500NameFlags(2i32); | |
27023 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27024 | pub const XCN_CERT_X500_NAME_STR: X500NameFlags = X500NameFlags(3i32); | |
27025 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27026 | pub const XCN_CERT_XML_NAME_STR: X500NameFlags = X500NameFlags(4i32); | |
27027 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27028 | pub const XCN_CERT_NAME_STR_SEMICOLON_FLAG: X500NameFlags = X500NameFlags(1073741824i32); | |
27029 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27030 | pub const XCN_CERT_NAME_STR_NO_PLUS_FLAG: X500NameFlags = X500NameFlags(536870912i32); | |
27031 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27032 | pub const XCN_CERT_NAME_STR_NO_QUOTING_FLAG: X500NameFlags = X500NameFlags(268435456i32); | |
27033 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27034 | pub const XCN_CERT_NAME_STR_CRLF_FLAG: X500NameFlags = X500NameFlags(134217728i32); | |
27035 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27036 | pub const XCN_CERT_NAME_STR_COMMA_FLAG: X500NameFlags = X500NameFlags(67108864i32); | |
27037 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27038 | pub const XCN_CERT_NAME_STR_REVERSE_FLAG: X500NameFlags = X500NameFlags(33554432i32); | |
27039 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27040 | pub const XCN_CERT_NAME_STR_FORWARD_FLAG: X500NameFlags = X500NameFlags(16777216i32); | |
27041 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27042 | pub const XCN_CERT_NAME_STR_AMBIGUOUS_SEPARATOR_FLAGS: X500NameFlags = X500NameFlags(1275068416i32); | |
27043 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27044 | pub const XCN_CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: X500NameFlags = X500NameFlags(65536i32); | |
27045 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27046 | pub const XCN_CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: X500NameFlags = X500NameFlags(131072i32); | |
27047 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27048 | pub const XCN_CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: X500NameFlags = X500NameFlags(262144i32); | |
27049 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27050 | pub const XCN_CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: X500NameFlags = X500NameFlags(524288i32); | |
27051 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27052 | pub const XCN_CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: X500NameFlags = X500NameFlags(1048576i32); | |
27053 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27054 | pub const XCN_CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: X500NameFlags = X500NameFlags(2097152i32); | |
27055 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27056 | pub const XCN_CERT_NAME_STR_DS_ESCAPED: X500NameFlags = X500NameFlags(8388608i32); | |
27057 | impl ::core::marker::Copy for X500NameFlags {} | |
27058 | impl ::core::clone::Clone for X500NameFlags { | |
27059 | fn clone(&self) -> Self { | |
27060 | *self | |
27061 | } | |
27062 | } | |
27063 | impl ::core::default::Default for X500NameFlags { | |
27064 | fn default() -> Self { | |
27065 | Self(0) | |
27066 | } | |
27067 | } | |
27068 | impl ::windows::core::TypeKind for X500NameFlags { | |
27069 | type TypeKind = ::windows::core::CopyType; | |
27070 | } | |
27071 | impl ::core::fmt::Debug for X500NameFlags { | |
27072 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27073 | f.debug_tuple("X500NameFlags").field(&self.0).finish() | |
27074 | } | |
27075 | } | |
27076 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27077 | #[repr(transparent)] | |
27078 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27079 | pub struct X509CertificateEnrollmentContext(pub i32); | |
27080 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27081 | pub const ContextNone: X509CertificateEnrollmentContext = X509CertificateEnrollmentContext(0i32); | |
27082 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27083 | pub const ContextUser: X509CertificateEnrollmentContext = X509CertificateEnrollmentContext(1i32); | |
27084 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27085 | pub const ContextMachine: X509CertificateEnrollmentContext = X509CertificateEnrollmentContext(2i32); | |
27086 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27087 | pub const ContextAdministratorForceMachine: X509CertificateEnrollmentContext = X509CertificateEnrollmentContext(3i32); | |
27088 | impl ::core::marker::Copy for X509CertificateEnrollmentContext {} | |
27089 | impl ::core::clone::Clone for X509CertificateEnrollmentContext { | |
27090 | fn clone(&self) -> Self { | |
27091 | *self | |
27092 | } | |
27093 | } | |
27094 | impl ::core::default::Default for X509CertificateEnrollmentContext { | |
27095 | fn default() -> Self { | |
27096 | Self(0) | |
27097 | } | |
27098 | } | |
27099 | impl ::windows::core::TypeKind for X509CertificateEnrollmentContext { | |
27100 | type TypeKind = ::windows::core::CopyType; | |
27101 | } | |
27102 | impl ::core::fmt::Debug for X509CertificateEnrollmentContext { | |
27103 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27104 | f.debug_tuple("X509CertificateEnrollmentContext").field(&self.0).finish() | |
27105 | } | |
27106 | } | |
27107 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27108 | #[repr(transparent)] | |
27109 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27110 | pub struct X509CertificateTemplateEnrollmentFlag(pub i32); | |
27111 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27112 | pub const EnrollmentIncludeSymmetricAlgorithms: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(1i32); | |
27113 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27114 | pub const EnrollmentPendAllRequests: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(2i32); | |
27115 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27116 | pub const EnrollmentPublishToKRAContainer: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(4i32); | |
27117 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27118 | pub const EnrollmentPublishToDS: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(8i32); | |
27119 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27120 | pub const EnrollmentAutoEnrollmentCheckUserDSCertificate: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(16i32); | |
27121 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27122 | pub const EnrollmentAutoEnrollment: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(32i32); | |
27123 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27124 | pub const EnrollmentDomainAuthenticationNotRequired: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(128i32); | |
27125 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27126 | pub const EnrollmentPreviousApprovalValidateReenrollment: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(64i32); | |
27127 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27128 | pub const EnrollmentUserInteractionRequired: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(256i32); | |
27129 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27130 | pub const EnrollmentAddTemplateName: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(512i32); | |
27131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27132 | pub const EnrollmentRemoveInvalidCertificateFromPersonalStore: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(1024i32); | |
27133 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27134 | pub const EnrollmentAllowEnrollOnBehalfOf: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(2048i32); | |
27135 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27136 | pub const EnrollmentAddOCSPNoCheck: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(4096i32); | |
27137 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27138 | pub const EnrollmentReuseKeyOnFullSmartCard: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(8192i32); | |
27139 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27140 | pub const EnrollmentNoRevocationInfoInCerts: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(16384i32); | |
27141 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27142 | pub const EnrollmentIncludeBasicConstraintsForEECerts: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(32768i32); | |
27143 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27144 | pub const EnrollmentPreviousApprovalKeyBasedValidateReenrollment: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(65536i32); | |
27145 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27146 | pub const EnrollmentCertificateIssuancePoliciesFromRequest: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(131072i32); | |
27147 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27148 | pub const EnrollmentSkipAutoRenewal: X509CertificateTemplateEnrollmentFlag = X509CertificateTemplateEnrollmentFlag(262144i32); | |
27149 | impl ::core::marker::Copy for X509CertificateTemplateEnrollmentFlag {} | |
27150 | impl ::core::clone::Clone for X509CertificateTemplateEnrollmentFlag { | |
27151 | fn clone(&self) -> Self { | |
27152 | *self | |
27153 | } | |
27154 | } | |
27155 | impl ::core::default::Default for X509CertificateTemplateEnrollmentFlag { | |
27156 | fn default() -> Self { | |
27157 | Self(0) | |
27158 | } | |
27159 | } | |
27160 | impl ::windows::core::TypeKind for X509CertificateTemplateEnrollmentFlag { | |
27161 | type TypeKind = ::windows::core::CopyType; | |
27162 | } | |
27163 | impl ::core::fmt::Debug for X509CertificateTemplateEnrollmentFlag { | |
27164 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27165 | f.debug_tuple("X509CertificateTemplateEnrollmentFlag").field(&self.0).finish() | |
27166 | } | |
27167 | } | |
27168 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27169 | #[repr(transparent)] | |
27170 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27171 | pub struct X509CertificateTemplateGeneralFlag(pub i32); | |
27172 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27173 | pub const GeneralMachineType: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(64i32); | |
27174 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27175 | pub const GeneralCA: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(128i32); | |
27176 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27177 | pub const GeneralCrossCA: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(2048i32); | |
27178 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27179 | pub const GeneralDefault: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(65536i32); | |
27180 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27181 | pub const GeneralModified: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(131072i32); | |
27182 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27183 | pub const GeneralDonotPersist: X509CertificateTemplateGeneralFlag = X509CertificateTemplateGeneralFlag(4096i32); | |
27184 | impl ::core::marker::Copy for X509CertificateTemplateGeneralFlag {} | |
27185 | impl ::core::clone::Clone for X509CertificateTemplateGeneralFlag { | |
27186 | fn clone(&self) -> Self { | |
27187 | *self | |
27188 | } | |
27189 | } | |
27190 | impl ::core::default::Default for X509CertificateTemplateGeneralFlag { | |
27191 | fn default() -> Self { | |
27192 | Self(0) | |
27193 | } | |
27194 | } | |
27195 | impl ::windows::core::TypeKind for X509CertificateTemplateGeneralFlag { | |
27196 | type TypeKind = ::windows::core::CopyType; | |
27197 | } | |
27198 | impl ::core::fmt::Debug for X509CertificateTemplateGeneralFlag { | |
27199 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27200 | f.debug_tuple("X509CertificateTemplateGeneralFlag").field(&self.0).finish() | |
27201 | } | |
27202 | } | |
27203 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27204 | #[repr(transparent)] | |
27205 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27206 | pub struct X509CertificateTemplatePrivateKeyFlag(pub i32); | |
27207 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27208 | pub const PrivateKeyRequireArchival: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(1i32); | |
27209 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27210 | pub const PrivateKeyExportable: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(16i32); | |
27211 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27212 | pub const PrivateKeyRequireStrongKeyProtection: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(32i32); | |
27213 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27214 | pub const PrivateKeyRequireAlternateSignatureAlgorithm: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(64i32); | |
27215 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27216 | pub const PrivateKeyRequireSameKeyRenewal: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(128i32); | |
27217 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27218 | pub const PrivateKeyUseLegacyProvider: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(256i32); | |
27219 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27220 | pub const PrivateKeyEKTrustOnUse: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(512i32); | |
27221 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27222 | pub const PrivateKeyEKValidateCert: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(1024i32); | |
27223 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27224 | pub const PrivateKeyEKValidateKey: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(2048i32); | |
27225 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27226 | pub const PrivateKeyAttestNone: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(0i32); | |
27227 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27228 | pub const PrivateKeyAttestPreferred: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(4096i32); | |
27229 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27230 | pub const PrivateKeyAttestRequired: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(8192i32); | |
27231 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27232 | pub const PrivateKeyAttestMask: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(12288i32); | |
27233 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27234 | pub const PrivateKeyAttestWithoutPolicy: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(16384i32); | |
27235 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27236 | pub const PrivateKeyServerVersionMask: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(983040i32); | |
27237 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27238 | pub const PrivateKeyServerVersionShift: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(16i32); | |
27239 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27240 | pub const PrivateKeyHelloKspKey: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(1048576i32); | |
27241 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27242 | pub const PrivateKeyHelloLogonKey: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(2097152i32); | |
27243 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27244 | pub const PrivateKeyClientVersionMask: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(251658240i32); | |
27245 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27246 | pub const PrivateKeyClientVersionShift: X509CertificateTemplatePrivateKeyFlag = X509CertificateTemplatePrivateKeyFlag(24i32); | |
27247 | impl ::core::marker::Copy for X509CertificateTemplatePrivateKeyFlag {} | |
27248 | impl ::core::clone::Clone for X509CertificateTemplatePrivateKeyFlag { | |
27249 | fn clone(&self) -> Self { | |
27250 | *self | |
27251 | } | |
27252 | } | |
27253 | impl ::core::default::Default for X509CertificateTemplatePrivateKeyFlag { | |
27254 | fn default() -> Self { | |
27255 | Self(0) | |
27256 | } | |
27257 | } | |
27258 | impl ::windows::core::TypeKind for X509CertificateTemplatePrivateKeyFlag { | |
27259 | type TypeKind = ::windows::core::CopyType; | |
27260 | } | |
27261 | impl ::core::fmt::Debug for X509CertificateTemplatePrivateKeyFlag { | |
27262 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27263 | f.debug_tuple("X509CertificateTemplatePrivateKeyFlag").field(&self.0).finish() | |
27264 | } | |
27265 | } | |
27266 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27267 | #[repr(transparent)] | |
27268 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27269 | pub struct X509CertificateTemplateSubjectNameFlag(pub i32); | |
27270 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27271 | pub const SubjectNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(1i32); | |
27272 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27273 | pub const SubjectNameRequireDirectoryPath: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(-2147483648i32); | |
27274 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27275 | pub const SubjectNameRequireCommonName: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(1073741824i32); | |
27276 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27277 | pub const SubjectNameRequireEmail: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(536870912i32); | |
27278 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27279 | pub const SubjectNameRequireDNS: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(268435456i32); | |
27280 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27281 | pub const SubjectNameAndAlternativeNameOldCertSupplies: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(8i32); | |
27282 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27283 | pub const SubjectAlternativeNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(65536i32); | |
27284 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27285 | pub const SubjectAlternativeNameRequireDirectoryGUID: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(16777216i32); | |
27286 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27287 | pub const SubjectAlternativeNameRequireUPN: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(33554432i32); | |
27288 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27289 | pub const SubjectAlternativeNameRequireEmail: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(67108864i32); | |
27290 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27291 | pub const SubjectAlternativeNameRequireSPN: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(8388608i32); | |
27292 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27293 | pub const SubjectAlternativeNameRequireDNS: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(134217728i32); | |
27294 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27295 | pub const SubjectAlternativeNameRequireDomainDNS: X509CertificateTemplateSubjectNameFlag = X509CertificateTemplateSubjectNameFlag(4194304i32); | |
27296 | impl ::core::marker::Copy for X509CertificateTemplateSubjectNameFlag {} | |
27297 | impl ::core::clone::Clone for X509CertificateTemplateSubjectNameFlag { | |
27298 | fn clone(&self) -> Self { | |
27299 | *self | |
27300 | } | |
27301 | } | |
27302 | impl ::core::default::Default for X509CertificateTemplateSubjectNameFlag { | |
27303 | fn default() -> Self { | |
27304 | Self(0) | |
27305 | } | |
27306 | } | |
27307 | impl ::windows::core::TypeKind for X509CertificateTemplateSubjectNameFlag { | |
27308 | type TypeKind = ::windows::core::CopyType; | |
27309 | } | |
27310 | impl ::core::fmt::Debug for X509CertificateTemplateSubjectNameFlag { | |
27311 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27312 | f.debug_tuple("X509CertificateTemplateSubjectNameFlag").field(&self.0).finish() | |
27313 | } | |
27314 | } | |
27315 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27316 | #[repr(transparent)] | |
27317 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27318 | pub struct X509EnrollmentAuthFlags(pub i32); | |
27319 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27320 | pub const X509AuthNone: X509EnrollmentAuthFlags = X509EnrollmentAuthFlags(0i32); | |
27321 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27322 | pub const X509AuthAnonymous: X509EnrollmentAuthFlags = X509EnrollmentAuthFlags(1i32); | |
27323 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27324 | pub const X509AuthKerberos: X509EnrollmentAuthFlags = X509EnrollmentAuthFlags(2i32); | |
27325 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27326 | pub const X509AuthUsername: X509EnrollmentAuthFlags = X509EnrollmentAuthFlags(4i32); | |
27327 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27328 | pub const X509AuthCertificate: X509EnrollmentAuthFlags = X509EnrollmentAuthFlags(8i32); | |
27329 | impl ::core::marker::Copy for X509EnrollmentAuthFlags {} | |
27330 | impl ::core::clone::Clone for X509EnrollmentAuthFlags { | |
27331 | fn clone(&self) -> Self { | |
27332 | *self | |
27333 | } | |
27334 | } | |
27335 | impl ::core::default::Default for X509EnrollmentAuthFlags { | |
27336 | fn default() -> Self { | |
27337 | Self(0) | |
27338 | } | |
27339 | } | |
27340 | impl ::windows::core::TypeKind for X509EnrollmentAuthFlags { | |
27341 | type TypeKind = ::windows::core::CopyType; | |
27342 | } | |
27343 | impl ::core::fmt::Debug for X509EnrollmentAuthFlags { | |
27344 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27345 | f.debug_tuple("X509EnrollmentAuthFlags").field(&self.0).finish() | |
27346 | } | |
27347 | } | |
27348 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27349 | #[repr(transparent)] | |
27350 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27351 | pub struct X509EnrollmentPolicyExportFlags(pub i32); | |
27352 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27353 | pub const ExportTemplates: X509EnrollmentPolicyExportFlags = X509EnrollmentPolicyExportFlags(1i32); | |
27354 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27355 | pub const ExportOIDs: X509EnrollmentPolicyExportFlags = X509EnrollmentPolicyExportFlags(2i32); | |
27356 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27357 | pub const ExportCAs: X509EnrollmentPolicyExportFlags = X509EnrollmentPolicyExportFlags(4i32); | |
27358 | impl ::core::marker::Copy for X509EnrollmentPolicyExportFlags {} | |
27359 | impl ::core::clone::Clone for X509EnrollmentPolicyExportFlags { | |
27360 | fn clone(&self) -> Self { | |
27361 | *self | |
27362 | } | |
27363 | } | |
27364 | impl ::core::default::Default for X509EnrollmentPolicyExportFlags { | |
27365 | fn default() -> Self { | |
27366 | Self(0) | |
27367 | } | |
27368 | } | |
27369 | impl ::windows::core::TypeKind for X509EnrollmentPolicyExportFlags { | |
27370 | type TypeKind = ::windows::core::CopyType; | |
27371 | } | |
27372 | impl ::core::fmt::Debug for X509EnrollmentPolicyExportFlags { | |
27373 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27374 | f.debug_tuple("X509EnrollmentPolicyExportFlags").field(&self.0).finish() | |
27375 | } | |
27376 | } | |
27377 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27378 | #[repr(transparent)] | |
27379 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27380 | pub struct X509EnrollmentPolicyLoadOption(pub i32); | |
27381 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27382 | pub const LoadOptionDefault: X509EnrollmentPolicyLoadOption = X509EnrollmentPolicyLoadOption(0i32); | |
27383 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27384 | pub const LoadOptionCacheOnly: X509EnrollmentPolicyLoadOption = X509EnrollmentPolicyLoadOption(1i32); | |
27385 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27386 | pub const LoadOptionReload: X509EnrollmentPolicyLoadOption = X509EnrollmentPolicyLoadOption(2i32); | |
27387 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27388 | pub const LoadOptionRegisterForADChanges: X509EnrollmentPolicyLoadOption = X509EnrollmentPolicyLoadOption(4i32); | |
27389 | impl ::core::marker::Copy for X509EnrollmentPolicyLoadOption {} | |
27390 | impl ::core::clone::Clone for X509EnrollmentPolicyLoadOption { | |
27391 | fn clone(&self) -> Self { | |
27392 | *self | |
27393 | } | |
27394 | } | |
27395 | impl ::core::default::Default for X509EnrollmentPolicyLoadOption { | |
27396 | fn default() -> Self { | |
27397 | Self(0) | |
27398 | } | |
27399 | } | |
27400 | impl ::windows::core::TypeKind for X509EnrollmentPolicyLoadOption { | |
27401 | type TypeKind = ::windows::core::CopyType; | |
27402 | } | |
27403 | impl ::core::fmt::Debug for X509EnrollmentPolicyLoadOption { | |
27404 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27405 | f.debug_tuple("X509EnrollmentPolicyLoadOption").field(&self.0).finish() | |
27406 | } | |
27407 | } | |
27408 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27409 | #[repr(transparent)] | |
27410 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27411 | pub struct X509HardwareKeyUsageFlags(pub i32); | |
27412 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27413 | pub const XCN_NCRYPT_PCP_NONE: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(0i32); | |
27414 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27415 | pub const XCN_NCRYPT_TPM12_PROVIDER: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(65536i32); | |
27416 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27417 | pub const XCN_NCRYPT_PCP_SIGNATURE_KEY: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(1i32); | |
27418 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27419 | pub const XCN_NCRYPT_PCP_ENCRYPTION_KEY: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(2i32); | |
27420 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27421 | pub const XCN_NCRYPT_PCP_GENERIC_KEY: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(3i32); | |
27422 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27423 | pub const XCN_NCRYPT_PCP_STORAGE_KEY: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(4i32); | |
27424 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27425 | pub const XCN_NCRYPT_PCP_IDENTITY_KEY: X509HardwareKeyUsageFlags = X509HardwareKeyUsageFlags(8i32); | |
27426 | impl ::core::marker::Copy for X509HardwareKeyUsageFlags {} | |
27427 | impl ::core::clone::Clone for X509HardwareKeyUsageFlags { | |
27428 | fn clone(&self) -> Self { | |
27429 | *self | |
27430 | } | |
27431 | } | |
27432 | impl ::core::default::Default for X509HardwareKeyUsageFlags { | |
27433 | fn default() -> Self { | |
27434 | Self(0) | |
27435 | } | |
27436 | } | |
27437 | impl ::windows::core::TypeKind for X509HardwareKeyUsageFlags { | |
27438 | type TypeKind = ::windows::core::CopyType; | |
27439 | } | |
27440 | impl ::core::fmt::Debug for X509HardwareKeyUsageFlags { | |
27441 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27442 | f.debug_tuple("X509HardwareKeyUsageFlags").field(&self.0).finish() | |
27443 | } | |
27444 | } | |
27445 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27446 | #[repr(transparent)] | |
27447 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27448 | pub struct X509KeyParametersExportType(pub i32); | |
27449 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27450 | pub const XCN_CRYPT_OID_USE_CURVE_NONE: X509KeyParametersExportType = X509KeyParametersExportType(0i32); | |
27451 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27452 | pub const XCN_CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: X509KeyParametersExportType = X509KeyParametersExportType(536870912i32); | |
27453 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27454 | pub const XCN_CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: X509KeyParametersExportType = X509KeyParametersExportType(268435456i32); | |
27455 | impl ::core::marker::Copy for X509KeyParametersExportType {} | |
27456 | impl ::core::clone::Clone for X509KeyParametersExportType { | |
27457 | fn clone(&self) -> Self { | |
27458 | *self | |
27459 | } | |
27460 | } | |
27461 | impl ::core::default::Default for X509KeyParametersExportType { | |
27462 | fn default() -> Self { | |
27463 | Self(0) | |
27464 | } | |
27465 | } | |
27466 | impl ::windows::core::TypeKind for X509KeyParametersExportType { | |
27467 | type TypeKind = ::windows::core::CopyType; | |
27468 | } | |
27469 | impl ::core::fmt::Debug for X509KeyParametersExportType { | |
27470 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27471 | f.debug_tuple("X509KeyParametersExportType").field(&self.0).finish() | |
27472 | } | |
27473 | } | |
27474 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27475 | #[repr(transparent)] | |
27476 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27477 | pub struct X509KeySpec(pub i32); | |
27478 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27479 | pub const XCN_AT_NONE: X509KeySpec = X509KeySpec(0i32); | |
27480 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27481 | pub const XCN_AT_KEYEXCHANGE: X509KeySpec = X509KeySpec(1i32); | |
27482 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27483 | pub const XCN_AT_SIGNATURE: X509KeySpec = X509KeySpec(2i32); | |
27484 | impl ::core::marker::Copy for X509KeySpec {} | |
27485 | impl ::core::clone::Clone for X509KeySpec { | |
27486 | fn clone(&self) -> Self { | |
27487 | *self | |
27488 | } | |
27489 | } | |
27490 | impl ::core::default::Default for X509KeySpec { | |
27491 | fn default() -> Self { | |
27492 | Self(0) | |
27493 | } | |
27494 | } | |
27495 | impl ::windows::core::TypeKind for X509KeySpec { | |
27496 | type TypeKind = ::windows::core::CopyType; | |
27497 | } | |
27498 | impl ::core::fmt::Debug for X509KeySpec { | |
27499 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27500 | f.debug_tuple("X509KeySpec").field(&self.0).finish() | |
27501 | } | |
27502 | } | |
27503 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27504 | #[repr(transparent)] | |
27505 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27506 | pub struct X509KeyUsageFlags(pub i32); | |
27507 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27508 | pub const XCN_CERT_NO_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(0i32); | |
27509 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27510 | pub const XCN_CERT_DIGITAL_SIGNATURE_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(128i32); | |
27511 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27512 | pub const XCN_CERT_NON_REPUDIATION_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(64i32); | |
27513 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27514 | pub const XCN_CERT_KEY_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(32i32); | |
27515 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27516 | pub const XCN_CERT_DATA_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(16i32); | |
27517 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27518 | pub const XCN_CERT_KEY_AGREEMENT_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(8i32); | |
27519 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27520 | pub const XCN_CERT_KEY_CERT_SIGN_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(4i32); | |
27521 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27522 | pub const XCN_CERT_OFFLINE_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(2i32); | |
27523 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27524 | pub const XCN_CERT_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(2i32); | |
27525 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27526 | pub const XCN_CERT_ENCIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(1i32); | |
27527 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27528 | pub const XCN_CERT_DECIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = X509KeyUsageFlags(32768i32); | |
27529 | impl ::core::marker::Copy for X509KeyUsageFlags {} | |
27530 | impl ::core::clone::Clone for X509KeyUsageFlags { | |
27531 | fn clone(&self) -> Self { | |
27532 | *self | |
27533 | } | |
27534 | } | |
27535 | impl ::core::default::Default for X509KeyUsageFlags { | |
27536 | fn default() -> Self { | |
27537 | Self(0) | |
27538 | } | |
27539 | } | |
27540 | impl ::windows::core::TypeKind for X509KeyUsageFlags { | |
27541 | type TypeKind = ::windows::core::CopyType; | |
27542 | } | |
27543 | impl ::core::fmt::Debug for X509KeyUsageFlags { | |
27544 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27545 | f.debug_tuple("X509KeyUsageFlags").field(&self.0).finish() | |
27546 | } | |
27547 | } | |
27548 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27549 | #[repr(transparent)] | |
27550 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27551 | pub struct X509PrivateKeyExportFlags(pub i32); | |
27552 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27553 | pub const XCN_NCRYPT_ALLOW_EXPORT_NONE: X509PrivateKeyExportFlags = X509PrivateKeyExportFlags(0i32); | |
27554 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27555 | pub const XCN_NCRYPT_ALLOW_EXPORT_FLAG: X509PrivateKeyExportFlags = X509PrivateKeyExportFlags(1i32); | |
27556 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27557 | pub const XCN_NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: X509PrivateKeyExportFlags = X509PrivateKeyExportFlags(2i32); | |
27558 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27559 | pub const XCN_NCRYPT_ALLOW_ARCHIVING_FLAG: X509PrivateKeyExportFlags = X509PrivateKeyExportFlags(4i32); | |
27560 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27561 | pub const XCN_NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: X509PrivateKeyExportFlags = X509PrivateKeyExportFlags(8i32); | |
27562 | impl ::core::marker::Copy for X509PrivateKeyExportFlags {} | |
27563 | impl ::core::clone::Clone for X509PrivateKeyExportFlags { | |
27564 | fn clone(&self) -> Self { | |
27565 | *self | |
27566 | } | |
27567 | } | |
27568 | impl ::core::default::Default for X509PrivateKeyExportFlags { | |
27569 | fn default() -> Self { | |
27570 | Self(0) | |
27571 | } | |
27572 | } | |
27573 | impl ::windows::core::TypeKind for X509PrivateKeyExportFlags { | |
27574 | type TypeKind = ::windows::core::CopyType; | |
27575 | } | |
27576 | impl ::core::fmt::Debug for X509PrivateKeyExportFlags { | |
27577 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27578 | f.debug_tuple("X509PrivateKeyExportFlags").field(&self.0).finish() | |
27579 | } | |
27580 | } | |
27581 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27582 | #[repr(transparent)] | |
27583 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27584 | pub struct X509PrivateKeyProtection(pub i32); | |
27585 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27586 | pub const XCN_NCRYPT_UI_NO_PROTECTION_FLAG: X509PrivateKeyProtection = X509PrivateKeyProtection(0i32); | |
27587 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27588 | pub const XCN_NCRYPT_UI_PROTECT_KEY_FLAG: X509PrivateKeyProtection = X509PrivateKeyProtection(1i32); | |
27589 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27590 | pub const XCN_NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: X509PrivateKeyProtection = X509PrivateKeyProtection(2i32); | |
27591 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27592 | pub const XCN_NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: X509PrivateKeyProtection = X509PrivateKeyProtection(4i32); | |
27593 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27594 | pub const XCN_NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: X509PrivateKeyProtection = X509PrivateKeyProtection(8i32); | |
27595 | impl ::core::marker::Copy for X509PrivateKeyProtection {} | |
27596 | impl ::core::clone::Clone for X509PrivateKeyProtection { | |
27597 | fn clone(&self) -> Self { | |
27598 | *self | |
27599 | } | |
27600 | } | |
27601 | impl ::core::default::Default for X509PrivateKeyProtection { | |
27602 | fn default() -> Self { | |
27603 | Self(0) | |
27604 | } | |
27605 | } | |
27606 | impl ::windows::core::TypeKind for X509PrivateKeyProtection { | |
27607 | type TypeKind = ::windows::core::CopyType; | |
27608 | } | |
27609 | impl ::core::fmt::Debug for X509PrivateKeyProtection { | |
27610 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27611 | f.debug_tuple("X509PrivateKeyProtection").field(&self.0).finish() | |
27612 | } | |
27613 | } | |
27614 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27615 | #[repr(transparent)] | |
27616 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27617 | pub struct X509PrivateKeyUsageFlags(pub i32); | |
27618 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27619 | pub const XCN_NCRYPT_ALLOW_USAGES_NONE: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(0i32); | |
27620 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27621 | pub const XCN_NCRYPT_ALLOW_DECRYPT_FLAG: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(1i32); | |
27622 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27623 | pub const XCN_NCRYPT_ALLOW_SIGNING_FLAG: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(2i32); | |
27624 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27625 | pub const XCN_NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(4i32); | |
27626 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27627 | pub const XCN_NCRYPT_ALLOW_KEY_IMPORT_FLAG: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(8i32); | |
27628 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27629 | pub const XCN_NCRYPT_ALLOW_ALL_USAGES: X509PrivateKeyUsageFlags = X509PrivateKeyUsageFlags(16777215i32); | |
27630 | impl ::core::marker::Copy for X509PrivateKeyUsageFlags {} | |
27631 | impl ::core::clone::Clone for X509PrivateKeyUsageFlags { | |
27632 | fn clone(&self) -> Self { | |
27633 | *self | |
27634 | } | |
27635 | } | |
27636 | impl ::core::default::Default for X509PrivateKeyUsageFlags { | |
27637 | fn default() -> Self { | |
27638 | Self(0) | |
27639 | } | |
27640 | } | |
27641 | impl ::windows::core::TypeKind for X509PrivateKeyUsageFlags { | |
27642 | type TypeKind = ::windows::core::CopyType; | |
27643 | } | |
27644 | impl ::core::fmt::Debug for X509PrivateKeyUsageFlags { | |
27645 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27646 | f.debug_tuple("X509PrivateKeyUsageFlags").field(&self.0).finish() | |
27647 | } | |
27648 | } | |
27649 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27650 | #[repr(transparent)] | |
27651 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27652 | pub struct X509PrivateKeyVerify(pub i32); | |
27653 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27654 | pub const VerifyNone: X509PrivateKeyVerify = X509PrivateKeyVerify(0i32); | |
27655 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27656 | pub const VerifySilent: X509PrivateKeyVerify = X509PrivateKeyVerify(1i32); | |
27657 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27658 | pub const VerifySmartCardNone: X509PrivateKeyVerify = X509PrivateKeyVerify(2i32); | |
27659 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27660 | pub const VerifySmartCardSilent: X509PrivateKeyVerify = X509PrivateKeyVerify(3i32); | |
27661 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27662 | pub const VerifyAllowUI: X509PrivateKeyVerify = X509PrivateKeyVerify(4i32); | |
27663 | impl ::core::marker::Copy for X509PrivateKeyVerify {} | |
27664 | impl ::core::clone::Clone for X509PrivateKeyVerify { | |
27665 | fn clone(&self) -> Self { | |
27666 | *self | |
27667 | } | |
27668 | } | |
27669 | impl ::core::default::Default for X509PrivateKeyVerify { | |
27670 | fn default() -> Self { | |
27671 | Self(0) | |
27672 | } | |
27673 | } | |
27674 | impl ::windows::core::TypeKind for X509PrivateKeyVerify { | |
27675 | type TypeKind = ::windows::core::CopyType; | |
27676 | } | |
27677 | impl ::core::fmt::Debug for X509PrivateKeyVerify { | |
27678 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27679 | f.debug_tuple("X509PrivateKeyVerify").field(&self.0).finish() | |
27680 | } | |
27681 | } | |
27682 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27683 | #[repr(transparent)] | |
27684 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27685 | pub struct X509ProviderType(pub i32); | |
27686 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27687 | pub const XCN_PROV_NONE: X509ProviderType = X509ProviderType(0i32); | |
27688 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27689 | pub const XCN_PROV_RSA_FULL: X509ProviderType = X509ProviderType(1i32); | |
27690 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27691 | pub const XCN_PROV_RSA_SIG: X509ProviderType = X509ProviderType(2i32); | |
27692 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27693 | pub const XCN_PROV_DSS: X509ProviderType = X509ProviderType(3i32); | |
27694 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27695 | pub const XCN_PROV_FORTEZZA: X509ProviderType = X509ProviderType(4i32); | |
27696 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27697 | pub const XCN_PROV_MS_EXCHANGE: X509ProviderType = X509ProviderType(5i32); | |
27698 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27699 | pub const XCN_PROV_SSL: X509ProviderType = X509ProviderType(6i32); | |
27700 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27701 | pub const XCN_PROV_RSA_SCHANNEL: X509ProviderType = X509ProviderType(12i32); | |
27702 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27703 | pub const XCN_PROV_DSS_DH: X509ProviderType = X509ProviderType(13i32); | |
27704 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27705 | pub const XCN_PROV_EC_ECDSA_SIG: X509ProviderType = X509ProviderType(14i32); | |
27706 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27707 | pub const XCN_PROV_EC_ECNRA_SIG: X509ProviderType = X509ProviderType(15i32); | |
27708 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27709 | pub const XCN_PROV_EC_ECDSA_FULL: X509ProviderType = X509ProviderType(16i32); | |
27710 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27711 | pub const XCN_PROV_EC_ECNRA_FULL: X509ProviderType = X509ProviderType(17i32); | |
27712 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27713 | pub const XCN_PROV_DH_SCHANNEL: X509ProviderType = X509ProviderType(18i32); | |
27714 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27715 | pub const XCN_PROV_SPYRUS_LYNKS: X509ProviderType = X509ProviderType(20i32); | |
27716 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27717 | pub const XCN_PROV_RNG: X509ProviderType = X509ProviderType(21i32); | |
27718 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27719 | pub const XCN_PROV_INTEL_SEC: X509ProviderType = X509ProviderType(22i32); | |
27720 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27721 | pub const XCN_PROV_REPLACE_OWF: X509ProviderType = X509ProviderType(23i32); | |
27722 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27723 | pub const XCN_PROV_RSA_AES: X509ProviderType = X509ProviderType(24i32); | |
27724 | impl ::core::marker::Copy for X509ProviderType {} | |
27725 | impl ::core::clone::Clone for X509ProviderType { | |
27726 | fn clone(&self) -> Self { | |
27727 | *self | |
27728 | } | |
27729 | } | |
27730 | impl ::core::default::Default for X509ProviderType { | |
27731 | fn default() -> Self { | |
27732 | Self(0) | |
27733 | } | |
27734 | } | |
27735 | impl ::windows::core::TypeKind for X509ProviderType { | |
27736 | type TypeKind = ::windows::core::CopyType; | |
27737 | } | |
27738 | impl ::core::fmt::Debug for X509ProviderType { | |
27739 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27740 | f.debug_tuple("X509ProviderType").field(&self.0).finish() | |
27741 | } | |
27742 | } | |
27743 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27744 | #[repr(transparent)] | |
27745 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27746 | pub struct X509RequestInheritOptions(pub i32); | |
27747 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27748 | pub const InheritDefault: X509RequestInheritOptions = X509RequestInheritOptions(0i32); | |
27749 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27750 | pub const InheritNewDefaultKey: X509RequestInheritOptions = X509RequestInheritOptions(1i32); | |
27751 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27752 | pub const InheritNewSimilarKey: X509RequestInheritOptions = X509RequestInheritOptions(2i32); | |
27753 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27754 | pub const InheritPrivateKey: X509RequestInheritOptions = X509RequestInheritOptions(3i32); | |
27755 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27756 | pub const InheritPublicKey: X509RequestInheritOptions = X509RequestInheritOptions(4i32); | |
27757 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27758 | pub const InheritKeyMask: X509RequestInheritOptions = X509RequestInheritOptions(15i32); | |
27759 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27760 | pub const InheritNone: X509RequestInheritOptions = X509RequestInheritOptions(16i32); | |
27761 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27762 | pub const InheritRenewalCertificateFlag: X509RequestInheritOptions = X509RequestInheritOptions(32i32); | |
27763 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27764 | pub const InheritTemplateFlag: X509RequestInheritOptions = X509RequestInheritOptions(64i32); | |
27765 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27766 | pub const InheritSubjectFlag: X509RequestInheritOptions = X509RequestInheritOptions(128i32); | |
27767 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27768 | pub const InheritExtensionsFlag: X509RequestInheritOptions = X509RequestInheritOptions(256i32); | |
27769 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27770 | pub const InheritSubjectAltNameFlag: X509RequestInheritOptions = X509RequestInheritOptions(512i32); | |
27771 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27772 | pub const InheritValidityPeriodFlag: X509RequestInheritOptions = X509RequestInheritOptions(1024i32); | |
27773 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27774 | pub const InheritReserved80000000: X509RequestInheritOptions = X509RequestInheritOptions(-2147483648i32); | |
27775 | impl ::core::marker::Copy for X509RequestInheritOptions {} | |
27776 | impl ::core::clone::Clone for X509RequestInheritOptions { | |
27777 | fn clone(&self) -> Self { | |
27778 | *self | |
27779 | } | |
27780 | } | |
27781 | impl ::core::default::Default for X509RequestInheritOptions { | |
27782 | fn default() -> Self { | |
27783 | Self(0) | |
27784 | } | |
27785 | } | |
27786 | impl ::windows::core::TypeKind for X509RequestInheritOptions { | |
27787 | type TypeKind = ::windows::core::CopyType; | |
27788 | } | |
27789 | impl ::core::fmt::Debug for X509RequestInheritOptions { | |
27790 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27791 | f.debug_tuple("X509RequestInheritOptions").field(&self.0).finish() | |
27792 | } | |
27793 | } | |
27794 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27795 | #[repr(transparent)] | |
27796 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27797 | pub struct X509RequestType(pub i32); | |
27798 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27799 | pub const TypeAny: X509RequestType = X509RequestType(0i32); | |
27800 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27801 | pub const TypePkcs10: X509RequestType = X509RequestType(1i32); | |
27802 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27803 | pub const TypePkcs7: X509RequestType = X509RequestType(2i32); | |
27804 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27805 | pub const TypeCmc: X509RequestType = X509RequestType(3i32); | |
27806 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27807 | pub const TypeCertificate: X509RequestType = X509RequestType(4i32); | |
27808 | impl ::core::marker::Copy for X509RequestType {} | |
27809 | impl ::core::clone::Clone for X509RequestType { | |
27810 | fn clone(&self) -> Self { | |
27811 | *self | |
27812 | } | |
27813 | } | |
27814 | impl ::core::default::Default for X509RequestType { | |
27815 | fn default() -> Self { | |
27816 | Self(0) | |
27817 | } | |
27818 | } | |
27819 | impl ::windows::core::TypeKind for X509RequestType { | |
27820 | type TypeKind = ::windows::core::CopyType; | |
27821 | } | |
27822 | impl ::core::fmt::Debug for X509RequestType { | |
27823 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27824 | f.debug_tuple("X509RequestType").field(&self.0).finish() | |
27825 | } | |
27826 | } | |
27827 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27828 | #[repr(transparent)] | |
27829 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27830 | pub struct X509SCEPDisposition(pub i32); | |
27831 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27832 | pub const SCEPDispositionUnknown: X509SCEPDisposition = X509SCEPDisposition(-1i32); | |
27833 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27834 | pub const SCEPDispositionSuccess: X509SCEPDisposition = X509SCEPDisposition(0i32); | |
27835 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27836 | pub const SCEPDispositionFailure: X509SCEPDisposition = X509SCEPDisposition(2i32); | |
27837 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27838 | pub const SCEPDispositionPending: X509SCEPDisposition = X509SCEPDisposition(3i32); | |
27839 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27840 | pub const SCEPDispositionPendingChallenge: X509SCEPDisposition = X509SCEPDisposition(11i32); | |
27841 | impl ::core::marker::Copy for X509SCEPDisposition {} | |
27842 | impl ::core::clone::Clone for X509SCEPDisposition { | |
27843 | fn clone(&self) -> Self { | |
27844 | *self | |
27845 | } | |
27846 | } | |
27847 | impl ::core::default::Default for X509SCEPDisposition { | |
27848 | fn default() -> Self { | |
27849 | Self(0) | |
27850 | } | |
27851 | } | |
27852 | impl ::windows::core::TypeKind for X509SCEPDisposition { | |
27853 | type TypeKind = ::windows::core::CopyType; | |
27854 | } | |
27855 | impl ::core::fmt::Debug for X509SCEPDisposition { | |
27856 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27857 | f.debug_tuple("X509SCEPDisposition").field(&self.0).finish() | |
27858 | } | |
27859 | } | |
27860 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27861 | #[repr(transparent)] | |
27862 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27863 | pub struct X509SCEPFailInfo(pub i32); | |
27864 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27865 | pub const SCEPFailUnknown: X509SCEPFailInfo = X509SCEPFailInfo(-1i32); | |
27866 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27867 | pub const SCEPFailBadAlgorithm: X509SCEPFailInfo = X509SCEPFailInfo(0i32); | |
27868 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27869 | pub const SCEPFailBadMessageCheck: X509SCEPFailInfo = X509SCEPFailInfo(1i32); | |
27870 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27871 | pub const SCEPFailBadRequest: X509SCEPFailInfo = X509SCEPFailInfo(2i32); | |
27872 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27873 | pub const SCEPFailBadTime: X509SCEPFailInfo = X509SCEPFailInfo(3i32); | |
27874 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27875 | pub const SCEPFailBadCertId: X509SCEPFailInfo = X509SCEPFailInfo(4i32); | |
27876 | impl ::core::marker::Copy for X509SCEPFailInfo {} | |
27877 | impl ::core::clone::Clone for X509SCEPFailInfo { | |
27878 | fn clone(&self) -> Self { | |
27879 | *self | |
27880 | } | |
27881 | } | |
27882 | impl ::core::default::Default for X509SCEPFailInfo { | |
27883 | fn default() -> Self { | |
27884 | Self(0) | |
27885 | } | |
27886 | } | |
27887 | impl ::windows::core::TypeKind for X509SCEPFailInfo { | |
27888 | type TypeKind = ::windows::core::CopyType; | |
27889 | } | |
27890 | impl ::core::fmt::Debug for X509SCEPFailInfo { | |
27891 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27892 | f.debug_tuple("X509SCEPFailInfo").field(&self.0).finish() | |
27893 | } | |
27894 | } | |
27895 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27896 | #[repr(transparent)] | |
27897 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27898 | pub struct X509SCEPMessageType(pub i32); | |
27899 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27900 | pub const SCEPMessageUnknown: X509SCEPMessageType = X509SCEPMessageType(-1i32); | |
27901 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27902 | pub const SCEPMessageCertResponse: X509SCEPMessageType = X509SCEPMessageType(3i32); | |
27903 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27904 | pub const SCEPMessagePKCSRequest: X509SCEPMessageType = X509SCEPMessageType(19i32); | |
27905 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27906 | pub const SCEPMessageGetCertInitial: X509SCEPMessageType = X509SCEPMessageType(20i32); | |
27907 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27908 | pub const SCEPMessageGetCert: X509SCEPMessageType = X509SCEPMessageType(21i32); | |
27909 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27910 | pub const SCEPMessageGetCRL: X509SCEPMessageType = X509SCEPMessageType(22i32); | |
27911 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27912 | pub const SCEPMessageClaimChallengeAnswer: X509SCEPMessageType = X509SCEPMessageType(41i32); | |
27913 | impl ::core::marker::Copy for X509SCEPMessageType {} | |
27914 | impl ::core::clone::Clone for X509SCEPMessageType { | |
27915 | fn clone(&self) -> Self { | |
27916 | *self | |
27917 | } | |
27918 | } | |
27919 | impl ::core::default::Default for X509SCEPMessageType { | |
27920 | fn default() -> Self { | |
27921 | Self(0) | |
27922 | } | |
27923 | } | |
27924 | impl ::windows::core::TypeKind for X509SCEPMessageType { | |
27925 | type TypeKind = ::windows::core::CopyType; | |
27926 | } | |
27927 | impl ::core::fmt::Debug for X509SCEPMessageType { | |
27928 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27929 | f.debug_tuple("X509SCEPMessageType").field(&self.0).finish() | |
27930 | } | |
27931 | } | |
27932 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27933 | #[repr(transparent)] | |
27934 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27935 | pub struct X509SCEPProcessMessageFlags(pub i32); | |
27936 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27937 | pub const SCEPProcessDefault: X509SCEPProcessMessageFlags = X509SCEPProcessMessageFlags(0i32); | |
27938 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27939 | pub const SCEPProcessSkipCertInstall: X509SCEPProcessMessageFlags = X509SCEPProcessMessageFlags(1i32); | |
27940 | impl ::core::marker::Copy for X509SCEPProcessMessageFlags {} | |
27941 | impl ::core::clone::Clone for X509SCEPProcessMessageFlags { | |
27942 | fn clone(&self) -> Self { | |
27943 | *self | |
27944 | } | |
27945 | } | |
27946 | impl ::core::default::Default for X509SCEPProcessMessageFlags { | |
27947 | fn default() -> Self { | |
27948 | Self(0) | |
27949 | } | |
27950 | } | |
27951 | impl ::windows::core::TypeKind for X509SCEPProcessMessageFlags { | |
27952 | type TypeKind = ::windows::core::CopyType; | |
27953 | } | |
27954 | impl ::core::fmt::Debug for X509SCEPProcessMessageFlags { | |
27955 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27956 | f.debug_tuple("X509SCEPProcessMessageFlags").field(&self.0).finish() | |
27957 | } | |
27958 | } | |
27959 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27960 | #[repr(transparent)] | |
27961 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27962 | pub struct XEKL_KEYSIZE(pub u32); | |
27963 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27964 | pub const XEKL_KEYSIZE_MIN: XEKL_KEYSIZE = XEKL_KEYSIZE(1u32); | |
27965 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27966 | pub const XEKL_KEYSIZE_MAX: XEKL_KEYSIZE = XEKL_KEYSIZE(2u32); | |
27967 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27968 | pub const XEKL_KEYSIZE_INC: XEKL_KEYSIZE = XEKL_KEYSIZE(3u32); | |
27969 | impl ::core::marker::Copy for XEKL_KEYSIZE {} | |
27970 | impl ::core::clone::Clone for XEKL_KEYSIZE { | |
27971 | fn clone(&self) -> Self { | |
27972 | *self | |
27973 | } | |
27974 | } | |
27975 | impl ::core::default::Default for XEKL_KEYSIZE { | |
27976 | fn default() -> Self { | |
27977 | Self(0) | |
27978 | } | |
27979 | } | |
27980 | impl ::windows::core::TypeKind for XEKL_KEYSIZE { | |
27981 | type TypeKind = ::windows::core::CopyType; | |
27982 | } | |
27983 | impl ::core::fmt::Debug for XEKL_KEYSIZE { | |
27984 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27985 | f.debug_tuple("XEKL_KEYSIZE").field(&self.0).finish() | |
27986 | } | |
27987 | } | |
27988 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27989 | #[repr(transparent)] | |
27990 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
27991 | pub struct XEKL_KEYSPEC(pub u32); | |
27992 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27993 | pub const XEKL_KEYSPEC_KEYX: XEKL_KEYSPEC = XEKL_KEYSPEC(1u32); | |
27994 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
27995 | pub const XEKL_KEYSPEC_SIG: XEKL_KEYSPEC = XEKL_KEYSPEC(2u32); | |
27996 | impl ::core::marker::Copy for XEKL_KEYSPEC {} | |
27997 | impl ::core::clone::Clone for XEKL_KEYSPEC { | |
27998 | fn clone(&self) -> Self { | |
27999 | *self | |
28000 | } | |
28001 | } | |
28002 | impl ::core::default::Default for XEKL_KEYSPEC { | |
28003 | fn default() -> Self { | |
28004 | Self(0) | |
28005 | } | |
28006 | } | |
28007 | impl ::windows::core::TypeKind for XEKL_KEYSPEC { | |
28008 | type TypeKind = ::windows::core::CopyType; | |
28009 | } | |
28010 | impl ::core::fmt::Debug for XEKL_KEYSPEC { | |
28011 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28012 | f.debug_tuple("XEKL_KEYSPEC").field(&self.0).finish() | |
28013 | } | |
28014 | } | |
28015 | #[repr(C)] | |
28016 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28017 | pub struct CAINFO { | |
28018 | pub cbSize: u32, | |
28019 | pub CAType: ENUM_CATYPES, | |
28020 | pub cCASignatureCerts: u32, | |
28021 | pub cCAExchangeCerts: u32, | |
28022 | pub cExitModules: u32, | |
28023 | pub lPropIdMax: i32, | |
28024 | pub lRoleSeparationEnabled: i32, | |
28025 | pub cKRACertUsedCount: u32, | |
28026 | pub cKRACertCount: u32, | |
28027 | pub fAdvancedServer: u32, | |
28028 | } | |
28029 | impl ::core::marker::Copy for CAINFO {} | |
28030 | impl ::core::clone::Clone for CAINFO { | |
28031 | fn clone(&self) -> Self { | |
28032 | *self | |
28033 | } | |
28034 | } | |
28035 | impl ::core::fmt::Debug for CAINFO { | |
28036 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28037 | f.debug_struct("CAINFO") | |
28038 | .field("cbSize", &self.cbSize) | |
28039 | .field("CAType", &self.CAType) | |
28040 | .field("cCASignatureCerts", &self.cCASignatureCerts) | |
28041 | .field("cCAExchangeCerts", &self.cCAExchangeCerts) | |
28042 | .field("cExitModules", &self.cExitModules) | |
28043 | .field("lPropIdMax", &self.lPropIdMax) | |
28044 | .field("lRoleSeparationEnabled", &self.lRoleSeparationEnabled) | |
28045 | .field("cKRACertUsedCount", &self.cKRACertUsedCount) | |
28046 | .field("cKRACertCount", &self.cKRACertCount) | |
28047 | .field("fAdvancedServer", &self.fAdvancedServer) | |
28048 | .finish() | |
28049 | } | |
28050 | } | |
28051 | impl ::windows::core::TypeKind for CAINFO { | |
28052 | type TypeKind = ::windows::core::CopyType; | |
28053 | } | |
28054 | impl ::core::cmp::PartialEq for CAINFO { | |
28055 | fn eq(&self, other: &Self) -> bool { | |
28056 | self.cbSize == other.cbSize && self.CAType == other.CAType && self.cCASignatureCerts == other.cCASignatureCerts && self.cCAExchangeCerts == other.cCAExchangeCerts && self.cExitModules == other.cExitModules && self.lPropIdMax == other.lPropIdMax && self.lRoleSeparationEnabled == other.lRoleSeparationEnabled && self.cKRACertUsedCount == other.cKRACertUsedCount && self.cKRACertCount == other.cKRACertCount && self.fAdvancedServer == other.fAdvancedServer | |
28057 | } | |
28058 | } | |
28059 | impl ::core::cmp::Eq for CAINFO {} | |
28060 | impl ::core::default::Default for CAINFO { | |
28061 | fn default() -> Self { | |
28062 | unsafe { ::core::mem::zeroed() } | |
28063 | } | |
28064 | } | |
28065 | #[repr(C)] | |
28066 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28067 | pub struct CERTTRANSBLOB { | |
28068 | pub cb: u32, | |
28069 | pub pb: *mut u8, | |
28070 | } | |
28071 | impl ::core::marker::Copy for CERTTRANSBLOB {} | |
28072 | impl ::core::clone::Clone for CERTTRANSBLOB { | |
28073 | fn clone(&self) -> Self { | |
28074 | *self | |
28075 | } | |
28076 | } | |
28077 | impl ::core::fmt::Debug for CERTTRANSBLOB { | |
28078 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28079 | f.debug_struct("CERTTRANSBLOB").field("cb", &self.cb).field("pb", &self.pb).finish() | |
28080 | } | |
28081 | } | |
28082 | impl ::windows::core::TypeKind for CERTTRANSBLOB { | |
28083 | type TypeKind = ::windows::core::CopyType; | |
28084 | } | |
28085 | impl ::core::cmp::PartialEq for CERTTRANSBLOB { | |
28086 | fn eq(&self, other: &Self) -> bool { | |
28087 | self.cb == other.cb && self.pb == other.pb | |
28088 | } | |
28089 | } | |
28090 | impl ::core::cmp::Eq for CERTTRANSBLOB {} | |
28091 | impl ::core::default::Default for CERTTRANSBLOB { | |
28092 | fn default() -> Self { | |
28093 | unsafe { ::core::mem::zeroed() } | |
28094 | } | |
28095 | } | |
28096 | #[repr(C)] | |
28097 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28098 | pub struct CERTVIEWRESTRICTION { | |
28099 | pub ColumnIndex: u32, | |
28100 | pub SeekOperator: i32, | |
28101 | pub SortOrder: i32, | |
28102 | pub pbValue: *mut u8, | |
28103 | pub cbValue: u32, | |
28104 | } | |
28105 | impl ::core::marker::Copy for CERTVIEWRESTRICTION {} | |
28106 | impl ::core::clone::Clone for CERTVIEWRESTRICTION { | |
28107 | fn clone(&self) -> Self { | |
28108 | *self | |
28109 | } | |
28110 | } | |
28111 | impl ::core::fmt::Debug for CERTVIEWRESTRICTION { | |
28112 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28113 | f.debug_struct("CERTVIEWRESTRICTION").field("ColumnIndex", &self.ColumnIndex).field("SeekOperator", &self.SeekOperator).field("SortOrder", &self.SortOrder).field("pbValue", &self.pbValue).field("cbValue", &self.cbValue).finish() | |
28114 | } | |
28115 | } | |
28116 | impl ::windows::core::TypeKind for CERTVIEWRESTRICTION { | |
28117 | type TypeKind = ::windows::core::CopyType; | |
28118 | } | |
28119 | impl ::core::cmp::PartialEq for CERTVIEWRESTRICTION { | |
28120 | fn eq(&self, other: &Self) -> bool { | |
28121 | self.ColumnIndex == other.ColumnIndex && self.SeekOperator == other.SeekOperator && self.SortOrder == other.SortOrder && self.pbValue == other.pbValue && self.cbValue == other.cbValue | |
28122 | } | |
28123 | } | |
28124 | impl ::core::cmp::Eq for CERTVIEWRESTRICTION {} | |
28125 | impl ::core::default::Default for CERTVIEWRESTRICTION { | |
28126 | fn default() -> Self { | |
28127 | unsafe { ::core::mem::zeroed() } | |
28128 | } | |
28129 | } | |
28130 | #[repr(C)] | |
28131 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28132 | pub struct CSEDB_RSTMAPW { | |
28133 | pub pwszDatabaseName: ::windows::core::PWSTR, | |
28134 | pub pwszNewDatabaseName: ::windows::core::PWSTR, | |
28135 | } | |
28136 | impl ::core::marker::Copy for CSEDB_RSTMAPW {} | |
28137 | impl ::core::clone::Clone for CSEDB_RSTMAPW { | |
28138 | fn clone(&self) -> Self { | |
28139 | *self | |
28140 | } | |
28141 | } | |
28142 | impl ::core::fmt::Debug for CSEDB_RSTMAPW { | |
28143 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28144 | f.debug_struct("CSEDB_RSTMAPW").field("pwszDatabaseName", &self.pwszDatabaseName).field("pwszNewDatabaseName", &self.pwszNewDatabaseName).finish() | |
28145 | } | |
28146 | } | |
28147 | impl ::windows::core::TypeKind for CSEDB_RSTMAPW { | |
28148 | type TypeKind = ::windows::core::CopyType; | |
28149 | } | |
28150 | impl ::core::cmp::PartialEq for CSEDB_RSTMAPW { | |
28151 | fn eq(&self, other: &Self) -> bool { | |
28152 | self.pwszDatabaseName == other.pwszDatabaseName && self.pwszNewDatabaseName == other.pwszNewDatabaseName | |
28153 | } | |
28154 | } | |
28155 | impl ::core::cmp::Eq for CSEDB_RSTMAPW {} | |
28156 | impl ::core::default::Default for CSEDB_RSTMAPW { | |
28157 | fn default() -> Self { | |
28158 | unsafe { ::core::mem::zeroed() } | |
28159 | } | |
28160 | } | |
28161 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28162 | pub type FNCERTSRVBACKUPCLOSE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28163 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28164 | pub type FNCERTSRVBACKUPEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28165 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28166 | pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; | |
28167 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28168 | pub type FNCERTSRVBACKUPGETBACKUPLOGSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzbackuplogfiles: *mut *mut u16, pcbsize: *mut u32) -> ::windows::core::HRESULT>; | |
28169 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28170 | pub type FNCERTSRVBACKUPGETDATABASENAMESW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzattachmentinformation: *mut *mut u16, pcbsize: *mut u32) -> ::windows::core::HRESULT>; | |
28171 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28172 | pub type FNCERTSRVBACKUPGETDYNAMICFILELISTW = ::core::option::Option<unsafe extern "system" fn(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut *mut u16, pcbsize: *mut u32) -> ::windows::core::HRESULT>; | |
28173 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28174 | pub type FNCERTSRVBACKUPOPENFILEW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows::core::HRESULT>; | |
28175 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28176 | pub type FNCERTSRVBACKUPPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows::core::PCWSTR, grbitjet: u32, dwbackupflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28177 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28178 | 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::core::HRESULT>; | |
28179 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28180 | pub type FNCERTSRVBACKUPTRUNCATELOGS = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28181 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
28182 | #[cfg(feature = "Win32_Foundation")] | |
28183 | pub type FNCERTSRVISSERVERONLINEW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT>; | |
28184 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28185 | pub type FNCERTSRVRESTOREEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28186 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28187 | pub type FNCERTSRVRESTOREGETDATABASELOCATIONSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut *mut u16, pcbsize: *mut u32) -> ::windows::core::HRESULT>; | |
28188 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28189 | pub type FNCERTSRVRESTOREPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT>; | |
28190 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28191 | pub type FNCERTSRVRESTOREREGISTERCOMPLETE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows::core::HRESULT) -> ::windows::core::HRESULT>; | |
28192 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28193 | pub type FNCERTSRVRESTOREREGISTERW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows::core::PCWSTR, pwszlogpath: ::windows::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows::core::HRESULT>; | |
28194 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] | |
28195 | pub type FNCERTSRVSERVERCONTROLW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows::core::HRESULT>; | |
28196 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
28197 | #[cfg(feature = "Win32_Foundation")] | |
28198 | 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::core::PCWSTR, pwszprovidername: ::windows::core::PCWSTR, pwszreadername: ::windows::core::PCWSTR, pwszcontainernameprefix: ::windows::core::PCWSTR, pwszpin: ::windows::core::PCWSTR, pwszfriendlyname: ::windows::core::PCWSTR, pccertout: *mut u32, prgpcertout: *mut *mut *mut super::CERT_CONTEXT) -> ::windows::core::HRESULT>; | |
28199 | #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] | |
28200 | #[cfg(feature = "Win32_Foundation")] | |
28201 | pub type FNIMPORTPFXTOPROVIDERFREEDATA = ::core::option::Option<unsafe extern "system" fn(ccert: u32, rgpcert: *const *const super::CERT_CONTEXT) -> ()>; | |
28202 | #[cfg(feature = "implement")] | |
28203 | ::core::include!("impl.rs"); |