@tsonic/dotnet 0.8.1 → 0.8.2
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/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -233,7 +233,7 @@ export interface CngProperty$instance {
|
|
|
233
233
|
|
|
234
234
|
|
|
235
235
|
export const CngProperty: {
|
|
236
|
-
new(name: string, value: byte[], options: CngPropertyOptions): CngProperty;
|
|
236
|
+
new(name: string, value: byte[] | undefined, options: CngPropertyOptions): CngProperty;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
|
|
@@ -248,13 +248,13 @@ export type CngProperty = CngProperty$instance & __CngProperty$views;
|
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
export interface DSAParameters$instance {
|
|
251
|
-
P: byte[];
|
|
252
|
-
Q: byte[];
|
|
253
|
-
G: byte[];
|
|
254
|
-
Y: byte[];
|
|
255
|
-
J: byte[];
|
|
256
|
-
X: byte[];
|
|
257
|
-
seed: byte[];
|
|
251
|
+
P: byte[] | undefined;
|
|
252
|
+
Q: byte[] | undefined;
|
|
253
|
+
G: byte[] | undefined;
|
|
254
|
+
Y: byte[] | undefined;
|
|
255
|
+
J: byte[] | undefined;
|
|
256
|
+
X: byte[] | undefined;
|
|
257
|
+
seed: byte[] | undefined;
|
|
258
258
|
counter: int;
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -267,16 +267,16 @@ export const DSAParameters: {
|
|
|
267
267
|
export type DSAParameters = DSAParameters$instance;
|
|
268
268
|
|
|
269
269
|
export interface ECCurve$instance {
|
|
270
|
-
A: byte[];
|
|
271
|
-
B: byte[];
|
|
270
|
+
A: byte[] | undefined;
|
|
271
|
+
B: byte[] | undefined;
|
|
272
272
|
G: ECPoint;
|
|
273
|
-
order: byte[];
|
|
274
|
-
cofactor: byte[];
|
|
275
|
-
seed: byte[];
|
|
273
|
+
order: byte[] | undefined;
|
|
274
|
+
cofactor: byte[] | undefined;
|
|
275
|
+
seed: byte[] | undefined;
|
|
276
276
|
curveType: ECCurve_ECCurveType;
|
|
277
277
|
hash: Nullable_1<HashAlgorithmName>;
|
|
278
|
-
polynomial: byte[];
|
|
279
|
-
prime: byte[];
|
|
278
|
+
polynomial: byte[] | undefined;
|
|
279
|
+
prime: byte[] | undefined;
|
|
280
280
|
readonly isCharacteristic2: boolean;
|
|
281
281
|
readonly isExplicit: boolean;
|
|
282
282
|
readonly isNamed: boolean;
|
|
@@ -288,9 +288,9 @@ export interface ECCurve$instance {
|
|
|
288
288
|
|
|
289
289
|
export const ECCurve: {
|
|
290
290
|
new(): ECCurve;
|
|
291
|
-
createFromFriendlyName(oidFriendlyName: string): ECCurve;
|
|
292
|
-
createFromOid(curveOid: Oid): ECCurve;
|
|
293
|
-
createFromValue(oidValue: string): ECCurve;
|
|
291
|
+
createFromFriendlyName(oidFriendlyName: string | undefined): ECCurve;
|
|
292
|
+
createFromOid(curveOid: Oid | undefined): ECCurve;
|
|
293
|
+
createFromValue(oidValue: string | undefined): ECCurve;
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
|
|
@@ -298,7 +298,7 @@ export type ECCurve = ECCurve$instance;
|
|
|
298
298
|
|
|
299
299
|
export interface ECParameters$instance {
|
|
300
300
|
Q: ECPoint;
|
|
301
|
-
D: byte[];
|
|
301
|
+
D: byte[] | undefined;
|
|
302
302
|
curve: ECCurve;
|
|
303
303
|
validate(): void;
|
|
304
304
|
}
|
|
@@ -312,8 +312,8 @@ export const ECParameters: {
|
|
|
312
312
|
export type ECParameters = ECParameters$instance;
|
|
313
313
|
|
|
314
314
|
export interface ECPoint$instance {
|
|
315
|
-
X: byte[];
|
|
316
|
-
Y: byte[];
|
|
315
|
+
X: byte[] | undefined;
|
|
316
|
+
Y: byte[] | undefined;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
|
|
@@ -326,15 +326,15 @@ export type ECPoint = ECPoint$instance;
|
|
|
326
326
|
|
|
327
327
|
export interface HashAlgorithmName$instance {
|
|
328
328
|
readonly name: string;
|
|
329
|
-
equals(obj: unknown): boolean;
|
|
329
|
+
equals(obj: unknown | undefined): boolean;
|
|
330
330
|
equals(other: HashAlgorithmName): boolean;
|
|
331
331
|
getHashCode(): int;
|
|
332
|
-
toString(): string;
|
|
332
|
+
toString(): string | undefined;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
export const HashAlgorithmName: {
|
|
337
|
-
new(name: string): HashAlgorithmName;
|
|
337
|
+
new(name: string | undefined): HashAlgorithmName;
|
|
338
338
|
readonly MD5: HashAlgorithmName;
|
|
339
339
|
readonly SHA1: HashAlgorithmName;
|
|
340
340
|
readonly SHA256: HashAlgorithmName;
|
|
@@ -343,8 +343,8 @@ export const HashAlgorithmName: {
|
|
|
343
343
|
readonly SHA3_256: HashAlgorithmName;
|
|
344
344
|
readonly SHA3_384: HashAlgorithmName;
|
|
345
345
|
readonly SHA3_512: HashAlgorithmName;
|
|
346
|
-
fromOid(oidValue: string): HashAlgorithmName;
|
|
347
|
-
tryFromOid(oidValue: string, value: HashAlgorithmName): boolean;
|
|
346
|
+
fromOid(oidValue: string | undefined): HashAlgorithmName;
|
|
347
|
+
tryFromOid(oidValue: string | undefined, value: HashAlgorithmName): boolean;
|
|
348
348
|
};
|
|
349
349
|
|
|
350
350
|
|
|
@@ -374,14 +374,14 @@ export const PemFields: {
|
|
|
374
374
|
export type PemFields = PemFields$instance;
|
|
375
375
|
|
|
376
376
|
export interface RSAParameters$instance {
|
|
377
|
-
D: byte[];
|
|
378
|
-
DP: byte[];
|
|
379
|
-
DQ: byte[];
|
|
380
|
-
exponent: byte[];
|
|
381
|
-
inverseQ: byte[];
|
|
382
|
-
modulus: byte[];
|
|
383
|
-
P: byte[];
|
|
384
|
-
Q: byte[];
|
|
377
|
+
D: byte[] | undefined;
|
|
378
|
+
DP: byte[] | undefined;
|
|
379
|
+
DQ: byte[] | undefined;
|
|
380
|
+
exponent: byte[] | undefined;
|
|
381
|
+
inverseQ: byte[] | undefined;
|
|
382
|
+
modulus: byte[] | undefined;
|
|
383
|
+
P: byte[] | undefined;
|
|
384
|
+
Q: byte[] | undefined;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
|
|
@@ -417,10 +417,10 @@ export type Aes = Aes$instance & __Aes$views;
|
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
export interface AesCcm$instance {
|
|
420
|
-
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
420
|
+
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
|
|
421
421
|
decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
422
422
|
dispose(): void;
|
|
423
|
-
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
423
|
+
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
|
|
424
424
|
encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
425
425
|
}
|
|
426
426
|
|
|
@@ -444,9 +444,9 @@ export type AesCcm = AesCcm$instance & __AesCcm$views;
|
|
|
444
444
|
|
|
445
445
|
|
|
446
446
|
export interface AesCng$instance extends Aes$instance {
|
|
447
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
447
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
448
448
|
createDecryptor(): ICryptoTransform;
|
|
449
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
449
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
450
450
|
createEncryptor(): ICryptoTransform;
|
|
451
451
|
dispose(): void;
|
|
452
452
|
generateIV(): void;
|
|
@@ -481,9 +481,9 @@ export interface AesCryptoServiceProvider$instance extends Aes$instance {
|
|
|
481
481
|
mode: CipherMode;
|
|
482
482
|
padding: PaddingMode;
|
|
483
483
|
createDecryptor(): ICryptoTransform;
|
|
484
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
484
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
485
485
|
createEncryptor(): ICryptoTransform;
|
|
486
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
486
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
487
487
|
dispose(): void;
|
|
488
488
|
generateIV(): void;
|
|
489
489
|
generateKey(): void;
|
|
@@ -504,10 +504,10 @@ export type AesCryptoServiceProvider = AesCryptoServiceProvider$instance & __Aes
|
|
|
504
504
|
|
|
505
505
|
export interface AesGcm$instance {
|
|
506
506
|
readonly tagSizeInBytes: Nullable_1<System_Internal.Int32>;
|
|
507
|
-
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
507
|
+
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
|
|
508
508
|
decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
509
509
|
dispose(): void;
|
|
510
|
-
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
510
|
+
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
|
|
511
511
|
encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
512
512
|
}
|
|
513
513
|
|
|
@@ -543,9 +543,9 @@ export interface AesManaged$instance extends Aes$instance {
|
|
|
543
543
|
mode: CipherMode;
|
|
544
544
|
padding: PaddingMode;
|
|
545
545
|
createDecryptor(): ICryptoTransform;
|
|
546
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
546
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
547
547
|
createEncryptor(): ICryptoTransform;
|
|
548
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
548
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
549
549
|
dispose(): void;
|
|
550
550
|
generateIV(): void;
|
|
551
551
|
generateKey(): void;
|
|
@@ -576,9 +576,9 @@ export const AsnEncodedData: {
|
|
|
576
576
|
new(rawData: byte[]): AsnEncodedData;
|
|
577
577
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
|
|
578
578
|
new(asnEncodedData: AsnEncodedData): AsnEncodedData;
|
|
579
|
-
new(oid: Oid, rawData: byte[]): AsnEncodedData;
|
|
579
|
+
new(oid: Oid | undefined, rawData: byte[]): AsnEncodedData;
|
|
580
580
|
new(oid: string, rawData: byte[]): AsnEncodedData;
|
|
581
|
-
new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
|
|
581
|
+
new(oid: Oid | undefined, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
|
|
582
582
|
new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
|
|
583
583
|
};
|
|
584
584
|
|
|
@@ -612,7 +612,7 @@ export type AsnEncodedDataCollection = AsnEncodedDataCollection$instance & __Asn
|
|
|
612
612
|
|
|
613
613
|
|
|
614
614
|
export interface AsnEncodedDataEnumerator$instance {
|
|
615
|
-
readonly current: AsnEncodedData
|
|
615
|
+
readonly current: AsnEncodedData;
|
|
616
616
|
moveNext(): boolean;
|
|
617
617
|
reset(): void;
|
|
618
618
|
}
|
|
@@ -631,7 +631,7 @@ export type AsnEncodedDataEnumerator = AsnEncodedDataEnumerator$instance & __Asn
|
|
|
631
631
|
|
|
632
632
|
|
|
633
633
|
export interface AsymmetricAlgorithm$instance {
|
|
634
|
-
readonly keyExchangeAlgorithm: string;
|
|
634
|
+
readonly keyExchangeAlgorithm: string | string | undefined;
|
|
635
635
|
keySize: int;
|
|
636
636
|
readonly legalKeySizes: KeySizes[];
|
|
637
637
|
readonly signatureAlgorithm: string;
|
|
@@ -667,7 +667,7 @@ export interface AsymmetricAlgorithm$instance {
|
|
|
667
667
|
|
|
668
668
|
export const AsymmetricAlgorithm: {
|
|
669
669
|
create(): AsymmetricAlgorithm;
|
|
670
|
-
create(algName: string): AsymmetricAlgorithm;
|
|
670
|
+
create(algName: string): AsymmetricAlgorithm | undefined;
|
|
671
671
|
};
|
|
672
672
|
|
|
673
673
|
|
|
@@ -682,8 +682,8 @@ export type AsymmetricAlgorithm = AsymmetricAlgorithm$instance & __AsymmetricAlg
|
|
|
682
682
|
|
|
683
683
|
export interface AsymmetricKeyExchangeDeformatter$instance {
|
|
684
684
|
parameters: string;
|
|
685
|
-
decryptKeyExchange(rgb: byte[]): byte[];
|
|
686
|
-
setKey(key: AsymmetricAlgorithm): void;
|
|
685
|
+
decryptKeyExchange(rgb: byte[] | undefined): byte[] | undefined;
|
|
686
|
+
setKey(key: AsymmetricAlgorithm | undefined): void;
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
|
|
@@ -696,7 +696,7 @@ export type AsymmetricKeyExchangeDeformatter = AsymmetricKeyExchangeDeformatter$
|
|
|
696
696
|
export interface AsymmetricKeyExchangeFormatter$instance {
|
|
697
697
|
readonly parameters: string;
|
|
698
698
|
createKeyExchange(data: byte[]): byte[];
|
|
699
|
-
createKeyExchange(data: byte[], symAlgType: Type): byte[];
|
|
699
|
+
createKeyExchange(data: byte[], symAlgType: Type | undefined): byte[];
|
|
700
700
|
setKey(key: AsymmetricAlgorithm): void;
|
|
701
701
|
}
|
|
702
702
|
|
|
@@ -742,8 +742,8 @@ export interface AuthenticationTagMismatchException$instance extends Cryptograph
|
|
|
742
742
|
|
|
743
743
|
export const AuthenticationTagMismatchException: {
|
|
744
744
|
new(): AuthenticationTagMismatchException;
|
|
745
|
-
new(message: string): AuthenticationTagMismatchException;
|
|
746
|
-
new(message: string, inner: Exception): AuthenticationTagMismatchException;
|
|
745
|
+
new(message: string | undefined): AuthenticationTagMismatchException;
|
|
746
|
+
new(message: string | undefined, inner: Exception | undefined): AuthenticationTagMismatchException;
|
|
747
747
|
};
|
|
748
748
|
|
|
749
749
|
|
|
@@ -755,10 +755,10 @@ export type AuthenticationTagMismatchException = AuthenticationTagMismatchExcept
|
|
|
755
755
|
|
|
756
756
|
|
|
757
757
|
export interface ChaCha20Poly1305$instance {
|
|
758
|
-
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
758
|
+
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
|
|
759
759
|
decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
760
760
|
dispose(): void;
|
|
761
|
-
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
761
|
+
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
|
|
762
762
|
encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
763
763
|
}
|
|
764
764
|
|
|
@@ -866,7 +866,7 @@ export interface CngKey$instance {
|
|
|
866
866
|
readonly provider: CngProvider;
|
|
867
867
|
readonly providerHandle: SafeNCryptProviderHandle;
|
|
868
868
|
readonly uiPolicy: CngUIPolicy;
|
|
869
|
-
readonly uniqueName: string;
|
|
869
|
+
readonly uniqueName: string | undefined;
|
|
870
870
|
delete_(): void;
|
|
871
871
|
dispose(): void;
|
|
872
872
|
export_(format: CngKeyBlobFormat): byte[];
|
|
@@ -878,8 +878,8 @@ export interface CngKey$instance {
|
|
|
878
878
|
|
|
879
879
|
export const CngKey: {
|
|
880
880
|
new(): CngKey;
|
|
881
|
-
create(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
|
|
882
|
-
create(algorithm: CngAlgorithm, keyName: string): CngKey;
|
|
881
|
+
create(algorithm: CngAlgorithm, keyName: string | undefined, creationParameters: CngKeyCreationParameters | undefined): CngKey;
|
|
882
|
+
create(algorithm: CngAlgorithm, keyName: string | undefined): CngKey;
|
|
883
883
|
create(algorithm: CngAlgorithm): CngKey;
|
|
884
884
|
exists(keyName: string, provider: CngProvider, options: CngKeyOpenOptions): boolean;
|
|
885
885
|
exists(keyName: string, provider: CngProvider): boolean;
|
|
@@ -960,19 +960,19 @@ export type CngKeyCreationParameters = CngKeyCreationParameters$instance;
|
|
|
960
960
|
|
|
961
961
|
export interface CngPropertyCollection$instance extends Collection_1<CngProperty> {
|
|
962
962
|
add(item: CngProperty): void;
|
|
963
|
-
add(value: unknown): int;
|
|
963
|
+
add(value: unknown | undefined): int;
|
|
964
964
|
clear(): void;
|
|
965
965
|
contains(item: CngProperty): boolean;
|
|
966
|
-
contains(value: unknown): boolean;
|
|
966
|
+
contains(value: unknown | undefined): boolean;
|
|
967
967
|
copyTo(array: CngProperty[], index: int): void;
|
|
968
968
|
copyTo(array: ClrArray, index: int): void;
|
|
969
969
|
getEnumerator(): IEnumerator_1<CngProperty>;
|
|
970
970
|
getEnumerator(): IEnumerator;
|
|
971
971
|
indexOf(item: CngProperty): int;
|
|
972
972
|
insert(index: int, item: CngProperty): void;
|
|
973
|
-
insert(index: int, value: unknown): void;
|
|
973
|
+
insert(index: int, value: unknown | undefined): void;
|
|
974
974
|
remove(item: CngProperty): boolean;
|
|
975
|
-
remove(value: unknown): void;
|
|
975
|
+
remove(value: unknown | undefined): void;
|
|
976
976
|
removeAt(index: int): void;
|
|
977
977
|
}
|
|
978
978
|
|
|
@@ -1023,20 +1023,20 @@ export type CngProvider = CngProvider$instance & __CngProvider$views;
|
|
|
1023
1023
|
|
|
1024
1024
|
|
|
1025
1025
|
export interface CngUIPolicy$instance {
|
|
1026
|
-
readonly creationTitle: string;
|
|
1026
|
+
readonly creationTitle: string | undefined;
|
|
1027
1027
|
readonly description: string;
|
|
1028
1028
|
readonly friendlyName: string;
|
|
1029
1029
|
readonly protectionLevel: CngUIProtectionLevels;
|
|
1030
|
-
readonly useContext: string;
|
|
1030
|
+
readonly useContext: string | undefined;
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
|
|
1034
1034
|
export const CngUIPolicy: {
|
|
1035
1035
|
new(protectionLevel: CngUIProtectionLevels): CngUIPolicy;
|
|
1036
|
-
new(protectionLevel: CngUIProtectionLevels, friendlyName: string): CngUIPolicy;
|
|
1037
|
-
new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string): CngUIPolicy;
|
|
1038
|
-
new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string): CngUIPolicy;
|
|
1039
|
-
new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string, creationTitle: string): CngUIPolicy;
|
|
1036
|
+
new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined): CngUIPolicy;
|
|
1037
|
+
new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined): CngUIPolicy;
|
|
1038
|
+
new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined, useContext: string | undefined): CngUIPolicy;
|
|
1039
|
+
new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined, useContext: string | undefined, creationTitle: string | undefined): CngUIPolicy;
|
|
1040
1040
|
};
|
|
1041
1041
|
|
|
1042
1042
|
|
|
@@ -1059,7 +1059,7 @@ export interface CompositeMLDsa$instance {
|
|
|
1059
1059
|
exportPkcs8PrivateKeyPem(): string;
|
|
1060
1060
|
exportSubjectPublicKeyInfo(): byte[];
|
|
1061
1061
|
exportSubjectPublicKeyInfoPem(): string;
|
|
1062
|
-
signData(data: byte[], context?: byte[]): byte[];
|
|
1062
|
+
signData(data: byte[], context?: byte[] | undefined): byte[];
|
|
1063
1063
|
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): int;
|
|
1064
1064
|
tryExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1065
1065
|
tryExportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
@@ -1068,7 +1068,7 @@ export interface CompositeMLDsa$instance {
|
|
|
1068
1068
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1069
1069
|
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1070
1070
|
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1071
|
-
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
1071
|
+
verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
|
|
1072
1072
|
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
@@ -1177,9 +1177,9 @@ export const CryptoConfig: {
|
|
|
1177
1177
|
addAlgorithm(algorithm: Type, ...names: string[]): void;
|
|
1178
1178
|
addOID(oid: string, ...names: string[]): void;
|
|
1179
1179
|
createFromName(name: string, ...args: unknown[]): unknown;
|
|
1180
|
-
createFromName(name: string): unknown;
|
|
1180
|
+
createFromName(name: string): unknown | undefined;
|
|
1181
1181
|
encodeOID(str: string): byte[];
|
|
1182
|
-
mapNameToOID(name: string): string;
|
|
1182
|
+
mapNameToOID(name: string): string | undefined;
|
|
1183
1183
|
};
|
|
1184
1184
|
|
|
1185
1185
|
|
|
@@ -1195,7 +1195,7 @@ export const CryptographicException: {
|
|
|
1195
1195
|
new(hr: int): CryptographicException;
|
|
1196
1196
|
new(message: string): CryptographicException;
|
|
1197
1197
|
new(message: string, inner: Exception): CryptographicException;
|
|
1198
|
-
new(format: string, insert: string): CryptographicException;
|
|
1198
|
+
new(format: string, insert: string | undefined): CryptographicException;
|
|
1199
1199
|
};
|
|
1200
1200
|
|
|
1201
1201
|
|
|
@@ -1215,7 +1215,7 @@ export const CryptographicUnexpectedOperationException: {
|
|
|
1215
1215
|
new(): CryptographicUnexpectedOperationException;
|
|
1216
1216
|
new(message: string): CryptographicUnexpectedOperationException;
|
|
1217
1217
|
new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
|
|
1218
|
-
new(format: string, insert: string): CryptographicUnexpectedOperationException;
|
|
1218
|
+
new(format: string, insert: string | undefined): CryptographicUnexpectedOperationException;
|
|
1219
1219
|
};
|
|
1220
1220
|
|
|
1221
1221
|
|
|
@@ -1233,8 +1233,8 @@ export interface CryptoStream$instance extends Stream {
|
|
|
1233
1233
|
readonly hasFlushedFinalBlock: boolean;
|
|
1234
1234
|
readonly length: long;
|
|
1235
1235
|
position: long;
|
|
1236
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1237
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1236
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1237
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1238
1238
|
clear(): void;
|
|
1239
1239
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
1240
1240
|
copyTo(destination: Stream): void;
|
|
@@ -1311,11 +1311,11 @@ export type CspKeyContainerInfo = CspKeyContainerInfo$instance;
|
|
|
1311
1311
|
|
|
1312
1312
|
export interface CspParameters$instance {
|
|
1313
1313
|
providerType: int;
|
|
1314
|
-
providerName: string;
|
|
1315
|
-
keyContainerName: string;
|
|
1314
|
+
providerName: string | undefined;
|
|
1315
|
+
keyContainerName: string | undefined;
|
|
1316
1316
|
keyNumber: int;
|
|
1317
1317
|
flags: CspProviderFlags;
|
|
1318
|
-
keyPassword: SecureString;
|
|
1318
|
+
keyPassword: SecureString | undefined;
|
|
1319
1319
|
parentWindowHandle: nint;
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
@@ -1323,8 +1323,8 @@ export interface CspParameters$instance {
|
|
|
1323
1323
|
export const CspParameters: {
|
|
1324
1324
|
new(): CspParameters;
|
|
1325
1325
|
new(dwTypeIn: int): CspParameters;
|
|
1326
|
-
new(dwTypeIn: int, strProviderNameIn: string): CspParameters;
|
|
1327
|
-
new(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string): CspParameters;
|
|
1326
|
+
new(dwTypeIn: int, strProviderNameIn: string | undefined): CspParameters;
|
|
1327
|
+
new(dwTypeIn: int, strProviderNameIn: string | undefined, strContainerNameIn: string | undefined): CspParameters;
|
|
1328
1328
|
};
|
|
1329
1329
|
|
|
1330
1330
|
|
|
@@ -1380,9 +1380,9 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
|
|
|
1380
1380
|
mode: CipherMode;
|
|
1381
1381
|
padding: PaddingMode;
|
|
1382
1382
|
createDecryptor(): ICryptoTransform;
|
|
1383
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
1383
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
1384
1384
|
createEncryptor(): ICryptoTransform;
|
|
1385
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
1385
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
1386
1386
|
dispose(): void;
|
|
1387
1387
|
generateIV(): void;
|
|
1388
1388
|
generateKey(): void;
|
|
@@ -1456,7 +1456,7 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1456
1456
|
|
|
1457
1457
|
export const DSA: {
|
|
1458
1458
|
create(parameters: DSAParameters): DSA;
|
|
1459
|
-
create(algName: string): DSA;
|
|
1459
|
+
create(algName: string): DSA | undefined;
|
|
1460
1460
|
};
|
|
1461
1461
|
|
|
1462
1462
|
|
|
@@ -1497,7 +1497,7 @@ export type DSACng = DSACng$instance & __DSACng$views;
|
|
|
1497
1497
|
|
|
1498
1498
|
export interface DSACryptoServiceProvider$instance extends DSA$instance {
|
|
1499
1499
|
readonly cspKeyContainerInfo: CspKeyContainerInfo;
|
|
1500
|
-
readonly keyExchangeAlgorithm: string;
|
|
1500
|
+
readonly keyExchangeAlgorithm: string | undefined;
|
|
1501
1501
|
keySize: int;
|
|
1502
1502
|
readonly legalKeySizes: KeySizes[];
|
|
1503
1503
|
persistKeyInCsp: boolean;
|
|
@@ -1682,12 +1682,12 @@ export type ECAlgorithm = ECAlgorithm$instance & __ECAlgorithm$views;
|
|
|
1682
1682
|
|
|
1683
1683
|
|
|
1684
1684
|
export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
|
|
1685
|
-
readonly keyExchangeAlgorithm: string;
|
|
1685
|
+
readonly keyExchangeAlgorithm: string | string | undefined;
|
|
1686
1686
|
readonly publicKey: ECDiffieHellmanPublicKey;
|
|
1687
1687
|
readonly signatureAlgorithm: string;
|
|
1688
1688
|
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1689
|
-
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
|
|
1690
|
-
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
|
|
1689
|
+
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
|
|
1690
|
+
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
|
|
1691
1691
|
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
|
|
1692
1692
|
deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
|
|
1693
1693
|
deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
|
|
@@ -1702,7 +1702,7 @@ export const ECDiffieHellman: {
|
|
|
1702
1702
|
create(): ECDiffieHellman;
|
|
1703
1703
|
create(curve: ECCurve): ECDiffieHellman;
|
|
1704
1704
|
create(parameters: ECParameters): ECDiffieHellman;
|
|
1705
|
-
create(algorithm: string): ECDiffieHellman;
|
|
1705
|
+
create(algorithm: string): ECDiffieHellman | undefined;
|
|
1706
1706
|
};
|
|
1707
1707
|
|
|
1708
1708
|
|
|
@@ -1715,18 +1715,18 @@ export type ECDiffieHellman = ECDiffieHellman$instance & __ECDiffieHellman$views
|
|
|
1715
1715
|
|
|
1716
1716
|
export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
|
|
1717
1717
|
hashAlgorithm: CngAlgorithm;
|
|
1718
|
-
hmacKey: byte[];
|
|
1718
|
+
hmacKey: byte[] | undefined;
|
|
1719
1719
|
readonly key: CngKey;
|
|
1720
1720
|
keyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
|
|
1721
|
-
label: byte[];
|
|
1721
|
+
label: byte[] | undefined;
|
|
1722
1722
|
readonly publicKey: ECDiffieHellmanPublicKey;
|
|
1723
|
-
secretAppend: byte[];
|
|
1724
|
-
secretPrepend: byte[];
|
|
1725
|
-
seed: byte[];
|
|
1723
|
+
secretAppend: byte[] | undefined;
|
|
1724
|
+
secretPrepend: byte[] | undefined;
|
|
1725
|
+
seed: byte[] | undefined;
|
|
1726
1726
|
readonly useSecretAgreementAsHmacKey: boolean;
|
|
1727
1727
|
deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
|
|
1728
|
-
deriveSecretAgreementHandle(otherPartyPublicKey: CngKey): SafeNCryptSecretHandle;
|
|
1729
|
-
deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey): SafeNCryptSecretHandle;
|
|
1728
|
+
deriveSecretAgreementHandle(otherPartyPublicKey: CngKey | undefined): SafeNCryptSecretHandle | undefined;
|
|
1729
|
+
deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey | undefined): SafeNCryptSecretHandle | undefined;
|
|
1730
1730
|
dispose(): void;
|
|
1731
1731
|
fromXmlString(xmlString: string): void;
|
|
1732
1732
|
toXmlString(includePrivateParameters: boolean): string;
|
|
@@ -1736,7 +1736,7 @@ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
|
|
|
1736
1736
|
export const ECDiffieHellmanCng: {
|
|
1737
1737
|
new(): ECDiffieHellmanCng;
|
|
1738
1738
|
new(keySize: int): ECDiffieHellmanCng;
|
|
1739
|
-
new(key: CngKey): ECDiffieHellmanCng;
|
|
1739
|
+
new(key: CngKey | undefined): ECDiffieHellmanCng;
|
|
1740
1740
|
new(curve: ECCurve): ECDiffieHellmanCng;
|
|
1741
1741
|
};
|
|
1742
1742
|
|
|
@@ -1774,10 +1774,10 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
|
|
|
1774
1774
|
keySize: int;
|
|
1775
1775
|
readonly legalKeySizes: KeySizes[];
|
|
1776
1776
|
readonly publicKey: ECDiffieHellmanPublicKey;
|
|
1777
|
-
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
|
|
1777
|
+
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
|
|
1778
1778
|
deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1779
1779
|
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
|
|
1780
|
-
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
|
|
1780
|
+
deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
|
|
1781
1781
|
deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
|
|
1782
1782
|
deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
|
|
1783
1783
|
deriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
|
|
@@ -1834,7 +1834,7 @@ export type ECDiffieHellmanPublicKey = ECDiffieHellmanPublicKey$instance & __ECD
|
|
|
1834
1834
|
|
|
1835
1835
|
|
|
1836
1836
|
export interface ECDsa$instance extends ECAlgorithm$instance {
|
|
1837
|
-
readonly keyExchangeAlgorithm: string;
|
|
1837
|
+
readonly keyExchangeAlgorithm: string | undefined;
|
|
1838
1838
|
readonly signatureAlgorithm: string;
|
|
1839
1839
|
dispose(): void;
|
|
1840
1840
|
fromXmlString(xmlString: string): void;
|
|
@@ -1879,7 +1879,7 @@ export const ECDsa: {
|
|
|
1879
1879
|
create(): ECDsa;
|
|
1880
1880
|
create(curve: ECCurve): ECDsa;
|
|
1881
1881
|
create(parameters: ECParameters): ECDsa;
|
|
1882
|
-
create(algorithm: string): ECDsa;
|
|
1882
|
+
create(algorithm: string): ECDsa | undefined;
|
|
1883
1883
|
};
|
|
1884
1884
|
|
|
1885
1885
|
|
|
@@ -2018,7 +2018,7 @@ export type FromBase64Transform = FromBase64Transform$instance & __FromBase64Tra
|
|
|
2018
2018
|
export interface HashAlgorithm$instance {
|
|
2019
2019
|
readonly canReuseTransform: boolean;
|
|
2020
2020
|
readonly canTransformMultipleBlocks: boolean;
|
|
2021
|
-
readonly hash: byte[];
|
|
2021
|
+
readonly hash: byte[] | undefined;
|
|
2022
2022
|
readonly hashSize: int;
|
|
2023
2023
|
readonly inputBlockSize: int;
|
|
2024
2024
|
readonly outputBlockSize: int;
|
|
@@ -2029,7 +2029,7 @@ export interface HashAlgorithm$instance {
|
|
|
2029
2029
|
computeHashAsync(inputStream: Stream, cancellationToken?: CancellationToken): Task_1<byte[]>;
|
|
2030
2030
|
dispose(): void;
|
|
2031
2031
|
initialize(): void;
|
|
2032
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2032
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
2033
2033
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2034
2034
|
tryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2035
2035
|
}
|
|
@@ -2037,7 +2037,7 @@ export interface HashAlgorithm$instance {
|
|
|
2037
2037
|
|
|
2038
2038
|
export const HashAlgorithm: {
|
|
2039
2039
|
create(): HashAlgorithm;
|
|
2040
|
-
create(hashName: string): HashAlgorithm;
|
|
2040
|
+
create(hashName: string): HashAlgorithm | undefined;
|
|
2041
2041
|
};
|
|
2042
2042
|
|
|
2043
2043
|
|
|
@@ -2394,7 +2394,7 @@ export type IncrementalHash = IncrementalHash$instance & __IncrementalHash$views
|
|
|
2394
2394
|
export interface KeyedHashAlgorithm$instance extends HashAlgorithm$instance {
|
|
2395
2395
|
key: byte[];
|
|
2396
2396
|
dispose(): void;
|
|
2397
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2397
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
2398
2398
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
@@ -2438,16 +2438,16 @@ export interface Kmac128$instance {
|
|
|
2438
2438
|
|
|
2439
2439
|
|
|
2440
2440
|
export const Kmac128: {
|
|
2441
|
-
new(key: byte[], customizationString: byte[]): Kmac128;
|
|
2441
|
+
new(key: byte[], customizationString: byte[] | undefined): Kmac128;
|
|
2442
2442
|
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128;
|
|
2443
2443
|
readonly isSupported: boolean;
|
|
2444
|
-
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2445
|
-
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2444
|
+
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2445
|
+
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2446
2446
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2447
2447
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2448
2448
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2449
2449
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2450
|
-
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2450
|
+
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2451
2451
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2452
2452
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
2453
2453
|
};
|
|
@@ -2475,16 +2475,16 @@ export interface Kmac256$instance {
|
|
|
2475
2475
|
|
|
2476
2476
|
|
|
2477
2477
|
export const Kmac256: {
|
|
2478
|
-
new(key: byte[], customizationString: byte[]): Kmac256;
|
|
2478
|
+
new(key: byte[], customizationString: byte[] | undefined): Kmac256;
|
|
2479
2479
|
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256;
|
|
2480
2480
|
readonly isSupported: boolean;
|
|
2481
|
-
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2482
|
-
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2481
|
+
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2482
|
+
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2483
2483
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2484
2484
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2485
2485
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2486
2486
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2487
|
-
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2487
|
+
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2488
2488
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2489
2489
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
2490
2490
|
};
|
|
@@ -2512,16 +2512,16 @@ export interface KmacXof128$instance {
|
|
|
2512
2512
|
|
|
2513
2513
|
|
|
2514
2514
|
export const KmacXof128: {
|
|
2515
|
-
new(key: byte[], customizationString: byte[]): KmacXof128;
|
|
2515
|
+
new(key: byte[], customizationString: byte[] | undefined): KmacXof128;
|
|
2516
2516
|
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128;
|
|
2517
2517
|
readonly isSupported: boolean;
|
|
2518
|
-
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2519
|
-
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2518
|
+
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2519
|
+
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2520
2520
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2521
2521
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2522
2522
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2523
2523
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2524
|
-
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2524
|
+
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2525
2525
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2526
2526
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
2527
2527
|
};
|
|
@@ -2549,16 +2549,16 @@ export interface KmacXof256$instance {
|
|
|
2549
2549
|
|
|
2550
2550
|
|
|
2551
2551
|
export const KmacXof256: {
|
|
2552
|
-
new(key: byte[], customizationString: byte[]): KmacXof256;
|
|
2552
|
+
new(key: byte[], customizationString: byte[] | undefined): KmacXof256;
|
|
2553
2553
|
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256;
|
|
2554
2554
|
readonly isSupported: boolean;
|
|
2555
|
-
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2556
|
-
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2555
|
+
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2556
|
+
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
|
|
2557
2557
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2558
2558
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2559
2559
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2560
2560
|
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2561
|
-
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2561
|
+
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2562
2562
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2563
2563
|
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
2564
2564
|
};
|
|
@@ -2586,7 +2586,7 @@ export type MaskGenerationMethod = MaskGenerationMethod$instance;
|
|
|
2586
2586
|
|
|
2587
2587
|
export interface MD5$instance extends HashAlgorithm$instance {
|
|
2588
2588
|
dispose(): void;
|
|
2589
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2589
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
2590
2590
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2591
2591
|
}
|
|
2592
2592
|
|
|
@@ -2654,23 +2654,23 @@ export interface MLDsa$instance {
|
|
|
2654
2654
|
exportSubjectPublicKeyInfo(): byte[];
|
|
2655
2655
|
exportSubjectPublicKeyInfoPem(): string;
|
|
2656
2656
|
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2657
|
-
signData(data: byte[], context?: byte[]): byte[];
|
|
2657
|
+
signData(data: byte[], context?: byte[] | undefined): byte[];
|
|
2658
2658
|
signMu(externalMu: byte[]): byte[];
|
|
2659
2659
|
signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2660
2660
|
signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
2661
2661
|
signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2662
|
-
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
2662
|
+
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): byte[];
|
|
2663
2663
|
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2664
2664
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2665
2665
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2666
2666
|
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2667
2667
|
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2668
2668
|
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2669
|
-
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
2669
|
+
verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
|
|
2670
2670
|
verifyMu(externalMu: byte[], signature: byte[]): boolean;
|
|
2671
2671
|
verifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2672
2672
|
verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2673
|
-
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
2673
|
+
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): boolean;
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
2676
|
|
|
@@ -2917,11 +2917,11 @@ export interface Oid$instance {
|
|
|
2917
2917
|
|
|
2918
2918
|
export const Oid: {
|
|
2919
2919
|
new(): Oid;
|
|
2920
|
-
new(oid: string): Oid;
|
|
2921
|
-
new(value: string, friendlyName: string): Oid;
|
|
2922
|
-
new(oid: Oid): Oid;
|
|
2923
|
-
fromFriendlyName(friendlyName: string, group: OidGroup): Oid;
|
|
2924
|
-
fromOidValue(oidValue: string, group: OidGroup): Oid;
|
|
2920
|
+
new(oid: string | undefined): Oid;
|
|
2921
|
+
new(value: string | undefined, friendlyName: string | undefined): Oid;
|
|
2922
|
+
new(oid: Oid | undefined): Oid;
|
|
2923
|
+
fromFriendlyName(friendlyName: string | undefined, group: OidGroup): Oid | undefined;
|
|
2924
|
+
fromOidValue(oidValue: string | undefined, group: OidGroup): Oid | undefined;
|
|
2925
2925
|
};
|
|
2926
2926
|
|
|
2927
2927
|
|
|
@@ -2953,7 +2953,7 @@ export type OidCollection = OidCollection$instance & __OidCollection$views;
|
|
|
2953
2953
|
|
|
2954
2954
|
|
|
2955
2955
|
export interface OidEnumerator$instance {
|
|
2956
|
-
readonly current: Oid
|
|
2956
|
+
readonly current: Oid;
|
|
2957
2957
|
moveNext(): boolean;
|
|
2958
2958
|
reset(): void;
|
|
2959
2959
|
}
|
|
@@ -2975,7 +2975,7 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
|
|
|
2975
2975
|
hashName: string;
|
|
2976
2976
|
iterationCount: int;
|
|
2977
2977
|
salt: byte[];
|
|
2978
|
-
cryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
|
|
2978
|
+
cryptDeriveKey(algname: string | undefined, alghashname: string | undefined, keySize: int, rgbIV: byte[]): byte[];
|
|
2979
2979
|
dispose(): void;
|
|
2980
2980
|
getBytes(cb: int): byte[];
|
|
2981
2981
|
reset(): void;
|
|
@@ -2983,14 +2983,14 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
|
|
|
2983
2983
|
|
|
2984
2984
|
|
|
2985
2985
|
export const PasswordDeriveBytes: {
|
|
2986
|
-
new(strPassword: string, rgbSalt: byte[]): PasswordDeriveBytes;
|
|
2987
|
-
new(password: byte[], salt: byte[]): PasswordDeriveBytes;
|
|
2988
|
-
new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int): PasswordDeriveBytes;
|
|
2989
|
-
new(password: byte[], salt: byte[], hashName: string, iterations: int): PasswordDeriveBytes;
|
|
2986
|
+
new(strPassword: string, rgbSalt: byte[] | undefined): PasswordDeriveBytes;
|
|
2987
|
+
new(password: byte[], salt: byte[] | undefined): PasswordDeriveBytes;
|
|
2988
|
+
new(strPassword: string, rgbSalt: byte[] | undefined, strHashName: string, iterations: int): PasswordDeriveBytes;
|
|
2989
|
+
new(password: byte[], salt: byte[] | undefined, hashName: string, iterations: int): PasswordDeriveBytes;
|
|
2990
2990
|
new(strPassword: string, rgbSalt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
|
|
2991
2991
|
new(password: byte[], salt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
|
|
2992
|
-
new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
|
|
2993
|
-
new(password: byte[], salt: byte[], hashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
|
|
2992
|
+
new(strPassword: string, rgbSalt: byte[] | undefined, strHashName: string, iterations: int, cspParams: CspParameters | undefined): PasswordDeriveBytes;
|
|
2993
|
+
new(password: byte[], salt: byte[] | undefined, hashName: string, iterations: int, cspParams: CspParameters | undefined): PasswordDeriveBytes;
|
|
2994
2994
|
};
|
|
2995
2995
|
|
|
2996
2996
|
|
|
@@ -3040,7 +3040,7 @@ export interface RandomNumberGenerator$instance {
|
|
|
3040
3040
|
|
|
3041
3041
|
export const RandomNumberGenerator: {
|
|
3042
3042
|
create(): RandomNumberGenerator;
|
|
3043
|
-
create(rngName: string): RandomNumberGenerator;
|
|
3043
|
+
create(rngName: string): RandomNumberGenerator | undefined;
|
|
3044
3044
|
fill(data: Span_1<System_Internal.Byte>): void;
|
|
3045
3045
|
getBytes(count: int): byte[];
|
|
3046
3046
|
getHexString(stringLength: int, lowercase?: boolean): string;
|
|
@@ -3094,9 +3094,9 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
|
|
|
3094
3094
|
padding: PaddingMode;
|
|
3095
3095
|
useSalt: boolean;
|
|
3096
3096
|
createDecryptor(): ICryptoTransform;
|
|
3097
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
3097
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
3098
3098
|
createEncryptor(): ICryptoTransform;
|
|
3099
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
3099
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
3100
3100
|
dispose(): void;
|
|
3101
3101
|
generateIV(): void;
|
|
3102
3102
|
generateKey(): void;
|
|
@@ -3177,9 +3177,9 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
|
|
|
3177
3177
|
mode: CipherMode;
|
|
3178
3178
|
padding: PaddingMode;
|
|
3179
3179
|
createDecryptor(): ICryptoTransform;
|
|
3180
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
3180
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
3181
3181
|
createEncryptor(): ICryptoTransform;
|
|
3182
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
3182
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
3183
3183
|
dispose(): void;
|
|
3184
3184
|
generateIV(): void;
|
|
3185
3185
|
generateKey(): void;
|
|
@@ -3226,7 +3226,7 @@ export type RNGCryptoServiceProvider = RNGCryptoServiceProvider$instance & __RNG
|
|
|
3226
3226
|
|
|
3227
3227
|
|
|
3228
3228
|
export interface RSA$instance extends AsymmetricAlgorithm$instance {
|
|
3229
|
-
readonly keyExchangeAlgorithm: string;
|
|
3229
|
+
readonly keyExchangeAlgorithm: string | undefined;
|
|
3230
3230
|
readonly signatureAlgorithm: string;
|
|
3231
3231
|
decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3232
3232
|
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
@@ -3294,7 +3294,7 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
3294
3294
|
|
|
3295
3295
|
export const RSA: {
|
|
3296
3296
|
create(parameters: RSAParameters): RSA;
|
|
3297
|
-
create(algName: string): RSA;
|
|
3297
|
+
create(algName: string): RSA | undefined;
|
|
3298
3298
|
};
|
|
3299
3299
|
|
|
3300
3300
|
|
|
@@ -3329,7 +3329,7 @@ export type RSACng = RSACng$instance & __RSACng$views;
|
|
|
3329
3329
|
|
|
3330
3330
|
export interface RSACryptoServiceProvider$instance extends RSA$instance {
|
|
3331
3331
|
readonly cspKeyContainerInfo: CspKeyContainerInfo;
|
|
3332
|
-
readonly keyExchangeAlgorithm: string;
|
|
3332
|
+
readonly keyExchangeAlgorithm: string | undefined;
|
|
3333
3333
|
keySize: int;
|
|
3334
3334
|
readonly legalKeySizes: KeySizes[];
|
|
3335
3335
|
persistKeyInCsp: boolean;
|
|
@@ -3448,18 +3448,18 @@ export const RSAOAEPKeyExchangeDeformatter: {
|
|
|
3448
3448
|
export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instance;
|
|
3449
3449
|
|
|
3450
3450
|
export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
|
|
3451
|
-
parameter: byte[];
|
|
3451
|
+
parameter: byte[] | undefined;
|
|
3452
3452
|
readonly parameters: string;
|
|
3453
|
-
rng: RandomNumberGenerator;
|
|
3454
|
-
createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
|
|
3455
|
-
createKeyExchange(rgbData: byte[]): byte[];
|
|
3456
|
-
setKey(key: AsymmetricAlgorithm): void;
|
|
3453
|
+
rng: RandomNumberGenerator | undefined;
|
|
3454
|
+
createKeyExchange(rgbData: byte[] | undefined, symAlgType: Type | undefined): byte[];
|
|
3455
|
+
createKeyExchange(rgbData: byte[] | undefined): byte[];
|
|
3456
|
+
setKey(key: AsymmetricAlgorithm | undefined): void;
|
|
3457
3457
|
}
|
|
3458
3458
|
|
|
3459
3459
|
|
|
3460
3460
|
export const RSAOAEPKeyExchangeFormatter: {
|
|
3461
3461
|
new(): RSAOAEPKeyExchangeFormatter;
|
|
3462
|
-
new(key: AsymmetricAlgorithm): RSAOAEPKeyExchangeFormatter;
|
|
3462
|
+
new(key: AsymmetricAlgorithm | undefined): RSAOAEPKeyExchangeFormatter;
|
|
3463
3463
|
};
|
|
3464
3464
|
|
|
3465
3465
|
|
|
@@ -3534,15 +3534,15 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
|
|
|
3534
3534
|
|
|
3535
3535
|
export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
|
|
3536
3536
|
parameters: string;
|
|
3537
|
-
RNG: RandomNumberGenerator;
|
|
3538
|
-
decryptKeyExchange(rgbIn: byte[]): byte[];
|
|
3539
|
-
setKey(key: AsymmetricAlgorithm): void;
|
|
3537
|
+
RNG: RandomNumberGenerator | undefined;
|
|
3538
|
+
decryptKeyExchange(rgbIn: byte[] | undefined): byte[] | undefined;
|
|
3539
|
+
setKey(key: AsymmetricAlgorithm | undefined): void;
|
|
3540
3540
|
}
|
|
3541
3541
|
|
|
3542
3542
|
|
|
3543
3543
|
export const RSAPKCS1KeyExchangeDeformatter: {
|
|
3544
3544
|
new(): RSAPKCS1KeyExchangeDeformatter;
|
|
3545
|
-
new(key: AsymmetricAlgorithm): RSAPKCS1KeyExchangeDeformatter;
|
|
3545
|
+
new(key: AsymmetricAlgorithm | undefined): RSAPKCS1KeyExchangeDeformatter;
|
|
3546
3546
|
};
|
|
3547
3547
|
|
|
3548
3548
|
|
|
@@ -3550,8 +3550,8 @@ export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$inst
|
|
|
3550
3550
|
|
|
3551
3551
|
export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
|
|
3552
3552
|
readonly parameters: string;
|
|
3553
|
-
rng: RandomNumberGenerator;
|
|
3554
|
-
createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
|
|
3553
|
+
rng: RandomNumberGenerator | undefined;
|
|
3554
|
+
createKeyExchange(rgbData: byte[], symAlgType: Type | undefined): byte[];
|
|
3555
3555
|
createKeyExchange(rgbData: byte[]): byte[];
|
|
3556
3556
|
setKey(key: AsymmetricAlgorithm): void;
|
|
3557
3557
|
}
|
|
@@ -3649,7 +3649,7 @@ export type SafeEvpPKeyHandle = SafeEvpPKeyHandle$instance & __SafeEvpPKeyHandle
|
|
|
3649
3649
|
|
|
3650
3650
|
export interface SHA1$instance extends HashAlgorithm$instance {
|
|
3651
3651
|
dispose(): void;
|
|
3652
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3652
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3653
3653
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3654
3654
|
}
|
|
3655
3655
|
|
|
@@ -3720,7 +3720,7 @@ export type SHA1Managed = SHA1Managed$instance & __SHA1Managed$views;
|
|
|
3720
3720
|
|
|
3721
3721
|
export interface SHA256$instance extends HashAlgorithm$instance {
|
|
3722
3722
|
dispose(): void;
|
|
3723
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3723
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3724
3724
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3725
3725
|
}
|
|
3726
3726
|
|
|
@@ -3791,7 +3791,7 @@ export type SHA256Managed = SHA256Managed$instance & __SHA256Managed$views;
|
|
|
3791
3791
|
|
|
3792
3792
|
export interface SHA3_256$instance extends HashAlgorithm$instance {
|
|
3793
3793
|
dispose(): void;
|
|
3794
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3794
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3795
3795
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3796
3796
|
}
|
|
3797
3797
|
|
|
@@ -3821,7 +3821,7 @@ export type SHA3_256 = SHA3_256$instance & __SHA3_256$views;
|
|
|
3821
3821
|
|
|
3822
3822
|
export interface SHA3_384$instance extends HashAlgorithm$instance {
|
|
3823
3823
|
dispose(): void;
|
|
3824
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3824
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3825
3825
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3826
3826
|
}
|
|
3827
3827
|
|
|
@@ -3851,7 +3851,7 @@ export type SHA3_384 = SHA3_384$instance & __SHA3_384$views;
|
|
|
3851
3851
|
|
|
3852
3852
|
export interface SHA3_512$instance extends HashAlgorithm$instance {
|
|
3853
3853
|
dispose(): void;
|
|
3854
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3854
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3855
3855
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3856
3856
|
}
|
|
3857
3857
|
|
|
@@ -3881,7 +3881,7 @@ export type SHA3_512 = SHA3_512$instance & __SHA3_512$views;
|
|
|
3881
3881
|
|
|
3882
3882
|
export interface SHA384$instance extends HashAlgorithm$instance {
|
|
3883
3883
|
dispose(): void;
|
|
3884
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3884
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3885
3885
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3886
3886
|
}
|
|
3887
3887
|
|
|
@@ -3952,7 +3952,7 @@ export type SHA384Managed = SHA384Managed$instance & __SHA384Managed$views;
|
|
|
3952
3952
|
|
|
3953
3953
|
export interface SHA512$instance extends HashAlgorithm$instance {
|
|
3954
3954
|
dispose(): void;
|
|
3955
|
-
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
3955
|
+
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
|
|
3956
3956
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
3957
3957
|
}
|
|
3958
3958
|
|
|
@@ -4096,19 +4096,19 @@ export type Shake256 = Shake256$instance & __Shake256$views;
|
|
|
4096
4096
|
|
|
4097
4097
|
|
|
4098
4098
|
export interface SignatureDescription$instance {
|
|
4099
|
-
deformatterAlgorithm: string;
|
|
4100
|
-
digestAlgorithm: string;
|
|
4101
|
-
formatterAlgorithm: string;
|
|
4102
|
-
keyAlgorithm: string;
|
|
4103
|
-
createDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
|
|
4104
|
-
createDigest(): HashAlgorithm;
|
|
4105
|
-
createFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
|
|
4099
|
+
deformatterAlgorithm: string | undefined;
|
|
4100
|
+
digestAlgorithm: string | undefined;
|
|
4101
|
+
formatterAlgorithm: string | undefined;
|
|
4102
|
+
keyAlgorithm: string | undefined;
|
|
4103
|
+
createDeformatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureDeformatter | undefined;
|
|
4104
|
+
createDigest(): HashAlgorithm | undefined;
|
|
4105
|
+
createFormatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureFormatter | undefined;
|
|
4106
4106
|
}
|
|
4107
4107
|
|
|
4108
4108
|
|
|
4109
4109
|
export const SignatureDescription: {
|
|
4110
4110
|
new(): SignatureDescription;
|
|
4111
|
-
new(el: SecurityElement): SignatureDescription;
|
|
4111
|
+
new(el: SecurityElement | undefined): SignatureDescription;
|
|
4112
4112
|
};
|
|
4113
4113
|
|
|
4114
4114
|
|
|
@@ -4132,18 +4132,18 @@ export interface SlhDsa$instance {
|
|
|
4132
4132
|
exportSubjectPublicKeyInfo(): byte[];
|
|
4133
4133
|
exportSubjectPublicKeyInfoPem(): string;
|
|
4134
4134
|
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4135
|
-
signData(data: byte[], context?: byte[]): byte[];
|
|
4135
|
+
signData(data: byte[], context?: byte[] | undefined): byte[];
|
|
4136
4136
|
signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4137
|
-
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
4137
|
+
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): byte[];
|
|
4138
4138
|
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4139
4139
|
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4140
4140
|
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4141
4141
|
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4142
4142
|
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4143
4143
|
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
4144
|
-
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
4144
|
+
verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
|
|
4145
4145
|
verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
4146
|
-
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
4146
|
+
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): boolean;
|
|
4147
4147
|
}
|
|
4148
4148
|
|
|
4149
4149
|
|
|
@@ -4298,9 +4298,9 @@ export interface SymmetricAlgorithm$instance {
|
|
|
4298
4298
|
padding: PaddingMode;
|
|
4299
4299
|
clear(): void;
|
|
4300
4300
|
createDecryptor(): ICryptoTransform;
|
|
4301
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4301
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4302
4302
|
createEncryptor(): ICryptoTransform;
|
|
4303
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4303
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4304
4304
|
decryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
|
|
4305
4305
|
decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
|
|
4306
4306
|
decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
|
|
@@ -4338,7 +4338,7 @@ export interface SymmetricAlgorithm$instance {
|
|
|
4338
4338
|
|
|
4339
4339
|
export const SymmetricAlgorithm: {
|
|
4340
4340
|
create(): SymmetricAlgorithm;
|
|
4341
|
-
create(algName: string): SymmetricAlgorithm;
|
|
4341
|
+
create(algName: string): SymmetricAlgorithm | undefined;
|
|
4342
4342
|
};
|
|
4343
4343
|
|
|
4344
4344
|
|
|
@@ -4395,9 +4395,9 @@ export type TripleDES = TripleDES$instance & __TripleDES$views;
|
|
|
4395
4395
|
|
|
4396
4396
|
|
|
4397
4397
|
export interface TripleDESCng$instance extends TripleDES$instance {
|
|
4398
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4398
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4399
4399
|
createDecryptor(): ICryptoTransform;
|
|
4400
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4400
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4401
4401
|
createEncryptor(): ICryptoTransform;
|
|
4402
4402
|
dispose(): void;
|
|
4403
4403
|
generateIV(): void;
|
|
@@ -4431,9 +4431,9 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
|
|
|
4431
4431
|
mode: CipherMode;
|
|
4432
4432
|
padding: PaddingMode;
|
|
4433
4433
|
createDecryptor(): ICryptoTransform;
|
|
4434
|
-
createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4434
|
+
createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4435
4435
|
createEncryptor(): ICryptoTransform;
|
|
4436
|
-
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4436
|
+
createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
|
|
4437
4437
|
dispose(): void;
|
|
4438
4438
|
generateIV(): void;
|
|
4439
4439
|
generateKey(): void;
|
|
@@ -4502,11 +4502,11 @@ export abstract class ECCurve_NamedCurves$instance {
|
|
|
4502
4502
|
export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
|
|
4503
4503
|
|
|
4504
4504
|
export abstract class HKDF$instance {
|
|
4505
|
-
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
|
|
4505
|
+
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[] | undefined, info?: byte[] | undefined): byte[];
|
|
4506
4506
|
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4507
|
-
static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
|
|
4507
|
+
static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[] | undefined): byte[];
|
|
4508
4508
|
static expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4509
|
-
static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
|
|
4509
|
+
static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[] | undefined): byte[];
|
|
4510
4510
|
static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
|
|
4511
4511
|
}
|
|
4512
4512
|
|