winrt-Windows.Security.Cryptography 2.0.1__tar.gz → 2.1.0__tar.gz

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.
Files changed (20) hide show
  1. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/PKG-INFO +3 -3
  2. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/all-requirements.txt +2 -2
  3. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/py.Windows.Security.Cryptography.cpp +83 -88
  4. winrt_windows_security_cryptography-2.1.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/requirements.txt +2 -2
  6. winrt_windows_security_cryptography-2.1.0/winrt/_winrt_windows_security_cryptography.pyi +35 -0
  7. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt/windows/security/cryptography/__init__.py +1 -1
  8. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt_Windows.Security.Cryptography.egg-info/PKG-INFO +3 -3
  9. winrt_windows_security_cryptography-2.1.0/winrt_Windows.Security.Cryptography.egg-info/requires.txt +4 -0
  10. winrt_windows_security_cryptography-2.0.1/pywinrt-version.txt +0 -1
  11. winrt_windows_security_cryptography-2.0.1/winrt/_winrt_windows_security_cryptography.pyi +0 -36
  12. winrt_windows_security_cryptography-2.0.1/winrt_Windows.Security.Cryptography.egg-info/requires.txt +0 -4
  13. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/README.md +0 -0
  14. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/pyproject.toml +0 -0
  15. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/setup.cfg +0 -0
  16. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/setup.py +0 -0
  17. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt/windows/security/cryptography/py.typed +0 -0
  18. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt_Windows.Security.Cryptography.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt_Windows.Security.Cryptography.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_security_cryptography-2.0.1 → winrt_windows_security_cryptography-2.1.0}/winrt_Windows.Security.Cryptography.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Security.Cryptography
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.1.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-Windows.Storage.Streams[all]==2.0.1
3
+ winrt-Windows.Storage.Streams[all]==2.1.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  #include "py.Windows.Security.Cryptography.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::Security::Cryptography
7
6
  {
8
7
  // ----- CryptographicBuffer class --------------------
@@ -20,14 +19,14 @@ namespace py::cpp::Windows::Security::Cryptography
20
19
 
21
20
  if (arg_count == 2)
22
21
  {
23
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"Compare", 2))
24
- {
25
- py::set_arg_count_version_error(2);
26
- return nullptr;
27
- }
28
-
29
22
  try
30
23
  {
24
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"Compare", 2))
25
+ {
26
+ py::set_arg_count_version_error(2);
27
+ return nullptr;
28
+ }
29
+
31
30
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
32
31
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 1);
33
32
 
@@ -52,14 +51,14 @@ namespace py::cpp::Windows::Security::Cryptography
52
51
 
53
52
  if (arg_count == 2)
54
53
  {
55
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"ConvertBinaryToString", 2))
56
- {
57
- py::set_arg_count_version_error(2);
58
- return nullptr;
59
- }
60
-
61
54
  try
62
55
  {
56
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"ConvertBinaryToString", 2))
57
+ {
58
+ py::set_arg_count_version_error(2);
59
+ return nullptr;
60
+ }
61
+
63
62
  auto param0 = py::convert_to<winrt::Windows::Security::Cryptography::BinaryStringEncoding>(args, 0);
64
63
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 1);
65
64
 
@@ -84,14 +83,14 @@ namespace py::cpp::Windows::Security::Cryptography
84
83
 
85
84
  if (arg_count == 2)
86
85
  {
87
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"ConvertStringToBinary", 2))
88
- {
89
- py::set_arg_count_version_error(2);
90
- return nullptr;
91
- }
92
-
93
86
  try
94
87
  {
88
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"ConvertStringToBinary", 2))
89
+ {
90
+ py::set_arg_count_version_error(2);
91
+ return nullptr;
92
+ }
93
+
95
94
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
96
95
  auto param1 = py::convert_to<winrt::Windows::Security::Cryptography::BinaryStringEncoding>(args, 1);
97
96
 
@@ -116,16 +115,16 @@ namespace py::cpp::Windows::Security::Cryptography
116
115
 
117
116
  if (arg_count == 1)
118
117
  {
119
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"CopyToByteArray", 1))
120
- {
121
- py::set_arg_count_version_error(1);
122
- return nullptr;
123
- }
124
-
125
118
  try
126
119
  {
120
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"CopyToByteArray", 1))
121
+ {
122
+ py::set_arg_count_version_error(1);
123
+ return nullptr;
124
+ }
125
+
127
126
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
128
- winrt::com_array<uint8_t> param1 { };
127
+ winrt::com_array<uint8_t> param1{};
129
128
 
130
129
  winrt::Windows::Security::Cryptography::CryptographicBuffer::CopyToByteArray(param0, param1);
131
130
 
@@ -155,14 +154,14 @@ namespace py::cpp::Windows::Security::Cryptography
155
154
 
156
155
  if (arg_count == 1)
157
156
  {
158
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"CreateFromByteArray", 1))
159
- {
160
- py::set_arg_count_version_error(1);
161
- return nullptr;
162
- }
163
-
164
157
  try
165
158
  {
159
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"CreateFromByteArray", 1))
160
+ {
161
+ py::set_arg_count_version_error(1);
162
+ return nullptr;
163
+ }
164
+
166
165
  auto param0 = py::convert_to<py::pybuf_view<uint8_t, false>>(args, 0);
167
166
 
168
167
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::CreateFromByteArray(param0));
@@ -186,14 +185,14 @@ namespace py::cpp::Windows::Security::Cryptography
186
185
 
187
186
  if (arg_count == 1)
188
187
  {
189
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"DecodeFromBase64String", 1))
190
- {
191
- py::set_arg_count_version_error(1);
192
- return nullptr;
193
- }
194
-
195
188
  try
196
189
  {
190
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"DecodeFromBase64String", 1))
191
+ {
192
+ py::set_arg_count_version_error(1);
193
+ return nullptr;
194
+ }
195
+
197
196
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
198
197
 
199
198
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::DecodeFromBase64String(param0));
@@ -217,14 +216,14 @@ namespace py::cpp::Windows::Security::Cryptography
217
216
 
218
217
  if (arg_count == 1)
219
218
  {
220
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"DecodeFromHexString", 1))
221
- {
222
- py::set_arg_count_version_error(1);
223
- return nullptr;
224
- }
225
-
226
219
  try
227
220
  {
221
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"DecodeFromHexString", 1))
222
+ {
223
+ py::set_arg_count_version_error(1);
224
+ return nullptr;
225
+ }
226
+
228
227
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
229
228
 
230
229
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::DecodeFromHexString(param0));
@@ -248,14 +247,14 @@ namespace py::cpp::Windows::Security::Cryptography
248
247
 
249
248
  if (arg_count == 1)
250
249
  {
251
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"EncodeToBase64String", 1))
252
- {
253
- py::set_arg_count_version_error(1);
254
- return nullptr;
255
- }
256
-
257
250
  try
258
251
  {
252
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"EncodeToBase64String", 1))
253
+ {
254
+ py::set_arg_count_version_error(1);
255
+ return nullptr;
256
+ }
257
+
259
258
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
260
259
 
261
260
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::EncodeToBase64String(param0));
@@ -279,14 +278,14 @@ namespace py::cpp::Windows::Security::Cryptography
279
278
 
280
279
  if (arg_count == 1)
281
280
  {
282
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"EncodeToHexString", 1))
283
- {
284
- py::set_arg_count_version_error(1);
285
- return nullptr;
286
- }
287
-
288
281
  try
289
282
  {
283
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"EncodeToHexString", 1))
284
+ {
285
+ py::set_arg_count_version_error(1);
286
+ return nullptr;
287
+ }
288
+
290
289
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
291
290
 
292
291
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::EncodeToHexString(param0));
@@ -310,14 +309,14 @@ namespace py::cpp::Windows::Security::Cryptography
310
309
 
311
310
  if (arg_count == 1)
312
311
  {
313
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"GenerateRandom", 1))
314
- {
315
- py::set_arg_count_version_error(1);
316
- return nullptr;
317
- }
318
-
319
312
  try
320
313
  {
314
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"GenerateRandom", 1))
315
+ {
316
+ py::set_arg_count_version_error(1);
317
+ return nullptr;
318
+ }
319
+
321
320
  auto param0 = py::convert_to<uint32_t>(args, 0);
322
321
 
323
322
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::GenerateRandom(param0));
@@ -341,14 +340,14 @@ namespace py::cpp::Windows::Security::Cryptography
341
340
 
342
341
  if (arg_count == 0)
343
342
  {
344
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"GenerateRandomNumber", 0))
345
- {
346
- py::set_arg_count_version_error(0);
347
- return nullptr;
348
- }
349
-
350
343
  try
351
344
  {
345
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Cryptography.CryptographicBuffer", L"GenerateRandomNumber", 0))
346
+ {
347
+ py::set_arg_count_version_error(0);
348
+ return nullptr;
349
+ }
350
+
352
351
  return py::convert(winrt::Windows::Security::Cryptography::CryptographicBuffer::GenerateRandomNumber());
353
352
  }
354
353
  catch (...)
@@ -372,22 +371,19 @@ namespace py::cpp::Windows::Security::Cryptography
372
371
  { }
373
372
  };
374
373
 
375
- static PyType_Slot _type_slots_CryptographicBuffer[] =
376
- {
374
+ static PyType_Slot _type_slots_CryptographicBuffer[] = {
377
375
  { Py_tp_new, reinterpret_cast<void*>(_new_CryptographicBuffer) },
378
376
  { Py_tp_methods, reinterpret_cast<void*>(_methods_CryptographicBuffer) },
379
377
  { Py_tp_getset, reinterpret_cast<void*>(_getset_CryptographicBuffer) },
380
- { },
378
+ { }
381
379
  };
382
380
 
383
- static PyType_Spec type_spec_CryptographicBuffer =
384
- {
381
+ static PyType_Spec type_spec_CryptographicBuffer = {
385
382
  "winrt._winrt_windows_security_cryptography.CryptographicBuffer",
386
383
  0,
387
384
  0,
388
385
  Py_TPFLAGS_DEFAULT,
389
- _type_slots_CryptographicBuffer
390
- };
386
+ _type_slots_CryptographicBuffer};
391
387
 
392
388
  static PyGetSetDef getset_CryptographicBuffer_Static[] = {
393
389
  { }
@@ -426,20 +422,19 @@ namespace py::cpp::Windows::Security::Cryptography
426
422
  };
427
423
 
428
424
  // ----- Windows.Security.Cryptography Initialization --------------------
429
- PyDoc_STRVAR(module_doc, "Windows::Security::Cryptography");
430
425
 
426
+ PyDoc_STRVAR(module_doc, "Windows.Security.Cryptography");
431
427
 
432
- static PyModuleDef module_def
433
- = {PyModuleDef_HEAD_INIT,
434
- "_winrt_windows_security_cryptography",
435
- module_doc,
436
- 0,
437
- nullptr,
438
- nullptr,
439
- nullptr,
440
- nullptr,
441
- nullptr};
442
-
428
+ static PyModuleDef module_def = {
429
+ PyModuleDef_HEAD_INIT,
430
+ "_winrt_windows_security_cryptography",
431
+ module_doc,
432
+ 0,
433
+ nullptr,
434
+ nullptr,
435
+ nullptr,
436
+ nullptr,
437
+ nullptr};
443
438
  } // py::cpp::Windows::Security::Cryptography
444
439
 
445
440
  PyMODINIT_FUNC PyInit__winrt_windows_security_cryptography(void) noexcept
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.1.0
@@ -0,0 +1,35 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.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.storage.streams as windows_storage_streams
13
+
14
+ from winrt.windows.security.cryptography import BinaryStringEncoding
15
+
16
+ Self = typing.TypeVar('Self')
17
+
18
+ @typing.final
19
+ class CryptographicBuffer_Static(type):
20
+ def compare(cls, object1: typing.Optional[windows_storage_streams.IBuffer], object2: typing.Optional[windows_storage_streams.IBuffer], /) -> bool: ...
21
+ def convert_binary_to_string(cls, encoding: BinaryStringEncoding, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> str: ...
22
+ def convert_string_to_binary(cls, value: str, encoding: BinaryStringEncoding, /) -> typing.Optional[windows_storage_streams.IBuffer]: ...
23
+ def copy_to_byte_array(cls, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> winrt.system.Array[winrt.system.UInt8]: ...
24
+ def create_from_byte_array(cls, value: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[windows_storage_streams.IBuffer]: ...
25
+ def decode_from_base64_string(cls, value: str, /) -> typing.Optional[windows_storage_streams.IBuffer]: ...
26
+ def decode_from_hex_string(cls, value: str, /) -> typing.Optional[windows_storage_streams.IBuffer]: ...
27
+ def encode_to_base64_string(cls, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> str: ...
28
+ def encode_to_hex_string(cls, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> str: ...
29
+ def generate_random(cls, length: winrt.system.UInt32, /) -> typing.Optional[windows_storage_streams.IBuffer]: ...
30
+ def generate_random_number(cls) -> winrt.system.UInt32: ...
31
+
32
+ @typing.final
33
+ class CryptographicBuffer(winrt.system.Object, metaclass=CryptographicBuffer_Static):
34
+ pass
35
+
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Security.Cryptography
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.1.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -0,0 +1,4 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Storage.Streams[all]==2.1.0
@@ -1,36 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.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.storage.streams
13
-
14
- from winrt.windows.security.cryptography import BinaryStringEncoding
15
-
16
- Self = typing.TypeVar('Self')
17
-
18
- @typing.final
19
- class CryptographicBuffer_Static(type):
20
- def compare(cls, object1: typing.Optional[winrt.windows.storage.streams.IBuffer], object2: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> bool: ...
21
- def convert_binary_to_string(cls, encoding: BinaryStringEncoding, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> str: ...
22
- def convert_string_to_binary(cls, value: str, encoding: BinaryStringEncoding, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
23
- def copy_to_byte_array(cls, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.system.Array[winrt.system.UInt8]: ...
24
- def create_from_byte_array(cls, value: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
25
- def decode_from_base64_string(cls, value: str, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
26
- def decode_from_hex_string(cls, value: str, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
27
- def encode_to_base64_string(cls, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> str: ...
28
- def encode_to_hex_string(cls, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> str: ...
29
- def generate_random(cls, length: winrt.system.UInt32, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
30
- def generate_random_number(cls) -> winrt.system.UInt32: ...
31
-
32
- @typing.final
33
- class CryptographicBuffer(winrt.system.Object, metaclass=CryptographicBuffer_Static):
34
- @staticmethod
35
- def _from(obj: winrt.system.Object, /) -> CryptographicBuffer: ...
36
-
@@ -1,4 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Storage.Streams[all]==2.0.1