winrt-Windows.Security.EnterpriseData 2.2.0__cp313-cp313-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_security_enterprisedata.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_security_enterprisedata.pyi +268 -0
- winrt/windows/security/enterprisedata/__init__.py +102 -0
- winrt/windows/security/enterprisedata/py.typed +0 -0
- winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/METADATA +29 -0
- winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.networking as windows_networking
|
|
15
|
+
import winrt.windows.storage as windows_storage
|
|
16
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
17
|
+
|
|
18
|
+
from winrt.windows.security.enterprisedata import DataProtectionStatus, EnforcementLevel, FileProtectionStatus, ProtectedImportExportStatus, ProtectionPolicyAuditAction, ProtectionPolicyEvaluationResult, ProtectionPolicyRequestAccessBehavior
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class BufferProtectUnprotectResult(winrt.system.Object):
|
|
24
|
+
@staticmethod
|
|
25
|
+
def _from(obj: winrt.system.Object, /) -> BufferProtectUnprotectResult: ...
|
|
26
|
+
@_property
|
|
27
|
+
def buffer(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
28
|
+
@_property
|
|
29
|
+
def protection_info(self) -> typing.Optional[DataProtectionInfo]: ...
|
|
30
|
+
|
|
31
|
+
@typing.final
|
|
32
|
+
class DataProtectionInfo(winrt.system.Object):
|
|
33
|
+
@staticmethod
|
|
34
|
+
def _from(obj: winrt.system.Object, /) -> DataProtectionInfo: ...
|
|
35
|
+
@_property
|
|
36
|
+
def identity(self) -> str: ...
|
|
37
|
+
@_property
|
|
38
|
+
def status(self) -> DataProtectionStatus: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class DataProtectionManager_Static(type):
|
|
42
|
+
def get_protection_info_async(cls, protected_data: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperation[DataProtectionInfo]: ...
|
|
43
|
+
def get_stream_protection_info_async(cls, protected_stream: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncOperation[DataProtectionInfo]: ...
|
|
44
|
+
def protect_async(cls, data: typing.Optional[windows_storage_streams.IBuffer], identity: str, /) -> windows_foundation.IAsyncOperation[BufferProtectUnprotectResult]: ...
|
|
45
|
+
def protect_stream_async(cls, unprotected_stream: typing.Optional[windows_storage_streams.IInputStream], identity: str, protected_stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperation[DataProtectionInfo]: ...
|
|
46
|
+
def unprotect_async(cls, data: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperation[BufferProtectUnprotectResult]: ...
|
|
47
|
+
def unprotect_stream_async(cls, protected_stream: typing.Optional[windows_storage_streams.IInputStream], unprotected_stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperation[DataProtectionInfo]: ...
|
|
48
|
+
|
|
49
|
+
@typing.final
|
|
50
|
+
class DataProtectionManager(winrt.system.Object, metaclass=DataProtectionManager_Static):
|
|
51
|
+
pass
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class FileProtectionInfo(winrt.system.Object):
|
|
55
|
+
@staticmethod
|
|
56
|
+
def _from(obj: winrt.system.Object, /) -> FileProtectionInfo: ...
|
|
57
|
+
@_property
|
|
58
|
+
def identity(self) -> str: ...
|
|
59
|
+
@_property
|
|
60
|
+
def is_roamable(self) -> bool: ...
|
|
61
|
+
@_property
|
|
62
|
+
def status(self) -> FileProtectionStatus: ...
|
|
63
|
+
@_property
|
|
64
|
+
def is_protect_while_open_supported(self) -> bool: ...
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class FileProtectionManager_Static(type):
|
|
68
|
+
def copy_protection_async(cls, source: typing.Optional[windows_storage.IStorageItem], target: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
69
|
+
def create_protected_and_open_async(cls, parent_folder: typing.Optional[windows_storage.IStorageFolder], desired_name: str, identity: str, collision_option: windows_storage.CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[ProtectedFileCreateResult]: ...
|
|
70
|
+
def get_protection_info_async(cls, source: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[FileProtectionInfo]: ...
|
|
71
|
+
def is_container_async(cls, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
72
|
+
@typing.overload
|
|
73
|
+
def load_file_from_container_async(cls, container_file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[ProtectedContainerImportResult]: ...
|
|
74
|
+
@typing.overload
|
|
75
|
+
def load_file_from_container_async(cls, container_file: typing.Optional[windows_storage.IStorageFile], target: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[ProtectedContainerImportResult]: ...
|
|
76
|
+
@typing.overload
|
|
77
|
+
def load_file_from_container_async(cls, container_file: typing.Optional[windows_storage.IStorageFile], target: typing.Optional[windows_storage.IStorageItem], collision_option: windows_storage.NameCollisionOption, /) -> windows_foundation.IAsyncOperation[ProtectedContainerImportResult]: ...
|
|
78
|
+
def protect_async(cls, target: typing.Optional[windows_storage.IStorageItem], identity: str, /) -> windows_foundation.IAsyncOperation[FileProtectionInfo]: ...
|
|
79
|
+
@typing.overload
|
|
80
|
+
def save_file_as_container_async(cls, protected_file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[ProtectedContainerExportResult]: ...
|
|
81
|
+
@typing.overload
|
|
82
|
+
def save_file_as_container_async(cls, protected_file: typing.Optional[windows_storage.IStorageFile], shared_with_identities: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ProtectedContainerExportResult]: ...
|
|
83
|
+
@typing.overload
|
|
84
|
+
def unprotect_async(cls, target: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[FileProtectionInfo]: ...
|
|
85
|
+
@typing.overload
|
|
86
|
+
def unprotect_async(cls, target: typing.Optional[windows_storage.IStorageItem], options: typing.Optional[FileUnprotectOptions], /) -> windows_foundation.IAsyncOperation[FileProtectionInfo]: ...
|
|
87
|
+
|
|
88
|
+
@typing.final
|
|
89
|
+
class FileProtectionManager(winrt.system.Object, metaclass=FileProtectionManager_Static):
|
|
90
|
+
pass
|
|
91
|
+
|
|
92
|
+
@typing.final
|
|
93
|
+
class FileRevocationManager_Static(type):
|
|
94
|
+
def copy_protection_async(cls, source_storage_item: typing.Optional[windows_storage.IStorageItem], target_storage_item: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
95
|
+
def get_status_async(cls, storage_item: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[FileProtectionStatus]: ...
|
|
96
|
+
def protect_async(cls, storage_item: typing.Optional[windows_storage.IStorageItem], enterprise_identity: str, /) -> windows_foundation.IAsyncOperation[FileProtectionStatus]: ...
|
|
97
|
+
def revoke(cls, enterprise_identity: str, /) -> None: ...
|
|
98
|
+
|
|
99
|
+
@typing.final
|
|
100
|
+
class FileRevocationManager(winrt.system.Object, metaclass=FileRevocationManager_Static):
|
|
101
|
+
pass
|
|
102
|
+
|
|
103
|
+
@typing.final
|
|
104
|
+
class FileUnprotectOptions(winrt.system.Object):
|
|
105
|
+
@staticmethod
|
|
106
|
+
def _from(obj: winrt.system.Object, /) -> FileUnprotectOptions: ...
|
|
107
|
+
def __new__(cls: typing.Type[FileUnprotectOptions], audit: bool) -> FileUnprotectOptions: ...
|
|
108
|
+
@_property
|
|
109
|
+
def audit(self) -> bool: ...
|
|
110
|
+
@audit.setter
|
|
111
|
+
def audit(self, value: bool) -> None: ...
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class ProtectedAccessResumedEventArgs(winrt.system.Object):
|
|
115
|
+
@staticmethod
|
|
116
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedAccessResumedEventArgs: ...
|
|
117
|
+
@_property
|
|
118
|
+
def identities(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
119
|
+
|
|
120
|
+
@typing.final
|
|
121
|
+
class ProtectedAccessSuspendingEventArgs(winrt.system.Object):
|
|
122
|
+
@staticmethod
|
|
123
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedAccessSuspendingEventArgs: ...
|
|
124
|
+
def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
|
|
125
|
+
@_property
|
|
126
|
+
def deadline(self) -> datetime.datetime: ...
|
|
127
|
+
@_property
|
|
128
|
+
def identities(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
129
|
+
|
|
130
|
+
@typing.final
|
|
131
|
+
class ProtectedContainerExportResult(winrt.system.Object):
|
|
132
|
+
@staticmethod
|
|
133
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedContainerExportResult: ...
|
|
134
|
+
@_property
|
|
135
|
+
def file(self) -> typing.Optional[windows_storage.StorageFile]: ...
|
|
136
|
+
@_property
|
|
137
|
+
def status(self) -> ProtectedImportExportStatus: ...
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class ProtectedContainerImportResult(winrt.system.Object):
|
|
141
|
+
@staticmethod
|
|
142
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedContainerImportResult: ...
|
|
143
|
+
@_property
|
|
144
|
+
def file(self) -> typing.Optional[windows_storage.StorageFile]: ...
|
|
145
|
+
@_property
|
|
146
|
+
def status(self) -> ProtectedImportExportStatus: ...
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class ProtectedContentRevokedEventArgs(winrt.system.Object):
|
|
150
|
+
@staticmethod
|
|
151
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedContentRevokedEventArgs: ...
|
|
152
|
+
@_property
|
|
153
|
+
def identities(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
154
|
+
|
|
155
|
+
@typing.final
|
|
156
|
+
class ProtectedFileCreateResult(winrt.system.Object):
|
|
157
|
+
@staticmethod
|
|
158
|
+
def _from(obj: winrt.system.Object, /) -> ProtectedFileCreateResult: ...
|
|
159
|
+
@_property
|
|
160
|
+
def file(self) -> typing.Optional[windows_storage.StorageFile]: ...
|
|
161
|
+
@_property
|
|
162
|
+
def protection_info(self) -> typing.Optional[FileProtectionInfo]: ...
|
|
163
|
+
@_property
|
|
164
|
+
def stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
|
|
165
|
+
|
|
166
|
+
@typing.final
|
|
167
|
+
class ProtectionPolicyAuditInfo(winrt.system.Object):
|
|
168
|
+
@staticmethod
|
|
169
|
+
def _from(obj: winrt.system.Object, /) -> ProtectionPolicyAuditInfo: ...
|
|
170
|
+
@typing.overload
|
|
171
|
+
def __new__(cls: typing.Type[ProtectionPolicyAuditInfo], action: ProtectionPolicyAuditAction, data_description: str, source_description: str, target_description: str) -> ProtectionPolicyAuditInfo: ...
|
|
172
|
+
@typing.overload
|
|
173
|
+
def __new__(cls: typing.Type[ProtectionPolicyAuditInfo], action: ProtectionPolicyAuditAction, data_description: str) -> ProtectionPolicyAuditInfo: ...
|
|
174
|
+
@_property
|
|
175
|
+
def target_description(self) -> str: ...
|
|
176
|
+
@target_description.setter
|
|
177
|
+
def target_description(self, value: str) -> None: ...
|
|
178
|
+
@_property
|
|
179
|
+
def source_description(self) -> str: ...
|
|
180
|
+
@source_description.setter
|
|
181
|
+
def source_description(self, value: str) -> None: ...
|
|
182
|
+
@_property
|
|
183
|
+
def data_description(self) -> str: ...
|
|
184
|
+
@data_description.setter
|
|
185
|
+
def data_description(self, value: str) -> None: ...
|
|
186
|
+
@_property
|
|
187
|
+
def action(self) -> ProtectionPolicyAuditAction: ...
|
|
188
|
+
@action.setter
|
|
189
|
+
def action(self, value: ProtectionPolicyAuditAction) -> None: ...
|
|
190
|
+
|
|
191
|
+
@typing.final
|
|
192
|
+
class ProtectionPolicyManager_Static(type):
|
|
193
|
+
def check_access(cls, source_identity: str, target_identity: str, /) -> ProtectionPolicyEvaluationResult: ...
|
|
194
|
+
def check_access_for_app(cls, source_identity: str, app_package_family_name: str, /) -> ProtectionPolicyEvaluationResult: ...
|
|
195
|
+
def clear_process_u_i_policy(cls) -> None: ...
|
|
196
|
+
def create_current_thread_network_context(cls, identity: str, /) -> typing.Optional[ThreadNetworkContext]: ...
|
|
197
|
+
def get_enforcement_level(cls, identity: str, /) -> EnforcementLevel: ...
|
|
198
|
+
def get_for_current_view(cls) -> typing.Optional[ProtectionPolicyManager]: ...
|
|
199
|
+
def get_primary_managed_identity_for_identity(cls, identity: str, /) -> str: ...
|
|
200
|
+
def get_primary_managed_identity_for_network_endpoint_async(cls, endpoint_host: typing.Optional[windows_networking.HostName], /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
201
|
+
def has_content_been_revoked_since(cls, identity: str, since: datetime.datetime, /) -> bool: ...
|
|
202
|
+
def is_file_protection_required_async(cls, target: typing.Optional[windows_storage.IStorageItem], identity: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
203
|
+
def is_file_protection_required_for_new_file_async(cls, parent_folder: typing.Optional[windows_storage.IStorageFolder], identity: str, desired_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
204
|
+
def is_identity_managed(cls, identity: str, /) -> bool: ...
|
|
205
|
+
def is_protection_under_lock_required(cls, identity: str, /) -> bool: ...
|
|
206
|
+
def is_roamable_protection_enabled(cls, identity: str, /) -> bool: ...
|
|
207
|
+
def is_user_decryption_allowed(cls, identity: str, /) -> bool: ...
|
|
208
|
+
def log_audit_event(cls, source_identity: str, target_identity: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], /) -> None: ...
|
|
209
|
+
@typing.overload
|
|
210
|
+
def request_access_async(cls, source_identity: str, target_identity: str, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
211
|
+
@typing.overload
|
|
212
|
+
def request_access_async(cls, source_identity: str, target_identity: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
213
|
+
@typing.overload
|
|
214
|
+
def request_access_async(cls, source_identity: str, target_identity: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
215
|
+
@typing.overload
|
|
216
|
+
def request_access_async(cls, source_identity: str, target_identity: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, behavior: ProtectionPolicyRequestAccessBehavior, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
217
|
+
@typing.overload
|
|
218
|
+
def request_access_for_app_async(cls, source_identity: str, app_package_family_name: str, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
219
|
+
@typing.overload
|
|
220
|
+
def request_access_for_app_async(cls, source_identity: str, app_package_family_name: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
221
|
+
@typing.overload
|
|
222
|
+
def request_access_for_app_async(cls, source_identity: str, app_package_family_name: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
223
|
+
@typing.overload
|
|
224
|
+
def request_access_for_app_async(cls, source_identity: str, app_package_family_name: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, behavior: ProtectionPolicyRequestAccessBehavior, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
225
|
+
@typing.overload
|
|
226
|
+
def request_access_to_files_for_app_async(cls, source_item_list: typing.Iterable[windows_storage.IStorageItem], app_package_family_name: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
227
|
+
@typing.overload
|
|
228
|
+
def request_access_to_files_for_app_async(cls, source_item_list: typing.Iterable[windows_storage.IStorageItem], app_package_family_name: str, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, behavior: ProtectionPolicyRequestAccessBehavior, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
229
|
+
@typing.overload
|
|
230
|
+
def request_access_to_files_for_process_async(cls, source_item_list: typing.Iterable[windows_storage.IStorageItem], process_id: winrt.system.UInt32, audit_info: typing.Optional[ProtectionPolicyAuditInfo], /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
231
|
+
@typing.overload
|
|
232
|
+
def request_access_to_files_for_process_async(cls, source_item_list: typing.Iterable[windows_storage.IStorageItem], process_id: winrt.system.UInt32, audit_info: typing.Optional[ProtectionPolicyAuditInfo], message_from_app: str, behavior: ProtectionPolicyRequestAccessBehavior, /) -> windows_foundation.IAsyncOperation[ProtectionPolicyEvaluationResult]: ...
|
|
233
|
+
def revoke_content(cls, identity: str, /) -> None: ...
|
|
234
|
+
def try_apply_process_u_i_policy(cls, identity: str, /) -> bool: ...
|
|
235
|
+
def add_policy_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
236
|
+
def remove_policy_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
237
|
+
def add_protected_access_resumed(cls, handler: windows_foundation.EventHandler[ProtectedAccessResumedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
238
|
+
def remove_protected_access_resumed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
239
|
+
def add_protected_access_suspending(cls, handler: windows_foundation.EventHandler[ProtectedAccessSuspendingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
240
|
+
def remove_protected_access_suspending(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
241
|
+
def add_protected_content_revoked(cls, handler: windows_foundation.EventHandler[ProtectedContentRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
242
|
+
def remove_protected_content_revoked(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
243
|
+
@_property
|
|
244
|
+
def is_protection_enabled(cls) -> bool: ...
|
|
245
|
+
@_property
|
|
246
|
+
def primary_managed_identity(cls) -> str: ...
|
|
247
|
+
|
|
248
|
+
@typing.final
|
|
249
|
+
class ProtectionPolicyManager(winrt.system.Object, metaclass=ProtectionPolicyManager_Static):
|
|
250
|
+
@staticmethod
|
|
251
|
+
def _from(obj: winrt.system.Object, /) -> ProtectionPolicyManager: ...
|
|
252
|
+
@_property
|
|
253
|
+
def identity(self) -> str: ...
|
|
254
|
+
@identity.setter
|
|
255
|
+
def identity(self, value: str) -> None: ...
|
|
256
|
+
@_property
|
|
257
|
+
def show_enterprise_indicator(self) -> bool: ...
|
|
258
|
+
@show_enterprise_indicator.setter
|
|
259
|
+
def show_enterprise_indicator(self, value: bool) -> None: ...
|
|
260
|
+
|
|
261
|
+
@typing.final
|
|
262
|
+
class ThreadNetworkContext(winrt.system.Object):
|
|
263
|
+
def __enter__(self: Self) -> Self: ...
|
|
264
|
+
def __exit__(self, *args) -> None: ...
|
|
265
|
+
@staticmethod
|
|
266
|
+
def _from(obj: winrt.system.Object, /) -> ThreadNetworkContext: ...
|
|
267
|
+
def close(self) -> None: ...
|
|
268
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_security_enterprisedata
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"DataProtectionStatus",
|
|
10
|
+
"EnforcementLevel",
|
|
11
|
+
"FileProtectionStatus",
|
|
12
|
+
"ProtectedImportExportStatus",
|
|
13
|
+
"ProtectionPolicyAuditAction",
|
|
14
|
+
"ProtectionPolicyEvaluationResult",
|
|
15
|
+
"ProtectionPolicyRequestAccessBehavior",
|
|
16
|
+
"BufferProtectUnprotectResult",
|
|
17
|
+
"DataProtectionInfo",
|
|
18
|
+
"DataProtectionManager",
|
|
19
|
+
"FileProtectionInfo",
|
|
20
|
+
"FileProtectionManager",
|
|
21
|
+
"FileRevocationManager",
|
|
22
|
+
"FileUnprotectOptions",
|
|
23
|
+
"ProtectedAccessResumedEventArgs",
|
|
24
|
+
"ProtectedAccessSuspendingEventArgs",
|
|
25
|
+
"ProtectedContainerExportResult",
|
|
26
|
+
"ProtectedContainerImportResult",
|
|
27
|
+
"ProtectedContentRevokedEventArgs",
|
|
28
|
+
"ProtectedFileCreateResult",
|
|
29
|
+
"ProtectionPolicyAuditInfo",
|
|
30
|
+
"ProtectionPolicyManager",
|
|
31
|
+
"ThreadNetworkContext",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
class DataProtectionStatus(enum.IntEnum):
|
|
35
|
+
PROTECTED_TO_OTHER_IDENTITY = 0
|
|
36
|
+
PROTECTED = 1
|
|
37
|
+
REVOKED = 2
|
|
38
|
+
UNPROTECTED = 3
|
|
39
|
+
LICENSE_EXPIRED = 4
|
|
40
|
+
ACCESS_SUSPENDED = 5
|
|
41
|
+
|
|
42
|
+
class EnforcementLevel(enum.IntEnum):
|
|
43
|
+
NO_PROTECTION = 0
|
|
44
|
+
SILENT = 1
|
|
45
|
+
OVERRIDE = 2
|
|
46
|
+
BLOCK = 3
|
|
47
|
+
|
|
48
|
+
class FileProtectionStatus(enum.IntEnum):
|
|
49
|
+
UNDETERMINED = 0
|
|
50
|
+
UNKNOWN = 0
|
|
51
|
+
UNPROTECTED = 1
|
|
52
|
+
REVOKED = 2
|
|
53
|
+
PROTECTED = 3
|
|
54
|
+
PROTECTED_BY_OTHER_USER = 4
|
|
55
|
+
PROTECTED_TO_OTHER_ENTERPRISE = 5
|
|
56
|
+
NOT_PROTECTABLE = 6
|
|
57
|
+
PROTECTED_TO_OTHER_IDENTITY = 7
|
|
58
|
+
LICENSE_EXPIRED = 8
|
|
59
|
+
ACCESS_SUSPENDED = 9
|
|
60
|
+
FILE_IN_USE = 10
|
|
61
|
+
|
|
62
|
+
class ProtectedImportExportStatus(enum.IntEnum):
|
|
63
|
+
OK = 0
|
|
64
|
+
UNDETERMINED = 1
|
|
65
|
+
UNPROTECTED = 2
|
|
66
|
+
REVOKED = 3
|
|
67
|
+
NOT_ROAMABLE = 4
|
|
68
|
+
PROTECTED_TO_OTHER_IDENTITY = 5
|
|
69
|
+
LICENSE_EXPIRED = 6
|
|
70
|
+
ACCESS_SUSPENDED = 7
|
|
71
|
+
|
|
72
|
+
class ProtectionPolicyAuditAction(enum.IntEnum):
|
|
73
|
+
DECRYPT = 0
|
|
74
|
+
COPY_TO_LOCATION = 1
|
|
75
|
+
SEND_TO_RECIPIENT = 2
|
|
76
|
+
OTHER = 3
|
|
77
|
+
|
|
78
|
+
class ProtectionPolicyEvaluationResult(enum.IntEnum):
|
|
79
|
+
ALLOWED = 0
|
|
80
|
+
BLOCKED = 1
|
|
81
|
+
CONSENT_REQUIRED = 2
|
|
82
|
+
|
|
83
|
+
class ProtectionPolicyRequestAccessBehavior(enum.IntEnum):
|
|
84
|
+
DECRYPT = 0
|
|
85
|
+
TREAT_OVERRIDE_POLICY_AS_BLOCK = 1
|
|
86
|
+
|
|
87
|
+
BufferProtectUnprotectResult = _winrt_windows_security_enterprisedata.BufferProtectUnprotectResult
|
|
88
|
+
DataProtectionInfo = _winrt_windows_security_enterprisedata.DataProtectionInfo
|
|
89
|
+
DataProtectionManager = _winrt_windows_security_enterprisedata.DataProtectionManager
|
|
90
|
+
FileProtectionInfo = _winrt_windows_security_enterprisedata.FileProtectionInfo
|
|
91
|
+
FileProtectionManager = _winrt_windows_security_enterprisedata.FileProtectionManager
|
|
92
|
+
FileRevocationManager = _winrt_windows_security_enterprisedata.FileRevocationManager
|
|
93
|
+
FileUnprotectOptions = _winrt_windows_security_enterprisedata.FileUnprotectOptions
|
|
94
|
+
ProtectedAccessResumedEventArgs = _winrt_windows_security_enterprisedata.ProtectedAccessResumedEventArgs
|
|
95
|
+
ProtectedAccessSuspendingEventArgs = _winrt_windows_security_enterprisedata.ProtectedAccessSuspendingEventArgs
|
|
96
|
+
ProtectedContainerExportResult = _winrt_windows_security_enterprisedata.ProtectedContainerExportResult
|
|
97
|
+
ProtectedContainerImportResult = _winrt_windows_security_enterprisedata.ProtectedContainerImportResult
|
|
98
|
+
ProtectedContentRevokedEventArgs = _winrt_windows_security_enterprisedata.ProtectedContentRevokedEventArgs
|
|
99
|
+
ProtectedFileCreateResult = _winrt_windows_security_enterprisedata.ProtectedFileCreateResult
|
|
100
|
+
ProtectionPolicyAuditInfo = _winrt_windows_security_enterprisedata.ProtectionPolicyAuditInfo
|
|
101
|
+
ProtectionPolicyManager = _winrt_windows_security_enterprisedata.ProtectionPolicyManager
|
|
102
|
+
ThreadNetworkContext = _winrt_windows_security_enterprisedata.ThreadNetworkContext
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Security.EnterpriseData
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Networking[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.Security.EnterpriseData
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Security.EnterpriseData` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.security.enterprisedata` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_security_enterprisedata.cp313-win32.pyd,sha256=ASxuwuRejtqnUpD7MzbWdvgYL7LPoLdhIoo9zMCsQOg,309248
|
|
2
|
+
winrt/_winrt_windows_security_enterprisedata.pyi,sha256=rFv_kbdZJFeC7D7rFKOd7ul6wFxXf9vIxrQ77gj2AVE,17720
|
|
3
|
+
winrt/windows/security/enterprisedata/__init__.py,sha256=rTbZazAUNi8pJRqKts6ZAmx_j7Vp02IqlJO5mBBVEKM,3634
|
|
4
|
+
winrt/windows/security/enterprisedata/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/METADATA,sha256=tRp1FqGWy-DhQlGZeec2IMpw4I6TeAa4Mera4sWHygY,1373
|
|
6
|
+
winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Security.EnterpriseData-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|