winrt-Windows.Security.DataProtection 2.2.0__cp313-cp313-win_amd64.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.
@@ -0,0 +1,59 @@
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.storage as windows_storage
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+ import winrt.windows.system as windows_system
16
+
17
+ from winrt.windows.security.dataprotection import UserDataAvailability, UserDataBufferUnprotectStatus, UserDataStorageItemProtectionStatus
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class UserDataAvailabilityStateChangedEventArgs(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> UserDataAvailabilityStateChangedEventArgs: ...
25
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
26
+
27
+ @typing.final
28
+ class UserDataBufferUnprotectResult(winrt.system.Object):
29
+ @staticmethod
30
+ def _from(obj: winrt.system.Object, /) -> UserDataBufferUnprotectResult: ...
31
+ @_property
32
+ def status(self) -> UserDataBufferUnprotectStatus: ...
33
+ @_property
34
+ def unprotected_buffer(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
35
+
36
+ @typing.final
37
+ class UserDataProtectionManager_Static(type):
38
+ def try_get_default(cls) -> typing.Optional[UserDataProtectionManager]: ...
39
+ def try_get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[UserDataProtectionManager]: ...
40
+
41
+ @typing.final
42
+ class UserDataProtectionManager(winrt.system.Object, metaclass=UserDataProtectionManager_Static):
43
+ @staticmethod
44
+ def _from(obj: winrt.system.Object, /) -> UserDataProtectionManager: ...
45
+ def get_storage_item_protection_info_async(self, storage_item: typing.Optional[windows_storage.IStorageItem], /) -> windows_foundation.IAsyncOperation[UserDataStorageItemProtectionInfo]: ...
46
+ def is_continued_data_availability_expected(self, availability: UserDataAvailability, /) -> bool: ...
47
+ def protect_buffer_async(self, unprotected_buffer: typing.Optional[windows_storage_streams.IBuffer], availability: UserDataAvailability, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IBuffer]: ...
48
+ def protect_storage_item_async(self, storage_item: typing.Optional[windows_storage.IStorageItem], availability: UserDataAvailability, /) -> windows_foundation.IAsyncOperation[UserDataStorageItemProtectionStatus]: ...
49
+ def unprotect_buffer_async(self, protected_buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperation[UserDataBufferUnprotectResult]: ...
50
+ def add_data_availability_state_changed(self, handler: windows_foundation.TypedEventHandler[UserDataProtectionManager, UserDataAvailabilityStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
51
+ def remove_data_availability_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
52
+
53
+ @typing.final
54
+ class UserDataStorageItemProtectionInfo(winrt.system.Object):
55
+ @staticmethod
56
+ def _from(obj: winrt.system.Object, /) -> UserDataStorageItemProtectionInfo: ...
57
+ @_property
58
+ def availability(self) -> UserDataAvailability: ...
59
+
@@ -0,0 +1,35 @@
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_dataprotection
7
+
8
+ __all__ = [
9
+ "UserDataAvailability",
10
+ "UserDataBufferUnprotectStatus",
11
+ "UserDataStorageItemProtectionStatus",
12
+ "UserDataAvailabilityStateChangedEventArgs",
13
+ "UserDataBufferUnprotectResult",
14
+ "UserDataProtectionManager",
15
+ "UserDataStorageItemProtectionInfo",
16
+ ]
17
+
18
+ class UserDataAvailability(enum.IntEnum):
19
+ ALWAYS = 0
20
+ AFTER_FIRST_UNLOCK = 1
21
+ WHILE_UNLOCKED = 2
22
+
23
+ class UserDataBufferUnprotectStatus(enum.IntEnum):
24
+ SUCCEEDED = 0
25
+ UNAVAILABLE = 1
26
+
27
+ class UserDataStorageItemProtectionStatus(enum.IntEnum):
28
+ SUCCEEDED = 0
29
+ NOT_PROTECTABLE = 1
30
+ DATA_UNAVAILABLE = 2
31
+
32
+ UserDataAvailabilityStateChangedEventArgs = _winrt_windows_security_dataprotection.UserDataAvailabilityStateChangedEventArgs
33
+ UserDataBufferUnprotectResult = _winrt_windows_security_dataprotection.UserDataBufferUnprotectResult
34
+ UserDataProtectionManager = _winrt_windows_security_dataprotection.UserDataProtectionManager
35
+ UserDataStorageItemProtectionInfo = _winrt_windows_security_dataprotection.UserDataStorageItemProtectionInfo
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Security.DataProtection
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.Storage[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Security.DataProtection
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.DataProtection` namespace.
27
+
28
+ This package provides the `winrt.windows.security.dataprotection` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_security_dataprotection.cp313-win_amd64.pyd,sha256=iLwAHsGY-7ml0mo60_W7u4drbMrdiFp1ZftR600i_G4,98816
2
+ winrt/_winrt_windows_security_dataprotection.pyi,sha256=CMTYCToOdRepp4_7En309L_QcAAhknP5CyIcvmJl7KY,3242
3
+ winrt/windows/security/dataprotection/__init__.py,sha256=lH-MAYDulGym-jbQ90VVGac-nTprZrkaa6tPfCwPWYY,1206
4
+ winrt/windows/security/dataprotection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Security.DataProtection-2.2.0.dist-info/METADATA,sha256=EmxEloVsYCz1L8ODDzbHheweEydg4dP5GR6XMymANrc,1286
6
+ winrt_Windows.Security.DataProtection-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Security.DataProtection-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Security.DataProtection-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+