winrt-Windows.Security.Cryptography.Core 3.2.1__cp314-cp314-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_cryptography_core.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_security_cryptography_core.pyi +604 -0
- winrt/windows/security/cryptography/core/__init__.py +73 -0
- winrt/windows/security/cryptography/core/py.typed +0 -0
- winrt_windows_security_cryptography_core-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_security_cryptography_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_security_cryptography_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_security_cryptography_core-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,604 @@
|
|
|
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.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
from winrt.windows.security.cryptography.core import Capi1KdfTargetAlgorithm, CryptographicPadding, CryptographicPrivateKeyBlobType, CryptographicPublicKeyBlobType
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class AsymmetricAlgorithmNames_Static(winrt._winrt.IInspectable_Static):
|
|
23
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaP521Sha512()
|
|
24
|
+
@_property
|
|
25
|
+
def ecdsa_p521_sha512(cls) -> str: ...
|
|
26
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_DsaSha1()
|
|
27
|
+
@_property
|
|
28
|
+
def dsa_sha1(cls) -> str: ...
|
|
29
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_DsaSha256()
|
|
30
|
+
@_property
|
|
31
|
+
def dsa_sha256(cls) -> str: ...
|
|
32
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaP256Sha256()
|
|
33
|
+
@_property
|
|
34
|
+
def ecdsa_p256_sha256(cls) -> str: ...
|
|
35
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaP384Sha384()
|
|
36
|
+
@_property
|
|
37
|
+
def ecdsa_p384_sha384(cls) -> str: ...
|
|
38
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPkcs1Sha256()
|
|
39
|
+
@_property
|
|
40
|
+
def rsa_sign_pkcs1_sha256(cls) -> str: ...
|
|
41
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaOaepSha1()
|
|
42
|
+
@_property
|
|
43
|
+
def rsa_oaep_sha1(cls) -> str: ...
|
|
44
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaOaepSha256()
|
|
45
|
+
@_property
|
|
46
|
+
def rsa_oaep_sha256(cls) -> str: ...
|
|
47
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaOaepSha384()
|
|
48
|
+
@_property
|
|
49
|
+
def rsa_oaep_sha384(cls) -> str: ...
|
|
50
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaOaepSha512()
|
|
51
|
+
@_property
|
|
52
|
+
def rsa_oaep_sha512(cls) -> str: ...
|
|
53
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaPkcs1()
|
|
54
|
+
@_property
|
|
55
|
+
def rsa_pkcs1(cls) -> str: ...
|
|
56
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPkcs1Sha1()
|
|
57
|
+
@_property
|
|
58
|
+
def rsa_sign_pkcs1_sha1(cls) -> str: ...
|
|
59
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPkcs1Sha384()
|
|
60
|
+
@_property
|
|
61
|
+
def rsa_sign_pkcs1_sha384(cls) -> str: ...
|
|
62
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPkcs1Sha512()
|
|
63
|
+
@_property
|
|
64
|
+
def rsa_sign_pkcs1_sha512(cls) -> str: ...
|
|
65
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPssSha1()
|
|
66
|
+
@_property
|
|
67
|
+
def rsa_sign_pss_sha1(cls) -> str: ...
|
|
68
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPssSha256()
|
|
69
|
+
@_property
|
|
70
|
+
def rsa_sign_pss_sha256(cls) -> str: ...
|
|
71
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPssSha384()
|
|
72
|
+
@_property
|
|
73
|
+
def rsa_sign_pss_sha384(cls) -> str: ...
|
|
74
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_RsaSignPssSha512()
|
|
75
|
+
@_property
|
|
76
|
+
def rsa_sign_pss_sha512(cls) -> str: ...
|
|
77
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaSha384()
|
|
78
|
+
@_property
|
|
79
|
+
def ecdsa_sha384(cls) -> str: ...
|
|
80
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaSha512()
|
|
81
|
+
@_property
|
|
82
|
+
def ecdsa_sha512(cls) -> str: ...
|
|
83
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricAlgorithmNames::get_EcdsaSha256()
|
|
84
|
+
@_property
|
|
85
|
+
def ecdsa_sha256(cls) -> str: ...
|
|
86
|
+
|
|
87
|
+
@typing.final
|
|
88
|
+
class AsymmetricAlgorithmNames(winrt.system.Object, metaclass=AsymmetricAlgorithmNames_Static):
|
|
89
|
+
pass
|
|
90
|
+
|
|
91
|
+
@typing.final
|
|
92
|
+
class AsymmetricKeyAlgorithmProvider_Static(winrt._winrt.IInspectable_Static):
|
|
93
|
+
# Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::OpenAlgorithm(System.String)
|
|
94
|
+
def open_algorithm(cls, algorithm: str, /) -> AsymmetricKeyAlgorithmProvider: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class AsymmetricKeyAlgorithmProvider(winrt.system.Object, metaclass=AsymmetricKeyAlgorithmProvider_Static):
|
|
98
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::CreateKeyPair(System.UInt32)
|
|
99
|
+
def create_key_pair(self, key_size: winrt.system.UInt32, /) -> CryptographicKey: ...
|
|
100
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::CreateKeyPairWithCurveName(System.String)
|
|
101
|
+
def create_key_pair_with_curve_name(self, curve_name: str, /) -> CryptographicKey: ...
|
|
102
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::CreateKeyPairWithCurveParameters(System.Byte[])
|
|
103
|
+
def create_key_pair_with_curve_parameters(self, parameters: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> CryptographicKey: ...
|
|
104
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::ImportKeyPair(Windows.Storage.Streams.IBuffer)
|
|
105
|
+
def import_default_private_key_blob(self, key_blob: winrt.system.Buffer, /) -> CryptographicKey: ...
|
|
106
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::ImportPublicKey(Windows.Storage.Streams.IBuffer)
|
|
107
|
+
def import_default_public_key_blob(self, key_blob: winrt.system.Buffer, /) -> CryptographicKey: ...
|
|
108
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::ImportKeyPair(Windows.Storage.Streams.IBuffer,Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType)
|
|
109
|
+
def import_key_pair_with_blob_type(self, key_blob: winrt.system.Buffer, blob_type: CryptographicPrivateKeyBlobType, /) -> CryptographicKey: ...
|
|
110
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::ImportPublicKey(Windows.Storage.Streams.IBuffer,Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType)
|
|
111
|
+
def import_public_key_with_blob_type(self, key_blob: winrt.system.Buffer, blob_type: CryptographicPublicKeyBlobType, /) -> CryptographicKey: ...
|
|
112
|
+
# System.String Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider::get_AlgorithmName()
|
|
113
|
+
@_property
|
|
114
|
+
def algorithm_name(self) -> str: ...
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class CryptographicEngine_Static(winrt._winrt.IInspectable_Static):
|
|
118
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::Decrypt(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
119
|
+
def decrypt(cls, key: CryptographicKey, data: winrt.system.Buffer, iv: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
120
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::DecryptAndAuthenticate(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
121
|
+
def decrypt_and_authenticate(cls, key: CryptographicKey, data: winrt.system.Buffer, nonce: winrt.system.Buffer, authentication_tag: winrt.system.Buffer, authenticated_data: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
122
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Security.Cryptography.Core.CryptographicEngine::DecryptAsync(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
123
|
+
def decrypt_async(cls, key: CryptographicKey, data: winrt.system.Buffer, iv: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
|
|
124
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::DeriveKeyMaterial(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Security.Cryptography.Core.KeyDerivationParameters,System.UInt32)
|
|
125
|
+
def derive_key_material(cls, key: CryptographicKey, parameters: KeyDerivationParameters, desired_key_size: winrt.system.UInt32, /) -> winrt.system.Buffer: ...
|
|
126
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::Encrypt(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
127
|
+
def encrypt(cls, key: CryptographicKey, data: winrt.system.Buffer, iv: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
128
|
+
# Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData Windows.Security.Cryptography.Core.CryptographicEngine::EncryptAndAuthenticate(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
129
|
+
def encrypt_and_authenticate(cls, key: CryptographicKey, data: winrt.system.Buffer, nonce: winrt.system.Buffer, authenticated_data: winrt.system.Buffer, /) -> EncryptedAndAuthenticatedData: ...
|
|
130
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::Sign(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer)
|
|
131
|
+
def sign(cls, key: CryptographicKey, data: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
132
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Security.Cryptography.Core.CryptographicEngine::SignAsync(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer)
|
|
133
|
+
def sign_async(cls, key: CryptographicKey, data: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
|
|
134
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicEngine::SignHashedData(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer)
|
|
135
|
+
def sign_hashed_data(cls, key: CryptographicKey, data: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
136
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Security.Cryptography.Core.CryptographicEngine::SignHashedDataAsync(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer)
|
|
137
|
+
def sign_hashed_data_async(cls, key: CryptographicKey, data: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
|
|
138
|
+
# System.Boolean Windows.Security.Cryptography.Core.CryptographicEngine::VerifySignature(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
139
|
+
def verify_signature(cls, key: CryptographicKey, data: winrt.system.Buffer, signature: winrt.system.Buffer, /) -> bool: ...
|
|
140
|
+
# System.Boolean Windows.Security.Cryptography.Core.CryptographicEngine::VerifySignatureWithHashInput(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
141
|
+
def verify_signature_with_hash_input(cls, key: CryptographicKey, data: winrt.system.Buffer, signature: winrt.system.Buffer, /) -> bool: ...
|
|
142
|
+
|
|
143
|
+
@typing.final
|
|
144
|
+
class CryptographicEngine(winrt.system.Object, metaclass=CryptographicEngine_Static):
|
|
145
|
+
pass
|
|
146
|
+
|
|
147
|
+
@typing.final
|
|
148
|
+
class CryptographicHash(winrt.system.Object):
|
|
149
|
+
# System.Void Windows.Security.Cryptography.Core.CryptographicHash::Append(Windows.Storage.Streams.IBuffer)
|
|
150
|
+
def append(self, data: winrt.system.Buffer, /) -> None: ...
|
|
151
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicHash::GetValueAndReset()
|
|
152
|
+
def get_value_and_reset(self) -> winrt.system.Buffer: ...
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class CryptographicKey(winrt.system.Object):
|
|
156
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicKey::Export()
|
|
157
|
+
def export_default_private_key_blob_type(self) -> winrt.system.Buffer: ...
|
|
158
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicKey::ExportPublicKey()
|
|
159
|
+
def export_default_public_key_blob_type(self) -> winrt.system.Buffer: ...
|
|
160
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicKey::Export(Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType)
|
|
161
|
+
def export_private_key_with_blob_type(self, blob_type: CryptographicPrivateKeyBlobType, /) -> winrt.system.Buffer: ...
|
|
162
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.CryptographicKey::ExportPublicKey(Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType)
|
|
163
|
+
def export_public_key_with_blob_type(self, blob_type: CryptographicPublicKeyBlobType, /) -> winrt.system.Buffer: ...
|
|
164
|
+
# System.UInt32 Windows.Security.Cryptography.Core.CryptographicKey::get_KeySize()
|
|
165
|
+
@_property
|
|
166
|
+
def key_size(self) -> winrt.system.UInt32: ...
|
|
167
|
+
|
|
168
|
+
@typing.final
|
|
169
|
+
class EccCurveNames_Static(winrt._winrt.IInspectable_Static):
|
|
170
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.Security.Cryptography.Core.EccCurveNames::get_AllEccCurveNames()
|
|
171
|
+
@_property
|
|
172
|
+
def all_ecc_curve_names(cls) -> typing.Sequence[str]: ...
|
|
173
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP160r1()
|
|
174
|
+
@_property
|
|
175
|
+
def brainpool_p160r1(cls) -> str: ...
|
|
176
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP160t1()
|
|
177
|
+
@_property
|
|
178
|
+
def brainpool_p160t1(cls) -> str: ...
|
|
179
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP192r1()
|
|
180
|
+
@_property
|
|
181
|
+
def brainpool_p192r1(cls) -> str: ...
|
|
182
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP192t1()
|
|
183
|
+
@_property
|
|
184
|
+
def brainpool_p192t1(cls) -> str: ...
|
|
185
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP224r1()
|
|
186
|
+
@_property
|
|
187
|
+
def brainpool_p224r1(cls) -> str: ...
|
|
188
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP224t1()
|
|
189
|
+
@_property
|
|
190
|
+
def brainpool_p224t1(cls) -> str: ...
|
|
191
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP256r1()
|
|
192
|
+
@_property
|
|
193
|
+
def brainpool_p256r1(cls) -> str: ...
|
|
194
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP256t1()
|
|
195
|
+
@_property
|
|
196
|
+
def brainpool_p256t1(cls) -> str: ...
|
|
197
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP320r1()
|
|
198
|
+
@_property
|
|
199
|
+
def brainpool_p320r1(cls) -> str: ...
|
|
200
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP320t1()
|
|
201
|
+
@_property
|
|
202
|
+
def brainpool_p320t1(cls) -> str: ...
|
|
203
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP384r1()
|
|
204
|
+
@_property
|
|
205
|
+
def brainpool_p384r1(cls) -> str: ...
|
|
206
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP384t1()
|
|
207
|
+
@_property
|
|
208
|
+
def brainpool_p384t1(cls) -> str: ...
|
|
209
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP512r1()
|
|
210
|
+
@_property
|
|
211
|
+
def brainpool_p512r1(cls) -> str: ...
|
|
212
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_BrainpoolP512t1()
|
|
213
|
+
@_property
|
|
214
|
+
def brainpool_p512t1(cls) -> str: ...
|
|
215
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_Curve25519()
|
|
216
|
+
@_property
|
|
217
|
+
def curve25519(cls) -> str: ...
|
|
218
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_Ec192wapi()
|
|
219
|
+
@_property
|
|
220
|
+
def ec192wapi(cls) -> str: ...
|
|
221
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NistP192()
|
|
222
|
+
@_property
|
|
223
|
+
def nist_p192(cls) -> str: ...
|
|
224
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NistP224()
|
|
225
|
+
@_property
|
|
226
|
+
def nist_p224(cls) -> str: ...
|
|
227
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NistP256()
|
|
228
|
+
@_property
|
|
229
|
+
def nist_p256(cls) -> str: ...
|
|
230
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NistP384()
|
|
231
|
+
@_property
|
|
232
|
+
def nist_p384(cls) -> str: ...
|
|
233
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NistP521()
|
|
234
|
+
@_property
|
|
235
|
+
def nist_p521(cls) -> str: ...
|
|
236
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NumsP256t1()
|
|
237
|
+
@_property
|
|
238
|
+
def nums_p256t1(cls) -> str: ...
|
|
239
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NumsP384t1()
|
|
240
|
+
@_property
|
|
241
|
+
def nums_p384t1(cls) -> str: ...
|
|
242
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_NumsP512t1()
|
|
243
|
+
@_property
|
|
244
|
+
def nums_p512t1(cls) -> str: ...
|
|
245
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP160k1()
|
|
246
|
+
@_property
|
|
247
|
+
def sec_p160k1(cls) -> str: ...
|
|
248
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP160r1()
|
|
249
|
+
@_property
|
|
250
|
+
def sec_p160r1(cls) -> str: ...
|
|
251
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP160r2()
|
|
252
|
+
@_property
|
|
253
|
+
def sec_p160r2(cls) -> str: ...
|
|
254
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP192k1()
|
|
255
|
+
@_property
|
|
256
|
+
def sec_p192k1(cls) -> str: ...
|
|
257
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP192r1()
|
|
258
|
+
@_property
|
|
259
|
+
def sec_p192r1(cls) -> str: ...
|
|
260
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP224k1()
|
|
261
|
+
@_property
|
|
262
|
+
def sec_p224k1(cls) -> str: ...
|
|
263
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP224r1()
|
|
264
|
+
@_property
|
|
265
|
+
def sec_p224r1(cls) -> str: ...
|
|
266
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP256k1()
|
|
267
|
+
@_property
|
|
268
|
+
def sec_p256k1(cls) -> str: ...
|
|
269
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP256r1()
|
|
270
|
+
@_property
|
|
271
|
+
def sec_p256r1(cls) -> str: ...
|
|
272
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP384r1()
|
|
273
|
+
@_property
|
|
274
|
+
def sec_p384r1(cls) -> str: ...
|
|
275
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_SecP521r1()
|
|
276
|
+
@_property
|
|
277
|
+
def sec_p521r1(cls) -> str: ...
|
|
278
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_Wtls12()
|
|
279
|
+
@_property
|
|
280
|
+
def wtls12(cls) -> str: ...
|
|
281
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_Wtls7()
|
|
282
|
+
@_property
|
|
283
|
+
def wtls7(cls) -> str: ...
|
|
284
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_Wtls9()
|
|
285
|
+
@_property
|
|
286
|
+
def wtls9(cls) -> str: ...
|
|
287
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P192v1()
|
|
288
|
+
@_property
|
|
289
|
+
def x962_p192v1(cls) -> str: ...
|
|
290
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P192v2()
|
|
291
|
+
@_property
|
|
292
|
+
def x962_p192v2(cls) -> str: ...
|
|
293
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P192v3()
|
|
294
|
+
@_property
|
|
295
|
+
def x962_p192v3(cls) -> str: ...
|
|
296
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P239v1()
|
|
297
|
+
@_property
|
|
298
|
+
def x962_p239v1(cls) -> str: ...
|
|
299
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P239v2()
|
|
300
|
+
@_property
|
|
301
|
+
def x962_p239v2(cls) -> str: ...
|
|
302
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P239v3()
|
|
303
|
+
@_property
|
|
304
|
+
def x962_p239v3(cls) -> str: ...
|
|
305
|
+
# System.String Windows.Security.Cryptography.Core.EccCurveNames::get_X962P256v1()
|
|
306
|
+
@_property
|
|
307
|
+
def x962_p256v1(cls) -> str: ...
|
|
308
|
+
|
|
309
|
+
@typing.final
|
|
310
|
+
class EccCurveNames(winrt.system.Object, metaclass=EccCurveNames_Static):
|
|
311
|
+
pass
|
|
312
|
+
|
|
313
|
+
@typing.final
|
|
314
|
+
class EncryptedAndAuthenticatedData(winrt.system.Object):
|
|
315
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData::get_AuthenticationTag()
|
|
316
|
+
@_property
|
|
317
|
+
def authentication_tag(self) -> winrt.system.Buffer: ...
|
|
318
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData::get_EncryptedData()
|
|
319
|
+
@_property
|
|
320
|
+
def encrypted_data(self) -> winrt.system.Buffer: ...
|
|
321
|
+
|
|
322
|
+
@typing.final
|
|
323
|
+
class HashAlgorithmNames_Static(winrt._winrt.IInspectable_Static):
|
|
324
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Md5()
|
|
325
|
+
@_property
|
|
326
|
+
def md5(cls) -> str: ...
|
|
327
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Sha1()
|
|
328
|
+
@_property
|
|
329
|
+
def sha1(cls) -> str: ...
|
|
330
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Sha256()
|
|
331
|
+
@_property
|
|
332
|
+
def sha256(cls) -> str: ...
|
|
333
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Sha384()
|
|
334
|
+
@_property
|
|
335
|
+
def sha384(cls) -> str: ...
|
|
336
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Sha512()
|
|
337
|
+
@_property
|
|
338
|
+
def sha512(cls) -> str: ...
|
|
339
|
+
|
|
340
|
+
@typing.final
|
|
341
|
+
class HashAlgorithmNames(winrt.system.Object, metaclass=HashAlgorithmNames_Static):
|
|
342
|
+
pass
|
|
343
|
+
|
|
344
|
+
@typing.final
|
|
345
|
+
class HashAlgorithmProvider_Static(winrt._winrt.IInspectable_Static):
|
|
346
|
+
# Windows.Security.Cryptography.Core.HashAlgorithmProvider Windows.Security.Cryptography.Core.HashAlgorithmProvider::OpenAlgorithm(System.String)
|
|
347
|
+
def open_algorithm(cls, algorithm: str, /) -> HashAlgorithmProvider: ...
|
|
348
|
+
|
|
349
|
+
@typing.final
|
|
350
|
+
class HashAlgorithmProvider(winrt.system.Object, metaclass=HashAlgorithmProvider_Static):
|
|
351
|
+
# Windows.Security.Cryptography.Core.CryptographicHash Windows.Security.Cryptography.Core.HashAlgorithmProvider::CreateHash()
|
|
352
|
+
def create_hash(self) -> CryptographicHash: ...
|
|
353
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.HashAlgorithmProvider::HashData(Windows.Storage.Streams.IBuffer)
|
|
354
|
+
def hash_data(self, data: winrt.system.Buffer, /) -> winrt.system.Buffer: ...
|
|
355
|
+
# System.String Windows.Security.Cryptography.Core.HashAlgorithmProvider::get_AlgorithmName()
|
|
356
|
+
@_property
|
|
357
|
+
def algorithm_name(self) -> str: ...
|
|
358
|
+
# System.UInt32 Windows.Security.Cryptography.Core.HashAlgorithmProvider::get_HashLength()
|
|
359
|
+
@_property
|
|
360
|
+
def hash_length(self) -> winrt.system.UInt32: ...
|
|
361
|
+
|
|
362
|
+
@typing.final
|
|
363
|
+
class KeyDerivationAlgorithmNames_Static(winrt._winrt.IInspectable_Static):
|
|
364
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Pbkdf2Sha256()
|
|
365
|
+
@_property
|
|
366
|
+
def pbkdf2_sha256(cls) -> str: ...
|
|
367
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Pbkdf2Md5()
|
|
368
|
+
@_property
|
|
369
|
+
def pbkdf2_md5(cls) -> str: ...
|
|
370
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Pbkdf2Sha1()
|
|
371
|
+
@_property
|
|
372
|
+
def pbkdf2_sha1(cls) -> str: ...
|
|
373
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp800108CtrHmacSha512()
|
|
374
|
+
@_property
|
|
375
|
+
def sp800108_ctr_hmac_sha512(cls) -> str: ...
|
|
376
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Pbkdf2Sha384()
|
|
377
|
+
@_property
|
|
378
|
+
def pbkdf2_sha384(cls) -> str: ...
|
|
379
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Pbkdf2Sha512()
|
|
380
|
+
@_property
|
|
381
|
+
def pbkdf2_sha512(cls) -> str: ...
|
|
382
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp800108CtrHmacMd5()
|
|
383
|
+
@_property
|
|
384
|
+
def sp800108_ctr_hmac_md5(cls) -> str: ...
|
|
385
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp800108CtrHmacSha1()
|
|
386
|
+
@_property
|
|
387
|
+
def sp800108_ctr_hmac_sha1(cls) -> str: ...
|
|
388
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp800108CtrHmacSha256()
|
|
389
|
+
@_property
|
|
390
|
+
def sp800108_ctr_hmac_sha256(cls) -> str: ...
|
|
391
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp800108CtrHmacSha384()
|
|
392
|
+
@_property
|
|
393
|
+
def sp800108_ctr_hmac_sha384(cls) -> str: ...
|
|
394
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp80056aConcatMd5()
|
|
395
|
+
@_property
|
|
396
|
+
def sp80056a_concat_md5(cls) -> str: ...
|
|
397
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp80056aConcatSha1()
|
|
398
|
+
@_property
|
|
399
|
+
def sp80056a_concat_sha1(cls) -> str: ...
|
|
400
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp80056aConcatSha256()
|
|
401
|
+
@_property
|
|
402
|
+
def sp80056a_concat_sha256(cls) -> str: ...
|
|
403
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp80056aConcatSha384()
|
|
404
|
+
@_property
|
|
405
|
+
def sp80056a_concat_sha384(cls) -> str: ...
|
|
406
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_Sp80056aConcatSha512()
|
|
407
|
+
@_property
|
|
408
|
+
def sp80056a_concat_sha512(cls) -> str: ...
|
|
409
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_CapiKdfSha1()
|
|
410
|
+
@_property
|
|
411
|
+
def capi_kdf_sha1(cls) -> str: ...
|
|
412
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_CapiKdfSha256()
|
|
413
|
+
@_property
|
|
414
|
+
def capi_kdf_sha256(cls) -> str: ...
|
|
415
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_CapiKdfSha384()
|
|
416
|
+
@_property
|
|
417
|
+
def capi_kdf_sha384(cls) -> str: ...
|
|
418
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_CapiKdfSha512()
|
|
419
|
+
@_property
|
|
420
|
+
def capi_kdf_sha512(cls) -> str: ...
|
|
421
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames::get_CapiKdfMd5()
|
|
422
|
+
@_property
|
|
423
|
+
def capi_kdf_md5(cls) -> str: ...
|
|
424
|
+
|
|
425
|
+
@typing.final
|
|
426
|
+
class KeyDerivationAlgorithmNames(winrt.system.Object, metaclass=KeyDerivationAlgorithmNames_Static):
|
|
427
|
+
pass
|
|
428
|
+
|
|
429
|
+
@typing.final
|
|
430
|
+
class KeyDerivationAlgorithmProvider_Static(winrt._winrt.IInspectable_Static):
|
|
431
|
+
# Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider::OpenAlgorithm(System.String)
|
|
432
|
+
def open_algorithm(cls, algorithm: str, /) -> KeyDerivationAlgorithmProvider: ...
|
|
433
|
+
|
|
434
|
+
@typing.final
|
|
435
|
+
class KeyDerivationAlgorithmProvider(winrt.system.Object, metaclass=KeyDerivationAlgorithmProvider_Static):
|
|
436
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider::CreateKey(Windows.Storage.Streams.IBuffer)
|
|
437
|
+
def create_key(self, key_material: winrt.system.Buffer, /) -> CryptographicKey: ...
|
|
438
|
+
# System.String Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider::get_AlgorithmName()
|
|
439
|
+
@_property
|
|
440
|
+
def algorithm_name(self) -> str: ...
|
|
441
|
+
|
|
442
|
+
@typing.final
|
|
443
|
+
class KeyDerivationParameters_Static(winrt._winrt.IInspectable_Static):
|
|
444
|
+
# Windows.Security.Cryptography.Core.KeyDerivationParameters Windows.Security.Cryptography.Core.KeyDerivationParameters::BuildForCapi1Kdf(Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm)
|
|
445
|
+
def build_for_capi1_kdf(cls, capi1_kdf_target_algorithm: Capi1KdfTargetAlgorithm, /) -> KeyDerivationParameters: ...
|
|
446
|
+
# Windows.Security.Cryptography.Core.KeyDerivationParameters Windows.Security.Cryptography.Core.KeyDerivationParameters::BuildForPbkdf2(Windows.Storage.Streams.IBuffer,System.UInt32)
|
|
447
|
+
def build_for_pbkdf2(cls, pbkdf2_salt: winrt.system.Buffer, iteration_count: winrt.system.UInt32, /) -> KeyDerivationParameters: ...
|
|
448
|
+
# Windows.Security.Cryptography.Core.KeyDerivationParameters Windows.Security.Cryptography.Core.KeyDerivationParameters::BuildForSP800108(Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
449
|
+
def build_for_s_p800108(cls, label: winrt.system.Buffer, context: winrt.system.Buffer, /) -> KeyDerivationParameters: ...
|
|
450
|
+
# Windows.Security.Cryptography.Core.KeyDerivationParameters Windows.Security.Cryptography.Core.KeyDerivationParameters::BuildForSP80056a(Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
|
|
451
|
+
def build_for_s_p80056a(cls, algorithm_id: winrt.system.Buffer, party_u_info: winrt.system.Buffer, party_v_info: winrt.system.Buffer, supp_pub_info: winrt.system.Buffer, supp_priv_info: winrt.system.Buffer, /) -> KeyDerivationParameters: ...
|
|
452
|
+
|
|
453
|
+
@typing.final
|
|
454
|
+
class KeyDerivationParameters(winrt.system.Object, metaclass=KeyDerivationParameters_Static):
|
|
455
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.KeyDerivationParameters::get_KdfGenericBinary()
|
|
456
|
+
@_property
|
|
457
|
+
def kdf_generic_binary(self) -> winrt.system.Buffer: ...
|
|
458
|
+
# System.Void Windows.Security.Cryptography.Core.KeyDerivationParameters::put_KdfGenericBinary(Windows.Storage.Streams.IBuffer)
|
|
459
|
+
@kdf_generic_binary.setter
|
|
460
|
+
def kdf_generic_binary(self, value: winrt.system.Buffer) -> None: ...
|
|
461
|
+
# System.UInt32 Windows.Security.Cryptography.Core.KeyDerivationParameters::get_IterationCount()
|
|
462
|
+
@_property
|
|
463
|
+
def iteration_count(self) -> winrt.system.UInt32: ...
|
|
464
|
+
# Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm Windows.Security.Cryptography.Core.KeyDerivationParameters::get_Capi1KdfTargetAlgorithm()
|
|
465
|
+
@_property
|
|
466
|
+
def capi1_kdf_target_algorithm(self) -> Capi1KdfTargetAlgorithm: ...
|
|
467
|
+
# System.Void Windows.Security.Cryptography.Core.KeyDerivationParameters::put_Capi1KdfTargetAlgorithm(Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm)
|
|
468
|
+
@capi1_kdf_target_algorithm.setter
|
|
469
|
+
def capi1_kdf_target_algorithm(self, value: Capi1KdfTargetAlgorithm) -> None: ...
|
|
470
|
+
|
|
471
|
+
@typing.final
|
|
472
|
+
class MacAlgorithmNames_Static(winrt._winrt.IInspectable_Static):
|
|
473
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_AesCmac()
|
|
474
|
+
@_property
|
|
475
|
+
def aes_cmac(cls) -> str: ...
|
|
476
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_HmacMd5()
|
|
477
|
+
@_property
|
|
478
|
+
def hmac_md5(cls) -> str: ...
|
|
479
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_HmacSha1()
|
|
480
|
+
@_property
|
|
481
|
+
def hmac_sha1(cls) -> str: ...
|
|
482
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_HmacSha256()
|
|
483
|
+
@_property
|
|
484
|
+
def hmac_sha256(cls) -> str: ...
|
|
485
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_HmacSha384()
|
|
486
|
+
@_property
|
|
487
|
+
def hmac_sha384(cls) -> str: ...
|
|
488
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmNames::get_HmacSha512()
|
|
489
|
+
@_property
|
|
490
|
+
def hmac_sha512(cls) -> str: ...
|
|
491
|
+
|
|
492
|
+
@typing.final
|
|
493
|
+
class MacAlgorithmNames(winrt.system.Object, metaclass=MacAlgorithmNames_Static):
|
|
494
|
+
pass
|
|
495
|
+
|
|
496
|
+
@typing.final
|
|
497
|
+
class MacAlgorithmProvider_Static(winrt._winrt.IInspectable_Static):
|
|
498
|
+
# Windows.Security.Cryptography.Core.MacAlgorithmProvider Windows.Security.Cryptography.Core.MacAlgorithmProvider::OpenAlgorithm(System.String)
|
|
499
|
+
def open_algorithm(cls, algorithm: str, /) -> MacAlgorithmProvider: ...
|
|
500
|
+
|
|
501
|
+
@typing.final
|
|
502
|
+
class MacAlgorithmProvider(winrt.system.Object, metaclass=MacAlgorithmProvider_Static):
|
|
503
|
+
# Windows.Security.Cryptography.Core.CryptographicHash Windows.Security.Cryptography.Core.MacAlgorithmProvider::CreateHash(Windows.Storage.Streams.IBuffer)
|
|
504
|
+
def create_hash(self, key_material: winrt.system.Buffer, /) -> CryptographicHash: ...
|
|
505
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.MacAlgorithmProvider::CreateKey(Windows.Storage.Streams.IBuffer)
|
|
506
|
+
def create_key(self, key_material: winrt.system.Buffer, /) -> CryptographicKey: ...
|
|
507
|
+
# System.String Windows.Security.Cryptography.Core.MacAlgorithmProvider::get_AlgorithmName()
|
|
508
|
+
@_property
|
|
509
|
+
def algorithm_name(self) -> str: ...
|
|
510
|
+
# System.UInt32 Windows.Security.Cryptography.Core.MacAlgorithmProvider::get_MacLength()
|
|
511
|
+
@_property
|
|
512
|
+
def mac_length(self) -> winrt.system.UInt32: ...
|
|
513
|
+
|
|
514
|
+
@typing.final
|
|
515
|
+
class PersistedKeyProvider_Static(winrt._winrt.IInspectable_Static):
|
|
516
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Cryptography.Core.CryptographicKey> Windows.Security.Cryptography.Core.PersistedKeyProvider::OpenKeyPairFromCertificateAsync(Windows.Security.Cryptography.Certificates.Certificate,System.String,Windows.Security.Cryptography.Core.CryptographicPadding)
|
|
517
|
+
def open_key_pair_from_certificate_async(cls, certificate: windows_security_cryptography_certificates.Certificate, hash_algorithm_name: str, padding: CryptographicPadding, /) -> windows_foundation.IAsyncOperation[CryptographicKey]: ...
|
|
518
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.PersistedKeyProvider::OpenPublicKeyFromCertificate(Windows.Security.Cryptography.Certificates.Certificate,System.String,Windows.Security.Cryptography.Core.CryptographicPadding)
|
|
519
|
+
def open_public_key_from_certificate(cls, certificate: windows_security_cryptography_certificates.Certificate, hash_algorithm_name: str, padding: CryptographicPadding, /) -> CryptographicKey: ...
|
|
520
|
+
|
|
521
|
+
@typing.final
|
|
522
|
+
class PersistedKeyProvider(winrt.system.Object, metaclass=PersistedKeyProvider_Static):
|
|
523
|
+
pass
|
|
524
|
+
|
|
525
|
+
@typing.final
|
|
526
|
+
class SymmetricAlgorithmNames_Static(winrt._winrt.IInspectable_Static):
|
|
527
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesCbc()
|
|
528
|
+
@_property
|
|
529
|
+
def aes_cbc(cls) -> str: ...
|
|
530
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesCbcPkcs7()
|
|
531
|
+
@_property
|
|
532
|
+
def aes_cbc_pkcs7(cls) -> str: ...
|
|
533
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesCcm()
|
|
534
|
+
@_property
|
|
535
|
+
def aes_ccm(cls) -> str: ...
|
|
536
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesEcb()
|
|
537
|
+
@_property
|
|
538
|
+
def aes_ecb(cls) -> str: ...
|
|
539
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesEcbPkcs7()
|
|
540
|
+
@_property
|
|
541
|
+
def aes_ecb_pkcs7(cls) -> str: ...
|
|
542
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_AesGcm()
|
|
543
|
+
@_property
|
|
544
|
+
def aes_gcm(cls) -> str: ...
|
|
545
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_DesCbc()
|
|
546
|
+
@_property
|
|
547
|
+
def des_cbc(cls) -> str: ...
|
|
548
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_DesCbcPkcs7()
|
|
549
|
+
@_property
|
|
550
|
+
def des_cbc_pkcs7(cls) -> str: ...
|
|
551
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_DesEcb()
|
|
552
|
+
@_property
|
|
553
|
+
def des_ecb(cls) -> str: ...
|
|
554
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_DesEcbPkcs7()
|
|
555
|
+
@_property
|
|
556
|
+
def des_ecb_pkcs7(cls) -> str: ...
|
|
557
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_Rc2Cbc()
|
|
558
|
+
@_property
|
|
559
|
+
def rc2_cbc(cls) -> str: ...
|
|
560
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_Rc2CbcPkcs7()
|
|
561
|
+
@_property
|
|
562
|
+
def rc2_cbc_pkcs7(cls) -> str: ...
|
|
563
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_Rc2Ecb()
|
|
564
|
+
@_property
|
|
565
|
+
def rc2_ecb(cls) -> str: ...
|
|
566
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_Rc2EcbPkcs7()
|
|
567
|
+
@_property
|
|
568
|
+
def rc2_ecb_pkcs7(cls) -> str: ...
|
|
569
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_Rc4()
|
|
570
|
+
@_property
|
|
571
|
+
def rc4(cls) -> str: ...
|
|
572
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_TripleDesCbc()
|
|
573
|
+
@_property
|
|
574
|
+
def triple_des_cbc(cls) -> str: ...
|
|
575
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_TripleDesCbcPkcs7()
|
|
576
|
+
@_property
|
|
577
|
+
def triple_des_cbc_pkcs7(cls) -> str: ...
|
|
578
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_TripleDesEcb()
|
|
579
|
+
@_property
|
|
580
|
+
def triple_des_ecb(cls) -> str: ...
|
|
581
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricAlgorithmNames::get_TripleDesEcbPkcs7()
|
|
582
|
+
@_property
|
|
583
|
+
def triple_des_ecb_pkcs7(cls) -> str: ...
|
|
584
|
+
|
|
585
|
+
@typing.final
|
|
586
|
+
class SymmetricAlgorithmNames(winrt.system.Object, metaclass=SymmetricAlgorithmNames_Static):
|
|
587
|
+
pass
|
|
588
|
+
|
|
589
|
+
@typing.final
|
|
590
|
+
class SymmetricKeyAlgorithmProvider_Static(winrt._winrt.IInspectable_Static):
|
|
591
|
+
# Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider::OpenAlgorithm(System.String)
|
|
592
|
+
def open_algorithm(cls, algorithm: str, /) -> SymmetricKeyAlgorithmProvider: ...
|
|
593
|
+
|
|
594
|
+
@typing.final
|
|
595
|
+
class SymmetricKeyAlgorithmProvider(winrt.system.Object, metaclass=SymmetricKeyAlgorithmProvider_Static):
|
|
596
|
+
# Windows.Security.Cryptography.Core.CryptographicKey Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider::CreateSymmetricKey(Windows.Storage.Streams.IBuffer)
|
|
597
|
+
def create_symmetric_key(self, key_material: winrt.system.Buffer, /) -> CryptographicKey: ...
|
|
598
|
+
# System.String Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider::get_AlgorithmName()
|
|
599
|
+
@_property
|
|
600
|
+
def algorithm_name(self) -> str: ...
|
|
601
|
+
# System.UInt32 Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider::get_BlockLength()
|
|
602
|
+
@_property
|
|
603
|
+
def block_length(self) -> winrt.system.UInt32: ...
|
|
604
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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_cryptography_core import (
|
|
7
|
+
AsymmetricAlgorithmNames,
|
|
8
|
+
AsymmetricKeyAlgorithmProvider,
|
|
9
|
+
CryptographicEngine,
|
|
10
|
+
CryptographicHash,
|
|
11
|
+
CryptographicKey,
|
|
12
|
+
EccCurveNames,
|
|
13
|
+
EncryptedAndAuthenticatedData,
|
|
14
|
+
HashAlgorithmNames,
|
|
15
|
+
HashAlgorithmProvider,
|
|
16
|
+
KeyDerivationAlgorithmNames,
|
|
17
|
+
KeyDerivationAlgorithmProvider,
|
|
18
|
+
KeyDerivationParameters,
|
|
19
|
+
MacAlgorithmNames,
|
|
20
|
+
MacAlgorithmProvider,
|
|
21
|
+
PersistedKeyProvider,
|
|
22
|
+
SymmetricAlgorithmNames,
|
|
23
|
+
SymmetricKeyAlgorithmProvider,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
__all__ = [
|
|
27
|
+
"Capi1KdfTargetAlgorithm",
|
|
28
|
+
"CryptographicPadding",
|
|
29
|
+
"CryptographicPrivateKeyBlobType",
|
|
30
|
+
"CryptographicPublicKeyBlobType",
|
|
31
|
+
"AsymmetricAlgorithmNames",
|
|
32
|
+
"AsymmetricKeyAlgorithmProvider",
|
|
33
|
+
"CryptographicEngine",
|
|
34
|
+
"CryptographicHash",
|
|
35
|
+
"CryptographicKey",
|
|
36
|
+
"EccCurveNames",
|
|
37
|
+
"EncryptedAndAuthenticatedData",
|
|
38
|
+
"HashAlgorithmNames",
|
|
39
|
+
"HashAlgorithmProvider",
|
|
40
|
+
"KeyDerivationAlgorithmNames",
|
|
41
|
+
"KeyDerivationAlgorithmProvider",
|
|
42
|
+
"KeyDerivationParameters",
|
|
43
|
+
"MacAlgorithmNames",
|
|
44
|
+
"MacAlgorithmProvider",
|
|
45
|
+
"PersistedKeyProvider",
|
|
46
|
+
"SymmetricAlgorithmNames",
|
|
47
|
+
"SymmetricKeyAlgorithmProvider",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
class Capi1KdfTargetAlgorithm(enum.IntEnum):
|
|
51
|
+
NOT_AES = 0
|
|
52
|
+
AES = 1
|
|
53
|
+
|
|
54
|
+
class CryptographicPadding(enum.IntEnum):
|
|
55
|
+
NONE = 0
|
|
56
|
+
RSA_OAEP = 1
|
|
57
|
+
RSA_PKCS1_V15 = 2
|
|
58
|
+
RSA_PSS = 3
|
|
59
|
+
|
|
60
|
+
class CryptographicPrivateKeyBlobType(enum.IntEnum):
|
|
61
|
+
PKCS8_RAW_PRIVATE_KEY_INFO = 0
|
|
62
|
+
PKCS1_RSA_PRIVATE_KEY = 1
|
|
63
|
+
B_CRYPT_PRIVATE_KEY = 2
|
|
64
|
+
CAPI1_PRIVATE_KEY = 3
|
|
65
|
+
B_CRYPT_ECC_FULL_PRIVATE_KEY = 4
|
|
66
|
+
|
|
67
|
+
class CryptographicPublicKeyBlobType(enum.IntEnum):
|
|
68
|
+
X509_SUBJECT_PUBLIC_KEY_INFO = 0
|
|
69
|
+
PKCS1_RSA_PUBLIC_KEY = 1
|
|
70
|
+
B_CRYPT_PUBLIC_KEY = 2
|
|
71
|
+
CAPI1_PUBLIC_KEY = 3
|
|
72
|
+
B_CRYPT_ECC_FULL_PUBLIC_KEY = 4
|
|
73
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Security.Cryptography.Core
|
|
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.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[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.Cryptography.Core
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Security.Cryptography.Core` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.security.cryptography.core` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_security_cryptography_core.cp314-win32.pyd,sha256=w69Q79DNPpz9mBOunlzenaI7dHskbfu7xrZwporgsJY,276480
|
|
2
|
+
winrt/_winrt_windows_security_cryptography_core.pyi,sha256=bvhikN9K0s0WbUSwIRcEhOiwSUfe5QMFg4sC2JnjivA,37450
|
|
3
|
+
winrt/windows/security/cryptography/core/__init__.py,sha256=b0OvDWQLOyx3CXXleEztT_2BQMOHFBN8hiZCzfZJRjA,1922
|
|
4
|
+
winrt/windows/security/cryptography/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_security_cryptography_core-3.2.1.dist-info/METADATA,sha256=uJXa5NXHLGZwij7B73YxRumK4y4bdU6QnfXtklCUt_Y,1347
|
|
6
|
+
winrt_windows_security_cryptography_core-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_security_cryptography_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_security_cryptography_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|