winrt-Windows.Security.DataProtection 3.2.1__cp314-cp314-win_arm64.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,64 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
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
+ # Windows.Foundation.Deferral Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs::GetDeferral()
24
+ def get_deferral(self) -> windows_foundation.Deferral: ...
25
+
26
+ @typing.final
27
+ class UserDataBufferUnprotectResult(winrt.system.Object):
28
+ # Windows.Security.DataProtection.UserDataBufferUnprotectStatus Windows.Security.DataProtection.UserDataBufferUnprotectResult::get_Status()
29
+ @_property
30
+ def status(self) -> UserDataBufferUnprotectStatus: ...
31
+ # Windows.Storage.Streams.IBuffer Windows.Security.DataProtection.UserDataBufferUnprotectResult::get_UnprotectedBuffer()
32
+ @_property
33
+ def unprotected_buffer(self) -> winrt.system.Buffer: ...
34
+
35
+ @typing.final
36
+ class UserDataProtectionManager_Static(winrt._winrt.IInspectable_Static):
37
+ # Windows.Security.DataProtection.UserDataProtectionManager Windows.Security.DataProtection.UserDataProtectionManager::TryGetDefault()
38
+ def try_get_default(cls) -> typing.Optional[UserDataProtectionManager]: ...
39
+ # Windows.Security.DataProtection.UserDataProtectionManager Windows.Security.DataProtection.UserDataProtectionManager::TryGetForUser(Windows.System.User)
40
+ def try_get_for_user(cls, user: windows_system.User, /) -> typing.Optional[UserDataProtectionManager]: ...
41
+
42
+ @typing.final
43
+ class UserDataProtectionManager(winrt.system.Object, metaclass=UserDataProtectionManager_Static):
44
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.DataProtection.UserDataStorageItemProtectionInfo> Windows.Security.DataProtection.UserDataProtectionManager::GetStorageItemProtectionInfoAsync(Windows.Storage.IStorageItem)
45
+ def get_storage_item_protection_info_async(self, storage_item: windows_storage.IStorageItem, /) -> windows_foundation.IAsyncOperation[UserDataStorageItemProtectionInfo]: ...
46
+ # System.Boolean Windows.Security.DataProtection.UserDataProtectionManager::IsContinuedDataAvailabilityExpected(Windows.Security.DataProtection.UserDataAvailability)
47
+ def is_continued_data_availability_expected(self, availability: UserDataAvailability, /) -> bool: ...
48
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Security.DataProtection.UserDataProtectionManager::ProtectBufferAsync(Windows.Storage.Streams.IBuffer,Windows.Security.DataProtection.UserDataAvailability)
49
+ def protect_buffer_async(self, unprotected_buffer: winrt.system.Buffer, availability: UserDataAvailability, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
50
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.DataProtection.UserDataStorageItemProtectionStatus> Windows.Security.DataProtection.UserDataProtectionManager::ProtectStorageItemAsync(Windows.Storage.IStorageItem,Windows.Security.DataProtection.UserDataAvailability)
51
+ def protect_storage_item_async(self, storage_item: windows_storage.IStorageItem, availability: UserDataAvailability, /) -> windows_foundation.IAsyncOperation[UserDataStorageItemProtectionStatus]: ...
52
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.DataProtection.UserDataBufferUnprotectResult> Windows.Security.DataProtection.UserDataProtectionManager::UnprotectBufferAsync(Windows.Storage.Streams.IBuffer)
53
+ def unprotect_buffer_async(self, protected_buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[UserDataBufferUnprotectResult]: ...
54
+ # Windows.Foundation.EventRegistrationToken Windows.Security.DataProtection.UserDataProtectionManager::add_DataAvailabilityStateChanged(Windows.Foundation.TypedEventHandler`2<Windows.Security.DataProtection.UserDataProtectionManager,Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs>)
55
+ def add_data_availability_state_changed(self, handler: windows_foundation.TypedEventHandler[UserDataProtectionManager, UserDataAvailabilityStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
56
+ # System.Void Windows.Security.DataProtection.UserDataProtectionManager::remove_DataAvailabilityStateChanged(Windows.Foundation.EventRegistrationToken)
57
+ def remove_data_availability_state_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
58
+
59
+ @typing.final
60
+ class UserDataStorageItemProtectionInfo(winrt.system.Object):
61
+ # Windows.Security.DataProtection.UserDataAvailability Windows.Security.DataProtection.UserDataStorageItemProtectionInfo::get_Availability()
62
+ @_property
63
+ def availability(self) -> UserDataAvailability: ...
64
+
@@ -0,0 +1,36 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_security_dataprotection import (
7
+ UserDataAvailabilityStateChangedEventArgs,
8
+ UserDataBufferUnprotectResult,
9
+ UserDataProtectionManager,
10
+ UserDataStorageItemProtectionInfo,
11
+ )
12
+
13
+ __all__ = [
14
+ "UserDataAvailability",
15
+ "UserDataBufferUnprotectStatus",
16
+ "UserDataStorageItemProtectionStatus",
17
+ "UserDataAvailabilityStateChangedEventArgs",
18
+ "UserDataBufferUnprotectResult",
19
+ "UserDataProtectionManager",
20
+ "UserDataStorageItemProtectionInfo",
21
+ ]
22
+
23
+ class UserDataAvailability(enum.IntEnum):
24
+ ALWAYS = 0
25
+ AFTER_FIRST_UNLOCK = 1
26
+ WHILE_UNLOCKED = 2
27
+
28
+ class UserDataBufferUnprotectStatus(enum.IntEnum):
29
+ SUCCEEDED = 0
30
+ UNAVAILABLE = 1
31
+
32
+ class UserDataStorageItemProtectionStatus(enum.IntEnum):
33
+ SUCCEEDED = 0
34
+ NOT_PROTECTABLE = 1
35
+ DATA_UNAVAILABLE = 2
36
+
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Security.DataProtection
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.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.cp314-win_arm64.pyd,sha256=5PfCBX1faJ0gpKdcLAgqPtQ5nfUI1GKaQ7tWCbTy_g4,120832
2
+ winrt/_winrt_windows_security_dataprotection.pyi,sha256=VspblwsirWSay9QnFmVAJ6Mv03cdssYVpGT-lPl3j9w,5186
3
+ winrt/windows/security/dataprotection/__init__.py,sha256=lG2-UuLSagc8bSGc2evdk9zuhQc27UYhDeqQQdQhUkY,934
4
+ winrt/windows/security/dataprotection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_security_dataprotection-3.2.1.dist-info/METADATA,sha256=R83-8_VG70z6OJHmQPd11U45jxmZUfXCtPe8SEJEDiY,1292
6
+ winrt_windows_security_dataprotection-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
7
+ winrt_windows_security_dataprotection-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_security_dataprotection-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_arm64
5
+