@tsonic/dotnet 0.5.2 → 0.6.0
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.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -55,11 +55,11 @@ export type CLROf<T> =
|
|
|
55
55
|
T; // Identity fallback for non-primitive types
|
|
56
56
|
|
|
57
57
|
export enum CipherMode {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
CBC = 1,
|
|
59
|
+
ECB = 2,
|
|
60
|
+
OFB = 3,
|
|
61
|
+
CFB = 4,
|
|
62
|
+
CTS = 5
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -195,10 +195,10 @@ export enum OidGroup {
|
|
|
195
195
|
|
|
196
196
|
export enum PaddingMode {
|
|
197
197
|
none = 1,
|
|
198
|
-
|
|
198
|
+
PKCS7 = 2,
|
|
199
199
|
zeros = 3,
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
ANSIX923 = 4,
|
|
201
|
+
ISO10126 = 5
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
|
|
@@ -223,23 +223,25 @@ export enum RSASignaturePaddingMode {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
|
|
226
|
-
export interface ICryptoTransform$instance {
|
|
227
|
-
readonly
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
230
|
-
readonly
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
226
|
+
export interface ICryptoTransform$instance extends IDisposable {
|
|
227
|
+
readonly inputBlockSize: int;
|
|
228
|
+
readonly outputBlockSize: int;
|
|
229
|
+
readonly canTransformMultipleBlocks: boolean;
|
|
230
|
+
readonly canReuseTransform: boolean;
|
|
231
|
+
dispose(): void;
|
|
232
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
233
|
+
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
|
|
237
|
+
export interface ICryptoTransform$instance extends System_Internal.IDisposable$instance {}
|
|
238
|
+
|
|
237
239
|
export type ICryptoTransform = ICryptoTransform$instance;
|
|
238
240
|
|
|
239
241
|
export interface ICspAsymmetricAlgorithm$instance {
|
|
240
|
-
readonly
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
readonly cspKeyContainerInfo: CspKeyContainerInfo;
|
|
243
|
+
exportCspBlob(includePrivateParameters: boolean): byte[];
|
|
244
|
+
importCspBlob(rawData: byte[]): void;
|
|
243
245
|
}
|
|
244
246
|
|
|
245
247
|
|
|
@@ -249,7 +251,7 @@ export class CngProperty$instance {
|
|
|
249
251
|
constructor(name: string, value: byte[], options: CngPropertyOptions);
|
|
250
252
|
readonly name: string;
|
|
251
253
|
readonly options: CngPropertyOptions;
|
|
252
|
-
equals(obj:
|
|
254
|
+
equals(obj: unknown): boolean;
|
|
253
255
|
equals(other: CngProperty): boolean;
|
|
254
256
|
getHashCode(): int;
|
|
255
257
|
getValue(): byte[];
|
|
@@ -257,7 +259,7 @@ export class CngProperty$instance {
|
|
|
257
259
|
|
|
258
260
|
|
|
259
261
|
export interface __CngProperty$views {
|
|
260
|
-
|
|
262
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CngProperty>;
|
|
261
263
|
|
|
262
264
|
// Structural method bridges for numeric interface constraints
|
|
263
265
|
Equals(other: CngProperty): boolean;
|
|
@@ -273,8 +275,8 @@ export class DSAParameters$instance {
|
|
|
273
275
|
Y: byte[];
|
|
274
276
|
J: byte[];
|
|
275
277
|
X: byte[];
|
|
276
|
-
|
|
277
|
-
|
|
278
|
+
seed: byte[];
|
|
279
|
+
counter: int;
|
|
278
280
|
}
|
|
279
281
|
|
|
280
282
|
|
|
@@ -284,22 +286,22 @@ export class ECCurve$instance {
|
|
|
284
286
|
A: byte[];
|
|
285
287
|
B: byte[];
|
|
286
288
|
G: ECPoint;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
289
|
+
order: byte[];
|
|
290
|
+
cofactor: byte[];
|
|
291
|
+
seed: byte[];
|
|
292
|
+
curveType: ECCurve_ECCurveType;
|
|
293
|
+
hash: Nullable_1<HashAlgorithmName>;
|
|
294
|
+
polynomial: byte[];
|
|
295
|
+
prime: byte[];
|
|
294
296
|
readonly isCharacteristic2: boolean;
|
|
295
297
|
readonly isExplicit: boolean;
|
|
296
298
|
readonly isNamed: boolean;
|
|
297
299
|
readonly isPrime: boolean;
|
|
298
300
|
readonly oid: Oid;
|
|
299
301
|
validate(): void;
|
|
300
|
-
static
|
|
301
|
-
static
|
|
302
|
-
static
|
|
302
|
+
static createFromFriendlyName(oidFriendlyName: string): ECCurve;
|
|
303
|
+
static createFromOid(curveOid: Oid): ECCurve;
|
|
304
|
+
static createFromValue(oidValue: string): ECCurve;
|
|
303
305
|
}
|
|
304
306
|
|
|
305
307
|
|
|
@@ -308,7 +310,7 @@ export type ECCurve = ECCurve$instance;
|
|
|
308
310
|
export class ECParameters$instance {
|
|
309
311
|
Q: ECPoint;
|
|
310
312
|
D: byte[];
|
|
311
|
-
|
|
313
|
+
curve: ECCurve;
|
|
312
314
|
validate(): void;
|
|
313
315
|
}
|
|
314
316
|
|
|
@@ -326,7 +328,7 @@ export type ECPoint = ECPoint$instance;
|
|
|
326
328
|
export class HashAlgorithmName$instance {
|
|
327
329
|
constructor(name: string);
|
|
328
330
|
readonly name: string;
|
|
329
|
-
equals(obj:
|
|
331
|
+
equals(obj: unknown): boolean;
|
|
330
332
|
equals(other: HashAlgorithmName): boolean;
|
|
331
333
|
getHashCode(): int;
|
|
332
334
|
toString(): string;
|
|
@@ -338,13 +340,13 @@ export class HashAlgorithmName$instance {
|
|
|
338
340
|
static readonly SHA3_256: HashAlgorithmName;
|
|
339
341
|
static readonly SHA3_384: HashAlgorithmName;
|
|
340
342
|
static readonly SHA3_512: HashAlgorithmName;
|
|
341
|
-
static
|
|
342
|
-
static
|
|
343
|
+
static fromOid(oidValue: string): HashAlgorithmName;
|
|
344
|
+
static tryFromOid(oidValue: string, value: { value: ref<HashAlgorithmName> }): boolean;
|
|
343
345
|
}
|
|
344
346
|
|
|
345
347
|
|
|
346
348
|
export interface __HashAlgorithmName$views {
|
|
347
|
-
|
|
349
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<HashAlgorithmName>;
|
|
348
350
|
|
|
349
351
|
// Structural method bridges for numeric interface constraints
|
|
350
352
|
Equals(other: HashAlgorithmName): boolean;
|
|
@@ -367,9 +369,9 @@ export class RSAParameters$instance {
|
|
|
367
369
|
D: byte[];
|
|
368
370
|
DP: byte[];
|
|
369
371
|
DQ: byte[];
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
372
|
+
exponent: byte[];
|
|
373
|
+
inverseQ: byte[];
|
|
374
|
+
modulus: byte[];
|
|
373
375
|
P: byte[];
|
|
374
376
|
Q: byte[];
|
|
375
377
|
}
|
|
@@ -386,12 +388,12 @@ export abstract class Aes$instance extends SymmetricAlgorithm$instance {
|
|
|
386
388
|
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
387
389
|
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
388
390
|
tryDecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
389
|
-
static
|
|
391
|
+
static getKeyWrapPaddedLength(plaintextLengthInBytes: int): int;
|
|
390
392
|
}
|
|
391
393
|
|
|
392
394
|
|
|
393
395
|
export interface __Aes$views {
|
|
394
|
-
|
|
396
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
395
397
|
}
|
|
396
398
|
|
|
397
399
|
export type Aes = Aes$instance & __Aes$views;
|
|
@@ -405,16 +407,18 @@ export class AesCcm$instance {
|
|
|
405
407
|
dispose(): void;
|
|
406
408
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
407
409
|
encrypt(nonce: ReadOnlySpan_1<CLROf<byte>>, plaintext: ReadOnlySpan_1<CLROf<byte>>, ciphertext: Span_1<CLROf<byte>>, tag: Span_1<CLROf<byte>>, associatedData?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
408
|
-
static readonly
|
|
409
|
-
static readonly
|
|
410
|
-
static readonly
|
|
410
|
+
static readonly nonceByteSizes: KeySizes;
|
|
411
|
+
static readonly tagByteSizes: KeySizes;
|
|
412
|
+
static readonly isSupported: boolean;
|
|
411
413
|
}
|
|
412
414
|
|
|
413
415
|
|
|
414
416
|
export interface __AesCcm$views {
|
|
415
|
-
|
|
417
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
416
418
|
}
|
|
417
419
|
|
|
420
|
+
export interface AesCcm$instance extends System_Internal.IDisposable$instance {}
|
|
421
|
+
|
|
418
422
|
export type AesCcm = AesCcm$instance & __AesCcm$views;
|
|
419
423
|
|
|
420
424
|
|
|
@@ -435,7 +439,7 @@ export class AesCng$instance extends Aes$instance {
|
|
|
435
439
|
|
|
436
440
|
|
|
437
441
|
export interface __AesCng$views {
|
|
438
|
-
|
|
442
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
439
443
|
}
|
|
440
444
|
|
|
441
445
|
export type AesCng = AesCng$instance & __AesCng$views;
|
|
@@ -445,7 +449,7 @@ export class AesCryptoServiceProvider$instance extends Aes$instance {
|
|
|
445
449
|
constructor();
|
|
446
450
|
blockSize: int;
|
|
447
451
|
feedbackSize: int;
|
|
448
|
-
|
|
452
|
+
IV: byte[];
|
|
449
453
|
key: byte[];
|
|
450
454
|
keySize: int;
|
|
451
455
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -463,7 +467,7 @@ export class AesCryptoServiceProvider$instance extends Aes$instance {
|
|
|
463
467
|
|
|
464
468
|
|
|
465
469
|
export interface __AesCryptoServiceProvider$views {
|
|
466
|
-
|
|
470
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
467
471
|
}
|
|
468
472
|
|
|
469
473
|
export type AesCryptoServiceProvider = AesCryptoServiceProvider$instance & __AesCryptoServiceProvider$views;
|
|
@@ -480,16 +484,18 @@ export class AesGcm$instance {
|
|
|
480
484
|
dispose(): void;
|
|
481
485
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
482
486
|
encrypt(nonce: ReadOnlySpan_1<CLROf<byte>>, plaintext: ReadOnlySpan_1<CLROf<byte>>, ciphertext: Span_1<CLROf<byte>>, tag: Span_1<CLROf<byte>>, associatedData?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
483
|
-
static readonly
|
|
484
|
-
static readonly
|
|
485
|
-
static readonly
|
|
487
|
+
static readonly nonceByteSizes: KeySizes;
|
|
488
|
+
static readonly tagByteSizes: KeySizes;
|
|
489
|
+
static readonly isSupported: boolean;
|
|
486
490
|
}
|
|
487
491
|
|
|
488
492
|
|
|
489
493
|
export interface __AesGcm$views {
|
|
490
|
-
|
|
494
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
491
495
|
}
|
|
492
496
|
|
|
497
|
+
export interface AesGcm$instance extends System_Internal.IDisposable$instance {}
|
|
498
|
+
|
|
493
499
|
export type AesGcm = AesGcm$instance & __AesGcm$views;
|
|
494
500
|
|
|
495
501
|
|
|
@@ -497,7 +503,7 @@ export class AesManaged$instance extends Aes$instance {
|
|
|
497
503
|
constructor();
|
|
498
504
|
blockSize: int;
|
|
499
505
|
feedbackSize: int;
|
|
500
|
-
|
|
506
|
+
IV: byte[];
|
|
501
507
|
key: byte[];
|
|
502
508
|
keySize: int;
|
|
503
509
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -515,7 +521,7 @@ export class AesManaged$instance extends Aes$instance {
|
|
|
515
521
|
|
|
516
522
|
|
|
517
523
|
export interface __AesManaged$views {
|
|
518
|
-
|
|
524
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
519
525
|
}
|
|
520
526
|
|
|
521
527
|
export type AesManaged = AesManaged$instance & __AesManaged$views;
|
|
@@ -544,7 +550,7 @@ export class AsnEncodedDataCollection$instance {
|
|
|
544
550
|
readonly count: int;
|
|
545
551
|
readonly isSynchronized: boolean;
|
|
546
552
|
readonly item: AsnEncodedData;
|
|
547
|
-
readonly syncRoot:
|
|
553
|
+
readonly syncRoot: unknown;
|
|
548
554
|
add(asnEncodedData: AsnEncodedData): int;
|
|
549
555
|
copyTo(array: AsnEncodedData[], index: int): void;
|
|
550
556
|
getEnumerator(): AsnEncodedDataEnumerator;
|
|
@@ -553,22 +559,22 @@ export class AsnEncodedDataCollection$instance {
|
|
|
553
559
|
|
|
554
560
|
|
|
555
561
|
export interface __AsnEncodedDataCollection$views {
|
|
556
|
-
|
|
557
|
-
|
|
562
|
+
As_ICollection(): System_Collections_Internal.ICollection$instance;
|
|
563
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
558
564
|
}
|
|
559
565
|
|
|
560
566
|
export type AsnEncodedDataCollection = AsnEncodedDataCollection$instance & __AsnEncodedDataCollection$views;
|
|
561
567
|
|
|
562
568
|
|
|
563
569
|
export class AsnEncodedDataEnumerator$instance {
|
|
564
|
-
readonly current:
|
|
570
|
+
readonly current: AsnEncodedData | unknown;
|
|
565
571
|
moveNext(): boolean;
|
|
566
572
|
reset(): void;
|
|
567
573
|
}
|
|
568
574
|
|
|
569
575
|
|
|
570
576
|
export interface __AsnEncodedDataEnumerator$views {
|
|
571
|
-
|
|
577
|
+
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
572
578
|
}
|
|
573
579
|
|
|
574
580
|
export type AsnEncodedDataEnumerator = AsnEncodedDataEnumerator$instance & __AsnEncodedDataEnumerator$views;
|
|
@@ -582,8 +588,8 @@ export abstract class AsymmetricAlgorithm$instance {
|
|
|
582
588
|
clear(): void;
|
|
583
589
|
dispose(): void;
|
|
584
590
|
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): byte[];
|
|
585
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
586
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
591
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): byte[];
|
|
592
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): string;
|
|
587
593
|
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): string;
|
|
588
594
|
exportPkcs8PrivateKey(): byte[];
|
|
589
595
|
exportPkcs8PrivateKeyPem(): string;
|
|
@@ -591,30 +597,32 @@ export abstract class AsymmetricAlgorithm$instance {
|
|
|
591
597
|
exportSubjectPublicKeyInfoPem(): string;
|
|
592
598
|
fromXmlString(xmlString: string): void;
|
|
593
599
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
594
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
595
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
596
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
597
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
600
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
601
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
602
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
603
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
598
604
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
599
605
|
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
600
606
|
toXmlString(includePrivateParameters: boolean): string;
|
|
601
607
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
602
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
603
|
-
tryExportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
604
|
-
tryExportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<
|
|
608
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
609
|
+
tryExportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
610
|
+
tryExportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
605
611
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
606
|
-
tryExportPkcs8PrivateKeyPem(destination: Span_1<CLROf<
|
|
612
|
+
tryExportPkcs8PrivateKeyPem(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
607
613
|
tryExportSubjectPublicKeyInfo(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
608
|
-
tryExportSubjectPublicKeyInfoPem(destination: Span_1<CLROf<
|
|
609
|
-
static
|
|
610
|
-
static
|
|
614
|
+
tryExportSubjectPublicKeyInfoPem(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
615
|
+
static create(): AsymmetricAlgorithm;
|
|
616
|
+
static create(algName: string): AsymmetricAlgorithm;
|
|
611
617
|
}
|
|
612
618
|
|
|
613
619
|
|
|
614
620
|
export interface __AsymmetricAlgorithm$views {
|
|
615
|
-
|
|
621
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
616
622
|
}
|
|
617
623
|
|
|
624
|
+
export interface AsymmetricAlgorithm$instance extends System_Internal.IDisposable$instance {}
|
|
625
|
+
|
|
618
626
|
export type AsymmetricAlgorithm = AsymmetricAlgorithm$instance & __AsymmetricAlgorithm$views;
|
|
619
627
|
|
|
620
628
|
|
|
@@ -666,7 +674,7 @@ export class AuthenticationTagMismatchException$instance extends CryptographicEx
|
|
|
666
674
|
|
|
667
675
|
|
|
668
676
|
export interface __AuthenticationTagMismatchException$views {
|
|
669
|
-
|
|
677
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
670
678
|
}
|
|
671
679
|
|
|
672
680
|
export type AuthenticationTagMismatchException = AuthenticationTagMismatchException$instance & __AuthenticationTagMismatchException$views;
|
|
@@ -680,46 +688,48 @@ export class ChaCha20Poly1305$instance {
|
|
|
680
688
|
dispose(): void;
|
|
681
689
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
682
690
|
encrypt(nonce: ReadOnlySpan_1<CLROf<byte>>, plaintext: ReadOnlySpan_1<CLROf<byte>>, ciphertext: Span_1<CLROf<byte>>, tag: Span_1<CLROf<byte>>, associatedData?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
683
|
-
static readonly
|
|
691
|
+
static readonly isSupported: boolean;
|
|
684
692
|
}
|
|
685
693
|
|
|
686
694
|
|
|
687
695
|
export interface __ChaCha20Poly1305$views {
|
|
688
|
-
|
|
696
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
689
697
|
}
|
|
690
698
|
|
|
699
|
+
export interface ChaCha20Poly1305$instance extends System_Internal.IDisposable$instance {}
|
|
700
|
+
|
|
691
701
|
export type ChaCha20Poly1305 = ChaCha20Poly1305$instance & __ChaCha20Poly1305$views;
|
|
692
702
|
|
|
693
703
|
|
|
694
704
|
export class CngAlgorithm$instance {
|
|
695
705
|
constructor(algorithm: string);
|
|
696
706
|
readonly algorithm: string;
|
|
697
|
-
equals(obj:
|
|
707
|
+
equals(obj: unknown): boolean;
|
|
698
708
|
equals(other: CngAlgorithm): boolean;
|
|
699
709
|
getHashCode(): int;
|
|
700
710
|
toString(): string;
|
|
701
|
-
static readonly
|
|
702
|
-
static readonly
|
|
703
|
-
static readonly
|
|
704
|
-
static readonly
|
|
705
|
-
static readonly
|
|
706
|
-
static readonly
|
|
707
|
-
static readonly
|
|
708
|
-
static readonly
|
|
709
|
-
static readonly
|
|
711
|
+
static readonly rsa: CngAlgorithm;
|
|
712
|
+
static readonly ecDiffieHellman: CngAlgorithm;
|
|
713
|
+
static readonly ecDiffieHellmanP256: CngAlgorithm;
|
|
714
|
+
static readonly ecDiffieHellmanP384: CngAlgorithm;
|
|
715
|
+
static readonly ecDiffieHellmanP521: CngAlgorithm;
|
|
716
|
+
static readonly ecDsa: CngAlgorithm;
|
|
717
|
+
static readonly ecDsaP256: CngAlgorithm;
|
|
718
|
+
static readonly ecDsaP384: CngAlgorithm;
|
|
719
|
+
static readonly ecDsaP521: CngAlgorithm;
|
|
710
720
|
static readonly MD5: CngAlgorithm;
|
|
711
|
-
static readonly
|
|
712
|
-
static readonly
|
|
713
|
-
static readonly
|
|
714
|
-
static readonly
|
|
715
|
-
static readonly
|
|
716
|
-
static readonly
|
|
717
|
-
static readonly
|
|
721
|
+
static readonly sha1: CngAlgorithm;
|
|
722
|
+
static readonly sha256: CngAlgorithm;
|
|
723
|
+
static readonly sha384: CngAlgorithm;
|
|
724
|
+
static readonly sha512: CngAlgorithm;
|
|
725
|
+
static readonly mlDsa: CngAlgorithm;
|
|
726
|
+
static readonly mlKem: CngAlgorithm;
|
|
727
|
+
static readonly slhDsa: CngAlgorithm;
|
|
718
728
|
}
|
|
719
729
|
|
|
720
730
|
|
|
721
731
|
export interface __CngAlgorithm$views {
|
|
722
|
-
|
|
732
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CngAlgorithm>;
|
|
723
733
|
|
|
724
734
|
// Structural method bridges for numeric interface constraints
|
|
725
735
|
Equals(other: CngAlgorithm): boolean;
|
|
@@ -731,23 +741,23 @@ export type CngAlgorithm = CngAlgorithm$instance & __CngAlgorithm$views;
|
|
|
731
741
|
export class CngAlgorithmGroup$instance {
|
|
732
742
|
constructor(algorithmGroup: string);
|
|
733
743
|
readonly algorithmGroup: string;
|
|
734
|
-
equals(obj:
|
|
744
|
+
equals(obj: unknown): boolean;
|
|
735
745
|
equals(other: CngAlgorithmGroup): boolean;
|
|
736
746
|
getHashCode(): int;
|
|
737
747
|
toString(): string;
|
|
738
|
-
static readonly
|
|
739
|
-
static readonly
|
|
740
|
-
static readonly
|
|
741
|
-
static readonly
|
|
742
|
-
static readonly
|
|
743
|
-
static readonly
|
|
744
|
-
static readonly
|
|
745
|
-
static readonly
|
|
748
|
+
static readonly diffieHellman: CngAlgorithmGroup;
|
|
749
|
+
static readonly dsa: CngAlgorithmGroup;
|
|
750
|
+
static readonly ecDiffieHellman: CngAlgorithmGroup;
|
|
751
|
+
static readonly ecDsa: CngAlgorithmGroup;
|
|
752
|
+
static readonly rsa: CngAlgorithmGroup;
|
|
753
|
+
static readonly mlDsa: CngAlgorithmGroup;
|
|
754
|
+
static readonly mlKem: CngAlgorithmGroup;
|
|
755
|
+
static readonly slhDsa: CngAlgorithmGroup;
|
|
746
756
|
}
|
|
747
757
|
|
|
748
758
|
|
|
749
759
|
export interface __CngAlgorithmGroup$views {
|
|
750
|
-
|
|
760
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CngAlgorithmGroup>;
|
|
751
761
|
|
|
752
762
|
// Structural method bridges for numeric interface constraints
|
|
753
763
|
Equals(other: CngAlgorithmGroup): boolean;
|
|
@@ -777,54 +787,56 @@ export class CngKey$instance {
|
|
|
777
787
|
getProperty(name: string, options: CngPropertyOptions): CngProperty;
|
|
778
788
|
hasProperty(name: string, options: CngPropertyOptions): boolean;
|
|
779
789
|
setProperty(property: CngProperty): void;
|
|
780
|
-
static
|
|
781
|
-
static
|
|
782
|
-
static
|
|
783
|
-
static
|
|
784
|
-
static
|
|
785
|
-
static
|
|
786
|
-
static
|
|
787
|
-
static
|
|
788
|
-
static
|
|
789
|
-
static
|
|
790
|
-
static
|
|
791
|
-
static
|
|
790
|
+
static create3(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
|
|
791
|
+
static create3(algorithm: CngAlgorithm, keyName: string): CngKey;
|
|
792
|
+
static create3(algorithm: CngAlgorithm): CngKey;
|
|
793
|
+
static exists3(keyName: string, provider: CngProvider, options: CngKeyOpenOptions): boolean;
|
|
794
|
+
static exists3(keyName: string, provider: CngProvider): boolean;
|
|
795
|
+
static exists3(keyName: string): boolean;
|
|
796
|
+
static import_2(keyBlob: byte[], format: CngKeyBlobFormat, provider: CngProvider): CngKey;
|
|
797
|
+
static import_2(keyBlob: byte[], format: CngKeyBlobFormat): CngKey;
|
|
798
|
+
static open(keyHandle: SafeNCryptKeyHandle, keyHandleOpenOptions: CngKeyHandleOpenOptions): CngKey;
|
|
799
|
+
static open(keyName: string, provider: CngProvider, openOptions: CngKeyOpenOptions): CngKey;
|
|
800
|
+
static open(keyName: string, provider: CngProvider): CngKey;
|
|
801
|
+
static open(keyName: string): CngKey;
|
|
792
802
|
}
|
|
793
803
|
|
|
794
804
|
|
|
795
805
|
export interface __CngKey$views {
|
|
796
|
-
|
|
806
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
797
807
|
}
|
|
798
808
|
|
|
809
|
+
export interface CngKey$instance extends System_Internal.IDisposable$instance {}
|
|
810
|
+
|
|
799
811
|
export type CngKey = CngKey$instance & __CngKey$views;
|
|
800
812
|
|
|
801
813
|
|
|
802
814
|
export class CngKeyBlobFormat$instance {
|
|
803
815
|
constructor(format: string);
|
|
804
816
|
readonly format: string;
|
|
805
|
-
equals(obj:
|
|
817
|
+
equals(obj: unknown): boolean;
|
|
806
818
|
equals(other: CngKeyBlobFormat): boolean;
|
|
807
819
|
getHashCode(): int;
|
|
808
820
|
toString(): string;
|
|
809
|
-
static readonly
|
|
810
|
-
static readonly
|
|
811
|
-
static readonly
|
|
812
|
-
static readonly
|
|
813
|
-
static readonly
|
|
814
|
-
static readonly
|
|
815
|
-
static readonly
|
|
816
|
-
static readonly
|
|
817
|
-
static readonly
|
|
818
|
-
static readonly
|
|
819
|
-
static readonly
|
|
820
|
-
static readonly
|
|
821
|
-
static readonly
|
|
822
|
-
static readonly
|
|
821
|
+
static readonly eccPrivateBlob: CngKeyBlobFormat;
|
|
822
|
+
static readonly eccPublicBlob: CngKeyBlobFormat;
|
|
823
|
+
static readonly eccFullPrivateBlob: CngKeyBlobFormat;
|
|
824
|
+
static readonly eccFullPublicBlob: CngKeyBlobFormat;
|
|
825
|
+
static readonly genericPrivateBlob: CngKeyBlobFormat;
|
|
826
|
+
static readonly genericPublicBlob: CngKeyBlobFormat;
|
|
827
|
+
static readonly pqDsaPublicBlob: CngKeyBlobFormat;
|
|
828
|
+
static readonly pqDsaPrivateBlob: CngKeyBlobFormat;
|
|
829
|
+
static readonly pqDsaPrivateSeedBlob: CngKeyBlobFormat;
|
|
830
|
+
static readonly mlKemPublicBlob: CngKeyBlobFormat;
|
|
831
|
+
static readonly mlKemPrivateBlob: CngKeyBlobFormat;
|
|
832
|
+
static readonly mlKemPrivateSeedBlob: CngKeyBlobFormat;
|
|
833
|
+
static readonly opaqueTransportBlob: CngKeyBlobFormat;
|
|
834
|
+
static readonly pkcs8PrivateBlob: CngKeyBlobFormat;
|
|
823
835
|
}
|
|
824
836
|
|
|
825
837
|
|
|
826
838
|
export interface __CngKeyBlobFormat$views {
|
|
827
|
-
|
|
839
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CngKeyBlobFormat>;
|
|
828
840
|
|
|
829
841
|
// Structural method bridges for numeric interface constraints
|
|
830
842
|
Equals(other: CngKeyBlobFormat): boolean;
|
|
@@ -850,31 +862,31 @@ export type CngKeyCreationParameters = CngKeyCreationParameters$instance;
|
|
|
850
862
|
export class CngPropertyCollection$instance extends System_Collections_ObjectModel_Internal.Collection_1$instance<CngProperty> {
|
|
851
863
|
constructor();
|
|
852
864
|
add(item: CngProperty): void;
|
|
853
|
-
add(value:
|
|
865
|
+
add(value: unknown): int;
|
|
854
866
|
clear(): void;
|
|
855
867
|
contains(item: CngProperty): boolean;
|
|
856
|
-
contains(value:
|
|
868
|
+
contains(value: unknown): boolean;
|
|
857
869
|
copyTo(array: CngProperty[], index: int): void;
|
|
858
870
|
copyTo(array: ClrArray, index: int): void;
|
|
859
871
|
getEnumerator(): IEnumerator_1<CngProperty>;
|
|
860
872
|
getEnumerator(): IEnumerator;
|
|
861
873
|
indexOf(item: CngProperty): int;
|
|
862
874
|
insert(index: int, item: CngProperty): void;
|
|
863
|
-
insert(index: int, value:
|
|
875
|
+
insert(index: int, value: unknown): void;
|
|
864
876
|
remove(item: CngProperty): boolean;
|
|
865
|
-
remove(value:
|
|
877
|
+
remove(value: unknown): void;
|
|
866
878
|
removeAt(index: int): void;
|
|
867
879
|
}
|
|
868
880
|
|
|
869
881
|
|
|
870
882
|
export interface __CngPropertyCollection$views {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
883
|
+
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<CngProperty>;
|
|
884
|
+
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<CngProperty>;
|
|
885
|
+
As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<CngProperty>;
|
|
886
|
+
As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<CngProperty>;
|
|
887
|
+
As_ICollection(): System_Collections_Internal.ICollection$instance;
|
|
888
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
889
|
+
As_IList(): System_Collections_Internal.IList$instance;
|
|
878
890
|
}
|
|
879
891
|
|
|
880
892
|
export type CngPropertyCollection = CngPropertyCollection$instance & __CngPropertyCollection$views;
|
|
@@ -883,18 +895,18 @@ export type CngPropertyCollection = CngPropertyCollection$instance & __CngProper
|
|
|
883
895
|
export class CngProvider$instance {
|
|
884
896
|
constructor(provider: string);
|
|
885
897
|
readonly provider: string;
|
|
886
|
-
equals(obj:
|
|
898
|
+
equals(obj: unknown): boolean;
|
|
887
899
|
equals(other: CngProvider): boolean;
|
|
888
900
|
getHashCode(): int;
|
|
889
901
|
toString(): string;
|
|
890
|
-
static readonly
|
|
891
|
-
static readonly
|
|
892
|
-
static readonly
|
|
902
|
+
static readonly microsoftPlatformCryptoProvider: CngProvider;
|
|
903
|
+
static readonly microsoftSmartCardKeyStorageProvider: CngProvider;
|
|
904
|
+
static readonly microsoftSoftwareKeyStorageProvider: CngProvider;
|
|
893
905
|
}
|
|
894
906
|
|
|
895
907
|
|
|
896
908
|
export interface __CngProvider$views {
|
|
897
|
-
|
|
909
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CngProvider>;
|
|
898
910
|
|
|
899
911
|
// Structural method bridges for numeric interface constraints
|
|
900
912
|
Equals(other: CngProvider): boolean;
|
|
@@ -928,9 +940,9 @@ export abstract class CompositeMLDsa$instance {
|
|
|
928
940
|
exportCompositeMLDsaPublicKey(destination: Span_1<CLROf<byte>>): int;
|
|
929
941
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
930
942
|
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): byte[];
|
|
931
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
943
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): byte[];
|
|
932
944
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
933
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
945
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): string;
|
|
934
946
|
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): string;
|
|
935
947
|
exportPkcs8PrivateKey(): byte[];
|
|
936
948
|
exportPkcs8PrivateKeyPem(): string;
|
|
@@ -941,39 +953,41 @@ export abstract class CompositeMLDsa$instance {
|
|
|
941
953
|
tryExportCompositeMLDsaPrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
942
954
|
tryExportCompositeMLDsaPublicKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
943
955
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
944
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
956
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
945
957
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
946
958
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
947
959
|
tryExportSubjectPublicKeyInfo(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
948
960
|
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
949
961
|
verifyData(data: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, context?: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
950
|
-
static readonly
|
|
951
|
-
static
|
|
952
|
-
static
|
|
953
|
-
static
|
|
954
|
-
static
|
|
955
|
-
static
|
|
956
|
-
static
|
|
957
|
-
static
|
|
958
|
-
static
|
|
959
|
-
static
|
|
960
|
-
static
|
|
961
|
-
static
|
|
962
|
-
static
|
|
963
|
-
static
|
|
964
|
-
static
|
|
965
|
-
static
|
|
966
|
-
static
|
|
967
|
-
static
|
|
968
|
-
static
|
|
969
|
-
static
|
|
962
|
+
static readonly isSupported: boolean;
|
|
963
|
+
static generateKey(algorithm: CompositeMLDsaAlgorithm): CompositeMLDsa;
|
|
964
|
+
static importCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: byte[]): CompositeMLDsa;
|
|
965
|
+
static importCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
966
|
+
static importCompositeMLDsaPublicKey(algorithm: CompositeMLDsaAlgorithm, source: byte[]): CompositeMLDsa;
|
|
967
|
+
static importCompositeMLDsaPublicKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
968
|
+
static importEncryptedPkcs8PrivateKey3(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
969
|
+
static importEncryptedPkcs8PrivateKey3(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
970
|
+
static importEncryptedPkcs8PrivateKey3(password: string, source: byte[]): CompositeMLDsa;
|
|
971
|
+
static importFromEncryptedPem4(source: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
972
|
+
static importFromEncryptedPem4(source: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): CompositeMLDsa;
|
|
973
|
+
static importFromEncryptedPem4(source: string, passwordBytes: byte[]): CompositeMLDsa;
|
|
974
|
+
static importFromEncryptedPem4(source: string, password: string): CompositeMLDsa;
|
|
975
|
+
static importFromPem2(source: ReadOnlySpan_1<CLROf<char>>): CompositeMLDsa;
|
|
976
|
+
static importFromPem2(source: string): CompositeMLDsa;
|
|
977
|
+
static importPkcs8PrivateKey(source: byte[]): CompositeMLDsa;
|
|
978
|
+
static importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
979
|
+
static importSubjectPublicKeyInfo(source: byte[]): CompositeMLDsa;
|
|
980
|
+
static importSubjectPublicKeyInfo(source: ReadOnlySpan_1<CLROf<byte>>): CompositeMLDsa;
|
|
981
|
+
static isAlgorithmSupported(algorithm: CompositeMLDsaAlgorithm): boolean;
|
|
970
982
|
}
|
|
971
983
|
|
|
972
984
|
|
|
973
985
|
export interface __CompositeMLDsa$views {
|
|
974
|
-
|
|
986
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
975
987
|
}
|
|
976
988
|
|
|
989
|
+
export interface CompositeMLDsa$instance extends System_Internal.IDisposable$instance {}
|
|
990
|
+
|
|
977
991
|
export type CompositeMLDsa = CompositeMLDsa$instance & __CompositeMLDsa$views;
|
|
978
992
|
|
|
979
993
|
|
|
@@ -981,32 +995,32 @@ export class CompositeMLDsaAlgorithm$instance {
|
|
|
981
995
|
readonly maxSignatureSizeInBytes: int;
|
|
982
996
|
readonly name: string;
|
|
983
997
|
equals(other: CompositeMLDsaAlgorithm): boolean;
|
|
984
|
-
equals(obj:
|
|
998
|
+
equals(obj: unknown): boolean;
|
|
985
999
|
getHashCode(): int;
|
|
986
1000
|
toString(): string;
|
|
987
|
-
static readonly
|
|
988
|
-
static readonly
|
|
989
|
-
static readonly
|
|
990
|
-
static readonly
|
|
991
|
-
static readonly
|
|
992
|
-
static readonly
|
|
993
|
-
static readonly
|
|
994
|
-
static readonly
|
|
995
|
-
static readonly
|
|
996
|
-
static readonly
|
|
997
|
-
static readonly
|
|
998
|
-
static readonly
|
|
999
|
-
static readonly
|
|
1000
|
-
static readonly
|
|
1001
|
-
static readonly
|
|
1002
|
-
static readonly
|
|
1003
|
-
static readonly
|
|
1004
|
-
static readonly
|
|
1001
|
+
static readonly mlDsa44WithRSA2048Pss: CompositeMLDsaAlgorithm;
|
|
1002
|
+
static readonly mlDsa44WithRSA2048Pkcs15: CompositeMLDsaAlgorithm;
|
|
1003
|
+
static readonly mlDsa44WithEd25519: CompositeMLDsaAlgorithm;
|
|
1004
|
+
static readonly mlDsa44WithECDsaP256: CompositeMLDsaAlgorithm;
|
|
1005
|
+
static readonly mlDsa65WithRSA3072Pss: CompositeMLDsaAlgorithm;
|
|
1006
|
+
static readonly mlDsa65WithRSA3072Pkcs15: CompositeMLDsaAlgorithm;
|
|
1007
|
+
static readonly mlDsa65WithRSA4096Pss: CompositeMLDsaAlgorithm;
|
|
1008
|
+
static readonly mlDsa65WithRSA4096Pkcs15: CompositeMLDsaAlgorithm;
|
|
1009
|
+
static readonly mlDsa65WithECDsaP256: CompositeMLDsaAlgorithm;
|
|
1010
|
+
static readonly mlDsa65WithECDsaP384: CompositeMLDsaAlgorithm;
|
|
1011
|
+
static readonly mlDsa65WithECDsaBrainpoolP256r1: CompositeMLDsaAlgorithm;
|
|
1012
|
+
static readonly mlDsa65WithEd25519: CompositeMLDsaAlgorithm;
|
|
1013
|
+
static readonly mlDsa87WithECDsaP384: CompositeMLDsaAlgorithm;
|
|
1014
|
+
static readonly mlDsa87WithECDsaBrainpoolP384r1: CompositeMLDsaAlgorithm;
|
|
1015
|
+
static readonly mlDsa87WithEd448: CompositeMLDsaAlgorithm;
|
|
1016
|
+
static readonly mlDsa87WithRSA3072Pss: CompositeMLDsaAlgorithm;
|
|
1017
|
+
static readonly mlDsa87WithRSA4096Pss: CompositeMLDsaAlgorithm;
|
|
1018
|
+
static readonly mlDsa87WithECDsaP521: CompositeMLDsaAlgorithm;
|
|
1005
1019
|
}
|
|
1006
1020
|
|
|
1007
1021
|
|
|
1008
1022
|
export interface __CompositeMLDsaAlgorithm$views {
|
|
1009
|
-
|
|
1023
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CompositeMLDsaAlgorithm>;
|
|
1010
1024
|
|
|
1011
1025
|
// Structural method bridges for numeric interface constraints
|
|
1012
1026
|
Equals(other: CompositeMLDsaAlgorithm): boolean;
|
|
@@ -1023,7 +1037,7 @@ export class CompositeMLDsaCng$instance extends CompositeMLDsa$instance {
|
|
|
1023
1037
|
|
|
1024
1038
|
|
|
1025
1039
|
export interface __CompositeMLDsaCng$views {
|
|
1026
|
-
|
|
1040
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1027
1041
|
}
|
|
1028
1042
|
|
|
1029
1043
|
export type CompositeMLDsaCng = CompositeMLDsaCng$instance & __CompositeMLDsaCng$views;
|
|
@@ -1031,13 +1045,13 @@ export type CompositeMLDsaCng = CompositeMLDsaCng$instance & __CompositeMLDsaCng
|
|
|
1031
1045
|
|
|
1032
1046
|
export class CryptoConfig$instance {
|
|
1033
1047
|
constructor();
|
|
1034
|
-
static readonly
|
|
1035
|
-
static
|
|
1036
|
-
static
|
|
1037
|
-
static
|
|
1038
|
-
static
|
|
1039
|
-
static
|
|
1040
|
-
static
|
|
1048
|
+
static readonly allowOnlyFipsAlgorithms: boolean;
|
|
1049
|
+
static addAlgorithm(algorithm: Type, names: string[]): void;
|
|
1050
|
+
static addOID(oid: string, names: string[]): void;
|
|
1051
|
+
static createFromName(name: string, args: unknown[]): unknown;
|
|
1052
|
+
static createFromName(name: string): unknown;
|
|
1053
|
+
static encodeOID(str: string): byte[];
|
|
1054
|
+
static mapNameToOID(name: string): string;
|
|
1041
1055
|
}
|
|
1042
1056
|
|
|
1043
1057
|
|
|
@@ -1054,7 +1068,7 @@ export class CryptographicException$instance extends System_Internal.SystemExcep
|
|
|
1054
1068
|
|
|
1055
1069
|
|
|
1056
1070
|
export interface __CryptographicException$views {
|
|
1057
|
-
|
|
1071
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1058
1072
|
}
|
|
1059
1073
|
|
|
1060
1074
|
export type CryptographicException = CryptographicException$instance & __CryptographicException$views;
|
|
@@ -1070,7 +1084,7 @@ export class CryptographicUnexpectedOperationException$instance extends Cryptogr
|
|
|
1070
1084
|
|
|
1071
1085
|
|
|
1072
1086
|
export interface __CryptographicUnexpectedOperationException$views {
|
|
1073
|
-
|
|
1087
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1074
1088
|
}
|
|
1075
1089
|
|
|
1076
1090
|
export type CryptographicUnexpectedOperationException = CryptographicUnexpectedOperationException$instance & __CryptographicUnexpectedOperationException$views;
|
|
@@ -1085,8 +1099,8 @@ export class CryptoStream$instance extends System_IO_Internal.Stream$instance {
|
|
|
1085
1099
|
readonly hasFlushedFinalBlock: boolean;
|
|
1086
1100
|
readonly length: long;
|
|
1087
1101
|
position: long;
|
|
1088
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state:
|
|
1089
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state:
|
|
1102
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1103
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1090
1104
|
clear(): void;
|
|
1091
1105
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
1092
1106
|
copyTo(destination: Stream): void;
|
|
@@ -1125,8 +1139,8 @@ export class CryptoStream$instance extends System_IO_Internal.Stream$instance {
|
|
|
1125
1139
|
|
|
1126
1140
|
|
|
1127
1141
|
export interface __CryptoStream$views {
|
|
1128
|
-
|
|
1129
|
-
|
|
1142
|
+
As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
|
|
1143
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1130
1144
|
}
|
|
1131
1145
|
|
|
1132
1146
|
export type CryptoStream = CryptoStream$instance & __CryptoStream$views;
|
|
@@ -1156,10 +1170,10 @@ export class CspParameters$instance {
|
|
|
1156
1170
|
constructor(dwTypeIn: int);
|
|
1157
1171
|
constructor(dwTypeIn: int, strProviderNameIn: string);
|
|
1158
1172
|
constructor(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string);
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1173
|
+
providerType: int;
|
|
1174
|
+
providerName: string;
|
|
1175
|
+
keyContainerName: string;
|
|
1176
|
+
keyNumber: int;
|
|
1163
1177
|
flags: CspProviderFlags;
|
|
1164
1178
|
keyPassword: SecureString;
|
|
1165
1179
|
parentWindowHandle: nint;
|
|
@@ -1176,22 +1190,24 @@ export abstract class DeriveBytes$instance {
|
|
|
1176
1190
|
|
|
1177
1191
|
|
|
1178
1192
|
export interface __DeriveBytes$views {
|
|
1179
|
-
|
|
1193
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1180
1194
|
}
|
|
1181
1195
|
|
|
1196
|
+
export interface DeriveBytes$instance extends System_Internal.IDisposable$instance {}
|
|
1197
|
+
|
|
1182
1198
|
export type DeriveBytes = DeriveBytes$instance & __DeriveBytes$views;
|
|
1183
1199
|
|
|
1184
1200
|
|
|
1185
1201
|
export abstract class DES$instance extends SymmetricAlgorithm$instance {
|
|
1186
1202
|
key: byte[];
|
|
1187
1203
|
dispose(): void;
|
|
1188
|
-
static
|
|
1189
|
-
static
|
|
1204
|
+
static isSemiWeakKey(rgbKey: byte[]): boolean;
|
|
1205
|
+
static isWeakKey(rgbKey: byte[]): boolean;
|
|
1190
1206
|
}
|
|
1191
1207
|
|
|
1192
1208
|
|
|
1193
1209
|
export interface __DES$views {
|
|
1194
|
-
|
|
1210
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1195
1211
|
}
|
|
1196
1212
|
|
|
1197
1213
|
export type DES = DES$instance & __DES$views;
|
|
@@ -1201,7 +1217,7 @@ export class DESCryptoServiceProvider$instance extends DES$instance {
|
|
|
1201
1217
|
constructor();
|
|
1202
1218
|
blockSize: int;
|
|
1203
1219
|
feedbackSize: int;
|
|
1204
|
-
|
|
1220
|
+
IV: byte[];
|
|
1205
1221
|
key: byte[];
|
|
1206
1222
|
keySize: int;
|
|
1207
1223
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -1219,7 +1235,7 @@ export class DESCryptoServiceProvider$instance extends DES$instance {
|
|
|
1219
1235
|
|
|
1220
1236
|
|
|
1221
1237
|
export interface __DESCryptoServiceProvider$views {
|
|
1222
|
-
|
|
1238
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1223
1239
|
}
|
|
1224
1240
|
|
|
1225
1241
|
export type DESCryptoServiceProvider = DESCryptoServiceProvider$instance & __DESCryptoServiceProvider$views;
|
|
@@ -1233,13 +1249,13 @@ export abstract class DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1233
1249
|
fromXmlString(xmlString: string): void;
|
|
1234
1250
|
getMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
|
|
1235
1251
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1236
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1252
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1237
1253
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1238
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1239
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1240
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1241
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
1242
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
1254
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1255
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
1256
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1257
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1258
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1243
1259
|
abstract importParameters(parameters: DSAParameters): void;
|
|
1244
1260
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1245
1261
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
@@ -1255,7 +1271,7 @@ export abstract class DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1255
1271
|
tryCreateSignature(hash: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1256
1272
|
tryCreateSignature(hash: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, signatureFormat: DSASignatureFormat, bytesWritten: { value: ref<int> }): boolean;
|
|
1257
1273
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1258
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1274
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1259
1275
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1260
1276
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1261
1277
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -1279,7 +1295,7 @@ export abstract class DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1279
1295
|
|
|
1280
1296
|
|
|
1281
1297
|
export interface __DSA$views {
|
|
1282
|
-
|
|
1298
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1283
1299
|
}
|
|
1284
1300
|
|
|
1285
1301
|
export type DSA = DSA$instance & __DSA$views;
|
|
@@ -1303,7 +1319,7 @@ export class DSACng$instance extends DSA$instance {
|
|
|
1303
1319
|
|
|
1304
1320
|
|
|
1305
1321
|
export interface __DSACng$views {
|
|
1306
|
-
|
|
1322
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1307
1323
|
}
|
|
1308
1324
|
|
|
1309
1325
|
export type DSACng = DSACng$instance & __DSACng$views;
|
|
@@ -1329,7 +1345,7 @@ export class DSACryptoServiceProvider$instance extends DSA$instance {
|
|
|
1329
1345
|
fromXmlString(xmlString: string): void;
|
|
1330
1346
|
importCspBlob(keyBlob: byte[]): void;
|
|
1331
1347
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1332
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1348
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1333
1349
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1334
1350
|
importParameters(parameters: DSAParameters): void;
|
|
1335
1351
|
signData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
|
|
@@ -1361,15 +1377,17 @@ export class DSACryptoServiceProvider$instance extends DSA$instance {
|
|
|
1361
1377
|
verifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1362
1378
|
verifySignature(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
1363
1379
|
verifySignature(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, signatureFormat: DSASignatureFormat): boolean;
|
|
1364
|
-
static
|
|
1380
|
+
static useMachineKeyStore: boolean;
|
|
1365
1381
|
}
|
|
1366
1382
|
|
|
1367
1383
|
|
|
1368
1384
|
export interface __DSACryptoServiceProvider$views {
|
|
1369
|
-
|
|
1370
|
-
|
|
1385
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1386
|
+
As_ICspAsymmetricAlgorithm(): ICspAsymmetricAlgorithm$instance;
|
|
1371
1387
|
}
|
|
1372
1388
|
|
|
1389
|
+
export interface DSACryptoServiceProvider$instance extends ICspAsymmetricAlgorithm$instance {}
|
|
1390
|
+
|
|
1373
1391
|
export type DSACryptoServiceProvider = DSACryptoServiceProvider$instance & __DSACryptoServiceProvider$views;
|
|
1374
1392
|
|
|
1375
1393
|
|
|
@@ -1387,7 +1405,7 @@ export class DSAOpenSsl$instance extends DSA$instance {
|
|
|
1387
1405
|
duplicateKeyHandle(): SafeEvpPKeyHandle;
|
|
1388
1406
|
exportParameters(includePrivateParameters: boolean): DSAParameters;
|
|
1389
1407
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1390
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1408
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1391
1409
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1392
1410
|
importParameters(parameters: DSAParameters): void;
|
|
1393
1411
|
tryCreateSignature(hash: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -1402,7 +1420,7 @@ export class DSAOpenSsl$instance extends DSA$instance {
|
|
|
1402
1420
|
|
|
1403
1421
|
|
|
1404
1422
|
export interface __DSAOpenSsl$views {
|
|
1405
|
-
|
|
1423
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1406
1424
|
}
|
|
1407
1425
|
|
|
1408
1426
|
export type DSAOpenSsl = DSAOpenSsl$instance & __DSAOpenSsl$views;
|
|
@@ -1441,22 +1459,22 @@ export abstract class ECAlgorithm$instance extends AsymmetricAlgorithm$instance
|
|
|
1441
1459
|
generateKey(curve: ECCurve): void;
|
|
1442
1460
|
importECPrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1443
1461
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1444
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1462
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1445
1463
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1446
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1447
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1448
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
1449
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
1450
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
1464
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1465
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
1466
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1467
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1468
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
1451
1469
|
importParameters(parameters: ECParameters): void;
|
|
1452
1470
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1453
1471
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1454
1472
|
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1455
1473
|
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1456
1474
|
tryExportECPrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1457
|
-
tryExportECPrivateKeyPem(destination: Span_1<CLROf<
|
|
1475
|
+
tryExportECPrivateKeyPem(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
1458
1476
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1459
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1477
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1460
1478
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1461
1479
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1462
1480
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -1466,7 +1484,7 @@ export abstract class ECAlgorithm$instance extends AsymmetricAlgorithm$instance
|
|
|
1466
1484
|
|
|
1467
1485
|
|
|
1468
1486
|
export interface __ECAlgorithm$views {
|
|
1469
|
-
|
|
1487
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1470
1488
|
}
|
|
1471
1489
|
|
|
1472
1490
|
export type ECAlgorithm = ECAlgorithm$instance & __ECAlgorithm$views;
|
|
@@ -1486,15 +1504,15 @@ export abstract class ECDiffieHellman$instance extends ECAlgorithm$instance {
|
|
|
1486
1504
|
dispose(): void;
|
|
1487
1505
|
fromXmlString(xmlString: string): void;
|
|
1488
1506
|
toXmlString(includePrivateParameters: boolean): string;
|
|
1489
|
-
static
|
|
1490
|
-
static
|
|
1491
|
-
static
|
|
1492
|
-
static
|
|
1507
|
+
static create(): ECDiffieHellman;
|
|
1508
|
+
static create(curve: ECCurve): ECDiffieHellman;
|
|
1509
|
+
static create(parameters: ECParameters): ECDiffieHellman;
|
|
1510
|
+
static create(algorithm: string): ECDiffieHellman;
|
|
1493
1511
|
}
|
|
1494
1512
|
|
|
1495
1513
|
|
|
1496
1514
|
export interface __ECDiffieHellman$views {
|
|
1497
|
-
|
|
1515
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1498
1516
|
}
|
|
1499
1517
|
|
|
1500
1518
|
export type ECDiffieHellman = ECDiffieHellman$instance & __ECDiffieHellman$views;
|
|
@@ -1525,7 +1543,7 @@ export class ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
|
|
|
1525
1543
|
|
|
1526
1544
|
|
|
1527
1545
|
export interface __ECDiffieHellmanCng$views {
|
|
1528
|
-
|
|
1546
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1529
1547
|
}
|
|
1530
1548
|
|
|
1531
1549
|
export type ECDiffieHellmanCng = ECDiffieHellmanCng$instance & __ECDiffieHellmanCng$views;
|
|
@@ -1536,13 +1554,13 @@ export class ECDiffieHellmanCngPublicKey$instance extends ECDiffieHellmanPublicK
|
|
|
1536
1554
|
dispose(): void;
|
|
1537
1555
|
import_(): CngKey;
|
|
1538
1556
|
toXmlString(): string;
|
|
1539
|
-
static
|
|
1540
|
-
static
|
|
1557
|
+
static fromByteArray(publicKeyBlob: byte[], format: CngKeyBlobFormat): ECDiffieHellmanPublicKey;
|
|
1558
|
+
static fromXmlString(xml: string): ECDiffieHellmanCngPublicKey;
|
|
1541
1559
|
}
|
|
1542
1560
|
|
|
1543
1561
|
|
|
1544
1562
|
export interface __ECDiffieHellmanCngPublicKey$views {
|
|
1545
|
-
|
|
1563
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1546
1564
|
}
|
|
1547
1565
|
|
|
1548
1566
|
export type ECDiffieHellmanCngPublicKey = ECDiffieHellmanCngPublicKey$instance & __ECDiffieHellmanCngPublicKey$views;
|
|
@@ -1570,14 +1588,14 @@ export class ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instance {
|
|
|
1570
1588
|
exportParameters(includePrivateParameters: boolean): ECParameters;
|
|
1571
1589
|
generateKey(curve: ECCurve): void;
|
|
1572
1590
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1573
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1591
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1574
1592
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1575
1593
|
importParameters(parameters: ECParameters): void;
|
|
1576
1594
|
}
|
|
1577
1595
|
|
|
1578
1596
|
|
|
1579
1597
|
export interface __ECDiffieHellmanOpenSsl$views {
|
|
1580
|
-
|
|
1598
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1581
1599
|
}
|
|
1582
1600
|
|
|
1583
1601
|
export type ECDiffieHellmanOpenSsl = ECDiffieHellmanOpenSsl$instance & __ECDiffieHellmanOpenSsl$views;
|
|
@@ -1595,9 +1613,11 @@ export abstract class ECDiffieHellmanPublicKey$instance {
|
|
|
1595
1613
|
|
|
1596
1614
|
|
|
1597
1615
|
export interface __ECDiffieHellmanPublicKey$views {
|
|
1598
|
-
|
|
1616
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1599
1617
|
}
|
|
1600
1618
|
|
|
1619
|
+
export interface ECDiffieHellmanPublicKey$instance extends System_Internal.IDisposable$instance {}
|
|
1620
|
+
|
|
1601
1621
|
export type ECDiffieHellmanPublicKey = ECDiffieHellmanPublicKey$instance & __ECDiffieHellmanPublicKey$views;
|
|
1602
1622
|
|
|
1603
1623
|
|
|
@@ -1640,15 +1660,15 @@ export abstract class ECDsa$instance extends ECAlgorithm$instance {
|
|
|
1640
1660
|
verifyHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
1641
1661
|
verifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1642
1662
|
verifyHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, signatureFormat: DSASignatureFormat): boolean;
|
|
1643
|
-
static
|
|
1644
|
-
static
|
|
1645
|
-
static
|
|
1646
|
-
static
|
|
1663
|
+
static create(): ECDsa;
|
|
1664
|
+
static create(curve: ECCurve): ECDsa;
|
|
1665
|
+
static create(parameters: ECParameters): ECDsa;
|
|
1666
|
+
static create(algorithm: string): ECDsa;
|
|
1647
1667
|
}
|
|
1648
1668
|
|
|
1649
1669
|
|
|
1650
1670
|
export interface __ECDsa$views {
|
|
1651
|
-
|
|
1671
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1652
1672
|
}
|
|
1653
1673
|
|
|
1654
1674
|
export type ECDsa = ECDsa$instance & __ECDsa$views;
|
|
@@ -1696,7 +1716,7 @@ export class ECDsaCng$instance extends ECDsa$instance {
|
|
|
1696
1716
|
|
|
1697
1717
|
|
|
1698
1718
|
export interface __ECDsaCng$views {
|
|
1699
|
-
|
|
1719
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1700
1720
|
}
|
|
1701
1721
|
|
|
1702
1722
|
export type ECDsaCng = ECDsaCng$instance & __ECDsaCng$views;
|
|
@@ -1716,7 +1736,7 @@ export class ECDsaOpenSsl$instance extends ECDsa$instance {
|
|
|
1716
1736
|
exportParameters(includePrivateParameters: boolean): ECParameters;
|
|
1717
1737
|
generateKey(curve: ECCurve): void;
|
|
1718
1738
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1719
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
1739
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1720
1740
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
1721
1741
|
importParameters(parameters: ECParameters): void;
|
|
1722
1742
|
signHash(hash: byte[]): byte[];
|
|
@@ -1737,7 +1757,7 @@ export class ECDsaOpenSsl$instance extends ECDsa$instance {
|
|
|
1737
1757
|
|
|
1738
1758
|
|
|
1739
1759
|
export interface __ECDsaOpenSsl$views {
|
|
1740
|
-
|
|
1760
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1741
1761
|
}
|
|
1742
1762
|
|
|
1743
1763
|
export type ECDsaOpenSsl = ECDsaOpenSsl$instance & __ECDsaOpenSsl$views;
|
|
@@ -1758,8 +1778,8 @@ export class FromBase64Transform$instance {
|
|
|
1758
1778
|
|
|
1759
1779
|
|
|
1760
1780
|
export interface __FromBase64Transform$views {
|
|
1761
|
-
|
|
1762
|
-
|
|
1781
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1782
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1763
1783
|
}
|
|
1764
1784
|
|
|
1765
1785
|
export type FromBase64Transform = FromBase64Transform$instance & __FromBase64Transform$views;
|
|
@@ -1782,14 +1802,14 @@ export abstract class HashAlgorithm$instance {
|
|
|
1782
1802
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1783
1803
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1784
1804
|
tryComputeHash(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1785
|
-
static
|
|
1786
|
-
static
|
|
1805
|
+
static create(): HashAlgorithm;
|
|
1806
|
+
static create(hashName: string): HashAlgorithm;
|
|
1787
1807
|
}
|
|
1788
1808
|
|
|
1789
1809
|
|
|
1790
1810
|
export interface __HashAlgorithm$views {
|
|
1791
|
-
|
|
1792
|
-
|
|
1811
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1812
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1793
1813
|
}
|
|
1794
1814
|
|
|
1795
1815
|
export type HashAlgorithm = HashAlgorithm$instance & __HashAlgorithm$views;
|
|
@@ -1806,8 +1826,8 @@ export abstract class HMAC$instance extends KeyedHashAlgorithm$instance {
|
|
|
1806
1826
|
|
|
1807
1827
|
|
|
1808
1828
|
export interface __HMAC$views {
|
|
1809
|
-
|
|
1810
|
-
|
|
1829
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1830
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1811
1831
|
}
|
|
1812
1832
|
|
|
1813
1833
|
export type HMAC = HMAC$instance & __HMAC$views;
|
|
@@ -1821,24 +1841,24 @@ export class HMACMD5$instance extends HMAC$instance {
|
|
|
1821
1841
|
initialize(): void;
|
|
1822
1842
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1823
1843
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1824
|
-
static readonly
|
|
1825
|
-
static readonly
|
|
1826
|
-
static
|
|
1827
|
-
static
|
|
1828
|
-
static
|
|
1829
|
-
static
|
|
1830
|
-
static
|
|
1831
|
-
static
|
|
1832
|
-
static
|
|
1833
|
-
static
|
|
1834
|
-
static
|
|
1835
|
-
static
|
|
1844
|
+
static readonly hashSizeInBits: int;
|
|
1845
|
+
static readonly hashSizeInBytes: int;
|
|
1846
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
1847
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
1848
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
1849
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
1850
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
1851
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
1852
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1853
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
1854
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1855
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1836
1856
|
}
|
|
1837
1857
|
|
|
1838
1858
|
|
|
1839
1859
|
export interface __HMACMD5$views {
|
|
1840
|
-
|
|
1841
|
-
|
|
1860
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1861
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1842
1862
|
}
|
|
1843
1863
|
|
|
1844
1864
|
export type HMACMD5 = HMACMD5$instance & __HMACMD5$views;
|
|
@@ -1853,24 +1873,24 @@ export class HMACSHA1$instance extends HMAC$instance {
|
|
|
1853
1873
|
initialize(): void;
|
|
1854
1874
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1855
1875
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1856
|
-
static readonly
|
|
1857
|
-
static readonly
|
|
1858
|
-
static
|
|
1859
|
-
static
|
|
1860
|
-
static
|
|
1861
|
-
static
|
|
1862
|
-
static
|
|
1863
|
-
static
|
|
1864
|
-
static
|
|
1865
|
-
static
|
|
1866
|
-
static
|
|
1867
|
-
static
|
|
1876
|
+
static readonly hashSizeInBits: int;
|
|
1877
|
+
static readonly hashSizeInBytes: int;
|
|
1878
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
1879
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
1880
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
1881
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
1882
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
1883
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
1884
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1885
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
1886
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1887
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1868
1888
|
}
|
|
1869
1889
|
|
|
1870
1890
|
|
|
1871
1891
|
export interface __HMACSHA1$views {
|
|
1872
|
-
|
|
1873
|
-
|
|
1892
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1893
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1874
1894
|
}
|
|
1875
1895
|
|
|
1876
1896
|
export type HMACSHA1 = HMACSHA1$instance & __HMACSHA1$views;
|
|
@@ -1884,24 +1904,24 @@ export class HMACSHA256$instance extends HMAC$instance {
|
|
|
1884
1904
|
initialize(): void;
|
|
1885
1905
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1886
1906
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1887
|
-
static readonly
|
|
1888
|
-
static readonly
|
|
1889
|
-
static
|
|
1890
|
-
static
|
|
1891
|
-
static
|
|
1892
|
-
static
|
|
1893
|
-
static
|
|
1894
|
-
static
|
|
1895
|
-
static
|
|
1896
|
-
static
|
|
1897
|
-
static
|
|
1898
|
-
static
|
|
1907
|
+
static readonly hashSizeInBits: int;
|
|
1908
|
+
static readonly hashSizeInBytes: int;
|
|
1909
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
1910
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
1911
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
1912
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
1913
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
1914
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
1915
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1916
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
1917
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1918
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1899
1919
|
}
|
|
1900
1920
|
|
|
1901
1921
|
|
|
1902
1922
|
export interface __HMACSHA256$views {
|
|
1903
|
-
|
|
1904
|
-
|
|
1923
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1924
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1905
1925
|
}
|
|
1906
1926
|
|
|
1907
1927
|
export type HMACSHA256 = HMACSHA256$instance & __HMACSHA256$views;
|
|
@@ -1915,25 +1935,25 @@ export class HMACSHA3_256$instance extends HMAC$instance {
|
|
|
1915
1935
|
initialize(): void;
|
|
1916
1936
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1917
1937
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1918
|
-
static readonly
|
|
1919
|
-
static readonly
|
|
1920
|
-
static readonly
|
|
1921
|
-
static
|
|
1922
|
-
static
|
|
1923
|
-
static
|
|
1924
|
-
static
|
|
1925
|
-
static
|
|
1926
|
-
static
|
|
1927
|
-
static
|
|
1928
|
-
static
|
|
1929
|
-
static
|
|
1930
|
-
static
|
|
1938
|
+
static readonly hashSizeInBits: int;
|
|
1939
|
+
static readonly hashSizeInBytes: int;
|
|
1940
|
+
static readonly isSupported: boolean;
|
|
1941
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
1942
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
1943
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
1944
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
1945
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
1946
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
1947
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1948
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
1949
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1950
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1931
1951
|
}
|
|
1932
1952
|
|
|
1933
1953
|
|
|
1934
1954
|
export interface __HMACSHA3_256$views {
|
|
1935
|
-
|
|
1936
|
-
|
|
1955
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1956
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1937
1957
|
}
|
|
1938
1958
|
|
|
1939
1959
|
export type HMACSHA3_256 = HMACSHA3_256$instance & __HMACSHA3_256$views;
|
|
@@ -1947,25 +1967,25 @@ export class HMACSHA3_384$instance extends HMAC$instance {
|
|
|
1947
1967
|
initialize(): void;
|
|
1948
1968
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1949
1969
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1950
|
-
static readonly
|
|
1951
|
-
static readonly
|
|
1952
|
-
static readonly
|
|
1953
|
-
static
|
|
1954
|
-
static
|
|
1955
|
-
static
|
|
1956
|
-
static
|
|
1957
|
-
static
|
|
1958
|
-
static
|
|
1959
|
-
static
|
|
1960
|
-
static
|
|
1961
|
-
static
|
|
1962
|
-
static
|
|
1970
|
+
static readonly hashSizeInBits: int;
|
|
1971
|
+
static readonly hashSizeInBytes: int;
|
|
1972
|
+
static readonly isSupported: boolean;
|
|
1973
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
1974
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
1975
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
1976
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
1977
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
1978
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
1979
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1980
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
1981
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
1982
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1963
1983
|
}
|
|
1964
1984
|
|
|
1965
1985
|
|
|
1966
1986
|
export interface __HMACSHA3_384$views {
|
|
1967
|
-
|
|
1968
|
-
|
|
1987
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1988
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
1969
1989
|
}
|
|
1970
1990
|
|
|
1971
1991
|
export type HMACSHA3_384 = HMACSHA3_384$instance & __HMACSHA3_384$views;
|
|
@@ -1979,25 +1999,25 @@ export class HMACSHA3_512$instance extends HMAC$instance {
|
|
|
1979
1999
|
initialize(): void;
|
|
1980
2000
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
1981
2001
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
1982
|
-
static readonly
|
|
1983
|
-
static readonly
|
|
1984
|
-
static readonly
|
|
1985
|
-
static
|
|
1986
|
-
static
|
|
1987
|
-
static
|
|
1988
|
-
static
|
|
1989
|
-
static
|
|
1990
|
-
static
|
|
1991
|
-
static
|
|
1992
|
-
static
|
|
1993
|
-
static
|
|
1994
|
-
static
|
|
2002
|
+
static readonly hashSizeInBits: int;
|
|
2003
|
+
static readonly hashSizeInBytes: int;
|
|
2004
|
+
static readonly isSupported: boolean;
|
|
2005
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
2006
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
2007
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
2008
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
2009
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
2010
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2011
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2012
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
2013
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2014
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
1995
2015
|
}
|
|
1996
2016
|
|
|
1997
2017
|
|
|
1998
2018
|
export interface __HMACSHA3_512$views {
|
|
1999
|
-
|
|
2000
|
-
|
|
2019
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2020
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2001
2021
|
}
|
|
2002
2022
|
|
|
2003
2023
|
export type HMACSHA3_512 = HMACSHA3_512$instance & __HMACSHA3_512$views;
|
|
@@ -2012,24 +2032,24 @@ export class HMACSHA384$instance extends HMAC$instance {
|
|
|
2012
2032
|
initialize(): void;
|
|
2013
2033
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2014
2034
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2015
|
-
static readonly
|
|
2016
|
-
static readonly
|
|
2017
|
-
static
|
|
2018
|
-
static
|
|
2019
|
-
static
|
|
2020
|
-
static
|
|
2021
|
-
static
|
|
2022
|
-
static
|
|
2023
|
-
static
|
|
2024
|
-
static
|
|
2025
|
-
static
|
|
2026
|
-
static
|
|
2035
|
+
static readonly hashSizeInBits: int;
|
|
2036
|
+
static readonly hashSizeInBytes: int;
|
|
2037
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
2038
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
2039
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
2040
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
2041
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
2042
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2043
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2044
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
2045
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2046
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2027
2047
|
}
|
|
2028
2048
|
|
|
2029
2049
|
|
|
2030
2050
|
export interface __HMACSHA384$views {
|
|
2031
|
-
|
|
2032
|
-
|
|
2051
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2052
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2033
2053
|
}
|
|
2034
2054
|
|
|
2035
2055
|
export type HMACSHA384 = HMACSHA384$instance & __HMACSHA384$views;
|
|
@@ -2044,24 +2064,24 @@ export class HMACSHA512$instance extends HMAC$instance {
|
|
|
2044
2064
|
initialize(): void;
|
|
2045
2065
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2046
2066
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2047
|
-
static readonly
|
|
2048
|
-
static readonly
|
|
2049
|
-
static
|
|
2050
|
-
static
|
|
2051
|
-
static
|
|
2052
|
-
static
|
|
2053
|
-
static
|
|
2054
|
-
static
|
|
2055
|
-
static
|
|
2056
|
-
static
|
|
2057
|
-
static
|
|
2058
|
-
static
|
|
2067
|
+
static readonly hashSizeInBits: int;
|
|
2068
|
+
static readonly hashSizeInBytes: int;
|
|
2069
|
+
static hashData(key: byte[], source: byte[]): byte[];
|
|
2070
|
+
static hashData(key: byte[], source: Stream): byte[];
|
|
2071
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
2072
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
2073
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
2074
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2075
|
+
static hashDataAsync2(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2076
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
2077
|
+
static hashDataAsync2(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2078
|
+
static tryHashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2059
2079
|
}
|
|
2060
2080
|
|
|
2061
2081
|
|
|
2062
2082
|
export interface __HMACSHA512$views {
|
|
2063
|
-
|
|
2064
|
-
|
|
2083
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2084
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2065
2085
|
}
|
|
2066
2086
|
|
|
2067
2087
|
export type HMACSHA512 = HMACSHA512$instance & __HMACSHA512$views;
|
|
@@ -2081,16 +2101,18 @@ export class IncrementalHash$instance {
|
|
|
2081
2101
|
getHashAndReset(destination: Span_1<CLROf<byte>>): int;
|
|
2082
2102
|
tryGetCurrentHash(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2083
2103
|
tryGetHashAndReset(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2084
|
-
static
|
|
2085
|
-
static
|
|
2086
|
-
static
|
|
2104
|
+
static createHash(hashAlgorithm: HashAlgorithmName): IncrementalHash;
|
|
2105
|
+
static createHMAC(hashAlgorithm: HashAlgorithmName, key: byte[]): IncrementalHash;
|
|
2106
|
+
static createHMAC(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>): IncrementalHash;
|
|
2087
2107
|
}
|
|
2088
2108
|
|
|
2089
2109
|
|
|
2090
2110
|
export interface __IncrementalHash$views {
|
|
2091
|
-
|
|
2111
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2092
2112
|
}
|
|
2093
2113
|
|
|
2114
|
+
export interface IncrementalHash$instance extends System_Internal.IDisposable$instance {}
|
|
2115
|
+
|
|
2094
2116
|
export type IncrementalHash = IncrementalHash$instance & __IncrementalHash$views;
|
|
2095
2117
|
|
|
2096
2118
|
|
|
@@ -2103,8 +2125,8 @@ export abstract class KeyedHashAlgorithm$instance extends HashAlgorithm$instance
|
|
|
2103
2125
|
|
|
2104
2126
|
|
|
2105
2127
|
export interface __KeyedHashAlgorithm$views {
|
|
2106
|
-
|
|
2107
|
-
|
|
2128
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2129
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2108
2130
|
}
|
|
2109
2131
|
|
|
2110
2132
|
export type KeyedHashAlgorithm = KeyedHashAlgorithm$instance & __KeyedHashAlgorithm$views;
|
|
@@ -2131,23 +2153,25 @@ export class Kmac128$instance {
|
|
|
2131
2153
|
getCurrentHash(destination: Span_1<CLROf<byte>>): void;
|
|
2132
2154
|
getHashAndReset(outputLength: int): byte[];
|
|
2133
2155
|
getHashAndReset(destination: Span_1<CLROf<byte>>): void;
|
|
2134
|
-
static readonly
|
|
2135
|
-
static
|
|
2136
|
-
static
|
|
2137
|
-
static
|
|
2138
|
-
static
|
|
2139
|
-
static
|
|
2140
|
-
static
|
|
2141
|
-
static
|
|
2142
|
-
static
|
|
2143
|
-
static
|
|
2156
|
+
static readonly isSupported: boolean;
|
|
2157
|
+
static hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2158
|
+
static hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2159
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2160
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2161
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2162
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2163
|
+
static hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2164
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2165
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
2144
2166
|
}
|
|
2145
2167
|
|
|
2146
2168
|
|
|
2147
2169
|
export interface __Kmac128$views {
|
|
2148
|
-
|
|
2170
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2149
2171
|
}
|
|
2150
2172
|
|
|
2173
|
+
export interface Kmac128$instance extends System_Internal.IDisposable$instance {}
|
|
2174
|
+
|
|
2151
2175
|
export type Kmac128 = Kmac128$instance & __Kmac128$views;
|
|
2152
2176
|
|
|
2153
2177
|
|
|
@@ -2162,23 +2186,25 @@ export class Kmac256$instance {
|
|
|
2162
2186
|
getCurrentHash(destination: Span_1<CLROf<byte>>): void;
|
|
2163
2187
|
getHashAndReset(outputLength: int): byte[];
|
|
2164
2188
|
getHashAndReset(destination: Span_1<CLROf<byte>>): void;
|
|
2165
|
-
static readonly
|
|
2166
|
-
static
|
|
2167
|
-
static
|
|
2168
|
-
static
|
|
2169
|
-
static
|
|
2170
|
-
static
|
|
2171
|
-
static
|
|
2172
|
-
static
|
|
2173
|
-
static
|
|
2174
|
-
static
|
|
2189
|
+
static readonly isSupported: boolean;
|
|
2190
|
+
static hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2191
|
+
static hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2192
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2193
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2194
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2195
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2196
|
+
static hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2197
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2198
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
2175
2199
|
}
|
|
2176
2200
|
|
|
2177
2201
|
|
|
2178
2202
|
export interface __Kmac256$views {
|
|
2179
|
-
|
|
2203
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2180
2204
|
}
|
|
2181
2205
|
|
|
2206
|
+
export interface Kmac256$instance extends System_Internal.IDisposable$instance {}
|
|
2207
|
+
|
|
2182
2208
|
export type Kmac256 = Kmac256$instance & __Kmac256$views;
|
|
2183
2209
|
|
|
2184
2210
|
|
|
@@ -2193,23 +2219,25 @@ export class KmacXof128$instance {
|
|
|
2193
2219
|
getCurrentHash(destination: Span_1<CLROf<byte>>): void;
|
|
2194
2220
|
getHashAndReset(outputLength: int): byte[];
|
|
2195
2221
|
getHashAndReset(destination: Span_1<CLROf<byte>>): void;
|
|
2196
|
-
static readonly
|
|
2197
|
-
static
|
|
2198
|
-
static
|
|
2199
|
-
static
|
|
2200
|
-
static
|
|
2201
|
-
static
|
|
2202
|
-
static
|
|
2203
|
-
static
|
|
2204
|
-
static
|
|
2205
|
-
static
|
|
2222
|
+
static readonly isSupported: boolean;
|
|
2223
|
+
static hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2224
|
+
static hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2225
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2226
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2227
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2228
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2229
|
+
static hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2230
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2231
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
2206
2232
|
}
|
|
2207
2233
|
|
|
2208
2234
|
|
|
2209
2235
|
export interface __KmacXof128$views {
|
|
2210
|
-
|
|
2236
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2211
2237
|
}
|
|
2212
2238
|
|
|
2239
|
+
export interface KmacXof128$instance extends System_Internal.IDisposable$instance {}
|
|
2240
|
+
|
|
2213
2241
|
export type KmacXof128 = KmacXof128$instance & __KmacXof128$views;
|
|
2214
2242
|
|
|
2215
2243
|
|
|
@@ -2224,23 +2252,25 @@ export class KmacXof256$instance {
|
|
|
2224
2252
|
getCurrentHash(destination: Span_1<CLROf<byte>>): void;
|
|
2225
2253
|
getHashAndReset(outputLength: int): byte[];
|
|
2226
2254
|
getHashAndReset(destination: Span_1<CLROf<byte>>): void;
|
|
2227
|
-
static readonly
|
|
2228
|
-
static
|
|
2229
|
-
static
|
|
2230
|
-
static
|
|
2231
|
-
static
|
|
2232
|
-
static
|
|
2233
|
-
static
|
|
2234
|
-
static
|
|
2235
|
-
static
|
|
2236
|
-
static
|
|
2255
|
+
static readonly isSupported: boolean;
|
|
2256
|
+
static hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2257
|
+
static hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2258
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2259
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2260
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int, customizationString?: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2261
|
+
static hashData(key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, customizationString?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2262
|
+
static hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2263
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2264
|
+
static hashDataAsync(key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, customizationString?: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
2237
2265
|
}
|
|
2238
2266
|
|
|
2239
2267
|
|
|
2240
2268
|
export interface __KmacXof256$views {
|
|
2241
|
-
|
|
2269
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2242
2270
|
}
|
|
2243
2271
|
|
|
2272
|
+
export interface KmacXof256$instance extends System_Internal.IDisposable$instance {}
|
|
2273
|
+
|
|
2244
2274
|
export type KmacXof256 = KmacXof256$instance & __KmacXof256$views;
|
|
2245
2275
|
|
|
2246
2276
|
|
|
@@ -2255,22 +2285,22 @@ export abstract class MD5$instance extends HashAlgorithm$instance {
|
|
|
2255
2285
|
dispose(): void;
|
|
2256
2286
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2257
2287
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2258
|
-
static readonly
|
|
2259
|
-
static readonly
|
|
2260
|
-
static
|
|
2261
|
-
static
|
|
2262
|
-
static
|
|
2263
|
-
static
|
|
2264
|
-
static
|
|
2265
|
-
static
|
|
2266
|
-
static
|
|
2267
|
-
static
|
|
2288
|
+
static readonly hashSizeInBits: int;
|
|
2289
|
+
static readonly hashSizeInBytes: int;
|
|
2290
|
+
static hashData(source: byte[]): byte[];
|
|
2291
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
2292
|
+
static hashData(source: Stream): byte[];
|
|
2293
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
2294
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
2295
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
2296
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2297
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2268
2298
|
}
|
|
2269
2299
|
|
|
2270
2300
|
|
|
2271
2301
|
export interface __MD5$views {
|
|
2272
|
-
|
|
2273
|
-
|
|
2302
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2303
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2274
2304
|
}
|
|
2275
2305
|
|
|
2276
2306
|
export type MD5 = MD5$instance & __MD5$views;
|
|
@@ -2286,8 +2316,8 @@ export class MD5CryptoServiceProvider$instance extends MD5$instance {
|
|
|
2286
2316
|
|
|
2287
2317
|
|
|
2288
2318
|
export interface __MD5CryptoServiceProvider$views {
|
|
2289
|
-
|
|
2290
|
-
|
|
2319
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2320
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
2291
2321
|
}
|
|
2292
2322
|
|
|
2293
2323
|
export type MD5CryptoServiceProvider = MD5CryptoServiceProvider$instance & __MD5CryptoServiceProvider$views;
|
|
@@ -2296,10 +2326,10 @@ export type MD5CryptoServiceProvider = MD5CryptoServiceProvider$instance & __MD5
|
|
|
2296
2326
|
export abstract class MLDsa$instance {
|
|
2297
2327
|
readonly algorithm: MLDsaAlgorithm;
|
|
2298
2328
|
dispose(): void;
|
|
2299
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2329
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): byte[];
|
|
2300
2330
|
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): byte[];
|
|
2301
2331
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
2302
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
2332
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): string;
|
|
2303
2333
|
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): string;
|
|
2304
2334
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
2305
2335
|
exportMLDsaPrivateKey(): byte[];
|
|
@@ -2319,7 +2349,7 @@ export abstract class MLDsa$instance {
|
|
|
2319
2349
|
signMu(externalMu: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
2320
2350
|
signPreHash(hash: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2321
2351
|
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
2322
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2352
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2323
2353
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2324
2354
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2325
2355
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -2330,34 +2360,36 @@ export abstract class MLDsa$instance {
|
|
|
2330
2360
|
verifyMu(externalMu: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
2331
2361
|
verifyPreHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
2332
2362
|
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
2333
|
-
static readonly
|
|
2334
|
-
static
|
|
2335
|
-
static
|
|
2336
|
-
static
|
|
2337
|
-
static
|
|
2338
|
-
static
|
|
2339
|
-
static
|
|
2340
|
-
static
|
|
2341
|
-
static
|
|
2342
|
-
static
|
|
2343
|
-
static
|
|
2344
|
-
static
|
|
2345
|
-
static
|
|
2346
|
-
static
|
|
2347
|
-
static
|
|
2348
|
-
static
|
|
2349
|
-
static
|
|
2350
|
-
static
|
|
2351
|
-
static
|
|
2352
|
-
static
|
|
2353
|
-
static
|
|
2363
|
+
static readonly isSupported: boolean;
|
|
2364
|
+
static generateKey(algorithm: MLDsaAlgorithm): MLDsa;
|
|
2365
|
+
static importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2366
|
+
static importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2367
|
+
static importEncryptedPkcs8PrivateKey(password: string, source: byte[]): MLDsa;
|
|
2368
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2369
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): MLDsa;
|
|
2370
|
+
static importFromEncryptedPem2(source: string, passwordBytes: byte[]): MLDsa;
|
|
2371
|
+
static importFromEncryptedPem2(source: string, password: string): MLDsa;
|
|
2372
|
+
static importFromPem(source: ReadOnlySpan_1<CLROf<char>>): MLDsa;
|
|
2373
|
+
static importFromPem(source: string): MLDsa;
|
|
2374
|
+
static importMLDsaPrivateKey2(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2375
|
+
static importMLDsaPrivateKey2(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2376
|
+
static importMLDsaPrivateSeed2(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2377
|
+
static importMLDsaPrivateSeed2(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2378
|
+
static importMLDsaPublicKey2(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2379
|
+
static importMLDsaPublicKey2(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2380
|
+
static importPkcs8PrivateKey2(source: byte[]): MLDsa;
|
|
2381
|
+
static importPkcs8PrivateKey2(source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2382
|
+
static importSubjectPublicKeyInfo2(source: byte[]): MLDsa;
|
|
2383
|
+
static importSubjectPublicKeyInfo2(source: ReadOnlySpan_1<CLROf<byte>>): MLDsa;
|
|
2354
2384
|
}
|
|
2355
2385
|
|
|
2356
2386
|
|
|
2357
2387
|
export interface __MLDsa$views {
|
|
2358
|
-
|
|
2388
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2359
2389
|
}
|
|
2360
2390
|
|
|
2391
|
+
export interface MLDsa$instance extends System_Internal.IDisposable$instance {}
|
|
2392
|
+
|
|
2361
2393
|
export type MLDsa = MLDsa$instance & __MLDsa$views;
|
|
2362
2394
|
|
|
2363
2395
|
|
|
@@ -2369,17 +2401,17 @@ export class MLDsaAlgorithm$instance {
|
|
|
2369
2401
|
readonly publicKeySizeInBytes: int;
|
|
2370
2402
|
readonly signatureSizeInBytes: int;
|
|
2371
2403
|
equals(other: MLDsaAlgorithm): boolean;
|
|
2372
|
-
equals(obj:
|
|
2404
|
+
equals(obj: unknown): boolean;
|
|
2373
2405
|
getHashCode(): int;
|
|
2374
2406
|
toString(): string;
|
|
2375
|
-
static readonly
|
|
2376
|
-
static readonly
|
|
2377
|
-
static readonly
|
|
2407
|
+
static readonly mlDsa44: MLDsaAlgorithm;
|
|
2408
|
+
static readonly mlDsa65: MLDsaAlgorithm;
|
|
2409
|
+
static readonly mlDsa87: MLDsaAlgorithm;
|
|
2378
2410
|
}
|
|
2379
2411
|
|
|
2380
2412
|
|
|
2381
2413
|
export interface __MLDsaAlgorithm$views {
|
|
2382
|
-
|
|
2414
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<MLDsaAlgorithm>;
|
|
2383
2415
|
|
|
2384
2416
|
// Structural method bridges for numeric interface constraints
|
|
2385
2417
|
Equals(other: MLDsaAlgorithm): boolean;
|
|
@@ -2396,7 +2428,7 @@ export class MLDsaCng$instance extends MLDsa$instance {
|
|
|
2396
2428
|
|
|
2397
2429
|
|
|
2398
2430
|
export interface __MLDsaCng$views {
|
|
2399
|
-
|
|
2431
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2400
2432
|
}
|
|
2401
2433
|
|
|
2402
2434
|
export type MLDsaCng = MLDsaCng$instance & __MLDsaCng$views;
|
|
@@ -2410,7 +2442,7 @@ export class MLDsaOpenSsl$instance extends MLDsa$instance {
|
|
|
2410
2442
|
|
|
2411
2443
|
|
|
2412
2444
|
export interface __MLDsaOpenSsl$views {
|
|
2413
|
-
|
|
2445
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2414
2446
|
}
|
|
2415
2447
|
|
|
2416
2448
|
export type MLDsaOpenSsl = MLDsaOpenSsl$instance & __MLDsaOpenSsl$views;
|
|
@@ -2428,10 +2460,10 @@ export abstract class MLKem$instance {
|
|
|
2428
2460
|
exportEncapsulationKey(destination: Span_1<CLROf<byte>>): void;
|
|
2429
2461
|
exportEncapsulationKey(): byte[];
|
|
2430
2462
|
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): byte[];
|
|
2431
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2463
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): byte[];
|
|
2432
2464
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
2433
2465
|
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): string;
|
|
2434
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
2466
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): string;
|
|
2435
2467
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
2436
2468
|
exportPkcs8PrivateKey(): byte[];
|
|
2437
2469
|
exportPkcs8PrivateKeyPem(): string;
|
|
@@ -2439,39 +2471,41 @@ export abstract class MLKem$instance {
|
|
|
2439
2471
|
exportPrivateSeed(): byte[];
|
|
2440
2472
|
exportSubjectPublicKeyInfo(): byte[];
|
|
2441
2473
|
exportSubjectPublicKeyInfoPem(): string;
|
|
2442
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2474
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2443
2475
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2444
2476
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2445
2477
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2446
2478
|
tryExportSubjectPublicKeyInfo(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2447
|
-
static readonly
|
|
2448
|
-
static
|
|
2449
|
-
static
|
|
2450
|
-
static
|
|
2451
|
-
static
|
|
2452
|
-
static
|
|
2453
|
-
static
|
|
2454
|
-
static
|
|
2455
|
-
static
|
|
2456
|
-
static
|
|
2457
|
-
static
|
|
2458
|
-
static
|
|
2459
|
-
static
|
|
2460
|
-
static
|
|
2461
|
-
static
|
|
2462
|
-
static
|
|
2463
|
-
static
|
|
2464
|
-
static
|
|
2465
|
-
static
|
|
2466
|
-
static
|
|
2467
|
-
static
|
|
2479
|
+
static readonly isSupported: boolean;
|
|
2480
|
+
static generateKey(algorithm: MLKemAlgorithm): MLKem;
|
|
2481
|
+
static importDecapsulationKey2(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2482
|
+
static importDecapsulationKey2(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2483
|
+
static importEncapsulationKey2(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2484
|
+
static importEncapsulationKey2(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2485
|
+
static importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2486
|
+
static importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2487
|
+
static importEncryptedPkcs8PrivateKey(password: string, source: byte[]): MLKem;
|
|
2488
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2489
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): MLKem;
|
|
2490
|
+
static importFromEncryptedPem2(source: string, passwordBytes: byte[]): MLKem;
|
|
2491
|
+
static importFromEncryptedPem2(source: string, password: string): MLKem;
|
|
2492
|
+
static importFromPem(source: ReadOnlySpan_1<CLROf<char>>): MLKem;
|
|
2493
|
+
static importFromPem(source: string): MLKem;
|
|
2494
|
+
static importPkcs8PrivateKey2(source: byte[]): MLKem;
|
|
2495
|
+
static importPkcs8PrivateKey2(source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2496
|
+
static importPrivateSeed2(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2497
|
+
static importPrivateSeed2(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2498
|
+
static importSubjectPublicKeyInfo2(source: byte[]): MLKem;
|
|
2499
|
+
static importSubjectPublicKeyInfo2(source: ReadOnlySpan_1<CLROf<byte>>): MLKem;
|
|
2468
2500
|
}
|
|
2469
2501
|
|
|
2470
2502
|
|
|
2471
2503
|
export interface __MLKem$views {
|
|
2472
|
-
|
|
2504
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2473
2505
|
}
|
|
2474
2506
|
|
|
2507
|
+
export interface MLKem$instance extends System_Internal.IDisposable$instance {}
|
|
2508
|
+
|
|
2475
2509
|
export type MLKem = MLKem$instance & __MLKem$views;
|
|
2476
2510
|
|
|
2477
2511
|
|
|
@@ -2483,17 +2517,17 @@ export class MLKemAlgorithm$instance {
|
|
|
2483
2517
|
readonly privateSeedSizeInBytes: int;
|
|
2484
2518
|
readonly sharedSecretSizeInBytes: int;
|
|
2485
2519
|
equals(other: MLKemAlgorithm): boolean;
|
|
2486
|
-
equals(obj:
|
|
2520
|
+
equals(obj: unknown): boolean;
|
|
2487
2521
|
getHashCode(): int;
|
|
2488
2522
|
toString(): string;
|
|
2489
|
-
static readonly
|
|
2490
|
-
static readonly
|
|
2491
|
-
static readonly
|
|
2523
|
+
static readonly mlKem512: MLKemAlgorithm;
|
|
2524
|
+
static readonly mlKem768: MLKemAlgorithm;
|
|
2525
|
+
static readonly mlKem1024: MLKemAlgorithm;
|
|
2492
2526
|
}
|
|
2493
2527
|
|
|
2494
2528
|
|
|
2495
2529
|
export interface __MLKemAlgorithm$views {
|
|
2496
|
-
|
|
2530
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<MLKemAlgorithm>;
|
|
2497
2531
|
|
|
2498
2532
|
// Structural method bridges for numeric interface constraints
|
|
2499
2533
|
Equals(other: MLKemAlgorithm): boolean;
|
|
@@ -2510,7 +2544,7 @@ export class MLKemCng$instance extends MLKem$instance {
|
|
|
2510
2544
|
|
|
2511
2545
|
|
|
2512
2546
|
export interface __MLKemCng$views {
|
|
2513
|
-
|
|
2547
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2514
2548
|
}
|
|
2515
2549
|
|
|
2516
2550
|
export type MLKemCng = MLKemCng$instance & __MLKemCng$views;
|
|
@@ -2524,7 +2558,7 @@ export class MLKemOpenSsl$instance extends MLKem$instance {
|
|
|
2524
2558
|
|
|
2525
2559
|
|
|
2526
2560
|
export interface __MLKemOpenSsl$views {
|
|
2527
|
-
|
|
2561
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2528
2562
|
}
|
|
2529
2563
|
|
|
2530
2564
|
export type MLKemOpenSsl = MLKemOpenSsl$instance & __MLKemOpenSsl$views;
|
|
@@ -2537,8 +2571,8 @@ export class Oid$instance {
|
|
|
2537
2571
|
constructor(oid: Oid);
|
|
2538
2572
|
friendlyName: string;
|
|
2539
2573
|
value: string;
|
|
2540
|
-
static
|
|
2541
|
-
static
|
|
2574
|
+
static fromFriendlyName(friendlyName: string, group: OidGroup): Oid;
|
|
2575
|
+
static fromOidValue(oidValue: string, group: OidGroup): Oid;
|
|
2542
2576
|
}
|
|
2543
2577
|
|
|
2544
2578
|
|
|
@@ -2548,7 +2582,7 @@ export class OidCollection$instance {
|
|
|
2548
2582
|
constructor();
|
|
2549
2583
|
readonly count: int;
|
|
2550
2584
|
readonly isSynchronized: boolean;
|
|
2551
|
-
readonly syncRoot:
|
|
2585
|
+
readonly syncRoot: unknown;
|
|
2552
2586
|
add(oid: Oid): int;
|
|
2553
2587
|
copyTo(array: Oid[], index: int): void;
|
|
2554
2588
|
get_Item(index: int): Oid;
|
|
@@ -2558,22 +2592,22 @@ export class OidCollection$instance {
|
|
|
2558
2592
|
|
|
2559
2593
|
|
|
2560
2594
|
export interface __OidCollection$views {
|
|
2561
|
-
|
|
2562
|
-
|
|
2595
|
+
As_ICollection(): System_Collections_Internal.ICollection$instance;
|
|
2596
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
2563
2597
|
}
|
|
2564
2598
|
|
|
2565
2599
|
export type OidCollection = OidCollection$instance & __OidCollection$views;
|
|
2566
2600
|
|
|
2567
2601
|
|
|
2568
2602
|
export class OidEnumerator$instance {
|
|
2569
|
-
readonly current:
|
|
2603
|
+
readonly current: Oid | unknown;
|
|
2570
2604
|
moveNext(): boolean;
|
|
2571
2605
|
reset(): void;
|
|
2572
2606
|
}
|
|
2573
2607
|
|
|
2574
2608
|
|
|
2575
2609
|
export interface __OidEnumerator$views {
|
|
2576
|
-
|
|
2610
|
+
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
2577
2611
|
}
|
|
2578
2612
|
|
|
2579
2613
|
export type OidEnumerator = OidEnumerator$instance & __OidEnumerator$views;
|
|
@@ -2599,7 +2633,7 @@ export class PasswordDeriveBytes$instance extends DeriveBytes$instance {
|
|
|
2599
2633
|
|
|
2600
2634
|
|
|
2601
2635
|
export interface __PasswordDeriveBytes$views {
|
|
2602
|
-
|
|
2636
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2603
2637
|
}
|
|
2604
2638
|
|
|
2605
2639
|
export type PasswordDeriveBytes = PasswordDeriveBytes$instance & __PasswordDeriveBytes$views;
|
|
@@ -2631,25 +2665,27 @@ export abstract class RandomNumberGenerator$instance {
|
|
|
2631
2665
|
getBytes(data: Span_1<CLROf<byte>>): void;
|
|
2632
2666
|
getNonZeroBytes(data: byte[]): void;
|
|
2633
2667
|
getNonZeroBytes(data: Span_1<CLROf<byte>>): void;
|
|
2634
|
-
static
|
|
2635
|
-
static
|
|
2636
|
-
static
|
|
2637
|
-
static
|
|
2638
|
-
static
|
|
2639
|
-
static
|
|
2640
|
-
static
|
|
2641
|
-
static
|
|
2642
|
-
static
|
|
2643
|
-
static
|
|
2644
|
-
static
|
|
2645
|
-
static
|
|
2668
|
+
static create(): RandomNumberGenerator;
|
|
2669
|
+
static create(rngName: string): RandomNumberGenerator;
|
|
2670
|
+
static fill(data: Span_1<CLROf<byte>>): void;
|
|
2671
|
+
static getBytes(count: int): byte[];
|
|
2672
|
+
static getHexString2(stringLength: int, lowercase?: boolean): string;
|
|
2673
|
+
static getHexString2(destination: Span_1<CLROf<char>>, lowercase?: boolean): void;
|
|
2674
|
+
static getInt32(fromInclusive: int, toExclusive: int): int;
|
|
2675
|
+
static getInt32(toExclusive: int): int;
|
|
2676
|
+
static getItems<T>(choices: ReadOnlySpan_1<T>, destination: Span_1<T>): void;
|
|
2677
|
+
static getItems<T>(choices: ReadOnlySpan_1<T>, length: int): T[];
|
|
2678
|
+
static getString(choices: ReadOnlySpan_1<CLROf<char>>, length: int): string;
|
|
2679
|
+
static shuffle<T>(values: Span_1<T>): void;
|
|
2646
2680
|
}
|
|
2647
2681
|
|
|
2648
2682
|
|
|
2649
2683
|
export interface __RandomNumberGenerator$views {
|
|
2650
|
-
|
|
2684
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2651
2685
|
}
|
|
2652
2686
|
|
|
2687
|
+
export interface RandomNumberGenerator$instance extends System_Internal.IDisposable$instance {}
|
|
2688
|
+
|
|
2653
2689
|
export type RandomNumberGenerator = RandomNumberGenerator$instance & __RandomNumberGenerator$views;
|
|
2654
2690
|
|
|
2655
2691
|
|
|
@@ -2661,7 +2697,7 @@ export abstract class RC2$instance extends SymmetricAlgorithm$instance {
|
|
|
2661
2697
|
|
|
2662
2698
|
|
|
2663
2699
|
export interface __RC2$views {
|
|
2664
|
-
|
|
2700
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2665
2701
|
}
|
|
2666
2702
|
|
|
2667
2703
|
export type RC2 = RC2$instance & __RC2$views;
|
|
@@ -2672,7 +2708,7 @@ export class RC2CryptoServiceProvider$instance extends RC2$instance {
|
|
|
2672
2708
|
blockSize: int;
|
|
2673
2709
|
effectiveKeySize: int;
|
|
2674
2710
|
feedbackSize: int;
|
|
2675
|
-
|
|
2711
|
+
IV: byte[];
|
|
2676
2712
|
key: byte[];
|
|
2677
2713
|
keySize: int;
|
|
2678
2714
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -2691,7 +2727,7 @@ export class RC2CryptoServiceProvider$instance extends RC2$instance {
|
|
|
2691
2727
|
|
|
2692
2728
|
|
|
2693
2729
|
export interface __RC2CryptoServiceProvider$views {
|
|
2694
|
-
|
|
2730
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2695
2731
|
}
|
|
2696
2732
|
|
|
2697
2733
|
export type RC2CryptoServiceProvider = RC2CryptoServiceProvider$instance & __RC2CryptoServiceProvider$views;
|
|
@@ -2713,17 +2749,17 @@ export class Rfc2898DeriveBytes$instance extends DeriveBytes$instance {
|
|
|
2713
2749
|
dispose(): void;
|
|
2714
2750
|
getBytes(cb: int): byte[];
|
|
2715
2751
|
reset(): void;
|
|
2716
|
-
static
|
|
2717
|
-
static
|
|
2718
|
-
static
|
|
2719
|
-
static
|
|
2720
|
-
static
|
|
2721
|
-
static
|
|
2752
|
+
static pbkdf2(password: byte[], salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
2753
|
+
static pbkdf2(password: ReadOnlySpan_1<CLROf<byte>>, salt: ReadOnlySpan_1<CLROf<byte>>, iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
2754
|
+
static pbkdf2(password: ReadOnlySpan_1<CLROf<byte>>, salt: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, iterations: int, hashAlgorithm: HashAlgorithmName): void;
|
|
2755
|
+
static pbkdf2(password: ReadOnlySpan_1<CLROf<char>>, salt: ReadOnlySpan_1<CLROf<byte>>, iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
2756
|
+
static pbkdf2(password: ReadOnlySpan_1<CLROf<char>>, salt: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, iterations: int, hashAlgorithm: HashAlgorithmName): void;
|
|
2757
|
+
static pbkdf2(password: string, salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
2722
2758
|
}
|
|
2723
2759
|
|
|
2724
2760
|
|
|
2725
2761
|
export interface __Rfc2898DeriveBytes$views {
|
|
2726
|
-
|
|
2762
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2727
2763
|
}
|
|
2728
2764
|
|
|
2729
2765
|
export type Rfc2898DeriveBytes = Rfc2898DeriveBytes$instance & __Rfc2898DeriveBytes$views;
|
|
@@ -2735,7 +2771,7 @@ export abstract class Rijndael$instance extends SymmetricAlgorithm$instance {
|
|
|
2735
2771
|
|
|
2736
2772
|
|
|
2737
2773
|
export interface __Rijndael$views {
|
|
2738
|
-
|
|
2774
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2739
2775
|
}
|
|
2740
2776
|
|
|
2741
2777
|
export type Rijndael = Rijndael$instance & __Rijndael$views;
|
|
@@ -2745,7 +2781,7 @@ export class RijndaelManaged$instance extends Rijndael$instance {
|
|
|
2745
2781
|
constructor();
|
|
2746
2782
|
blockSize: int;
|
|
2747
2783
|
feedbackSize: int;
|
|
2748
|
-
|
|
2784
|
+
IV: byte[];
|
|
2749
2785
|
key: byte[];
|
|
2750
2786
|
keySize: int;
|
|
2751
2787
|
readonly legalKeySizes: KeySizes[];
|
|
@@ -2762,7 +2798,7 @@ export class RijndaelManaged$instance extends Rijndael$instance {
|
|
|
2762
2798
|
|
|
2763
2799
|
|
|
2764
2800
|
export interface __RijndaelManaged$views {
|
|
2765
|
-
|
|
2801
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2766
2802
|
}
|
|
2767
2803
|
|
|
2768
2804
|
export type RijndaelManaged = RijndaelManaged$instance & __RijndaelManaged$views;
|
|
@@ -2785,7 +2821,7 @@ export class RNGCryptoServiceProvider$instance extends RandomNumberGenerator$ins
|
|
|
2785
2821
|
|
|
2786
2822
|
|
|
2787
2823
|
export interface __RNGCryptoServiceProvider$views {
|
|
2788
|
-
|
|
2824
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2789
2825
|
}
|
|
2790
2826
|
|
|
2791
2827
|
export type RNGCryptoServiceProvider = RNGCryptoServiceProvider$instance & __RNGCryptoServiceProvider$views;
|
|
@@ -2811,13 +2847,13 @@ export abstract class RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
2811
2847
|
fromXmlString(xmlString: string): void;
|
|
2812
2848
|
getMaxOutputSize(): int;
|
|
2813
2849
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2814
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2850
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2815
2851
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2816
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
2817
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
2818
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<
|
|
2819
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
2820
|
-
importFromPem(input: ReadOnlySpan_1<CLROf<
|
|
2852
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
2853
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
2854
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): void;
|
|
2855
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
2856
|
+
importFromPem(input: ReadOnlySpan_1<CLROf<char>>): void;
|
|
2821
2857
|
abstract importParameters(parameters: RSAParameters): void;
|
|
2822
2858
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2823
2859
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
@@ -2836,15 +2872,15 @@ export abstract class RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
2836
2872
|
toXmlString(includePrivateParameters: boolean): string;
|
|
2837
2873
|
tryDecrypt(data: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, padding: RSAEncryptionPadding, bytesWritten: { value: ref<int> }): boolean;
|
|
2838
2874
|
tryEncrypt(data: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, padding: RSAEncryptionPadding, bytesWritten: { value: ref<int> }): boolean;
|
|
2839
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2875
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2840
2876
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2841
2877
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2842
2878
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2843
2879
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2844
2880
|
tryExportRSAPrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2845
|
-
tryExportRSAPrivateKeyPem(destination: Span_1<CLROf<
|
|
2881
|
+
tryExportRSAPrivateKeyPem(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
2846
2882
|
tryExportRSAPublicKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2847
|
-
tryExportRSAPublicKeyPem(destination: Span_1<CLROf<
|
|
2883
|
+
tryExportRSAPublicKeyPem(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
2848
2884
|
tryExportSubjectPublicKeyInfo(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2849
2885
|
tryExportSubjectPublicKeyInfo(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
2850
2886
|
trySignData(data: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -2859,7 +2895,7 @@ export abstract class RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
2859
2895
|
|
|
2860
2896
|
|
|
2861
2897
|
export interface __RSA$views {
|
|
2862
|
-
|
|
2898
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2863
2899
|
}
|
|
2864
2900
|
|
|
2865
2901
|
export type RSA = RSA$instance & __RSA$views;
|
|
@@ -2877,7 +2913,7 @@ export class RSACng$instance extends RSA$instance {
|
|
|
2877
2913
|
|
|
2878
2914
|
|
|
2879
2915
|
export interface __RSACng$views {
|
|
2880
|
-
|
|
2916
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2881
2917
|
}
|
|
2882
2918
|
|
|
2883
2919
|
export type RSACng = RSACng$instance & __RSACng$views;
|
|
@@ -2907,7 +2943,7 @@ export class RSACryptoServiceProvider$instance extends RSA$instance {
|
|
|
2907
2943
|
fromXmlString(xmlString: string): void;
|
|
2908
2944
|
importCspBlob(keyBlob: byte[]): void;
|
|
2909
2945
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2910
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
2946
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2911
2947
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
2912
2948
|
importParameters(parameters: RSAParameters): void;
|
|
2913
2949
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
@@ -2935,39 +2971,41 @@ export class RSACryptoServiceProvider$instance extends RSA$instance {
|
|
|
2935
2971
|
verifyHash(hash: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
2936
2972
|
verifyHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
2937
2973
|
verifyHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
2938
|
-
static
|
|
2974
|
+
static useMachineKeyStore: boolean;
|
|
2939
2975
|
}
|
|
2940
2976
|
|
|
2941
2977
|
|
|
2942
2978
|
export interface __RSACryptoServiceProvider$views {
|
|
2943
|
-
|
|
2944
|
-
|
|
2979
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
2980
|
+
As_ICspAsymmetricAlgorithm(): ICspAsymmetricAlgorithm$instance;
|
|
2945
2981
|
}
|
|
2946
2982
|
|
|
2983
|
+
export interface RSACryptoServiceProvider$instance extends ICspAsymmetricAlgorithm$instance {}
|
|
2984
|
+
|
|
2947
2985
|
export type RSACryptoServiceProvider = RSACryptoServiceProvider$instance & __RSACryptoServiceProvider$views;
|
|
2948
2986
|
|
|
2949
2987
|
|
|
2950
2988
|
export class RSAEncryptionPadding$instance {
|
|
2951
2989
|
readonly mode: RSAEncryptionPaddingMode;
|
|
2952
2990
|
readonly oaepHashAlgorithm: HashAlgorithmName;
|
|
2953
|
-
equals(obj:
|
|
2991
|
+
equals(obj: unknown): boolean;
|
|
2954
2992
|
equals(other: RSAEncryptionPadding): boolean;
|
|
2955
2993
|
getHashCode(): int;
|
|
2956
2994
|
toString(): string;
|
|
2957
|
-
static readonly
|
|
2958
|
-
static readonly
|
|
2959
|
-
static readonly
|
|
2960
|
-
static readonly
|
|
2961
|
-
static readonly
|
|
2995
|
+
static readonly pkcs1: RSAEncryptionPadding;
|
|
2996
|
+
static readonly oaepSHA1: RSAEncryptionPadding;
|
|
2997
|
+
static readonly oaepSHA256: RSAEncryptionPadding;
|
|
2998
|
+
static readonly oaepSHA384: RSAEncryptionPadding;
|
|
2999
|
+
static readonly oaepSHA512: RSAEncryptionPadding;
|
|
2962
3000
|
static readonly OaepSHA3_256: RSAEncryptionPadding;
|
|
2963
3001
|
static readonly OaepSHA3_384: RSAEncryptionPadding;
|
|
2964
3002
|
static readonly OaepSHA3_512: RSAEncryptionPadding;
|
|
2965
|
-
static
|
|
3003
|
+
static createOaep(hashAlgorithm: HashAlgorithmName): RSAEncryptionPadding;
|
|
2966
3004
|
}
|
|
2967
3005
|
|
|
2968
3006
|
|
|
2969
3007
|
export interface __RSAEncryptionPadding$views {
|
|
2970
|
-
|
|
3008
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<RSAEncryptionPadding>;
|
|
2971
3009
|
|
|
2972
3010
|
// Structural method bridges for numeric interface constraints
|
|
2973
3011
|
Equals(other: RSAEncryptionPadding): boolean;
|
|
@@ -3023,7 +3061,7 @@ export class RSAOpenSsl$instance extends RSA$instance {
|
|
|
3023
3061
|
exportRSAPublicKey(): byte[];
|
|
3024
3062
|
exportSubjectPublicKeyInfo(): byte[];
|
|
3025
3063
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
3026
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
3064
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
3027
3065
|
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
3028
3066
|
importParameters(parameters: RSAParameters): void;
|
|
3029
3067
|
importPkcs8PrivateKey(source: ReadOnlySpan_1<CLROf<byte>>, bytesRead: { value: ref<int> }): void;
|
|
@@ -3058,7 +3096,7 @@ export class RSAOpenSsl$instance extends RSA$instance {
|
|
|
3058
3096
|
|
|
3059
3097
|
|
|
3060
3098
|
export interface __RSAOpenSsl$views {
|
|
3061
|
-
|
|
3099
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3062
3100
|
}
|
|
3063
3101
|
|
|
3064
3102
|
export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
|
|
@@ -3068,7 +3106,7 @@ export class RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchan
|
|
|
3068
3106
|
constructor();
|
|
3069
3107
|
constructor(key: AsymmetricAlgorithm);
|
|
3070
3108
|
parameters: string;
|
|
3071
|
-
|
|
3109
|
+
RNG: RandomNumberGenerator;
|
|
3072
3110
|
decryptKeyExchange(rgbIn: byte[]): byte[];
|
|
3073
3111
|
setKey(key: AsymmetricAlgorithm): void;
|
|
3074
3112
|
}
|
|
@@ -3115,17 +3153,17 @@ export type RSAPKCS1SignatureFormatter = RSAPKCS1SignatureFormatter$instance;
|
|
|
3115
3153
|
|
|
3116
3154
|
export class RSASignaturePadding$instance {
|
|
3117
3155
|
readonly mode: RSASignaturePaddingMode;
|
|
3118
|
-
equals(obj:
|
|
3156
|
+
equals(obj: unknown): boolean;
|
|
3119
3157
|
equals(other: RSASignaturePadding): boolean;
|
|
3120
3158
|
getHashCode(): int;
|
|
3121
3159
|
toString(): string;
|
|
3122
|
-
static readonly
|
|
3123
|
-
static readonly
|
|
3160
|
+
static readonly pkcs1: RSASignaturePadding;
|
|
3161
|
+
static readonly pss: RSASignaturePadding;
|
|
3124
3162
|
}
|
|
3125
3163
|
|
|
3126
3164
|
|
|
3127
3165
|
export interface __RSASignaturePadding$views {
|
|
3128
|
-
|
|
3166
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<RSASignaturePadding>;
|
|
3129
3167
|
|
|
3130
3168
|
// Structural method bridges for numeric interface constraints
|
|
3131
3169
|
Equals(other: RSASignaturePadding): boolean;
|
|
@@ -3140,15 +3178,15 @@ export class SafeEvpPKeyHandle$instance extends System_Runtime_InteropServices_I
|
|
|
3140
3178
|
readonly isInvalid: boolean;
|
|
3141
3179
|
dispose(): void;
|
|
3142
3180
|
duplicateHandle(): SafeEvpPKeyHandle;
|
|
3143
|
-
static readonly
|
|
3144
|
-
static
|
|
3145
|
-
static
|
|
3146
|
-
static
|
|
3181
|
+
static readonly openSslVersion: long;
|
|
3182
|
+
static openKeyFromProvider(providerName: string, keyUri: string): SafeEvpPKeyHandle;
|
|
3183
|
+
static openPrivateKeyFromEngine(engineName: string, keyId: string): SafeEvpPKeyHandle;
|
|
3184
|
+
static openPublicKeyFromEngine(engineName: string, keyId: string): SafeEvpPKeyHandle;
|
|
3147
3185
|
}
|
|
3148
3186
|
|
|
3149
3187
|
|
|
3150
3188
|
export interface __SafeEvpPKeyHandle$views {
|
|
3151
|
-
|
|
3189
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3152
3190
|
}
|
|
3153
3191
|
|
|
3154
3192
|
export type SafeEvpPKeyHandle = SafeEvpPKeyHandle$instance & __SafeEvpPKeyHandle$views;
|
|
@@ -3158,22 +3196,22 @@ export abstract class SHA1$instance extends HashAlgorithm$instance {
|
|
|
3158
3196
|
dispose(): void;
|
|
3159
3197
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3160
3198
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3161
|
-
static readonly
|
|
3162
|
-
static readonly
|
|
3163
|
-
static
|
|
3164
|
-
static
|
|
3165
|
-
static
|
|
3166
|
-
static
|
|
3167
|
-
static
|
|
3168
|
-
static
|
|
3169
|
-
static
|
|
3170
|
-
static
|
|
3199
|
+
static readonly hashSizeInBits: int;
|
|
3200
|
+
static readonly hashSizeInBytes: int;
|
|
3201
|
+
static hashData(source: byte[]): byte[];
|
|
3202
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3203
|
+
static hashData(source: Stream): byte[];
|
|
3204
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3205
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3206
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3207
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3208
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3171
3209
|
}
|
|
3172
3210
|
|
|
3173
3211
|
|
|
3174
3212
|
export interface __SHA1$views {
|
|
3175
|
-
|
|
3176
|
-
|
|
3213
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3214
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3177
3215
|
}
|
|
3178
3216
|
|
|
3179
3217
|
export type SHA1 = SHA1$instance & __SHA1$views;
|
|
@@ -3189,8 +3227,8 @@ export class SHA1CryptoServiceProvider$instance extends SHA1$instance {
|
|
|
3189
3227
|
|
|
3190
3228
|
|
|
3191
3229
|
export interface __SHA1CryptoServiceProvider$views {
|
|
3192
|
-
|
|
3193
|
-
|
|
3230
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3231
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3194
3232
|
}
|
|
3195
3233
|
|
|
3196
3234
|
export type SHA1CryptoServiceProvider = SHA1CryptoServiceProvider$instance & __SHA1CryptoServiceProvider$views;
|
|
@@ -3206,8 +3244,8 @@ export class SHA1Managed$instance extends SHA1$instance {
|
|
|
3206
3244
|
|
|
3207
3245
|
|
|
3208
3246
|
export interface __SHA1Managed$views {
|
|
3209
|
-
|
|
3210
|
-
|
|
3247
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3248
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3211
3249
|
}
|
|
3212
3250
|
|
|
3213
3251
|
export type SHA1Managed = SHA1Managed$instance & __SHA1Managed$views;
|
|
@@ -3217,22 +3255,22 @@ export abstract class SHA256$instance extends HashAlgorithm$instance {
|
|
|
3217
3255
|
dispose(): void;
|
|
3218
3256
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3219
3257
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3220
|
-
static readonly
|
|
3221
|
-
static readonly
|
|
3222
|
-
static
|
|
3223
|
-
static
|
|
3224
|
-
static
|
|
3225
|
-
static
|
|
3226
|
-
static
|
|
3227
|
-
static
|
|
3228
|
-
static
|
|
3229
|
-
static
|
|
3258
|
+
static readonly hashSizeInBits: int;
|
|
3259
|
+
static readonly hashSizeInBytes: int;
|
|
3260
|
+
static hashData(source: byte[]): byte[];
|
|
3261
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3262
|
+
static hashData(source: Stream): byte[];
|
|
3263
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3264
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3265
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3266
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3267
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3230
3268
|
}
|
|
3231
3269
|
|
|
3232
3270
|
|
|
3233
3271
|
export interface __SHA256$views {
|
|
3234
|
-
|
|
3235
|
-
|
|
3272
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3273
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3236
3274
|
}
|
|
3237
3275
|
|
|
3238
3276
|
export type SHA256 = SHA256$instance & __SHA256$views;
|
|
@@ -3248,8 +3286,8 @@ export class SHA256CryptoServiceProvider$instance extends SHA256$instance {
|
|
|
3248
3286
|
|
|
3249
3287
|
|
|
3250
3288
|
export interface __SHA256CryptoServiceProvider$views {
|
|
3251
|
-
|
|
3252
|
-
|
|
3289
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3290
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3253
3291
|
}
|
|
3254
3292
|
|
|
3255
3293
|
export type SHA256CryptoServiceProvider = SHA256CryptoServiceProvider$instance & __SHA256CryptoServiceProvider$views;
|
|
@@ -3265,8 +3303,8 @@ export class SHA256Managed$instance extends SHA256$instance {
|
|
|
3265
3303
|
|
|
3266
3304
|
|
|
3267
3305
|
export interface __SHA256Managed$views {
|
|
3268
|
-
|
|
3269
|
-
|
|
3306
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3307
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3270
3308
|
}
|
|
3271
3309
|
|
|
3272
3310
|
export type SHA256Managed = SHA256Managed$instance & __SHA256Managed$views;
|
|
@@ -3276,23 +3314,23 @@ export abstract class SHA3_256$instance extends HashAlgorithm$instance {
|
|
|
3276
3314
|
dispose(): void;
|
|
3277
3315
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3278
3316
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3279
|
-
static readonly
|
|
3280
|
-
static readonly
|
|
3281
|
-
static readonly
|
|
3282
|
-
static
|
|
3283
|
-
static
|
|
3284
|
-
static
|
|
3285
|
-
static
|
|
3286
|
-
static
|
|
3287
|
-
static
|
|
3288
|
-
static
|
|
3289
|
-
static
|
|
3317
|
+
static readonly hashSizeInBits: int;
|
|
3318
|
+
static readonly hashSizeInBytes: int;
|
|
3319
|
+
static readonly isSupported: boolean;
|
|
3320
|
+
static hashData(source: byte[]): byte[];
|
|
3321
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3322
|
+
static hashData(source: Stream): byte[];
|
|
3323
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3324
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3325
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3326
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3327
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3290
3328
|
}
|
|
3291
3329
|
|
|
3292
3330
|
|
|
3293
3331
|
export interface __SHA3_256$views {
|
|
3294
|
-
|
|
3295
|
-
|
|
3332
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3333
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3296
3334
|
}
|
|
3297
3335
|
|
|
3298
3336
|
export type SHA3_256 = SHA3_256$instance & __SHA3_256$views;
|
|
@@ -3302,23 +3340,23 @@ export abstract class SHA3_384$instance extends HashAlgorithm$instance {
|
|
|
3302
3340
|
dispose(): void;
|
|
3303
3341
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3304
3342
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3305
|
-
static readonly
|
|
3306
|
-
static readonly
|
|
3307
|
-
static readonly
|
|
3308
|
-
static
|
|
3309
|
-
static
|
|
3310
|
-
static
|
|
3311
|
-
static
|
|
3312
|
-
static
|
|
3313
|
-
static
|
|
3314
|
-
static
|
|
3315
|
-
static
|
|
3343
|
+
static readonly hashSizeInBits: int;
|
|
3344
|
+
static readonly hashSizeInBytes: int;
|
|
3345
|
+
static readonly isSupported: boolean;
|
|
3346
|
+
static hashData(source: byte[]): byte[];
|
|
3347
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3348
|
+
static hashData(source: Stream): byte[];
|
|
3349
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3350
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3351
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3352
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3353
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3316
3354
|
}
|
|
3317
3355
|
|
|
3318
3356
|
|
|
3319
3357
|
export interface __SHA3_384$views {
|
|
3320
|
-
|
|
3321
|
-
|
|
3358
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3359
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3322
3360
|
}
|
|
3323
3361
|
|
|
3324
3362
|
export type SHA3_384 = SHA3_384$instance & __SHA3_384$views;
|
|
@@ -3328,23 +3366,23 @@ export abstract class SHA3_512$instance extends HashAlgorithm$instance {
|
|
|
3328
3366
|
dispose(): void;
|
|
3329
3367
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3330
3368
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3331
|
-
static readonly
|
|
3332
|
-
static readonly
|
|
3333
|
-
static readonly
|
|
3334
|
-
static
|
|
3335
|
-
static
|
|
3336
|
-
static
|
|
3337
|
-
static
|
|
3338
|
-
static
|
|
3339
|
-
static
|
|
3340
|
-
static
|
|
3341
|
-
static
|
|
3369
|
+
static readonly hashSizeInBits: int;
|
|
3370
|
+
static readonly hashSizeInBytes: int;
|
|
3371
|
+
static readonly isSupported: boolean;
|
|
3372
|
+
static hashData(source: byte[]): byte[];
|
|
3373
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3374
|
+
static hashData(source: Stream): byte[];
|
|
3375
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3376
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3377
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3378
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3379
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3342
3380
|
}
|
|
3343
3381
|
|
|
3344
3382
|
|
|
3345
3383
|
export interface __SHA3_512$views {
|
|
3346
|
-
|
|
3347
|
-
|
|
3384
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3385
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3348
3386
|
}
|
|
3349
3387
|
|
|
3350
3388
|
export type SHA3_512 = SHA3_512$instance & __SHA3_512$views;
|
|
@@ -3354,22 +3392,22 @@ export abstract class SHA384$instance extends HashAlgorithm$instance {
|
|
|
3354
3392
|
dispose(): void;
|
|
3355
3393
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3356
3394
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3357
|
-
static readonly
|
|
3358
|
-
static readonly
|
|
3359
|
-
static
|
|
3360
|
-
static
|
|
3361
|
-
static
|
|
3362
|
-
static
|
|
3363
|
-
static
|
|
3364
|
-
static
|
|
3365
|
-
static
|
|
3366
|
-
static
|
|
3395
|
+
static readonly hashSizeInBits: int;
|
|
3396
|
+
static readonly hashSizeInBytes: int;
|
|
3397
|
+
static hashData(source: byte[]): byte[];
|
|
3398
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3399
|
+
static hashData(source: Stream): byte[];
|
|
3400
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3401
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3402
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3403
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3404
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3367
3405
|
}
|
|
3368
3406
|
|
|
3369
3407
|
|
|
3370
3408
|
export interface __SHA384$views {
|
|
3371
|
-
|
|
3372
|
-
|
|
3409
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3410
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3373
3411
|
}
|
|
3374
3412
|
|
|
3375
3413
|
export type SHA384 = SHA384$instance & __SHA384$views;
|
|
@@ -3385,8 +3423,8 @@ export class SHA384CryptoServiceProvider$instance extends SHA384$instance {
|
|
|
3385
3423
|
|
|
3386
3424
|
|
|
3387
3425
|
export interface __SHA384CryptoServiceProvider$views {
|
|
3388
|
-
|
|
3389
|
-
|
|
3426
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3427
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3390
3428
|
}
|
|
3391
3429
|
|
|
3392
3430
|
export type SHA384CryptoServiceProvider = SHA384CryptoServiceProvider$instance & __SHA384CryptoServiceProvider$views;
|
|
@@ -3402,8 +3440,8 @@ export class SHA384Managed$instance extends SHA384$instance {
|
|
|
3402
3440
|
|
|
3403
3441
|
|
|
3404
3442
|
export interface __SHA384Managed$views {
|
|
3405
|
-
|
|
3406
|
-
|
|
3443
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3444
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3407
3445
|
}
|
|
3408
3446
|
|
|
3409
3447
|
export type SHA384Managed = SHA384Managed$instance & __SHA384Managed$views;
|
|
@@ -3413,22 +3451,22 @@ export abstract class SHA512$instance extends HashAlgorithm$instance {
|
|
|
3413
3451
|
dispose(): void;
|
|
3414
3452
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3415
3453
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3416
|
-
static readonly
|
|
3417
|
-
static readonly
|
|
3418
|
-
static
|
|
3419
|
-
static
|
|
3420
|
-
static
|
|
3421
|
-
static
|
|
3422
|
-
static
|
|
3423
|
-
static
|
|
3424
|
-
static
|
|
3425
|
-
static
|
|
3454
|
+
static readonly hashSizeInBits: int;
|
|
3455
|
+
static readonly hashSizeInBytes: int;
|
|
3456
|
+
static hashData(source: byte[]): byte[];
|
|
3457
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3458
|
+
static hashData(source: Stream): byte[];
|
|
3459
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3460
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3461
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3462
|
+
static hashDataAsync2(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3463
|
+
static tryHashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3426
3464
|
}
|
|
3427
3465
|
|
|
3428
3466
|
|
|
3429
3467
|
export interface __SHA512$views {
|
|
3430
|
-
|
|
3431
|
-
|
|
3468
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3469
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3432
3470
|
}
|
|
3433
3471
|
|
|
3434
3472
|
export type SHA512 = SHA512$instance & __SHA512$views;
|
|
@@ -3444,8 +3482,8 @@ export class SHA512CryptoServiceProvider$instance extends SHA512$instance {
|
|
|
3444
3482
|
|
|
3445
3483
|
|
|
3446
3484
|
export interface __SHA512CryptoServiceProvider$views {
|
|
3447
|
-
|
|
3448
|
-
|
|
3485
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3486
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3449
3487
|
}
|
|
3450
3488
|
|
|
3451
3489
|
export type SHA512CryptoServiceProvider = SHA512CryptoServiceProvider$instance & __SHA512CryptoServiceProvider$views;
|
|
@@ -3461,8 +3499,8 @@ export class SHA512Managed$instance extends SHA512$instance {
|
|
|
3461
3499
|
|
|
3462
3500
|
|
|
3463
3501
|
export interface __SHA512Managed$views {
|
|
3464
|
-
|
|
3465
|
-
|
|
3502
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3503
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3466
3504
|
}
|
|
3467
3505
|
|
|
3468
3506
|
export type SHA512Managed = SHA512Managed$instance & __SHA512Managed$views;
|
|
@@ -3481,21 +3519,23 @@ export class Shake128$instance {
|
|
|
3481
3519
|
read(outputLength: int): byte[];
|
|
3482
3520
|
read(destination: Span_1<CLROf<byte>>): void;
|
|
3483
3521
|
reset(): void;
|
|
3484
|
-
static readonly
|
|
3485
|
-
static
|
|
3486
|
-
static
|
|
3487
|
-
static
|
|
3488
|
-
static
|
|
3489
|
-
static
|
|
3490
|
-
static
|
|
3491
|
-
static
|
|
3522
|
+
static readonly isSupported: boolean;
|
|
3523
|
+
static hashData(source: byte[], outputLength: int): byte[];
|
|
3524
|
+
static hashData(source: Stream, outputLength: int): byte[];
|
|
3525
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): void;
|
|
3526
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int): byte[];
|
|
3527
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
3528
|
+
static hashDataAsync2(source: Stream, outputLength: int, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3529
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
3492
3530
|
}
|
|
3493
3531
|
|
|
3494
3532
|
|
|
3495
3533
|
export interface __Shake128$views {
|
|
3496
|
-
|
|
3534
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3497
3535
|
}
|
|
3498
3536
|
|
|
3537
|
+
export interface Shake128$instance extends System_Internal.IDisposable$instance {}
|
|
3538
|
+
|
|
3499
3539
|
export type Shake128 = Shake128$instance & __Shake128$views;
|
|
3500
3540
|
|
|
3501
3541
|
|
|
@@ -3512,21 +3552,23 @@ export class Shake256$instance {
|
|
|
3512
3552
|
read(outputLength: int): byte[];
|
|
3513
3553
|
read(destination: Span_1<CLROf<byte>>): void;
|
|
3514
3554
|
reset(): void;
|
|
3515
|
-
static readonly
|
|
3516
|
-
static
|
|
3517
|
-
static
|
|
3518
|
-
static
|
|
3519
|
-
static
|
|
3520
|
-
static
|
|
3521
|
-
static
|
|
3522
|
-
static
|
|
3555
|
+
static readonly isSupported: boolean;
|
|
3556
|
+
static hashData(source: byte[], outputLength: int): byte[];
|
|
3557
|
+
static hashData(source: Stream, outputLength: int): byte[];
|
|
3558
|
+
static hashData(source: Stream, destination: Span_1<CLROf<byte>>): void;
|
|
3559
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, outputLength: int): byte[];
|
|
3560
|
+
static hashData(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
3561
|
+
static hashDataAsync2(source: Stream, outputLength: int, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3562
|
+
static hashDataAsync2(source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
|
|
3523
3563
|
}
|
|
3524
3564
|
|
|
3525
3565
|
|
|
3526
3566
|
export interface __Shake256$views {
|
|
3527
|
-
|
|
3567
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3528
3568
|
}
|
|
3529
3569
|
|
|
3570
|
+
export interface Shake256$instance extends System_Internal.IDisposable$instance {}
|
|
3571
|
+
|
|
3530
3572
|
export type Shake256 = Shake256$instance & __Shake256$views;
|
|
3531
3573
|
|
|
3532
3574
|
|
|
@@ -3548,10 +3590,10 @@ export type SignatureDescription = SignatureDescription$instance;
|
|
|
3548
3590
|
export abstract class SlhDsa$instance {
|
|
3549
3591
|
readonly algorithm: SlhDsaAlgorithm;
|
|
3550
3592
|
dispose(): void;
|
|
3551
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
3593
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): byte[];
|
|
3552
3594
|
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): byte[];
|
|
3553
3595
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
3554
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<
|
|
3596
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters): string;
|
|
3555
3597
|
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters): string;
|
|
3556
3598
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
3557
3599
|
exportPkcs8PrivateKey(): byte[];
|
|
@@ -3566,7 +3608,7 @@ export abstract class SlhDsa$instance {
|
|
|
3566
3608
|
signData(data: byte[], context?: byte[]): byte[];
|
|
3567
3609
|
signPreHash(hash: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
3568
3610
|
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
3569
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<
|
|
3611
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3570
3612
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3571
3613
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3572
3614
|
tryExportPkcs8PrivateKey(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
@@ -3575,32 +3617,34 @@ export abstract class SlhDsa$instance {
|
|
|
3575
3617
|
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
3576
3618
|
verifyPreHash(hash: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
3577
3619
|
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
3578
|
-
static readonly
|
|
3579
|
-
static
|
|
3580
|
-
static
|
|
3581
|
-
static
|
|
3582
|
-
static
|
|
3583
|
-
static
|
|
3584
|
-
static
|
|
3585
|
-
static
|
|
3586
|
-
static
|
|
3587
|
-
static
|
|
3588
|
-
static
|
|
3589
|
-
static
|
|
3590
|
-
static
|
|
3591
|
-
static
|
|
3592
|
-
static
|
|
3593
|
-
static
|
|
3594
|
-
static
|
|
3595
|
-
static
|
|
3596
|
-
static
|
|
3620
|
+
static readonly isSupported: boolean;
|
|
3621
|
+
static generateKey(algorithm: SlhDsaAlgorithm): SlhDsa;
|
|
3622
|
+
static importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3623
|
+
static importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<CLROf<char>>, source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3624
|
+
static importEncryptedPkcs8PrivateKey(password: string, source: byte[]): SlhDsa;
|
|
3625
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, passwordBytes: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3626
|
+
static importFromEncryptedPem2(source: ReadOnlySpan_1<CLROf<char>>, password: ReadOnlySpan_1<CLROf<char>>): SlhDsa;
|
|
3627
|
+
static importFromEncryptedPem2(source: string, passwordBytes: byte[]): SlhDsa;
|
|
3628
|
+
static importFromEncryptedPem2(source: string, password: string): SlhDsa;
|
|
3629
|
+
static importFromPem(source: ReadOnlySpan_1<CLROf<char>>): SlhDsa;
|
|
3630
|
+
static importFromPem(source: string): SlhDsa;
|
|
3631
|
+
static importPkcs8PrivateKey2(source: byte[]): SlhDsa;
|
|
3632
|
+
static importPkcs8PrivateKey2(source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3633
|
+
static importSlhDsaPrivateKey2(algorithm: SlhDsaAlgorithm, source: byte[]): SlhDsa;
|
|
3634
|
+
static importSlhDsaPrivateKey2(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3635
|
+
static importSlhDsaPublicKey2(algorithm: SlhDsaAlgorithm, source: byte[]): SlhDsa;
|
|
3636
|
+
static importSlhDsaPublicKey2(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3637
|
+
static importSubjectPublicKeyInfo2(source: byte[]): SlhDsa;
|
|
3638
|
+
static importSubjectPublicKeyInfo2(source: ReadOnlySpan_1<CLROf<byte>>): SlhDsa;
|
|
3597
3639
|
}
|
|
3598
3640
|
|
|
3599
3641
|
|
|
3600
3642
|
export interface __SlhDsa$views {
|
|
3601
|
-
|
|
3643
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3602
3644
|
}
|
|
3603
3645
|
|
|
3646
|
+
export interface SlhDsa$instance extends System_Internal.IDisposable$instance {}
|
|
3647
|
+
|
|
3604
3648
|
export type SlhDsa = SlhDsa$instance & __SlhDsa$views;
|
|
3605
3649
|
|
|
3606
3650
|
|
|
@@ -3610,26 +3654,26 @@ export class SlhDsaAlgorithm$instance {
|
|
|
3610
3654
|
readonly publicKeySizeInBytes: int;
|
|
3611
3655
|
readonly signatureSizeInBytes: int;
|
|
3612
3656
|
equals(other: SlhDsaAlgorithm): boolean;
|
|
3613
|
-
equals(obj:
|
|
3657
|
+
equals(obj: unknown): boolean;
|
|
3614
3658
|
getHashCode(): int;
|
|
3615
3659
|
toString(): string;
|
|
3616
3660
|
static readonly SlhDsaSha2_128s: SlhDsaAlgorithm;
|
|
3617
|
-
static readonly
|
|
3661
|
+
static readonly slhDsaShake128s: SlhDsaAlgorithm;
|
|
3618
3662
|
static readonly SlhDsaSha2_128f: SlhDsaAlgorithm;
|
|
3619
|
-
static readonly
|
|
3663
|
+
static readonly slhDsaShake128f: SlhDsaAlgorithm;
|
|
3620
3664
|
static readonly SlhDsaSha2_192s: SlhDsaAlgorithm;
|
|
3621
|
-
static readonly
|
|
3665
|
+
static readonly slhDsaShake192s: SlhDsaAlgorithm;
|
|
3622
3666
|
static readonly SlhDsaSha2_192f: SlhDsaAlgorithm;
|
|
3623
|
-
static readonly
|
|
3667
|
+
static readonly slhDsaShake192f: SlhDsaAlgorithm;
|
|
3624
3668
|
static readonly SlhDsaSha2_256s: SlhDsaAlgorithm;
|
|
3625
|
-
static readonly
|
|
3669
|
+
static readonly slhDsaShake256s: SlhDsaAlgorithm;
|
|
3626
3670
|
static readonly SlhDsaSha2_256f: SlhDsaAlgorithm;
|
|
3627
|
-
static readonly
|
|
3671
|
+
static readonly slhDsaShake256f: SlhDsaAlgorithm;
|
|
3628
3672
|
}
|
|
3629
3673
|
|
|
3630
3674
|
|
|
3631
3675
|
export interface __SlhDsaAlgorithm$views {
|
|
3632
|
-
|
|
3676
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<SlhDsaAlgorithm>;
|
|
3633
3677
|
|
|
3634
3678
|
// Structural method bridges for numeric interface constraints
|
|
3635
3679
|
Equals(other: SlhDsaAlgorithm): boolean;
|
|
@@ -3646,7 +3690,7 @@ export class SlhDsaCng$instance extends SlhDsa$instance {
|
|
|
3646
3690
|
|
|
3647
3691
|
|
|
3648
3692
|
export interface __SlhDsaCng$views {
|
|
3649
|
-
|
|
3693
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3650
3694
|
}
|
|
3651
3695
|
|
|
3652
3696
|
export type SlhDsaCng = SlhDsaCng$instance & __SlhDsaCng$views;
|
|
@@ -3660,7 +3704,7 @@ export class SlhDsaOpenSsl$instance extends SlhDsa$instance {
|
|
|
3660
3704
|
|
|
3661
3705
|
|
|
3662
3706
|
export interface __SlhDsaOpenSsl$views {
|
|
3663
|
-
|
|
3707
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3664
3708
|
}
|
|
3665
3709
|
|
|
3666
3710
|
export type SlhDsaOpenSsl = SlhDsaOpenSsl$instance & __SlhDsaOpenSsl$views;
|
|
@@ -3672,30 +3716,32 @@ export class SP800108HmacCounterKdf$instance {
|
|
|
3672
3716
|
deriveKey(label: byte[], context: byte[], derivedKeyLengthInBytes: int): byte[];
|
|
3673
3717
|
deriveKey(label: ReadOnlySpan_1<CLROf<byte>>, context: ReadOnlySpan_1<CLROf<byte>>, derivedKeyLengthInBytes: int): byte[];
|
|
3674
3718
|
deriveKey(label: ReadOnlySpan_1<CLROf<byte>>, context: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
3675
|
-
deriveKey(label: ReadOnlySpan_1<CLROf<
|
|
3676
|
-
deriveKey(label: ReadOnlySpan_1<CLROf<
|
|
3719
|
+
deriveKey(label: ReadOnlySpan_1<CLROf<char>>, context: ReadOnlySpan_1<CLROf<char>>, derivedKeyLengthInBytes: int): byte[];
|
|
3720
|
+
deriveKey(label: ReadOnlySpan_1<CLROf<char>>, context: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<byte>>): void;
|
|
3677
3721
|
deriveKey(label: string, context: string, derivedKeyLengthInBytes: int): byte[];
|
|
3678
3722
|
dispose(): void;
|
|
3679
|
-
static
|
|
3680
|
-
static
|
|
3681
|
-
static
|
|
3682
|
-
static
|
|
3683
|
-
static
|
|
3684
|
-
static
|
|
3723
|
+
static deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: byte[], context: byte[], derivedKeyLengthInBytes: int): byte[];
|
|
3724
|
+
static deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: string, context: string, derivedKeyLengthInBytes: int): byte[];
|
|
3725
|
+
static deriveBytes(key: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<CLROf<byte>>, context: ReadOnlySpan_1<CLROf<byte>>, derivedKeyLengthInBytes: int): byte[];
|
|
3726
|
+
static deriveBytes(key: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<CLROf<byte>>, context: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): void;
|
|
3727
|
+
static deriveBytes(key: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<CLROf<char>>, context: ReadOnlySpan_1<CLROf<char>>, derivedKeyLengthInBytes: int): byte[];
|
|
3728
|
+
static deriveBytes(key: ReadOnlySpan_1<CLROf<byte>>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<CLROf<char>>, context: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<byte>>): void;
|
|
3685
3729
|
}
|
|
3686
3730
|
|
|
3687
3731
|
|
|
3688
3732
|
export interface __SP800108HmacCounterKdf$views {
|
|
3689
|
-
|
|
3733
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3690
3734
|
}
|
|
3691
3735
|
|
|
3736
|
+
export interface SP800108HmacCounterKdf$instance extends System_Internal.IDisposable$instance {}
|
|
3737
|
+
|
|
3692
3738
|
export type SP800108HmacCounterKdf = SP800108HmacCounterKdf$instance & __SP800108HmacCounterKdf$views;
|
|
3693
3739
|
|
|
3694
3740
|
|
|
3695
3741
|
export abstract class SymmetricAlgorithm$instance {
|
|
3696
3742
|
blockSize: int;
|
|
3697
3743
|
feedbackSize: int;
|
|
3698
|
-
|
|
3744
|
+
IV: byte[];
|
|
3699
3745
|
key: byte[];
|
|
3700
3746
|
keySize: int;
|
|
3701
3747
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -3739,15 +3785,17 @@ export abstract class SymmetricAlgorithm$instance {
|
|
|
3739
3785
|
tryEncryptCfb(plaintext: ReadOnlySpan_1<CLROf<byte>>, iv: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }, paddingMode?: PaddingMode, feedbackSizeInBits?: int): boolean;
|
|
3740
3786
|
tryEncryptEcb(plaintext: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, paddingMode: PaddingMode, bytesWritten: { value: ref<int> }): boolean;
|
|
3741
3787
|
validKeySize(bitLength: int): boolean;
|
|
3742
|
-
static
|
|
3743
|
-
static
|
|
3788
|
+
static create(): SymmetricAlgorithm;
|
|
3789
|
+
static create(algName: string): SymmetricAlgorithm;
|
|
3744
3790
|
}
|
|
3745
3791
|
|
|
3746
3792
|
|
|
3747
3793
|
export interface __SymmetricAlgorithm$views {
|
|
3748
|
-
|
|
3794
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3749
3795
|
}
|
|
3750
3796
|
|
|
3797
|
+
export interface SymmetricAlgorithm$instance extends System_Internal.IDisposable$instance {}
|
|
3798
|
+
|
|
3751
3799
|
export type SymmetricAlgorithm = SymmetricAlgorithm$instance & __SymmetricAlgorithm$views;
|
|
3752
3800
|
|
|
3753
3801
|
|
|
@@ -3765,8 +3813,8 @@ export class ToBase64Transform$instance {
|
|
|
3765
3813
|
|
|
3766
3814
|
|
|
3767
3815
|
export interface __ToBase64Transform$views {
|
|
3768
|
-
|
|
3769
|
-
|
|
3816
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3817
|
+
As_ICryptoTransform(): ICryptoTransform$instance;
|
|
3770
3818
|
}
|
|
3771
3819
|
|
|
3772
3820
|
export type ToBase64Transform = ToBase64Transform$instance & __ToBase64Transform$views;
|
|
@@ -3775,12 +3823,12 @@ export type ToBase64Transform = ToBase64Transform$instance & __ToBase64Transform
|
|
|
3775
3823
|
export abstract class TripleDES$instance extends SymmetricAlgorithm$instance {
|
|
3776
3824
|
key: byte[];
|
|
3777
3825
|
dispose(): void;
|
|
3778
|
-
static
|
|
3826
|
+
static isWeakKey(rgbKey: byte[]): boolean;
|
|
3779
3827
|
}
|
|
3780
3828
|
|
|
3781
3829
|
|
|
3782
3830
|
export interface __TripleDES$views {
|
|
3783
|
-
|
|
3831
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3784
3832
|
}
|
|
3785
3833
|
|
|
3786
3834
|
export type TripleDES = TripleDES$instance & __TripleDES$views;
|
|
@@ -3802,7 +3850,7 @@ export class TripleDESCng$instance extends TripleDES$instance {
|
|
|
3802
3850
|
|
|
3803
3851
|
|
|
3804
3852
|
export interface __TripleDESCng$views {
|
|
3805
|
-
|
|
3853
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3806
3854
|
}
|
|
3807
3855
|
|
|
3808
3856
|
export type TripleDESCng = TripleDESCng$instance & __TripleDESCng$views;
|
|
@@ -3812,7 +3860,7 @@ export class TripleDESCryptoServiceProvider$instance extends TripleDES$instance
|
|
|
3812
3860
|
constructor();
|
|
3813
3861
|
blockSize: int;
|
|
3814
3862
|
feedbackSize: int;
|
|
3815
|
-
|
|
3863
|
+
IV: byte[];
|
|
3816
3864
|
key: byte[];
|
|
3817
3865
|
keySize: int;
|
|
3818
3866
|
readonly legalBlockSizes: KeySizes[];
|
|
@@ -3830,33 +3878,33 @@ export class TripleDESCryptoServiceProvider$instance extends TripleDES$instance
|
|
|
3830
3878
|
|
|
3831
3879
|
|
|
3832
3880
|
export interface __TripleDESCryptoServiceProvider$views {
|
|
3833
|
-
|
|
3881
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
3834
3882
|
}
|
|
3835
3883
|
|
|
3836
3884
|
export type TripleDESCryptoServiceProvider = TripleDESCryptoServiceProvider$instance & __TripleDESCryptoServiceProvider$views;
|
|
3837
3885
|
|
|
3838
3886
|
|
|
3839
3887
|
export abstract class CryptographicOperations$instance {
|
|
3840
|
-
static
|
|
3841
|
-
static
|
|
3842
|
-
static
|
|
3843
|
-
static
|
|
3844
|
-
static
|
|
3845
|
-
static
|
|
3846
|
-
static
|
|
3847
|
-
static
|
|
3848
|
-
static
|
|
3849
|
-
static
|
|
3850
|
-
static
|
|
3851
|
-
static
|
|
3852
|
-
static
|
|
3853
|
-
static
|
|
3854
|
-
static
|
|
3855
|
-
static
|
|
3856
|
-
static
|
|
3857
|
-
static
|
|
3858
|
-
static
|
|
3859
|
-
static
|
|
3888
|
+
static fixedTimeEquals(left: ReadOnlySpan_1<CLROf<byte>>, right: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
3889
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: byte[]): byte[];
|
|
3890
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3891
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: Stream): byte[];
|
|
3892
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3893
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3894
|
+
static hashDataAsync(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3895
|
+
static hashDataAsync(hashAlgorithm: HashAlgorithmName, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3896
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: byte[], source: byte[]): byte[];
|
|
3897
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: byte[], source: Stream): byte[];
|
|
3898
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>, source: Stream, destination: Span_1<CLROf<byte>>): int;
|
|
3899
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>, source: Stream): byte[];
|
|
3900
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>): int;
|
|
3901
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3902
|
+
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3903
|
+
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, destination: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
|
|
3904
|
+
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<CLROf<byte>>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3905
|
+
static tryHashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3906
|
+
static tryHmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<CLROf<byte>>, source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3907
|
+
static zeroMemory(buffer: Span_1<CLROf<byte>>): void;
|
|
3860
3908
|
}
|
|
3861
3909
|
|
|
3862
3910
|
|
|
@@ -3886,28 +3934,28 @@ export abstract class ECCurve_NamedCurves$instance {
|
|
|
3886
3934
|
export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
|
|
3887
3935
|
|
|
3888
3936
|
export abstract class HKDF$instance {
|
|
3889
|
-
static
|
|
3890
|
-
static
|
|
3891
|
-
static
|
|
3892
|
-
static
|
|
3893
|
-
static
|
|
3894
|
-
static
|
|
3937
|
+
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
|
|
3938
|
+
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<CLROf<byte>>, output: Span_1<CLROf<byte>>, salt: ReadOnlySpan_1<CLROf<byte>>, info: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
3939
|
+
static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
|
|
3940
|
+
static expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<CLROf<byte>>, output: Span_1<CLROf<byte>>, info: ReadOnlySpan_1<CLROf<byte>>): void;
|
|
3941
|
+
static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
|
|
3942
|
+
static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<CLROf<byte>>, salt: ReadOnlySpan_1<CLROf<byte>>, prk: Span_1<CLROf<byte>>): int;
|
|
3895
3943
|
}
|
|
3896
3944
|
|
|
3897
3945
|
|
|
3898
3946
|
export type HKDF = HKDF$instance;
|
|
3899
3947
|
|
|
3900
3948
|
export abstract class PemEncoding$instance {
|
|
3901
|
-
static
|
|
3902
|
-
static
|
|
3903
|
-
static
|
|
3904
|
-
static
|
|
3905
|
-
static
|
|
3906
|
-
static
|
|
3907
|
-
static
|
|
3908
|
-
static
|
|
3909
|
-
static
|
|
3910
|
-
static
|
|
3949
|
+
static find(pemData: ReadOnlySpan_1<CLROf<char>>): PemFields;
|
|
3950
|
+
static findUtf8(pemData: ReadOnlySpan_1<CLROf<byte>>): PemFields;
|
|
3951
|
+
static getEncodedSize(labelLength: int, dataLength: int): int;
|
|
3952
|
+
static tryFind(pemData: ReadOnlySpan_1<CLROf<char>>, fields: { value: ref<PemFields> }): boolean;
|
|
3953
|
+
static tryFindUtf8(pemData: ReadOnlySpan_1<CLROf<byte>>, fields: { value: ref<PemFields> }): boolean;
|
|
3954
|
+
static tryWrite(label: ReadOnlySpan_1<CLROf<char>>, data: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
3955
|
+
static tryWriteUtf8(utf8Label: ReadOnlySpan_1<CLROf<byte>>, data: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
3956
|
+
static write(label: ReadOnlySpan_1<CLROf<char>>, data: ReadOnlySpan_1<CLROf<byte>>): char[];
|
|
3957
|
+
static writeString(label: ReadOnlySpan_1<CLROf<char>>, data: ReadOnlySpan_1<CLROf<byte>>): string;
|
|
3958
|
+
static writeUtf8(utf8Label: ReadOnlySpan_1<CLROf<byte>>, data: ReadOnlySpan_1<CLROf<byte>>): byte[];
|
|
3911
3959
|
}
|
|
3912
3960
|
|
|
3913
3961
|
|