winrt-Windows.Security.Cryptography.Core 2.0.0b1__cp39-cp39-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,432 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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
13
+ import winrt.windows.foundation.collections
14
+ import winrt.windows.security.cryptography.certificates
15
+ import winrt.windows.storage.streams
16
+
17
+ from winrt.windows.security.cryptography.core import Capi1KdfTargetAlgorithm, CryptographicPadding, CryptographicPrivateKeyBlobType, CryptographicPublicKeyBlobType
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ class AsymmetricAlgorithmNames_Static(type):
22
+ @_property
23
+ def ecdsa_p521_sha512(cls) -> str: ...
24
+ @_property
25
+ def dsa_sha1(cls) -> str: ...
26
+ @_property
27
+ def dsa_sha256(cls) -> str: ...
28
+ @_property
29
+ def ecdsa_p256_sha256(cls) -> str: ...
30
+ @_property
31
+ def ecdsa_p384_sha384(cls) -> str: ...
32
+ @_property
33
+ def rsa_sign_pkcs1_sha256(cls) -> str: ...
34
+ @_property
35
+ def rsa_oaep_sha1(cls) -> str: ...
36
+ @_property
37
+ def rsa_oaep_sha256(cls) -> str: ...
38
+ @_property
39
+ def rsa_oaep_sha384(cls) -> str: ...
40
+ @_property
41
+ def rsa_oaep_sha512(cls) -> str: ...
42
+ @_property
43
+ def rsa_pkcs1(cls) -> str: ...
44
+ @_property
45
+ def rsa_sign_pkcs1_sha1(cls) -> str: ...
46
+ @_property
47
+ def rsa_sign_pkcs1_sha384(cls) -> str: ...
48
+ @_property
49
+ def rsa_sign_pkcs1_sha512(cls) -> str: ...
50
+ @_property
51
+ def rsa_sign_pss_sha1(cls) -> str: ...
52
+ @_property
53
+ def rsa_sign_pss_sha256(cls) -> str: ...
54
+ @_property
55
+ def rsa_sign_pss_sha384(cls) -> str: ...
56
+ @_property
57
+ def rsa_sign_pss_sha512(cls) -> str: ...
58
+ @_property
59
+ def ecdsa_sha384(cls) -> str: ...
60
+ @_property
61
+ def ecdsa_sha512(cls) -> str: ...
62
+ @_property
63
+ def ecdsa_sha256(cls) -> str: ...
64
+
65
+ class AsymmetricAlgorithmNames(winrt.system.Object, metaclass=AsymmetricAlgorithmNames_Static):
66
+ @staticmethod
67
+ def _from(obj: winrt.system.Object, /) -> AsymmetricAlgorithmNames: ...
68
+
69
+ class AsymmetricKeyAlgorithmProvider_Static(type):
70
+ def open_algorithm(cls, algorithm: str, /) -> typing.Optional[AsymmetricKeyAlgorithmProvider]: ...
71
+
72
+ class AsymmetricKeyAlgorithmProvider(winrt.system.Object, metaclass=AsymmetricKeyAlgorithmProvider_Static):
73
+ @staticmethod
74
+ def _from(obj: winrt.system.Object, /) -> AsymmetricKeyAlgorithmProvider: ...
75
+ def create_key_pair(self, key_size: winrt.system.UInt32, /) -> typing.Optional[CryptographicKey]: ...
76
+ def create_key_pair_with_curve_name(self, curve_name: str, /) -> typing.Optional[CryptographicKey]: ...
77
+ def create_key_pair_with_curve_parameters(self, parameters: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[CryptographicKey]: ...
78
+ @typing.overload
79
+ def import_key_pair(self, key_blob: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicKey]: ...
80
+ @typing.overload
81
+ def import_key_pair(self, key_blob: typing.Optional[winrt.windows.storage.streams.IBuffer], blob_type: CryptographicPrivateKeyBlobType, /) -> typing.Optional[CryptographicKey]: ...
82
+ @typing.overload
83
+ def import_public_key(self, key_blob: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicKey]: ...
84
+ @typing.overload
85
+ def import_public_key(self, key_blob: typing.Optional[winrt.windows.storage.streams.IBuffer], blob_type: CryptographicPublicKeyBlobType, /) -> typing.Optional[CryptographicKey]: ...
86
+ @_property
87
+ def algorithm_name(self) -> str: ...
88
+
89
+ class CryptographicEngine_Static(type):
90
+ def decrypt(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], iv: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
91
+ def decrypt_and_authenticate(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], nonce: typing.Optional[winrt.windows.storage.streams.IBuffer], authentication_tag: typing.Optional[winrt.windows.storage.streams.IBuffer], authenticated_data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
92
+ def decrypt_async(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], iv: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.IBuffer]: ...
93
+ def derive_key_material(cls, key: typing.Optional[CryptographicKey], parameters: typing.Optional[KeyDerivationParameters], desired_key_size: winrt.system.UInt32, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
94
+ def encrypt(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], iv: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
95
+ def encrypt_and_authenticate(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], nonce: typing.Optional[winrt.windows.storage.streams.IBuffer], authenticated_data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[EncryptedAndAuthenticatedData]: ...
96
+ def sign(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
97
+ def sign_async(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.IBuffer]: ...
98
+ def sign_hashed_data(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
99
+ def sign_hashed_data_async(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.IBuffer]: ...
100
+ def verify_signature(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], signature: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> bool: ...
101
+ def verify_signature_with_hash_input(cls, key: typing.Optional[CryptographicKey], data: typing.Optional[winrt.windows.storage.streams.IBuffer], signature: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> bool: ...
102
+
103
+ class CryptographicEngine(winrt.system.Object, metaclass=CryptographicEngine_Static):
104
+ @staticmethod
105
+ def _from(obj: winrt.system.Object, /) -> CryptographicEngine: ...
106
+
107
+ class CryptographicHash(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> CryptographicHash: ...
110
+ def append(self, data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> None: ...
111
+ def get_value_and_reset(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
112
+
113
+ class CryptographicKey(winrt.system.Object):
114
+ @staticmethod
115
+ def _from(obj: winrt.system.Object, /) -> CryptographicKey: ...
116
+ @typing.overload
117
+ def export(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
118
+ @typing.overload
119
+ def export(self, blob_type: CryptographicPrivateKeyBlobType, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
120
+ @typing.overload
121
+ def export_public_key(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
122
+ @typing.overload
123
+ def export_public_key(self, blob_type: CryptographicPublicKeyBlobType, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
124
+ @_property
125
+ def key_size(self) -> winrt.system.UInt32: ...
126
+
127
+ class EccCurveNames_Static(type):
128
+ @_property
129
+ def all_ecc_curve_names(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
130
+ @_property
131
+ def brainpool_p160r1(cls) -> str: ...
132
+ @_property
133
+ def brainpool_p160t1(cls) -> str: ...
134
+ @_property
135
+ def brainpool_p192r1(cls) -> str: ...
136
+ @_property
137
+ def brainpool_p192t1(cls) -> str: ...
138
+ @_property
139
+ def brainpool_p224r1(cls) -> str: ...
140
+ @_property
141
+ def brainpool_p224t1(cls) -> str: ...
142
+ @_property
143
+ def brainpool_p256r1(cls) -> str: ...
144
+ @_property
145
+ def brainpool_p256t1(cls) -> str: ...
146
+ @_property
147
+ def brainpool_p320r1(cls) -> str: ...
148
+ @_property
149
+ def brainpool_p320t1(cls) -> str: ...
150
+ @_property
151
+ def brainpool_p384r1(cls) -> str: ...
152
+ @_property
153
+ def brainpool_p384t1(cls) -> str: ...
154
+ @_property
155
+ def brainpool_p512r1(cls) -> str: ...
156
+ @_property
157
+ def brainpool_p512t1(cls) -> str: ...
158
+ @_property
159
+ def curve25519(cls) -> str: ...
160
+ @_property
161
+ def ec192wapi(cls) -> str: ...
162
+ @_property
163
+ def nist_p192(cls) -> str: ...
164
+ @_property
165
+ def nist_p224(cls) -> str: ...
166
+ @_property
167
+ def nist_p256(cls) -> str: ...
168
+ @_property
169
+ def nist_p384(cls) -> str: ...
170
+ @_property
171
+ def nist_p521(cls) -> str: ...
172
+ @_property
173
+ def nums_p256t1(cls) -> str: ...
174
+ @_property
175
+ def nums_p384t1(cls) -> str: ...
176
+ @_property
177
+ def nums_p512t1(cls) -> str: ...
178
+ @_property
179
+ def sec_p160k1(cls) -> str: ...
180
+ @_property
181
+ def sec_p160r1(cls) -> str: ...
182
+ @_property
183
+ def sec_p160r2(cls) -> str: ...
184
+ @_property
185
+ def sec_p192k1(cls) -> str: ...
186
+ @_property
187
+ def sec_p192r1(cls) -> str: ...
188
+ @_property
189
+ def sec_p224k1(cls) -> str: ...
190
+ @_property
191
+ def sec_p224r1(cls) -> str: ...
192
+ @_property
193
+ def sec_p256k1(cls) -> str: ...
194
+ @_property
195
+ def sec_p256r1(cls) -> str: ...
196
+ @_property
197
+ def sec_p384r1(cls) -> str: ...
198
+ @_property
199
+ def sec_p521r1(cls) -> str: ...
200
+ @_property
201
+ def wtls12(cls) -> str: ...
202
+ @_property
203
+ def wtls7(cls) -> str: ...
204
+ @_property
205
+ def wtls9(cls) -> str: ...
206
+ @_property
207
+ def x962_p192v1(cls) -> str: ...
208
+ @_property
209
+ def x962_p192v2(cls) -> str: ...
210
+ @_property
211
+ def x962_p192v3(cls) -> str: ...
212
+ @_property
213
+ def x962_p239v1(cls) -> str: ...
214
+ @_property
215
+ def x962_p239v2(cls) -> str: ...
216
+ @_property
217
+ def x962_p239v3(cls) -> str: ...
218
+ @_property
219
+ def x962_p256v1(cls) -> str: ...
220
+
221
+ class EccCurveNames(winrt.system.Object, metaclass=EccCurveNames_Static):
222
+ @staticmethod
223
+ def _from(obj: winrt.system.Object, /) -> EccCurveNames: ...
224
+
225
+ class EncryptedAndAuthenticatedData(winrt.system.Object):
226
+ @staticmethod
227
+ def _from(obj: winrt.system.Object, /) -> EncryptedAndAuthenticatedData: ...
228
+ @_property
229
+ def authentication_tag(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
230
+ @_property
231
+ def encrypted_data(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
232
+
233
+ class HashAlgorithmNames_Static(type):
234
+ @_property
235
+ def md5(cls) -> str: ...
236
+ @_property
237
+ def sha1(cls) -> str: ...
238
+ @_property
239
+ def sha256(cls) -> str: ...
240
+ @_property
241
+ def sha384(cls) -> str: ...
242
+ @_property
243
+ def sha512(cls) -> str: ...
244
+
245
+ class HashAlgorithmNames(winrt.system.Object, metaclass=HashAlgorithmNames_Static):
246
+ @staticmethod
247
+ def _from(obj: winrt.system.Object, /) -> HashAlgorithmNames: ...
248
+
249
+ class HashAlgorithmProvider_Static(type):
250
+ def open_algorithm(cls, algorithm: str, /) -> typing.Optional[HashAlgorithmProvider]: ...
251
+
252
+ class HashAlgorithmProvider(winrt.system.Object, metaclass=HashAlgorithmProvider_Static):
253
+ @staticmethod
254
+ def _from(obj: winrt.system.Object, /) -> HashAlgorithmProvider: ...
255
+ def create_hash(self) -> typing.Optional[CryptographicHash]: ...
256
+ def hash_data(self, data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
257
+ @_property
258
+ def algorithm_name(self) -> str: ...
259
+ @_property
260
+ def hash_length(self) -> winrt.system.UInt32: ...
261
+
262
+ class KeyDerivationAlgorithmNames_Static(type):
263
+ @_property
264
+ def pbkdf2_sha256(cls) -> str: ...
265
+ @_property
266
+ def pbkdf2_md5(cls) -> str: ...
267
+ @_property
268
+ def pbkdf2_sha1(cls) -> str: ...
269
+ @_property
270
+ def sp800108_ctr_hmac_sha512(cls) -> str: ...
271
+ @_property
272
+ def pbkdf2_sha384(cls) -> str: ...
273
+ @_property
274
+ def pbkdf2_sha512(cls) -> str: ...
275
+ @_property
276
+ def sp800108_ctr_hmac_md5(cls) -> str: ...
277
+ @_property
278
+ def sp800108_ctr_hmac_sha1(cls) -> str: ...
279
+ @_property
280
+ def sp800108_ctr_hmac_sha256(cls) -> str: ...
281
+ @_property
282
+ def sp800108_ctr_hmac_sha384(cls) -> str: ...
283
+ @_property
284
+ def sp80056a_concat_md5(cls) -> str: ...
285
+ @_property
286
+ def sp80056a_concat_sha1(cls) -> str: ...
287
+ @_property
288
+ def sp80056a_concat_sha256(cls) -> str: ...
289
+ @_property
290
+ def sp80056a_concat_sha384(cls) -> str: ...
291
+ @_property
292
+ def sp80056a_concat_sha512(cls) -> str: ...
293
+ @_property
294
+ def capi_kdf_sha1(cls) -> str: ...
295
+ @_property
296
+ def capi_kdf_sha256(cls) -> str: ...
297
+ @_property
298
+ def capi_kdf_sha384(cls) -> str: ...
299
+ @_property
300
+ def capi_kdf_sha512(cls) -> str: ...
301
+ @_property
302
+ def capi_kdf_md5(cls) -> str: ...
303
+
304
+ class KeyDerivationAlgorithmNames(winrt.system.Object, metaclass=KeyDerivationAlgorithmNames_Static):
305
+ @staticmethod
306
+ def _from(obj: winrt.system.Object, /) -> KeyDerivationAlgorithmNames: ...
307
+
308
+ class KeyDerivationAlgorithmProvider_Static(type):
309
+ def open_algorithm(cls, algorithm: str, /) -> typing.Optional[KeyDerivationAlgorithmProvider]: ...
310
+
311
+ class KeyDerivationAlgorithmProvider(winrt.system.Object, metaclass=KeyDerivationAlgorithmProvider_Static):
312
+ @staticmethod
313
+ def _from(obj: winrt.system.Object, /) -> KeyDerivationAlgorithmProvider: ...
314
+ def create_key(self, key_material: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicKey]: ...
315
+ @_property
316
+ def algorithm_name(self) -> str: ...
317
+
318
+ class KeyDerivationParameters_Static(type):
319
+ def build_for_capi1_kdf(cls, capi1_kdf_target_algorithm: Capi1KdfTargetAlgorithm, /) -> typing.Optional[KeyDerivationParameters]: ...
320
+ def build_for_pbkdf2(cls, pbkdf2_salt: typing.Optional[winrt.windows.storage.streams.IBuffer], iteration_count: winrt.system.UInt32, /) -> typing.Optional[KeyDerivationParameters]: ...
321
+ def build_for_s_p800108(cls, label: typing.Optional[winrt.windows.storage.streams.IBuffer], context: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[KeyDerivationParameters]: ...
322
+ def build_for_s_p80056a(cls, algorithm_id: typing.Optional[winrt.windows.storage.streams.IBuffer], party_u_info: typing.Optional[winrt.windows.storage.streams.IBuffer], party_v_info: typing.Optional[winrt.windows.storage.streams.IBuffer], supp_pub_info: typing.Optional[winrt.windows.storage.streams.IBuffer], supp_priv_info: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[KeyDerivationParameters]: ...
323
+
324
+ class KeyDerivationParameters(winrt.system.Object, metaclass=KeyDerivationParameters_Static):
325
+ @staticmethod
326
+ def _from(obj: winrt.system.Object, /) -> KeyDerivationParameters: ...
327
+ @_property
328
+ def kdf_generic_binary(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
329
+ @kdf_generic_binary.setter
330
+ def kdf_generic_binary(self, value: typing.Optional[winrt.windows.storage.streams.IBuffer]) -> None: ...
331
+ @_property
332
+ def iteration_count(self) -> winrt.system.UInt32: ...
333
+ @_property
334
+ def capi1_kdf_target_algorithm(self) -> Capi1KdfTargetAlgorithm: ...
335
+ @capi1_kdf_target_algorithm.setter
336
+ def capi1_kdf_target_algorithm(self, value: Capi1KdfTargetAlgorithm) -> None: ...
337
+
338
+ class MacAlgorithmNames_Static(type):
339
+ @_property
340
+ def aes_cmac(cls) -> str: ...
341
+ @_property
342
+ def hmac_md5(cls) -> str: ...
343
+ @_property
344
+ def hmac_sha1(cls) -> str: ...
345
+ @_property
346
+ def hmac_sha256(cls) -> str: ...
347
+ @_property
348
+ def hmac_sha384(cls) -> str: ...
349
+ @_property
350
+ def hmac_sha512(cls) -> str: ...
351
+
352
+ class MacAlgorithmNames(winrt.system.Object, metaclass=MacAlgorithmNames_Static):
353
+ @staticmethod
354
+ def _from(obj: winrt.system.Object, /) -> MacAlgorithmNames: ...
355
+
356
+ class MacAlgorithmProvider_Static(type):
357
+ def open_algorithm(cls, algorithm: str, /) -> typing.Optional[MacAlgorithmProvider]: ...
358
+
359
+ class MacAlgorithmProvider(winrt.system.Object, metaclass=MacAlgorithmProvider_Static):
360
+ @staticmethod
361
+ def _from(obj: winrt.system.Object, /) -> MacAlgorithmProvider: ...
362
+ def create_hash(self, key_material: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicHash]: ...
363
+ def create_key(self, key_material: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicKey]: ...
364
+ @_property
365
+ def algorithm_name(self) -> str: ...
366
+ @_property
367
+ def mac_length(self) -> winrt.system.UInt32: ...
368
+
369
+ class PersistedKeyProvider_Static(type):
370
+ def open_key_pair_from_certificate_async(cls, certificate: typing.Optional[winrt.windows.security.cryptography.certificates.Certificate], hash_algorithm_name: str, padding: CryptographicPadding, /) -> winrt.windows.foundation.IAsyncOperation[CryptographicKey]: ...
371
+ def open_public_key_from_certificate(cls, certificate: typing.Optional[winrt.windows.security.cryptography.certificates.Certificate], hash_algorithm_name: str, padding: CryptographicPadding, /) -> typing.Optional[CryptographicKey]: ...
372
+
373
+ class PersistedKeyProvider(winrt.system.Object, metaclass=PersistedKeyProvider_Static):
374
+ @staticmethod
375
+ def _from(obj: winrt.system.Object, /) -> PersistedKeyProvider: ...
376
+
377
+ class SymmetricAlgorithmNames_Static(type):
378
+ @_property
379
+ def aes_cbc(cls) -> str: ...
380
+ @_property
381
+ def aes_cbc_pkcs7(cls) -> str: ...
382
+ @_property
383
+ def aes_ccm(cls) -> str: ...
384
+ @_property
385
+ def aes_ecb(cls) -> str: ...
386
+ @_property
387
+ def aes_ecb_pkcs7(cls) -> str: ...
388
+ @_property
389
+ def aes_gcm(cls) -> str: ...
390
+ @_property
391
+ def des_cbc(cls) -> str: ...
392
+ @_property
393
+ def des_cbc_pkcs7(cls) -> str: ...
394
+ @_property
395
+ def des_ecb(cls) -> str: ...
396
+ @_property
397
+ def des_ecb_pkcs7(cls) -> str: ...
398
+ @_property
399
+ def rc2_cbc(cls) -> str: ...
400
+ @_property
401
+ def rc2_cbc_pkcs7(cls) -> str: ...
402
+ @_property
403
+ def rc2_ecb(cls) -> str: ...
404
+ @_property
405
+ def rc2_ecb_pkcs7(cls) -> str: ...
406
+ @_property
407
+ def rc4(cls) -> str: ...
408
+ @_property
409
+ def triple_des_cbc(cls) -> str: ...
410
+ @_property
411
+ def triple_des_cbc_pkcs7(cls) -> str: ...
412
+ @_property
413
+ def triple_des_ecb(cls) -> str: ...
414
+ @_property
415
+ def triple_des_ecb_pkcs7(cls) -> str: ...
416
+
417
+ class SymmetricAlgorithmNames(winrt.system.Object, metaclass=SymmetricAlgorithmNames_Static):
418
+ @staticmethod
419
+ def _from(obj: winrt.system.Object, /) -> SymmetricAlgorithmNames: ...
420
+
421
+ class SymmetricKeyAlgorithmProvider_Static(type):
422
+ def open_algorithm(cls, algorithm: str, /) -> typing.Optional[SymmetricKeyAlgorithmProvider]: ...
423
+
424
+ class SymmetricKeyAlgorithmProvider(winrt.system.Object, metaclass=SymmetricKeyAlgorithmProvider_Static):
425
+ @staticmethod
426
+ def _from(obj: winrt.system.Object, /) -> SymmetricKeyAlgorithmProvider: ...
427
+ def create_symmetric_key(self, key_material: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[CryptographicKey]: ...
428
+ @_property
429
+ def algorithm_name(self) -> str: ...
430
+ @_property
431
+ def block_length(self) -> winrt.system.UInt32: ...
432
+
@@ -0,0 +1,72 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_security_cryptography_core
7
+
8
+ __all__ = [
9
+ "Capi1KdfTargetAlgorithm",
10
+ "CryptographicPadding",
11
+ "CryptographicPrivateKeyBlobType",
12
+ "CryptographicPublicKeyBlobType",
13
+ "AsymmetricAlgorithmNames",
14
+ "AsymmetricKeyAlgorithmProvider",
15
+ "CryptographicEngine",
16
+ "CryptographicHash",
17
+ "CryptographicKey",
18
+ "EccCurveNames",
19
+ "EncryptedAndAuthenticatedData",
20
+ "HashAlgorithmNames",
21
+ "HashAlgorithmProvider",
22
+ "KeyDerivationAlgorithmNames",
23
+ "KeyDerivationAlgorithmProvider",
24
+ "KeyDerivationParameters",
25
+ "MacAlgorithmNames",
26
+ "MacAlgorithmProvider",
27
+ "PersistedKeyProvider",
28
+ "SymmetricAlgorithmNames",
29
+ "SymmetricKeyAlgorithmProvider",
30
+ ]
31
+
32
+ class Capi1KdfTargetAlgorithm(enum.IntEnum):
33
+ NOT_AES = 0
34
+ AES = 1
35
+
36
+ class CryptographicPadding(enum.IntEnum):
37
+ NONE = 0
38
+ RSA_OAEP = 1
39
+ RSA_PKCS1_V15 = 2
40
+ RSA_PSS = 3
41
+
42
+ class CryptographicPrivateKeyBlobType(enum.IntEnum):
43
+ PKCS8_RAW_PRIVATE_KEY_INFO = 0
44
+ PKCS1_RSA_PRIVATE_KEY = 1
45
+ B_CRYPT_PRIVATE_KEY = 2
46
+ CAPI1_PRIVATE_KEY = 3
47
+ B_CRYPT_ECC_FULL_PRIVATE_KEY = 4
48
+
49
+ class CryptographicPublicKeyBlobType(enum.IntEnum):
50
+ X509_SUBJECT_PUBLIC_KEY_INFO = 0
51
+ PKCS1_RSA_PUBLIC_KEY = 1
52
+ B_CRYPT_PUBLIC_KEY = 2
53
+ CAPI1_PUBLIC_KEY = 3
54
+ B_CRYPT_ECC_FULL_PUBLIC_KEY = 4
55
+
56
+ AsymmetricAlgorithmNames = _winrt_windows_security_cryptography_core.AsymmetricAlgorithmNames
57
+ AsymmetricKeyAlgorithmProvider = _winrt_windows_security_cryptography_core.AsymmetricKeyAlgorithmProvider
58
+ CryptographicEngine = _winrt_windows_security_cryptography_core.CryptographicEngine
59
+ CryptographicHash = _winrt_windows_security_cryptography_core.CryptographicHash
60
+ CryptographicKey = _winrt_windows_security_cryptography_core.CryptographicKey
61
+ EccCurveNames = _winrt_windows_security_cryptography_core.EccCurveNames
62
+ EncryptedAndAuthenticatedData = _winrt_windows_security_cryptography_core.EncryptedAndAuthenticatedData
63
+ HashAlgorithmNames = _winrt_windows_security_cryptography_core.HashAlgorithmNames
64
+ HashAlgorithmProvider = _winrt_windows_security_cryptography_core.HashAlgorithmProvider
65
+ KeyDerivationAlgorithmNames = _winrt_windows_security_cryptography_core.KeyDerivationAlgorithmNames
66
+ KeyDerivationAlgorithmProvider = _winrt_windows_security_cryptography_core.KeyDerivationAlgorithmProvider
67
+ KeyDerivationParameters = _winrt_windows_security_cryptography_core.KeyDerivationParameters
68
+ MacAlgorithmNames = _winrt_windows_security_cryptography_core.MacAlgorithmNames
69
+ MacAlgorithmProvider = _winrt_windows_security_cryptography_core.MacAlgorithmProvider
70
+ PersistedKeyProvider = _winrt_windows_security_cryptography_core.PersistedKeyProvider
71
+ SymmetricAlgorithmNames = _winrt_windows_security_cryptography_core.SymmetricAlgorithmNames
72
+ SymmetricKeyAlgorithmProvider = _winrt_windows_security_cryptography_core.SymmetricKeyAlgorithmProvider
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Security.Cryptography.Core
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Security.Cryptography.Core
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.Cryptography.Core` namespace.
26
+
27
+ This package provides the `winrt.windows.security.cryptography.core` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_security_cryptography_core.cp39-win_arm64.pyd,sha256=RKWu9UgAIMv1bDPCwDmkZwBVCGUFO4_lVOfxeG1enNA,422400
2
+ winrt/_winrt_windows_security_cryptography_core.pyi,sha256=-ilv1_ZNAkgzJwtEBYEMCocpoQnP4R4K0fMeZDDIgU8,19600
3
+ winrt/windows/security/cryptography/core/__init__.py,sha256=N1ZetIhZnR-fS84PxZ5M1QR7XmgjSPAwlBA9i_3ovZc,2981
4
+ winrt_Windows.Security.Cryptography.Core-2.0.0b1.dist-info/METADATA,sha256=4sPQuH6JwC_wd6b2AdckkWAGN57xApxkOPSFLS4CHVA,1319
5
+ winrt_Windows.Security.Cryptography.Core-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.Security.Cryptography.Core-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.Security.Cryptography.Core-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+