@tsonic/dotnet 0.7.4 → 0.7.7
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 +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2537 -395
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +29 -54
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +31 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +36 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +49 -74
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.Specialized/internal/index.d.ts +0 -25
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +22 -47
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +7 -32
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +1 -26
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +87 -112
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +0 -25
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +17 -42
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +69 -94
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +18 -43
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +197 -222
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +332 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +3 -28
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +36 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +21 -46
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +29 -54
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +108 -133
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +264 -289
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +4 -29
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +3 -28
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +31 -56
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +3 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +0 -25
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +593 -618
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +0 -25
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +137 -162
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +141 -166
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +149 -174
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Tasks/internal/index.d.ts +23 -48
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +0 -25
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +0 -25
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +21 -0
- package/__internal/extensions/index.d.ts +463 -463
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { SafeNCryptKeyHandle, SafeNCryptProviderHandle, SafeNCryptSecretHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -29,31 +29,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
29
29
|
import * as System_Internal from "../../System/internal/index.js";
|
|
30
30
|
import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Char, Enum, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, Range, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, SystemException, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
|
|
31
31
|
|
|
32
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
33
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
34
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
35
|
-
export type CLROf<T> =
|
|
36
|
-
T extends sbyte ? System_Internal.SByte :
|
|
37
|
-
T extends short ? System_Internal.Int16 :
|
|
38
|
-
T extends int ? System_Internal.Int32 :
|
|
39
|
-
T extends long ? System_Internal.Int64 :
|
|
40
|
-
T extends int128 ? System_Internal.Int128 :
|
|
41
|
-
T extends nint ? System_Internal.IntPtr :
|
|
42
|
-
T extends byte ? System_Internal.Byte :
|
|
43
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
44
|
-
T extends uint ? System_Internal.UInt32 :
|
|
45
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
46
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
47
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
48
|
-
T extends half ? System_Internal.Half :
|
|
49
|
-
T extends float ? System_Internal.Single :
|
|
50
|
-
T extends double ? System_Internal.Double :
|
|
51
|
-
T extends decimal ? System_Internal.Decimal :
|
|
52
|
-
T extends char ? System_Internal.Char :
|
|
53
|
-
T extends boolean ? System_Internal.Boolean :
|
|
54
|
-
T extends string ? System_Internal.String :
|
|
55
|
-
T; // Identity fallback for non-primitive types
|
|
56
|
-
|
|
57
32
|
export enum CipherMode {
|
|
58
33
|
CBC = 1,
|
|
59
34
|
ECB = 2,
|
|
@@ -369,7 +344,7 @@ export const HashAlgorithmName: {
|
|
|
369
344
|
readonly SHA3_384: HashAlgorithmName;
|
|
370
345
|
readonly SHA3_512: HashAlgorithmName;
|
|
371
346
|
fromOid(oidValue: string): HashAlgorithmName;
|
|
372
|
-
tryFromOid(oidValue: string, value:
|
|
347
|
+
tryFromOid(oidValue: string, value: HashAlgorithmName): boolean;
|
|
373
348
|
};
|
|
374
349
|
|
|
375
350
|
|
|
@@ -419,13 +394,13 @@ export type RSAParameters = RSAParameters$instance;
|
|
|
419
394
|
|
|
420
395
|
export interface Aes$instance extends SymmetricAlgorithm$instance {
|
|
421
396
|
decryptKeyWrapPadded(ciphertext: byte[]): byte[];
|
|
422
|
-
decryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<
|
|
423
|
-
decryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<
|
|
397
|
+
decryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
398
|
+
decryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
424
399
|
dispose(): void;
|
|
425
400
|
encryptKeyWrapPadded(plaintext: byte[]): byte[];
|
|
426
|
-
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<
|
|
427
|
-
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<
|
|
428
|
-
tryDecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<
|
|
401
|
+
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
402
|
+
encryptKeyWrapPadded(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
403
|
+
tryDecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
429
404
|
}
|
|
430
405
|
|
|
431
406
|
|
|
@@ -443,15 +418,15 @@ export type Aes = Aes$instance & __Aes$views;
|
|
|
443
418
|
|
|
444
419
|
export interface AesCcm$instance {
|
|
445
420
|
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
446
|
-
decrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
447
422
|
dispose(): void;
|
|
448
423
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
449
|
-
encrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
450
425
|
}
|
|
451
426
|
|
|
452
427
|
|
|
453
428
|
export const AesCcm: {
|
|
454
|
-
new(key: ReadOnlySpan_1<
|
|
429
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>): AesCcm$instance;
|
|
455
430
|
new(key: byte[]): AesCcm$instance;
|
|
456
431
|
readonly nonceByteSizes: KeySizes;
|
|
457
432
|
readonly tagByteSizes: KeySizes;
|
|
@@ -528,19 +503,19 @@ export type AesCryptoServiceProvider = AesCryptoServiceProvider$instance & __Aes
|
|
|
528
503
|
|
|
529
504
|
|
|
530
505
|
export interface AesGcm$instance {
|
|
531
|
-
readonly tagSizeInBytes: Nullable_1<
|
|
506
|
+
readonly tagSizeInBytes: Nullable_1<System_Internal.Int32>;
|
|
532
507
|
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
533
|
-
decrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
534
509
|
dispose(): void;
|
|
535
510
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
536
|
-
encrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
537
512
|
}
|
|
538
513
|
|
|
539
514
|
|
|
540
515
|
export const AesGcm: {
|
|
541
|
-
new(key: ReadOnlySpan_1<
|
|
516
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, tagSizeInBytes: int): AesGcm$instance;
|
|
542
517
|
new(key: byte[], tagSizeInBytes: int): AesGcm$instance;
|
|
543
|
-
new(key: ReadOnlySpan_1<
|
|
518
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>): AesGcm$instance;
|
|
544
519
|
new(key: byte[]): AesGcm$instance;
|
|
545
520
|
readonly nonceByteSizes: KeySizes;
|
|
546
521
|
readonly tagByteSizes: KeySizes;
|
|
@@ -599,12 +574,12 @@ export interface AsnEncodedData$instance {
|
|
|
599
574
|
|
|
600
575
|
export const AsnEncodedData: {
|
|
601
576
|
new(rawData: byte[]): AsnEncodedData$instance;
|
|
602
|
-
new(rawData: ReadOnlySpan_1<
|
|
577
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
|
|
603
578
|
new(asnEncodedData: AsnEncodedData): AsnEncodedData$instance;
|
|
604
579
|
new(oid: Oid, rawData: byte[]): AsnEncodedData$instance;
|
|
605
580
|
new(oid: string, rawData: byte[]): AsnEncodedData$instance;
|
|
606
|
-
new(oid: Oid, rawData: ReadOnlySpan_1<
|
|
607
|
-
new(oid: string, rawData: ReadOnlySpan_1<
|
|
581
|
+
new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
|
|
582
|
+
new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
|
|
608
583
|
};
|
|
609
584
|
|
|
610
585
|
|
|
@@ -662,31 +637,31 @@ export interface AsymmetricAlgorithm$instance {
|
|
|
662
637
|
readonly signatureAlgorithm: string;
|
|
663
638
|
clear(): void;
|
|
664
639
|
dispose(): void;
|
|
665
|
-
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
666
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
667
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
668
|
-
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
640
|
+
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
641
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
642
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
|
|
643
|
+
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): string;
|
|
669
644
|
exportPkcs8PrivateKey(): byte[];
|
|
670
645
|
exportPkcs8PrivateKeyPem(): string;
|
|
671
646
|
exportSubjectPublicKeyInfo(): byte[];
|
|
672
647
|
exportSubjectPublicKeyInfoPem(): string;
|
|
673
648
|
fromXmlString(xmlString: string): void;
|
|
674
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
675
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
676
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
677
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
678
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
679
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
680
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
649
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
650
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
651
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
652
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
653
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
654
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
655
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
681
656
|
toXmlString(includePrivateParameters: boolean): string;
|
|
682
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
683
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
684
|
-
tryExportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
685
|
-
tryExportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
686
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
687
|
-
tryExportPkcs8PrivateKeyPem(destination: Span_1<
|
|
688
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
689
|
-
tryExportSubjectPublicKeyInfoPem(destination: Span_1<
|
|
657
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
658
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
659
|
+
tryExportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
660
|
+
tryExportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
661
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
662
|
+
tryExportPkcs8PrivateKeyPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
663
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
664
|
+
tryExportSubjectPublicKeyInfoPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
690
665
|
}
|
|
691
666
|
|
|
692
667
|
|
|
@@ -781,15 +756,15 @@ export type AuthenticationTagMismatchException = AuthenticationTagMismatchExcept
|
|
|
781
756
|
|
|
782
757
|
export interface ChaCha20Poly1305$instance {
|
|
783
758
|
decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
|
|
784
|
-
decrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
785
760
|
dispose(): void;
|
|
786
761
|
encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
|
|
787
|
-
encrypt(nonce: ReadOnlySpan_1<
|
|
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;
|
|
788
763
|
}
|
|
789
764
|
|
|
790
765
|
|
|
791
766
|
export const ChaCha20Poly1305: {
|
|
792
|
-
new(key: ReadOnlySpan_1<
|
|
767
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>): ChaCha20Poly1305$instance;
|
|
793
768
|
new(key: byte[]): ChaCha20Poly1305$instance;
|
|
794
769
|
readonly isSupported: boolean;
|
|
795
770
|
};
|
|
@@ -1071,30 +1046,30 @@ export interface CompositeMLDsa$instance {
|
|
|
1071
1046
|
readonly algorithm: CompositeMLDsaAlgorithm;
|
|
1072
1047
|
dispose(): void;
|
|
1073
1048
|
exportCompositeMLDsaPrivateKey(): byte[];
|
|
1074
|
-
exportCompositeMLDsaPrivateKey(destination: Span_1<
|
|
1049
|
+
exportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>): int;
|
|
1075
1050
|
exportCompositeMLDsaPublicKey(): byte[];
|
|
1076
|
-
exportCompositeMLDsaPublicKey(destination: Span_1<
|
|
1051
|
+
exportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>): int;
|
|
1077
1052
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
1078
|
-
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1079
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1053
|
+
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
1054
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
1080
1055
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
1081
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
1082
|
-
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
1056
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
|
|
1057
|
+
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): string;
|
|
1083
1058
|
exportPkcs8PrivateKey(): byte[];
|
|
1084
1059
|
exportPkcs8PrivateKeyPem(): string;
|
|
1085
1060
|
exportSubjectPublicKeyInfo(): byte[];
|
|
1086
1061
|
exportSubjectPublicKeyInfoPem(): string;
|
|
1087
1062
|
signData(data: byte[], context?: byte[]): byte[];
|
|
1088
|
-
signData(data: ReadOnlySpan_1<
|
|
1089
|
-
tryExportCompositeMLDsaPrivateKey(destination: Span_1<
|
|
1090
|
-
tryExportCompositeMLDsaPublicKey(destination: Span_1<
|
|
1091
|
-
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<
|
|
1092
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1093
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1094
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
1095
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1063
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): int;
|
|
1064
|
+
tryExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1065
|
+
tryExportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1066
|
+
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1067
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1068
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1069
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1070
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1096
1071
|
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
1097
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1072
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1098
1073
|
}
|
|
1099
1074
|
|
|
1100
1075
|
|
|
@@ -1102,22 +1077,22 @@ export const CompositeMLDsa: {
|
|
|
1102
1077
|
readonly isSupported: boolean;
|
|
1103
1078
|
generateKey(algorithm: CompositeMLDsaAlgorithm): CompositeMLDsa;
|
|
1104
1079
|
importCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: byte[]): CompositeMLDsa;
|
|
1105
|
-
importCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<
|
|
1080
|
+
importCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1106
1081
|
importCompositeMLDsaPublicKey(algorithm: CompositeMLDsaAlgorithm, source: byte[]): CompositeMLDsa;
|
|
1107
|
-
importCompositeMLDsaPublicKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<
|
|
1108
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1109
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1082
|
+
importCompositeMLDsaPublicKey(algorithm: CompositeMLDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1083
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1084
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1110
1085
|
importEncryptedPkcs8PrivateKey(password: string, source: byte[]): CompositeMLDsa;
|
|
1111
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
1112
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
1086
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1087
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): CompositeMLDsa;
|
|
1113
1088
|
importFromEncryptedPem(source: string, passwordBytes: byte[]): CompositeMLDsa;
|
|
1114
1089
|
importFromEncryptedPem(source: string, password: string): CompositeMLDsa;
|
|
1115
|
-
importFromPem(source: ReadOnlySpan_1<
|
|
1090
|
+
importFromPem(source: ReadOnlySpan_1<System_Internal.Char>): CompositeMLDsa;
|
|
1116
1091
|
importFromPem(source: string): CompositeMLDsa;
|
|
1117
1092
|
importPkcs8PrivateKey(source: byte[]): CompositeMLDsa;
|
|
1118
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
1093
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1119
1094
|
importSubjectPublicKeyInfo(source: byte[]): CompositeMLDsa;
|
|
1120
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
1095
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>): CompositeMLDsa;
|
|
1121
1096
|
isAlgorithmSupported(algorithm: CompositeMLDsaAlgorithm): boolean;
|
|
1122
1097
|
};
|
|
1123
1098
|
|
|
@@ -1277,22 +1252,22 @@ export interface CryptoStream$instance extends Stream {
|
|
|
1277
1252
|
flushFinalBlock(): void;
|
|
1278
1253
|
flushFinalBlockAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
1279
1254
|
read(buffer: byte[], offset: int, count: int): int;
|
|
1280
|
-
read(buffer: Span_1<
|
|
1281
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
1282
|
-
readAsync(buffer: Memory_1<
|
|
1283
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
1284
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
1285
|
-
readAsync(buffer: Memory_1<
|
|
1255
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
1256
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
1257
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1258
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
1259
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
1260
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1286
1261
|
readByte(): int;
|
|
1287
1262
|
seek(offset: long, origin: SeekOrigin): long;
|
|
1288
1263
|
setLength(value: long): void;
|
|
1289
1264
|
write(buffer: byte[], offset: int, count: int): void;
|
|
1290
|
-
write(buffer: ReadOnlySpan_1<
|
|
1291
|
-
write(buffer: ReadOnlySpan_1<
|
|
1265
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1266
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1292
1267
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1293
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1268
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1294
1269
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
1295
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1270
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1296
1271
|
writeByte(value: byte): void;
|
|
1297
1272
|
}
|
|
1298
1273
|
|
|
@@ -1433,19 +1408,19 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1433
1408
|
exportParameters(includePrivateParameters: boolean): DSAParameters;
|
|
1434
1409
|
fromXmlString(xmlString: string): void;
|
|
1435
1410
|
getMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
|
|
1436
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1437
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1438
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1439
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1440
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1441
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1442
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
1443
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
1411
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1412
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1413
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1414
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1415
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1416
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1417
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1418
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1444
1419
|
importParameters(parameters: DSAParameters): void;
|
|
1445
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
1446
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
1447
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
1448
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
1420
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1421
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1422
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1423
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1449
1424
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName): byte[];
|
|
1450
1425
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1451
1426
|
signData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
|
|
@@ -1453,29 +1428,29 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
1453
1428
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1454
1429
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1455
1430
|
toXmlString(includePrivateParameters: boolean): string;
|
|
1456
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1457
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1458
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1459
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1460
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1461
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
1462
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
1463
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1464
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1465
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1466
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1431
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1432
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1433
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1434
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1435
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1436
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1437
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1438
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1439
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1440
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
|
|
1441
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1467
1442
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1468
1443
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1469
1444
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1470
1445
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1471
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1446
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): boolean;
|
|
1472
1447
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1473
1448
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1474
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1449
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1475
1450
|
verifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
|
|
1476
1451
|
verifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1477
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1478
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1452
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1453
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1479
1454
|
}
|
|
1480
1455
|
|
|
1481
1456
|
|
|
@@ -1501,8 +1476,8 @@ export interface DSACng$instance extends DSA$instance {
|
|
|
1501
1476
|
importParameters(parameters: DSAParameters): void;
|
|
1502
1477
|
verifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
|
|
1503
1478
|
verifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1504
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1505
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1479
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1480
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1506
1481
|
}
|
|
1507
1482
|
|
|
1508
1483
|
|
|
@@ -1535,9 +1510,9 @@ export interface DSACryptoServiceProvider$instance extends DSA$instance {
|
|
|
1535
1510
|
exportParameters(includePrivateParameters: boolean): DSAParameters;
|
|
1536
1511
|
fromXmlString(xmlString: string): void;
|
|
1537
1512
|
importCspBlob(keyBlob: byte[]): void;
|
|
1538
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1539
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1540
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1513
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1514
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1515
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1541
1516
|
importParameters(parameters: DSAParameters): void;
|
|
1542
1517
|
signData(inputStream: Stream): byte[];
|
|
1543
1518
|
signData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
|
|
@@ -1548,27 +1523,27 @@ export interface DSACryptoServiceProvider$instance extends DSA$instance {
|
|
|
1548
1523
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1549
1524
|
signHash(rgbHash: byte[], str: string): byte[];
|
|
1550
1525
|
toXmlString(includePrivateParameters: boolean): string;
|
|
1551
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1552
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1553
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1554
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1555
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1556
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1526
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1527
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1528
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1529
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
|
|
1530
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
|
|
1531
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1557
1532
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1558
1533
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1559
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1534
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): boolean;
|
|
1560
1535
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1561
1536
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1562
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1537
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): boolean;
|
|
1563
1538
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1564
1539
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1565
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1540
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1566
1541
|
verifyHash(rgbHash: byte[], str: string, rgbSignature: byte[]): boolean;
|
|
1567
1542
|
verifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
|
|
1568
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1543
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1569
1544
|
verifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1570
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1571
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1545
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1546
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1572
1547
|
}
|
|
1573
1548
|
|
|
1574
1549
|
|
|
@@ -1599,18 +1574,18 @@ export interface DSAOpenSsl$instance extends DSA$instance {
|
|
|
1599
1574
|
dispose(): void;
|
|
1600
1575
|
duplicateKeyHandle(): SafeEvpPKeyHandle;
|
|
1601
1576
|
exportParameters(includePrivateParameters: boolean): DSAParameters;
|
|
1602
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1603
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1604
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1577
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1578
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1579
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1605
1580
|
importParameters(parameters: DSAParameters): void;
|
|
1606
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1607
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1608
|
-
tryCreateSignature(hash: ReadOnlySpan_1<
|
|
1581
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1582
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1583
|
+
tryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1609
1584
|
verifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
|
|
1610
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1585
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1611
1586
|
verifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1612
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1613
|
-
verifySignature(hash: ReadOnlySpan_1<
|
|
1587
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1588
|
+
verifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1614
1589
|
}
|
|
1615
1590
|
|
|
1616
1591
|
|
|
@@ -1669,29 +1644,29 @@ export interface ECAlgorithm$instance extends AsymmetricAlgorithm$instance {
|
|
|
1669
1644
|
exportExplicitParameters(includePrivateParameters: boolean): ECParameters;
|
|
1670
1645
|
exportParameters(includePrivateParameters: boolean): ECParameters;
|
|
1671
1646
|
generateKey(curve: ECCurve): void;
|
|
1672
|
-
importECPrivateKey(source: ReadOnlySpan_1<
|
|
1673
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1674
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1675
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1676
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1677
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1678
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
1679
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
1680
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
1647
|
+
importECPrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1648
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1649
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1650
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1651
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1652
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1653
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1654
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1655
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1681
1656
|
importParameters(parameters: ECParameters): void;
|
|
1682
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
1683
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
1684
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
1685
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
1686
|
-
tryExportECPrivateKey(destination: Span_1<
|
|
1687
|
-
tryExportECPrivateKeyPem(destination: Span_1<
|
|
1688
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1689
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1690
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1691
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
1692
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
1693
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1694
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1657
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1658
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1659
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1660
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1661
|
+
tryExportECPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1662
|
+
tryExportECPrivateKeyPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
1663
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1664
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1665
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1666
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1667
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1668
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1669
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1695
1670
|
}
|
|
1696
1671
|
|
|
1697
1672
|
|
|
@@ -1811,9 +1786,9 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
|
|
|
1811
1786
|
exportExplicitParameters(includePrivateParameters: boolean): ECParameters;
|
|
1812
1787
|
exportParameters(includePrivateParameters: boolean): ECParameters;
|
|
1813
1788
|
generateKey(curve: ECCurve): void;
|
|
1814
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1815
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1816
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1789
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1790
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1791
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1817
1792
|
importParameters(parameters: ECParameters): void;
|
|
1818
1793
|
}
|
|
1819
1794
|
|
|
@@ -1841,7 +1816,7 @@ export interface ECDiffieHellmanPublicKey$instance {
|
|
|
1841
1816
|
exportSubjectPublicKeyInfo(): byte[];
|
|
1842
1817
|
toByteArray(): byte[];
|
|
1843
1818
|
toXmlString(): string;
|
|
1844
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
1819
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1845
1820
|
}
|
|
1846
1821
|
|
|
1847
1822
|
|
|
@@ -1870,33 +1845,33 @@ export interface ECDsa$instance extends ECAlgorithm$instance {
|
|
|
1870
1845
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1871
1846
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1872
1847
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1873
|
-
signData(data: ReadOnlySpan_1<
|
|
1874
|
-
signData(data: ReadOnlySpan_1<
|
|
1875
|
-
signData(data: ReadOnlySpan_1<
|
|
1876
|
-
signData(data: ReadOnlySpan_1<
|
|
1848
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1849
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1850
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): int;
|
|
1851
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): int;
|
|
1877
1852
|
signHash(hash: byte[], signatureFormat: DSASignatureFormat): byte[];
|
|
1878
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1879
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1880
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1881
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1853
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
|
|
1854
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
1855
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): int;
|
|
1856
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
1882
1857
|
signHash(hash: byte[]): byte[];
|
|
1883
1858
|
toXmlString(includePrivateParameters: boolean): string;
|
|
1884
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1885
|
-
trySignData(data: ReadOnlySpan_1<
|
|
1886
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
1887
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
1859
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
|
|
1860
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1861
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1862
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1888
1863
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1889
1864
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1890
1865
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1891
1866
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1892
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1893
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1867
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): boolean;
|
|
1868
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1894
1869
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1895
1870
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1896
1871
|
verifyHash(hash: byte[], signature: byte[]): boolean;
|
|
1897
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1872
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1898
1873
|
verifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1899
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1874
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1900
1875
|
}
|
|
1901
1876
|
|
|
1902
1877
|
|
|
@@ -1927,30 +1902,30 @@ export interface ECDsaCng$instance extends ECDsa$instance {
|
|
|
1927
1902
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1928
1903
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1929
1904
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1930
|
-
signData(data: ReadOnlySpan_1<
|
|
1931
|
-
signData(data: ReadOnlySpan_1<
|
|
1932
|
-
signData(data: ReadOnlySpan_1<
|
|
1933
|
-
signData(data: ReadOnlySpan_1<
|
|
1905
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): byte[];
|
|
1906
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
|
|
1907
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): int;
|
|
1908
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): int;
|
|
1934
1909
|
signHash(hash: byte[]): byte[];
|
|
1935
1910
|
signHash(hash: byte[], signatureFormat: DSASignatureFormat): byte[];
|
|
1936
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1937
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1938
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1939
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1911
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
|
|
1912
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
1913
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): int;
|
|
1914
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
1940
1915
|
toXmlString(includePrivateParameters: boolean): string;
|
|
1941
1916
|
verifyData(data: Stream, signature: byte[]): boolean;
|
|
1942
1917
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1943
1918
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1944
1919
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1945
1920
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1946
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1947
|
-
verifyData(data: ReadOnlySpan_1<
|
|
1921
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): boolean;
|
|
1922
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1948
1923
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
|
|
1949
1924
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
|
|
1950
1925
|
verifyHash(hash: byte[], signature: byte[]): boolean;
|
|
1951
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1926
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1952
1927
|
verifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1953
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1928
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1954
1929
|
}
|
|
1955
1930
|
|
|
1956
1931
|
|
|
@@ -1977,24 +1952,24 @@ export interface ECDsaOpenSsl$instance extends ECDsa$instance {
|
|
|
1977
1952
|
exportExplicitParameters(includePrivateParameters: boolean): ECParameters;
|
|
1978
1953
|
exportParameters(includePrivateParameters: boolean): ECParameters;
|
|
1979
1954
|
generateKey(curve: ECCurve): void;
|
|
1980
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1981
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
1982
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
1955
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1956
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1957
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
1983
1958
|
importParameters(parameters: ECParameters): void;
|
|
1984
1959
|
signHash(hash: byte[]): byte[];
|
|
1985
1960
|
signHash(hash: byte[], signatureFormat: DSASignatureFormat): byte[];
|
|
1986
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1987
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1988
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1989
|
-
signHash(hash: ReadOnlySpan_1<
|
|
1990
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
1991
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
1992
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
1961
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
|
|
1962
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
1963
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): int;
|
|
1964
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
1965
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1966
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1967
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
|
|
1993
1968
|
verifyHash(hash: byte[], signature: byte[]): boolean;
|
|
1994
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1995
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1969
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1970
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
1996
1971
|
verifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
|
|
1997
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
1972
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
|
|
1998
1973
|
}
|
|
1999
1974
|
|
|
2000
1975
|
|
|
@@ -2056,7 +2031,7 @@ export interface HashAlgorithm$instance {
|
|
|
2056
2031
|
initialize(): void;
|
|
2057
2032
|
transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
|
|
2058
2033
|
transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
|
|
2059
|
-
tryComputeHash(source: ReadOnlySpan_1<
|
|
2034
|
+
tryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2060
2035
|
}
|
|
2061
2036
|
|
|
2062
2037
|
|
|
@@ -2112,14 +2087,14 @@ export const HMACMD5: {
|
|
|
2112
2087
|
readonly hashSizeInBytes: int;
|
|
2113
2088
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2114
2089
|
hashData(key: byte[], source: Stream): byte[];
|
|
2115
|
-
hashData(key: ReadOnlySpan_1<
|
|
2116
|
-
hashData(key: ReadOnlySpan_1<
|
|
2117
|
-
hashData(key: ReadOnlySpan_1<
|
|
2118
|
-
hashData(key: ReadOnlySpan_1<
|
|
2090
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2091
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2092
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2093
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2119
2094
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2120
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2121
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2122
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2095
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2096
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2097
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2123
2098
|
};
|
|
2124
2099
|
|
|
2125
2100
|
|
|
@@ -2148,14 +2123,14 @@ export const HMACSHA1: {
|
|
|
2148
2123
|
readonly hashSizeInBytes: int;
|
|
2149
2124
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2150
2125
|
hashData(key: byte[], source: Stream): byte[];
|
|
2151
|
-
hashData(key: ReadOnlySpan_1<
|
|
2152
|
-
hashData(key: ReadOnlySpan_1<
|
|
2153
|
-
hashData(key: ReadOnlySpan_1<
|
|
2154
|
-
hashData(key: ReadOnlySpan_1<
|
|
2126
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2127
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2128
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2129
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2155
2130
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2156
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2157
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2158
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2131
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2132
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2133
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2159
2134
|
};
|
|
2160
2135
|
|
|
2161
2136
|
|
|
@@ -2183,14 +2158,14 @@ export const HMACSHA256: {
|
|
|
2183
2158
|
readonly hashSizeInBytes: int;
|
|
2184
2159
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2185
2160
|
hashData(key: byte[], source: Stream): byte[];
|
|
2186
|
-
hashData(key: ReadOnlySpan_1<
|
|
2187
|
-
hashData(key: ReadOnlySpan_1<
|
|
2188
|
-
hashData(key: ReadOnlySpan_1<
|
|
2189
|
-
hashData(key: ReadOnlySpan_1<
|
|
2161
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2162
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2163
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2164
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2190
2165
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2191
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2192
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2193
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2166
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2167
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2168
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2194
2169
|
};
|
|
2195
2170
|
|
|
2196
2171
|
|
|
@@ -2219,14 +2194,14 @@ export const HMACSHA3_256: {
|
|
|
2219
2194
|
readonly isSupported: boolean;
|
|
2220
2195
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2221
2196
|
hashData(key: byte[], source: Stream): byte[];
|
|
2222
|
-
hashData(key: ReadOnlySpan_1<
|
|
2223
|
-
hashData(key: ReadOnlySpan_1<
|
|
2224
|
-
hashData(key: ReadOnlySpan_1<
|
|
2225
|
-
hashData(key: ReadOnlySpan_1<
|
|
2197
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2198
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2199
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2200
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2226
2201
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2227
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2228
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2229
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2202
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2203
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2204
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2230
2205
|
};
|
|
2231
2206
|
|
|
2232
2207
|
|
|
@@ -2255,14 +2230,14 @@ export const HMACSHA3_384: {
|
|
|
2255
2230
|
readonly isSupported: boolean;
|
|
2256
2231
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2257
2232
|
hashData(key: byte[], source: Stream): byte[];
|
|
2258
|
-
hashData(key: ReadOnlySpan_1<
|
|
2259
|
-
hashData(key: ReadOnlySpan_1<
|
|
2260
|
-
hashData(key: ReadOnlySpan_1<
|
|
2261
|
-
hashData(key: ReadOnlySpan_1<
|
|
2233
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2234
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2235
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2236
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2262
2237
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2263
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2264
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2265
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2238
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2239
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2240
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2266
2241
|
};
|
|
2267
2242
|
|
|
2268
2243
|
|
|
@@ -2291,14 +2266,14 @@ export const HMACSHA3_512: {
|
|
|
2291
2266
|
readonly isSupported: boolean;
|
|
2292
2267
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2293
2268
|
hashData(key: byte[], source: Stream): byte[];
|
|
2294
|
-
hashData(key: ReadOnlySpan_1<
|
|
2295
|
-
hashData(key: ReadOnlySpan_1<
|
|
2296
|
-
hashData(key: ReadOnlySpan_1<
|
|
2297
|
-
hashData(key: ReadOnlySpan_1<
|
|
2269
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2270
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2271
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2272
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2298
2273
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2299
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2300
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2301
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2274
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2275
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2276
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2302
2277
|
};
|
|
2303
2278
|
|
|
2304
2279
|
|
|
@@ -2327,14 +2302,14 @@ export const HMACSHA384: {
|
|
|
2327
2302
|
readonly hashSizeInBytes: int;
|
|
2328
2303
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2329
2304
|
hashData(key: byte[], source: Stream): byte[];
|
|
2330
|
-
hashData(key: ReadOnlySpan_1<
|
|
2331
|
-
hashData(key: ReadOnlySpan_1<
|
|
2332
|
-
hashData(key: ReadOnlySpan_1<
|
|
2333
|
-
hashData(key: ReadOnlySpan_1<
|
|
2305
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2306
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2307
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2308
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2334
2309
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2335
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2336
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2337
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2310
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2311
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2312
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2338
2313
|
};
|
|
2339
2314
|
|
|
2340
2315
|
|
|
@@ -2363,14 +2338,14 @@ export const HMACSHA512: {
|
|
|
2363
2338
|
readonly hashSizeInBytes: int;
|
|
2364
2339
|
hashData(key: byte[], source: byte[]): byte[];
|
|
2365
2340
|
hashData(key: byte[], source: Stream): byte[];
|
|
2366
|
-
hashData(key: ReadOnlySpan_1<
|
|
2367
|
-
hashData(key: ReadOnlySpan_1<
|
|
2368
|
-
hashData(key: ReadOnlySpan_1<
|
|
2369
|
-
hashData(key: ReadOnlySpan_1<
|
|
2341
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2342
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
2343
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2344
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2370
2345
|
hashDataAsync(key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2371
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2372
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2373
|
-
tryHashData(key: ReadOnlySpan_1<
|
|
2346
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2347
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2348
|
+
tryHashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2374
2349
|
};
|
|
2375
2350
|
|
|
2376
2351
|
|
|
@@ -2387,15 +2362,15 @@ export interface IncrementalHash$instance {
|
|
|
2387
2362
|
readonly hashLengthInBytes: int;
|
|
2388
2363
|
appendData(data: byte[]): void;
|
|
2389
2364
|
appendData(data: byte[], offset: int, count: int): void;
|
|
2390
|
-
appendData(data: ReadOnlySpan_1<
|
|
2365
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2391
2366
|
clone(): IncrementalHash;
|
|
2392
2367
|
dispose(): void;
|
|
2393
2368
|
getCurrentHash(): byte[];
|
|
2394
|
-
getCurrentHash(destination: Span_1<
|
|
2369
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): int;
|
|
2395
2370
|
getHashAndReset(): byte[];
|
|
2396
|
-
getHashAndReset(destination: Span_1<
|
|
2397
|
-
tryGetCurrentHash(destination: Span_1<
|
|
2398
|
-
tryGetHashAndReset(destination: Span_1<
|
|
2371
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): int;
|
|
2372
|
+
tryGetCurrentHash(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2373
|
+
tryGetHashAndReset(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2399
2374
|
}
|
|
2400
2375
|
|
|
2401
2376
|
|
|
@@ -2403,7 +2378,7 @@ export const IncrementalHash: {
|
|
|
2403
2378
|
new(): IncrementalHash$instance;
|
|
2404
2379
|
createHash(hashAlgorithm: HashAlgorithmName): IncrementalHash;
|
|
2405
2380
|
createHMAC(hashAlgorithm: HashAlgorithmName, key: byte[]): IncrementalHash;
|
|
2406
|
-
createHMAC(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
2381
|
+
createHMAC(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>): IncrementalHash;
|
|
2407
2382
|
};
|
|
2408
2383
|
|
|
2409
2384
|
|
|
@@ -2452,29 +2427,29 @@ export type KeySizes = KeySizes$instance;
|
|
|
2452
2427
|
|
|
2453
2428
|
export interface Kmac128$instance {
|
|
2454
2429
|
appendData(data: byte[]): void;
|
|
2455
|
-
appendData(data: ReadOnlySpan_1<
|
|
2430
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2456
2431
|
clone(): Kmac128;
|
|
2457
2432
|
dispose(): void;
|
|
2458
2433
|
getCurrentHash(outputLength: int): byte[];
|
|
2459
|
-
getCurrentHash(destination: Span_1<
|
|
2434
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
2460
2435
|
getHashAndReset(outputLength: int): byte[];
|
|
2461
|
-
getHashAndReset(destination: Span_1<
|
|
2436
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
2462
2437
|
}
|
|
2463
2438
|
|
|
2464
2439
|
|
|
2465
2440
|
export const Kmac128: {
|
|
2466
2441
|
new(key: byte[], customizationString: byte[]): Kmac128$instance;
|
|
2467
|
-
new(key: ReadOnlySpan_1<
|
|
2442
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128$instance;
|
|
2468
2443
|
readonly isSupported: boolean;
|
|
2469
2444
|
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2470
2445
|
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2471
|
-
hashData(key: ReadOnlySpan_1<
|
|
2472
|
-
hashData(key: ReadOnlySpan_1<
|
|
2473
|
-
hashData(key: ReadOnlySpan_1<
|
|
2474
|
-
hashData(key: ReadOnlySpan_1<
|
|
2446
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2447
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2448
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
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;
|
|
2475
2450
|
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2476
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2477
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2451
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
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;
|
|
2478
2453
|
};
|
|
2479
2454
|
|
|
2480
2455
|
|
|
@@ -2489,29 +2464,29 @@ export type Kmac128 = Kmac128$instance & __Kmac128$views;
|
|
|
2489
2464
|
|
|
2490
2465
|
export interface Kmac256$instance {
|
|
2491
2466
|
appendData(data: byte[]): void;
|
|
2492
|
-
appendData(data: ReadOnlySpan_1<
|
|
2467
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2493
2468
|
clone(): Kmac256;
|
|
2494
2469
|
dispose(): void;
|
|
2495
2470
|
getCurrentHash(outputLength: int): byte[];
|
|
2496
|
-
getCurrentHash(destination: Span_1<
|
|
2471
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
2497
2472
|
getHashAndReset(outputLength: int): byte[];
|
|
2498
|
-
getHashAndReset(destination: Span_1<
|
|
2473
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
2499
2474
|
}
|
|
2500
2475
|
|
|
2501
2476
|
|
|
2502
2477
|
export const Kmac256: {
|
|
2503
2478
|
new(key: byte[], customizationString: byte[]): Kmac256$instance;
|
|
2504
|
-
new(key: ReadOnlySpan_1<
|
|
2479
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256$instance;
|
|
2505
2480
|
readonly isSupported: boolean;
|
|
2506
2481
|
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2507
2482
|
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2508
|
-
hashData(key: ReadOnlySpan_1<
|
|
2509
|
-
hashData(key: ReadOnlySpan_1<
|
|
2510
|
-
hashData(key: ReadOnlySpan_1<
|
|
2511
|
-
hashData(key: ReadOnlySpan_1<
|
|
2483
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2484
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2485
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
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;
|
|
2512
2487
|
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2513
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2514
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2488
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
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;
|
|
2515
2490
|
};
|
|
2516
2491
|
|
|
2517
2492
|
|
|
@@ -2526,29 +2501,29 @@ export type Kmac256 = Kmac256$instance & __Kmac256$views;
|
|
|
2526
2501
|
|
|
2527
2502
|
export interface KmacXof128$instance {
|
|
2528
2503
|
appendData(data: byte[]): void;
|
|
2529
|
-
appendData(data: ReadOnlySpan_1<
|
|
2504
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2530
2505
|
clone(): KmacXof128;
|
|
2531
2506
|
dispose(): void;
|
|
2532
2507
|
getCurrentHash(outputLength: int): byte[];
|
|
2533
|
-
getCurrentHash(destination: Span_1<
|
|
2508
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
2534
2509
|
getHashAndReset(outputLength: int): byte[];
|
|
2535
|
-
getHashAndReset(destination: Span_1<
|
|
2510
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
2536
2511
|
}
|
|
2537
2512
|
|
|
2538
2513
|
|
|
2539
2514
|
export const KmacXof128: {
|
|
2540
2515
|
new(key: byte[], customizationString: byte[]): KmacXof128$instance;
|
|
2541
|
-
new(key: ReadOnlySpan_1<
|
|
2516
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128$instance;
|
|
2542
2517
|
readonly isSupported: boolean;
|
|
2543
2518
|
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2544
2519
|
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2545
|
-
hashData(key: ReadOnlySpan_1<
|
|
2546
|
-
hashData(key: ReadOnlySpan_1<
|
|
2547
|
-
hashData(key: ReadOnlySpan_1<
|
|
2548
|
-
hashData(key: ReadOnlySpan_1<
|
|
2520
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2521
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2522
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
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;
|
|
2549
2524
|
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2550
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2551
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2525
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
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;
|
|
2552
2527
|
};
|
|
2553
2528
|
|
|
2554
2529
|
|
|
@@ -2563,29 +2538,29 @@ export type KmacXof128 = KmacXof128$instance & __KmacXof128$views;
|
|
|
2563
2538
|
|
|
2564
2539
|
export interface KmacXof256$instance {
|
|
2565
2540
|
appendData(data: byte[]): void;
|
|
2566
|
-
appendData(data: ReadOnlySpan_1<
|
|
2541
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2567
2542
|
clone(): KmacXof256;
|
|
2568
2543
|
dispose(): void;
|
|
2569
2544
|
getCurrentHash(outputLength: int): byte[];
|
|
2570
|
-
getCurrentHash(destination: Span_1<
|
|
2545
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
2571
2546
|
getHashAndReset(outputLength: int): byte[];
|
|
2572
|
-
getHashAndReset(destination: Span_1<
|
|
2547
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
2573
2548
|
}
|
|
2574
2549
|
|
|
2575
2550
|
|
|
2576
2551
|
export const KmacXof256: {
|
|
2577
2552
|
new(key: byte[], customizationString: byte[]): KmacXof256$instance;
|
|
2578
|
-
new(key: ReadOnlySpan_1<
|
|
2553
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256$instance;
|
|
2579
2554
|
readonly isSupported: boolean;
|
|
2580
2555
|
hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
|
|
2581
2556
|
hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
|
|
2582
|
-
hashData(key: ReadOnlySpan_1<
|
|
2583
|
-
hashData(key: ReadOnlySpan_1<
|
|
2584
|
-
hashData(key: ReadOnlySpan_1<
|
|
2585
|
-
hashData(key: ReadOnlySpan_1<
|
|
2557
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2558
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2559
|
+
hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
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;
|
|
2586
2561
|
hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2587
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2588
|
-
hashDataAsync(key: ReadOnlyMemory_1<
|
|
2562
|
+
hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
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;
|
|
2589
2564
|
};
|
|
2590
2565
|
|
|
2591
2566
|
|
|
@@ -2620,13 +2595,13 @@ export const MD5: {
|
|
|
2620
2595
|
readonly hashSizeInBits: int;
|
|
2621
2596
|
readonly hashSizeInBytes: int;
|
|
2622
2597
|
hashData(source: byte[]): byte[];
|
|
2623
|
-
hashData(source: Stream, destination: Span_1<
|
|
2598
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
2624
2599
|
hashData(source: Stream): byte[];
|
|
2625
|
-
hashData(source: ReadOnlySpan_1<
|
|
2626
|
-
hashData(source: ReadOnlySpan_1<
|
|
2627
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
2600
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
2601
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2602
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
2628
2603
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
2629
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
2604
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2630
2605
|
};
|
|
2631
2606
|
|
|
2632
2607
|
|
|
@@ -2662,39 +2637,39 @@ export type MD5CryptoServiceProvider = MD5CryptoServiceProvider$instance & __MD5
|
|
|
2662
2637
|
export interface MLDsa$instance {
|
|
2663
2638
|
readonly algorithm: MLDsaAlgorithm;
|
|
2664
2639
|
dispose(): void;
|
|
2665
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2666
|
-
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2640
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
2641
|
+
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
2667
2642
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
2668
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
2669
|
-
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
2643
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
|
|
2644
|
+
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): string;
|
|
2670
2645
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
2671
2646
|
exportMLDsaPrivateKey(): byte[];
|
|
2672
|
-
exportMLDsaPrivateKey(destination: Span_1<
|
|
2647
|
+
exportMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>): void;
|
|
2673
2648
|
exportMLDsaPrivateSeed(): byte[];
|
|
2674
|
-
exportMLDsaPrivateSeed(destination: Span_1<
|
|
2649
|
+
exportMLDsaPrivateSeed(destination: Span_1<System_Internal.Byte>): void;
|
|
2675
2650
|
exportMLDsaPublicKey(): byte[];
|
|
2676
|
-
exportMLDsaPublicKey(destination: Span_1<
|
|
2651
|
+
exportMLDsaPublicKey(destination: Span_1<System_Internal.Byte>): void;
|
|
2677
2652
|
exportPkcs8PrivateKey(): byte[];
|
|
2678
2653
|
exportPkcs8PrivateKeyPem(): string;
|
|
2679
2654
|
exportSubjectPublicKeyInfo(): byte[];
|
|
2680
2655
|
exportSubjectPublicKeyInfoPem(): string;
|
|
2681
|
-
signData(data: ReadOnlySpan_1<
|
|
2656
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2682
2657
|
signData(data: byte[], context?: byte[]): byte[];
|
|
2683
2658
|
signMu(externalMu: byte[]): byte[];
|
|
2684
|
-
signMu(externalMu: ReadOnlySpan_1<
|
|
2685
|
-
signMu(externalMu: ReadOnlySpan_1<
|
|
2686
|
-
signPreHash(hash: ReadOnlySpan_1<
|
|
2659
|
+
signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
2660
|
+
signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
2661
|
+
signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
2687
2662
|
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
2688
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2689
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2690
|
-
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<
|
|
2691
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
2692
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
2693
|
-
verifyData(data: ReadOnlySpan_1<
|
|
2663
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2664
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2665
|
+
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2666
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2667
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2668
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2694
2669
|
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
2695
2670
|
verifyMu(externalMu: byte[], signature: byte[]): boolean;
|
|
2696
|
-
verifyMu(externalMu: ReadOnlySpan_1<
|
|
2697
|
-
verifyPreHash(hash: ReadOnlySpan_1<
|
|
2671
|
+
verifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2672
|
+
verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
2698
2673
|
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
2699
2674
|
}
|
|
2700
2675
|
|
|
@@ -2702,25 +2677,25 @@ export interface MLDsa$instance {
|
|
|
2702
2677
|
export const MLDsa: {
|
|
2703
2678
|
readonly isSupported: boolean;
|
|
2704
2679
|
generateKey(algorithm: MLDsaAlgorithm): MLDsa;
|
|
2705
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2706
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2680
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2681
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2707
2682
|
importEncryptedPkcs8PrivateKey(password: string, source: byte[]): MLDsa;
|
|
2708
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
2709
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
2683
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2684
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): MLDsa;
|
|
2710
2685
|
importFromEncryptedPem(source: string, passwordBytes: byte[]): MLDsa;
|
|
2711
2686
|
importFromEncryptedPem(source: string, password: string): MLDsa;
|
|
2712
|
-
importFromPem(source: ReadOnlySpan_1<
|
|
2687
|
+
importFromPem(source: ReadOnlySpan_1<System_Internal.Char>): MLDsa;
|
|
2713
2688
|
importFromPem(source: string): MLDsa;
|
|
2714
2689
|
importMLDsaPrivateKey(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2715
|
-
importMLDsaPrivateKey(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<
|
|
2690
|
+
importMLDsaPrivateKey(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2716
2691
|
importMLDsaPrivateSeed(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2717
|
-
importMLDsaPrivateSeed(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<
|
|
2692
|
+
importMLDsaPrivateSeed(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2718
2693
|
importMLDsaPublicKey(algorithm: MLDsaAlgorithm, source: byte[]): MLDsa;
|
|
2719
|
-
importMLDsaPublicKey(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<
|
|
2694
|
+
importMLDsaPublicKey(algorithm: MLDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2720
2695
|
importPkcs8PrivateKey(source: byte[]): MLDsa;
|
|
2721
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
2696
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2722
2697
|
importSubjectPublicKeyInfo(source: byte[]): MLDsa;
|
|
2723
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
2698
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
|
|
2724
2699
|
};
|
|
2725
2700
|
|
|
2726
2701
|
|
|
@@ -2803,32 +2778,32 @@ export type MLDsaOpenSsl = MLDsaOpenSsl$instance & __MLDsaOpenSsl$views;
|
|
|
2803
2778
|
|
|
2804
2779
|
export interface MLKem$instance {
|
|
2805
2780
|
readonly algorithm: MLKemAlgorithm;
|
|
2806
|
-
decapsulate(ciphertext: ReadOnlySpan_1<
|
|
2781
|
+
decapsulate(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
|
|
2807
2782
|
decapsulate(ciphertext: byte[]): byte[];
|
|
2808
2783
|
dispose(): void;
|
|
2809
|
-
encapsulate(ciphertext: Span_1<
|
|
2810
|
-
encapsulate(ciphertext:
|
|
2811
|
-
exportDecapsulationKey(destination: Span_1<
|
|
2784
|
+
encapsulate(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
|
|
2785
|
+
encapsulate(ciphertext: byte[], sharedSecret: byte[]): void;
|
|
2786
|
+
exportDecapsulationKey(destination: Span_1<System_Internal.Byte>): void;
|
|
2812
2787
|
exportDecapsulationKey(): byte[];
|
|
2813
|
-
exportEncapsulationKey(destination: Span_1<
|
|
2788
|
+
exportEncapsulationKey(destination: Span_1<System_Internal.Byte>): void;
|
|
2814
2789
|
exportEncapsulationKey(): byte[];
|
|
2815
|
-
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2816
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2790
|
+
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
2791
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
2817
2792
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
2818
|
-
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
2819
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
2793
|
+
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): string;
|
|
2794
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
|
|
2820
2795
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
2821
2796
|
exportPkcs8PrivateKey(): byte[];
|
|
2822
2797
|
exportPkcs8PrivateKeyPem(): string;
|
|
2823
|
-
exportPrivateSeed(destination: Span_1<
|
|
2798
|
+
exportPrivateSeed(destination: Span_1<System_Internal.Byte>): void;
|
|
2824
2799
|
exportPrivateSeed(): byte[];
|
|
2825
2800
|
exportSubjectPublicKeyInfo(): byte[];
|
|
2826
2801
|
exportSubjectPublicKeyInfoPem(): string;
|
|
2827
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2828
|
-
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<
|
|
2829
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2830
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
2831
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
2802
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2803
|
+
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2804
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2805
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2806
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
2832
2807
|
}
|
|
2833
2808
|
|
|
2834
2809
|
|
|
@@ -2836,24 +2811,24 @@ export const MLKem: {
|
|
|
2836
2811
|
readonly isSupported: boolean;
|
|
2837
2812
|
generateKey(algorithm: MLKemAlgorithm): MLKem;
|
|
2838
2813
|
importDecapsulationKey(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2839
|
-
importDecapsulationKey(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<
|
|
2814
|
+
importDecapsulationKey(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2840
2815
|
importEncapsulationKey(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2841
|
-
importEncapsulationKey(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<
|
|
2842
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
2843
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
2816
|
+
importEncapsulationKey(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2817
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2818
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2844
2819
|
importEncryptedPkcs8PrivateKey(password: string, source: byte[]): MLKem;
|
|
2845
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
2846
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
2820
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2821
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): MLKem;
|
|
2847
2822
|
importFromEncryptedPem(source: string, passwordBytes: byte[]): MLKem;
|
|
2848
2823
|
importFromEncryptedPem(source: string, password: string): MLKem;
|
|
2849
|
-
importFromPem(source: ReadOnlySpan_1<
|
|
2824
|
+
importFromPem(source: ReadOnlySpan_1<System_Internal.Char>): MLKem;
|
|
2850
2825
|
importFromPem(source: string): MLKem;
|
|
2851
2826
|
importPkcs8PrivateKey(source: byte[]): MLKem;
|
|
2852
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
2827
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2853
2828
|
importPrivateSeed(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
|
|
2854
|
-
importPrivateSeed(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<
|
|
2829
|
+
importPrivateSeed(algorithm: MLKemAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2855
2830
|
importSubjectPublicKeyInfo(source: byte[]): MLKem;
|
|
2856
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
2831
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>): MLKem;
|
|
2857
2832
|
};
|
|
2858
2833
|
|
|
2859
2834
|
|
|
@@ -3057,24 +3032,24 @@ export interface RandomNumberGenerator$instance {
|
|
|
3057
3032
|
dispose(): void;
|
|
3058
3033
|
getBytes(data: byte[]): void;
|
|
3059
3034
|
getBytes(data: byte[], offset: int, count: int): void;
|
|
3060
|
-
getBytes(data: Span_1<
|
|
3035
|
+
getBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3061
3036
|
getNonZeroBytes(data: byte[]): void;
|
|
3062
|
-
getNonZeroBytes(data: Span_1<
|
|
3037
|
+
getNonZeroBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3063
3038
|
}
|
|
3064
3039
|
|
|
3065
3040
|
|
|
3066
3041
|
export const RandomNumberGenerator: {
|
|
3067
3042
|
create(): RandomNumberGenerator;
|
|
3068
3043
|
create(rngName: string): RandomNumberGenerator;
|
|
3069
|
-
fill(data: Span_1<
|
|
3044
|
+
fill(data: Span_1<System_Internal.Byte>): void;
|
|
3070
3045
|
getBytes(count: int): byte[];
|
|
3071
3046
|
getHexString(stringLength: int, lowercase?: boolean): string;
|
|
3072
|
-
getHexString(destination: Span_1<
|
|
3047
|
+
getHexString(destination: Span_1<System_Internal.Char>, lowercase?: boolean): void;
|
|
3073
3048
|
getInt32(fromInclusive: int, toExclusive: int): int;
|
|
3074
3049
|
getInt32(toExclusive: int): int;
|
|
3075
3050
|
getItems<T>(choices: ReadOnlySpan_1<T>, destination: Span_1<T>): void;
|
|
3076
3051
|
getItems<T>(choices: ReadOnlySpan_1<T>, length: int): T[];
|
|
3077
|
-
getString(choices: ReadOnlySpan_1<
|
|
3052
|
+
getString(choices: ReadOnlySpan_1<System_Internal.Char>, length: int): string;
|
|
3078
3053
|
shuffle<T>(values: Span_1<T>): void;
|
|
3079
3054
|
};
|
|
3080
3055
|
|
|
@@ -3161,10 +3136,10 @@ export const Rfc2898DeriveBytes: {
|
|
|
3161
3136
|
new(password: string, saltSize: int, iterations: int): Rfc2898DeriveBytes$instance;
|
|
3162
3137
|
new(password: string, saltSize: int, iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes$instance;
|
|
3163
3138
|
pbkdf2(password: byte[], salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
3164
|
-
pbkdf2(password: ReadOnlySpan_1<
|
|
3165
|
-
pbkdf2(password: ReadOnlySpan_1<
|
|
3166
|
-
pbkdf2(password: ReadOnlySpan_1<
|
|
3167
|
-
pbkdf2(password: ReadOnlySpan_1<
|
|
3139
|
+
pbkdf2(password: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
3140
|
+
pbkdf2(password: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName): void;
|
|
3141
|
+
pbkdf2(password: ReadOnlySpan_1<System_Internal.Char>, salt: ReadOnlySpan_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
3142
|
+
pbkdf2(password: ReadOnlySpan_1<System_Internal.Char>, salt: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName): void;
|
|
3168
3143
|
pbkdf2(password: string, salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
|
|
3169
3144
|
};
|
|
3170
3145
|
|
|
@@ -3227,11 +3202,11 @@ export interface RNGCryptoServiceProvider$instance extends RandomNumberGenerator
|
|
|
3227
3202
|
dispose(): void;
|
|
3228
3203
|
getBytes(data: byte[]): void;
|
|
3229
3204
|
getBytes(data: byte[], offset: int, count: int): void;
|
|
3230
|
-
getBytes(data: Span_1<
|
|
3231
|
-
getBytes(data: Span_1<
|
|
3205
|
+
getBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3206
|
+
getBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3232
3207
|
getNonZeroBytes(data: byte[]): void;
|
|
3233
|
-
getNonZeroBytes(data: Span_1<
|
|
3234
|
-
getNonZeroBytes(data: Span_1<
|
|
3208
|
+
getNonZeroBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3209
|
+
getNonZeroBytes(data: Span_1<System_Internal.Byte>): void;
|
|
3235
3210
|
}
|
|
3236
3211
|
|
|
3237
3212
|
|
|
@@ -3254,13 +3229,13 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
3254
3229
|
readonly keyExchangeAlgorithm: string;
|
|
3255
3230
|
readonly signatureAlgorithm: string;
|
|
3256
3231
|
decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3257
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3258
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3232
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3233
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3259
3234
|
decryptValue(rgb: byte[]): byte[];
|
|
3260
3235
|
dispose(): void;
|
|
3261
3236
|
encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3262
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3263
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3237
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3238
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3264
3239
|
encryptValue(rgb: byte[]): byte[];
|
|
3265
3240
|
exportParameters(includePrivateParameters: boolean): RSAParameters;
|
|
3266
3241
|
exportRSAPrivateKey(): byte[];
|
|
@@ -3269,51 +3244,51 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
|
|
|
3269
3244
|
exportRSAPublicKeyPem(): string;
|
|
3270
3245
|
fromXmlString(xmlString: string): void;
|
|
3271
3246
|
getMaxOutputSize(): int;
|
|
3272
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3273
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
3274
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3275
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
3276
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
3277
|
-
importFromEncryptedPem(input: ReadOnlySpan_1<
|
|
3278
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
3279
|
-
importFromPem(input: ReadOnlySpan_1<
|
|
3247
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3248
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3249
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3250
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
3251
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
3252
|
+
importFromEncryptedPem(input: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
3253
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
3254
|
+
importFromPem(input: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
3280
3255
|
importParameters(parameters: RSAParameters): void;
|
|
3281
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
3282
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
3283
|
-
importRSAPrivateKey(source: ReadOnlySpan_1<
|
|
3284
|
-
importRSAPublicKey(source: ReadOnlySpan_1<
|
|
3285
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
3286
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
3256
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3257
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3258
|
+
importRSAPrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3259
|
+
importRSAPublicKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3260
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3261
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3287
3262
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3288
3263
|
signData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3289
3264
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3290
|
-
signData(data: ReadOnlySpan_1<
|
|
3291
|
-
signData(data: ReadOnlySpan_1<
|
|
3265
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3266
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
|
|
3292
3267
|
signHash(hash: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3293
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3294
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3268
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3269
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
|
|
3295
3270
|
toXmlString(includePrivateParameters: boolean): string;
|
|
3296
|
-
tryDecrypt(data: ReadOnlySpan_1<
|
|
3297
|
-
tryEncrypt(data: ReadOnlySpan_1<
|
|
3298
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
3299
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3300
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3301
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
3302
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
3303
|
-
tryExportRSAPrivateKey(destination: Span_1<
|
|
3304
|
-
tryExportRSAPrivateKeyPem(destination: Span_1<
|
|
3305
|
-
tryExportRSAPublicKey(destination: Span_1<
|
|
3306
|
-
tryExportRSAPublicKeyPem(destination: Span_1<
|
|
3307
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
3308
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
3309
|
-
trySignData(data: ReadOnlySpan_1<
|
|
3310
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
3271
|
+
tryDecrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3272
|
+
tryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3273
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3274
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3275
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3276
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3277
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3278
|
+
tryExportRSAPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3279
|
+
tryExportRSAPrivateKeyPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
3280
|
+
tryExportRSAPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3281
|
+
tryExportRSAPublicKeyPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
3282
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3283
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3284
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3285
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3311
3286
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3312
3287
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3313
3288
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3314
|
-
verifyData(data: ReadOnlySpan_1<
|
|
3289
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3315
3290
|
verifyHash(hash: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3316
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
3291
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3317
3292
|
}
|
|
3318
3293
|
|
|
3319
3294
|
|
|
@@ -3361,46 +3336,46 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance {
|
|
|
3361
3336
|
readonly publicOnly: boolean;
|
|
3362
3337
|
readonly signatureAlgorithm: string;
|
|
3363
3338
|
decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3364
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3365
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3339
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3340
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3366
3341
|
dispose(): void;
|
|
3367
3342
|
encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3368
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3369
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3343
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3344
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3370
3345
|
exportCspBlob(includePrivateParameters: boolean): byte[];
|
|
3371
3346
|
exportParameters(includePrivateParameters: boolean): RSAParameters;
|
|
3372
3347
|
fromXmlString(xmlString: string): void;
|
|
3373
3348
|
importCspBlob(keyBlob: byte[]): void;
|
|
3374
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3375
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
3376
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3349
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3350
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3351
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3377
3352
|
importParameters(parameters: RSAParameters): void;
|
|
3378
3353
|
signData(data: Stream, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3379
3354
|
signData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3380
3355
|
signData(inputStream: Stream, halg: unknown): byte[];
|
|
3381
3356
|
signData(data: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3382
|
-
signData(data: ReadOnlySpan_1<
|
|
3383
|
-
signData(data: ReadOnlySpan_1<
|
|
3357
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3358
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
|
|
3384
3359
|
signHash(hash: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3385
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3386
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3360
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3361
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
|
|
3387
3362
|
toXmlString(includePrivateParameters: boolean): string;
|
|
3388
|
-
tryDecrypt(data: ReadOnlySpan_1<
|
|
3389
|
-
tryDecrypt(data: ReadOnlySpan_1<
|
|
3390
|
-
tryEncrypt(data: ReadOnlySpan_1<
|
|
3391
|
-
tryEncrypt(data: ReadOnlySpan_1<
|
|
3392
|
-
trySignData(data: ReadOnlySpan_1<
|
|
3393
|
-
trySignData(data: ReadOnlySpan_1<
|
|
3394
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
3395
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
3363
|
+
tryDecrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3364
|
+
tryDecrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3365
|
+
tryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3366
|
+
tryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3367
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3368
|
+
trySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3369
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3370
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3396
3371
|
verifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3397
|
-
verifyData(data: ReadOnlySpan_1<
|
|
3372
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3398
3373
|
verifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3399
3374
|
verifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3400
|
-
verifyData(data: ReadOnlySpan_1<
|
|
3375
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3401
3376
|
verifyHash(hash: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3402
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
3403
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
3377
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3378
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3404
3379
|
}
|
|
3405
3380
|
|
|
3406
3381
|
|
|
@@ -3494,50 +3469,50 @@ export interface RSAOpenSsl$instance extends RSA$instance {
|
|
|
3494
3469
|
keySize: int;
|
|
3495
3470
|
readonly legalKeySizes: KeySizes[];
|
|
3496
3471
|
decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3497
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3498
|
-
decrypt(data: ReadOnlySpan_1<
|
|
3472
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3473
|
+
decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3499
3474
|
dispose(): void;
|
|
3500
3475
|
duplicateKeyHandle(): SafeEvpPKeyHandle;
|
|
3501
3476
|
encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
|
|
3502
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3503
|
-
encrypt(data: ReadOnlySpan_1<
|
|
3477
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
|
|
3478
|
+
encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
|
|
3504
3479
|
exportParameters(includePrivateParameters: boolean): RSAParameters;
|
|
3505
3480
|
exportPkcs8PrivateKey(): byte[];
|
|
3506
3481
|
exportRSAPrivateKey(): byte[];
|
|
3507
3482
|
exportRSAPublicKey(): byte[];
|
|
3508
3483
|
exportSubjectPublicKeyInfo(): byte[];
|
|
3509
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3510
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
3511
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
3484
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3485
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3486
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3512
3487
|
importParameters(parameters: RSAParameters): void;
|
|
3513
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
3514
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
3515
|
-
importRSAPrivateKey(source: ReadOnlySpan_1<
|
|
3516
|
-
importRSAPrivateKey(source: ReadOnlySpan_1<
|
|
3517
|
-
importRSAPublicKey(source: ReadOnlySpan_1<
|
|
3518
|
-
importRSAPublicKey(source: ReadOnlySpan_1<
|
|
3519
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
3520
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
3488
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3489
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3490
|
+
importRSAPrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3491
|
+
importRSAPrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3492
|
+
importRSAPublicKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3493
|
+
importRSAPublicKey(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3494
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3495
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
|
|
3521
3496
|
signHash(hash: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3522
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3523
|
-
signHash(hash: ReadOnlySpan_1<
|
|
3524
|
-
tryDecrypt(data: ReadOnlySpan_1<
|
|
3525
|
-
tryDecrypt(data: ReadOnlySpan_1<
|
|
3526
|
-
tryEncrypt(data: ReadOnlySpan_1<
|
|
3527
|
-
tryEncrypt(data: ReadOnlySpan_1<
|
|
3528
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
3529
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
3530
|
-
tryExportRSAPrivateKey(destination: Span_1<
|
|
3531
|
-
tryExportRSAPrivateKey(destination: Span_1<
|
|
3532
|
-
tryExportRSAPublicKey(destination: Span_1<
|
|
3533
|
-
tryExportRSAPublicKey(destination: Span_1<
|
|
3534
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
3535
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
3536
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
3537
|
-
trySignHash(hash: ReadOnlySpan_1<
|
|
3497
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
|
|
3498
|
+
signHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
|
|
3499
|
+
tryDecrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3500
|
+
tryDecrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3501
|
+
tryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3502
|
+
tryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
|
|
3503
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3504
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3505
|
+
tryExportRSAPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3506
|
+
tryExportRSAPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3507
|
+
tryExportRSAPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3508
|
+
tryExportRSAPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3509
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3510
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3511
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3512
|
+
trySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
|
|
3538
3513
|
verifyHash(hash: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3539
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
3540
|
-
verifyHash(hash: ReadOnlySpan_1<
|
|
3514
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3515
|
+
verifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
|
|
3541
3516
|
}
|
|
3542
3517
|
|
|
3543
3518
|
|
|
@@ -3683,13 +3658,13 @@ export const SHA1: {
|
|
|
3683
3658
|
readonly hashSizeInBits: int;
|
|
3684
3659
|
readonly hashSizeInBytes: int;
|
|
3685
3660
|
hashData(source: byte[]): byte[];
|
|
3686
|
-
hashData(source: Stream, destination: Span_1<
|
|
3661
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3687
3662
|
hashData(source: Stream): byte[];
|
|
3688
|
-
hashData(source: ReadOnlySpan_1<
|
|
3689
|
-
hashData(source: ReadOnlySpan_1<
|
|
3690
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3663
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3664
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3665
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3691
3666
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3692
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3667
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3693
3668
|
};
|
|
3694
3669
|
|
|
3695
3670
|
|
|
@@ -3754,13 +3729,13 @@ export const SHA256: {
|
|
|
3754
3729
|
readonly hashSizeInBits: int;
|
|
3755
3730
|
readonly hashSizeInBytes: int;
|
|
3756
3731
|
hashData(source: byte[]): byte[];
|
|
3757
|
-
hashData(source: Stream, destination: Span_1<
|
|
3732
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3758
3733
|
hashData(source: Stream): byte[];
|
|
3759
|
-
hashData(source: ReadOnlySpan_1<
|
|
3760
|
-
hashData(source: ReadOnlySpan_1<
|
|
3761
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3734
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3735
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3736
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3762
3737
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3763
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3738
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3764
3739
|
};
|
|
3765
3740
|
|
|
3766
3741
|
|
|
@@ -3826,13 +3801,13 @@ export const SHA3_256: {
|
|
|
3826
3801
|
readonly hashSizeInBytes: int;
|
|
3827
3802
|
readonly isSupported: boolean;
|
|
3828
3803
|
hashData(source: byte[]): byte[];
|
|
3829
|
-
hashData(source: Stream, destination: Span_1<
|
|
3804
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3830
3805
|
hashData(source: Stream): byte[];
|
|
3831
|
-
hashData(source: ReadOnlySpan_1<
|
|
3832
|
-
hashData(source: ReadOnlySpan_1<
|
|
3833
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3806
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3807
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3808
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3834
3809
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3835
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3810
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3836
3811
|
};
|
|
3837
3812
|
|
|
3838
3813
|
|
|
@@ -3856,13 +3831,13 @@ export const SHA3_384: {
|
|
|
3856
3831
|
readonly hashSizeInBytes: int;
|
|
3857
3832
|
readonly isSupported: boolean;
|
|
3858
3833
|
hashData(source: byte[]): byte[];
|
|
3859
|
-
hashData(source: Stream, destination: Span_1<
|
|
3834
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3860
3835
|
hashData(source: Stream): byte[];
|
|
3861
|
-
hashData(source: ReadOnlySpan_1<
|
|
3862
|
-
hashData(source: ReadOnlySpan_1<
|
|
3863
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3836
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3837
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3838
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3864
3839
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3865
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3840
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3866
3841
|
};
|
|
3867
3842
|
|
|
3868
3843
|
|
|
@@ -3886,13 +3861,13 @@ export const SHA3_512: {
|
|
|
3886
3861
|
readonly hashSizeInBytes: int;
|
|
3887
3862
|
readonly isSupported: boolean;
|
|
3888
3863
|
hashData(source: byte[]): byte[];
|
|
3889
|
-
hashData(source: Stream, destination: Span_1<
|
|
3864
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3890
3865
|
hashData(source: Stream): byte[];
|
|
3891
|
-
hashData(source: ReadOnlySpan_1<
|
|
3892
|
-
hashData(source: ReadOnlySpan_1<
|
|
3893
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3866
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3867
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3868
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3894
3869
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3895
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3870
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3896
3871
|
};
|
|
3897
3872
|
|
|
3898
3873
|
|
|
@@ -3915,13 +3890,13 @@ export const SHA384: {
|
|
|
3915
3890
|
readonly hashSizeInBits: int;
|
|
3916
3891
|
readonly hashSizeInBytes: int;
|
|
3917
3892
|
hashData(source: byte[]): byte[];
|
|
3918
|
-
hashData(source: Stream, destination: Span_1<
|
|
3893
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3919
3894
|
hashData(source: Stream): byte[];
|
|
3920
|
-
hashData(source: ReadOnlySpan_1<
|
|
3921
|
-
hashData(source: ReadOnlySpan_1<
|
|
3922
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3895
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3896
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3897
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3923
3898
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3924
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3899
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3925
3900
|
};
|
|
3926
3901
|
|
|
3927
3902
|
|
|
@@ -3986,13 +3961,13 @@ export const SHA512: {
|
|
|
3986
3961
|
readonly hashSizeInBits: int;
|
|
3987
3962
|
readonly hashSizeInBytes: int;
|
|
3988
3963
|
hashData(source: byte[]): byte[];
|
|
3989
|
-
hashData(source: Stream, destination: Span_1<
|
|
3964
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
3990
3965
|
hashData(source: Stream): byte[];
|
|
3991
|
-
hashData(source: ReadOnlySpan_1<
|
|
3992
|
-
hashData(source: ReadOnlySpan_1<
|
|
3993
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
3966
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
3967
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
3968
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
3994
3969
|
hashDataAsync(source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
3995
|
-
tryHashData(source: ReadOnlySpan_1<
|
|
3970
|
+
tryHashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
3996
3971
|
};
|
|
3997
3972
|
|
|
3998
3973
|
|
|
@@ -4048,15 +4023,15 @@ export type SHA512Managed = SHA512Managed$instance & __SHA512Managed$views;
|
|
|
4048
4023
|
|
|
4049
4024
|
export interface Shake128$instance {
|
|
4050
4025
|
appendData(data: byte[]): void;
|
|
4051
|
-
appendData(data: ReadOnlySpan_1<
|
|
4026
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4052
4027
|
clone(): Shake128;
|
|
4053
4028
|
dispose(): void;
|
|
4054
4029
|
getCurrentHash(outputLength: int): byte[];
|
|
4055
|
-
getCurrentHash(destination: Span_1<
|
|
4030
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
4056
4031
|
getHashAndReset(outputLength: int): byte[];
|
|
4057
|
-
getHashAndReset(destination: Span_1<
|
|
4032
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
4058
4033
|
read(outputLength: int): byte[];
|
|
4059
|
-
read(destination: Span_1<
|
|
4034
|
+
read(destination: Span_1<System_Internal.Byte>): void;
|
|
4060
4035
|
reset(): void;
|
|
4061
4036
|
}
|
|
4062
4037
|
|
|
@@ -4066,11 +4041,11 @@ export const Shake128: {
|
|
|
4066
4041
|
readonly isSupported: boolean;
|
|
4067
4042
|
hashData(source: byte[], outputLength: int): byte[];
|
|
4068
4043
|
hashData(source: Stream, outputLength: int): byte[];
|
|
4069
|
-
hashData(source: Stream, destination: Span_1<
|
|
4070
|
-
hashData(source: ReadOnlySpan_1<
|
|
4071
|
-
hashData(source: ReadOnlySpan_1<
|
|
4044
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): void;
|
|
4045
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int): byte[];
|
|
4046
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
4072
4047
|
hashDataAsync(source: Stream, outputLength: int, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
4073
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
4048
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
4074
4049
|
};
|
|
4075
4050
|
|
|
4076
4051
|
|
|
@@ -4085,15 +4060,15 @@ export type Shake128 = Shake128$instance & __Shake128$views;
|
|
|
4085
4060
|
|
|
4086
4061
|
export interface Shake256$instance {
|
|
4087
4062
|
appendData(data: byte[]): void;
|
|
4088
|
-
appendData(data: ReadOnlySpan_1<
|
|
4063
|
+
appendData(data: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4089
4064
|
clone(): Shake256;
|
|
4090
4065
|
dispose(): void;
|
|
4091
4066
|
getCurrentHash(outputLength: int): byte[];
|
|
4092
|
-
getCurrentHash(destination: Span_1<
|
|
4067
|
+
getCurrentHash(destination: Span_1<System_Internal.Byte>): void;
|
|
4093
4068
|
getHashAndReset(outputLength: int): byte[];
|
|
4094
|
-
getHashAndReset(destination: Span_1<
|
|
4069
|
+
getHashAndReset(destination: Span_1<System_Internal.Byte>): void;
|
|
4095
4070
|
read(outputLength: int): byte[];
|
|
4096
|
-
read(destination: Span_1<
|
|
4071
|
+
read(destination: Span_1<System_Internal.Byte>): void;
|
|
4097
4072
|
reset(): void;
|
|
4098
4073
|
}
|
|
4099
4074
|
|
|
@@ -4103,11 +4078,11 @@ export const Shake256: {
|
|
|
4103
4078
|
readonly isSupported: boolean;
|
|
4104
4079
|
hashData(source: byte[], outputLength: int): byte[];
|
|
4105
4080
|
hashData(source: Stream, outputLength: int): byte[];
|
|
4106
|
-
hashData(source: Stream, destination: Span_1<
|
|
4107
|
-
hashData(source: ReadOnlySpan_1<
|
|
4108
|
-
hashData(source: ReadOnlySpan_1<
|
|
4081
|
+
hashData(source: Stream, destination: Span_1<System_Internal.Byte>): void;
|
|
4082
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int): byte[];
|
|
4083
|
+
hashData(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
4109
4084
|
hashDataAsync(source: Stream, outputLength: int, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
4110
|
-
hashDataAsync(source: Stream, destination: Memory_1<
|
|
4085
|
+
hashDataAsync(source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
4111
4086
|
};
|
|
4112
4087
|
|
|
4113
4088
|
|
|
@@ -4142,32 +4117,32 @@ export type SignatureDescription = SignatureDescription$instance;
|
|
|
4142
4117
|
export interface SlhDsa$instance {
|
|
4143
4118
|
readonly algorithm: SlhDsaAlgorithm;
|
|
4144
4119
|
dispose(): void;
|
|
4145
|
-
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
4146
|
-
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
4120
|
+
exportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
4121
|
+
exportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
4147
4122
|
exportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
|
|
4148
|
-
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<
|
|
4149
|
-
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<
|
|
4123
|
+
exportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
|
|
4124
|
+
exportEncryptedPkcs8PrivateKeyPem(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): string;
|
|
4150
4125
|
exportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
|
|
4151
4126
|
exportPkcs8PrivateKey(): byte[];
|
|
4152
4127
|
exportPkcs8PrivateKeyPem(): string;
|
|
4153
|
-
exportSlhDsaPrivateKey(destination: Span_1<
|
|
4128
|
+
exportSlhDsaPrivateKey(destination: Span_1<System_Internal.Byte>): void;
|
|
4154
4129
|
exportSlhDsaPrivateKey(): byte[];
|
|
4155
|
-
exportSlhDsaPublicKey(destination: Span_1<
|
|
4130
|
+
exportSlhDsaPublicKey(destination: Span_1<System_Internal.Byte>): void;
|
|
4156
4131
|
exportSlhDsaPublicKey(): byte[];
|
|
4157
4132
|
exportSubjectPublicKeyInfo(): byte[];
|
|
4158
4133
|
exportSubjectPublicKeyInfoPem(): string;
|
|
4159
|
-
signData(data: ReadOnlySpan_1<
|
|
4134
|
+
signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4160
4135
|
signData(data: byte[], context?: byte[]): byte[];
|
|
4161
|
-
signPreHash(hash: ReadOnlySpan_1<
|
|
4136
|
+
signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4162
4137
|
signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
|
|
4163
|
-
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
4164
|
-
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
4165
|
-
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<
|
|
4166
|
-
tryExportPkcs8PrivateKey(destination: Span_1<
|
|
4167
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
4168
|
-
verifyData(data: ReadOnlySpan_1<
|
|
4138
|
+
tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4139
|
+
tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4140
|
+
tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4141
|
+
tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4142
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4143
|
+
verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
4169
4144
|
verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
|
|
4170
|
-
verifyPreHash(hash: ReadOnlySpan_1<
|
|
4145
|
+
verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
4171
4146
|
verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
|
|
4172
4147
|
}
|
|
4173
4148
|
|
|
@@ -4175,23 +4150,23 @@ export interface SlhDsa$instance {
|
|
|
4175
4150
|
export const SlhDsa: {
|
|
4176
4151
|
readonly isSupported: boolean;
|
|
4177
4152
|
generateKey(algorithm: SlhDsaAlgorithm): SlhDsa;
|
|
4178
|
-
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<
|
|
4179
|
-
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<
|
|
4153
|
+
importEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4154
|
+
importEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4180
4155
|
importEncryptedPkcs8PrivateKey(password: string, source: byte[]): SlhDsa;
|
|
4181
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
4182
|
-
importFromEncryptedPem(source: ReadOnlySpan_1<
|
|
4156
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4157
|
+
importFromEncryptedPem(source: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): SlhDsa;
|
|
4183
4158
|
importFromEncryptedPem(source: string, passwordBytes: byte[]): SlhDsa;
|
|
4184
4159
|
importFromEncryptedPem(source: string, password: string): SlhDsa;
|
|
4185
|
-
importFromPem(source: ReadOnlySpan_1<
|
|
4160
|
+
importFromPem(source: ReadOnlySpan_1<System_Internal.Char>): SlhDsa;
|
|
4186
4161
|
importFromPem(source: string): SlhDsa;
|
|
4187
4162
|
importPkcs8PrivateKey(source: byte[]): SlhDsa;
|
|
4188
|
-
importPkcs8PrivateKey(source: ReadOnlySpan_1<
|
|
4163
|
+
importPkcs8PrivateKey(source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4189
4164
|
importSlhDsaPrivateKey(algorithm: SlhDsaAlgorithm, source: byte[]): SlhDsa;
|
|
4190
|
-
importSlhDsaPrivateKey(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<
|
|
4165
|
+
importSlhDsaPrivateKey(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4191
4166
|
importSlhDsaPublicKey(algorithm: SlhDsaAlgorithm, source: byte[]): SlhDsa;
|
|
4192
|
-
importSlhDsaPublicKey(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<
|
|
4167
|
+
importSlhDsaPublicKey(algorithm: SlhDsaAlgorithm, source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4193
4168
|
importSubjectPublicKeyInfo(source: byte[]): SlhDsa;
|
|
4194
|
-
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
4169
|
+
importSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
|
|
4195
4170
|
};
|
|
4196
4171
|
|
|
4197
4172
|
|
|
@@ -4281,24 +4256,24 @@ export type SlhDsaOpenSsl = SlhDsaOpenSsl$instance & __SlhDsaOpenSsl$views;
|
|
|
4281
4256
|
|
|
4282
4257
|
export interface SP800108HmacCounterKdf$instance {
|
|
4283
4258
|
deriveKey(label: byte[], context: byte[], derivedKeyLengthInBytes: int): byte[];
|
|
4284
|
-
deriveKey(label: ReadOnlySpan_1<
|
|
4285
|
-
deriveKey(label: ReadOnlySpan_1<
|
|
4286
|
-
deriveKey(label: ReadOnlySpan_1<
|
|
4287
|
-
deriveKey(label: ReadOnlySpan_1<
|
|
4259
|
+
deriveKey(label: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, derivedKeyLengthInBytes: int): byte[];
|
|
4260
|
+
deriveKey(label: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
4261
|
+
deriveKey(label: ReadOnlySpan_1<System_Internal.Char>, context: ReadOnlySpan_1<System_Internal.Char>, derivedKeyLengthInBytes: int): byte[];
|
|
4262
|
+
deriveKey(label: ReadOnlySpan_1<System_Internal.Char>, context: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Byte>): void;
|
|
4288
4263
|
deriveKey(label: string, context: string, derivedKeyLengthInBytes: int): byte[];
|
|
4289
4264
|
dispose(): void;
|
|
4290
4265
|
}
|
|
4291
4266
|
|
|
4292
4267
|
|
|
4293
4268
|
export const SP800108HmacCounterKdf: {
|
|
4294
|
-
new(key: ReadOnlySpan_1<
|
|
4269
|
+
new(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf$instance;
|
|
4295
4270
|
new(key: byte[], hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf$instance;
|
|
4296
4271
|
deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: byte[], context: byte[], derivedKeyLengthInBytes: int): byte[];
|
|
4297
4272
|
deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: string, context: string, derivedKeyLengthInBytes: int): byte[];
|
|
4298
|
-
deriveBytes(key: ReadOnlySpan_1<
|
|
4299
|
-
deriveBytes(key: ReadOnlySpan_1<
|
|
4300
|
-
deriveBytes(key: ReadOnlySpan_1<
|
|
4301
|
-
deriveBytes(key: ReadOnlySpan_1<
|
|
4273
|
+
deriveBytes(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, derivedKeyLengthInBytes: int): byte[];
|
|
4274
|
+
deriveBytes(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
|
|
4275
|
+
deriveBytes(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<System_Internal.Char>, context: ReadOnlySpan_1<System_Internal.Char>, derivedKeyLengthInBytes: int): byte[];
|
|
4276
|
+
deriveBytes(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<System_Internal.Char>, context: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Byte>): void;
|
|
4302
4277
|
};
|
|
4303
4278
|
|
|
4304
4279
|
|
|
@@ -4327,36 +4302,36 @@ export interface SymmetricAlgorithm$instance {
|
|
|
4327
4302
|
createEncryptor(): ICryptoTransform;
|
|
4328
4303
|
createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
|
|
4329
4304
|
decryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
|
|
4330
|
-
decryptCbc(ciphertext: ReadOnlySpan_1<
|
|
4331
|
-
decryptCbc(ciphertext: ReadOnlySpan_1<
|
|
4305
|
+
decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
|
|
4306
|
+
decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
|
|
4332
4307
|
decryptCfb(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode, feedbackSizeInBits?: int): byte[];
|
|
4333
|
-
decryptCfb(ciphertext: ReadOnlySpan_1<
|
|
4334
|
-
decryptCfb(ciphertext: ReadOnlySpan_1<
|
|
4308
|
+
decryptCfb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode, feedbackSizeInBits?: int): byte[];
|
|
4309
|
+
decryptCfb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode, feedbackSizeInBits?: int): int;
|
|
4335
4310
|
decryptEcb(ciphertext: byte[], paddingMode: PaddingMode): byte[];
|
|
4336
|
-
decryptEcb(ciphertext: ReadOnlySpan_1<
|
|
4337
|
-
decryptEcb(ciphertext: ReadOnlySpan_1<
|
|
4311
|
+
decryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, paddingMode: PaddingMode): byte[];
|
|
4312
|
+
decryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode): int;
|
|
4338
4313
|
dispose(): void;
|
|
4339
4314
|
encryptCbc(plaintext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
|
|
4340
|
-
encryptCbc(plaintext: ReadOnlySpan_1<
|
|
4341
|
-
encryptCbc(plaintext: ReadOnlySpan_1<
|
|
4315
|
+
encryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
|
|
4316
|
+
encryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
|
|
4342
4317
|
encryptCfb(plaintext: byte[], iv: byte[], paddingMode?: PaddingMode, feedbackSizeInBits?: int): byte[];
|
|
4343
|
-
encryptCfb(plaintext: ReadOnlySpan_1<
|
|
4344
|
-
encryptCfb(plaintext: ReadOnlySpan_1<
|
|
4318
|
+
encryptCfb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode, feedbackSizeInBits?: int): byte[];
|
|
4319
|
+
encryptCfb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode, feedbackSizeInBits?: int): int;
|
|
4345
4320
|
encryptEcb(plaintext: byte[], paddingMode: PaddingMode): byte[];
|
|
4346
|
-
encryptEcb(plaintext: ReadOnlySpan_1<
|
|
4347
|
-
encryptEcb(plaintext: ReadOnlySpan_1<
|
|
4321
|
+
encryptEcb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, paddingMode: PaddingMode): byte[];
|
|
4322
|
+
encryptEcb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode): int;
|
|
4348
4323
|
generateIV(): void;
|
|
4349
4324
|
generateKey(): void;
|
|
4350
4325
|
getCiphertextLengthCbc(plaintextLength: int, paddingMode?: PaddingMode): int;
|
|
4351
4326
|
getCiphertextLengthCfb(plaintextLength: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): int;
|
|
4352
4327
|
getCiphertextLengthEcb(plaintextLength: int, paddingMode: PaddingMode): int;
|
|
4353
|
-
setKey(key: ReadOnlySpan_1<
|
|
4354
|
-
tryDecryptCbc(ciphertext: ReadOnlySpan_1<
|
|
4355
|
-
tryDecryptCfb(ciphertext: ReadOnlySpan_1<
|
|
4356
|
-
tryDecryptEcb(ciphertext: ReadOnlySpan_1<
|
|
4357
|
-
tryEncryptCbc(plaintext: ReadOnlySpan_1<
|
|
4358
|
-
tryEncryptCfb(plaintext: ReadOnlySpan_1<
|
|
4359
|
-
tryEncryptEcb(plaintext: ReadOnlySpan_1<
|
|
4328
|
+
setKey(key: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4329
|
+
tryDecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode): boolean;
|
|
4330
|
+
tryDecryptCfb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): boolean;
|
|
4331
|
+
tryDecryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
|
|
4332
|
+
tryEncryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode): boolean;
|
|
4333
|
+
tryEncryptCfb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): boolean;
|
|
4334
|
+
tryEncryptEcb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
|
|
4360
4335
|
validKeySize(bitLength: int): boolean;
|
|
4361
4336
|
}
|
|
4362
4337
|
|
|
@@ -4478,26 +4453,26 @@ export type TripleDESCryptoServiceProvider = TripleDESCryptoServiceProvider$inst
|
|
|
4478
4453
|
|
|
4479
4454
|
|
|
4480
4455
|
export abstract class CryptographicOperations$instance {
|
|
4481
|
-
static fixedTimeEquals(left: ReadOnlySpan_1<
|
|
4456
|
+
static fixedTimeEquals(left: ReadOnlySpan_1<System_Internal.Byte>, right: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
4482
4457
|
static hashData(hashAlgorithm: HashAlgorithmName, source: byte[]): byte[];
|
|
4483
|
-
static hashData(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Span_1<
|
|
4458
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
4484
4459
|
static hashData(hashAlgorithm: HashAlgorithmName, source: Stream): byte[];
|
|
4485
|
-
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<
|
|
4486
|
-
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<
|
|
4487
|
-
static hashDataAsync(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Memory_1<
|
|
4460
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
4461
|
+
static hashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
4462
|
+
static hashDataAsync(hashAlgorithm: HashAlgorithmName, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
4488
4463
|
static hashDataAsync(hashAlgorithm: HashAlgorithmName, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
4489
4464
|
static hmacData(hashAlgorithm: HashAlgorithmName, key: byte[], source: byte[]): byte[];
|
|
4490
4465
|
static hmacData(hashAlgorithm: HashAlgorithmName, key: byte[], source: Stream): byte[];
|
|
4491
|
-
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
4492
|
-
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
4493
|
-
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
4494
|
-
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
4466
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>): int;
|
|
4467
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream): byte[];
|
|
4468
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
|
|
4469
|
+
static hmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
4495
4470
|
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: byte[], source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
4496
|
-
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<
|
|
4497
|
-
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<
|
|
4498
|
-
static tryHashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<
|
|
4499
|
-
static tryHmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<
|
|
4500
|
-
static zeroMemory(buffer: Span_1<
|
|
4471
|
+
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
4472
|
+
static hmacDataAsync(hashAlgorithm: HashAlgorithmName, key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
|
|
4473
|
+
static tryHashData(hashAlgorithm: HashAlgorithmName, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4474
|
+
static tryHmacData(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4475
|
+
static zeroMemory(buffer: Span_1<System_Internal.Byte>): void;
|
|
4501
4476
|
}
|
|
4502
4477
|
|
|
4503
4478
|
|
|
@@ -4528,27 +4503,27 @@ export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
|
|
|
4528
4503
|
|
|
4529
4504
|
export abstract class HKDF$instance {
|
|
4530
4505
|
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
|
|
4531
|
-
static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<
|
|
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;
|
|
4532
4507
|
static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
|
|
4533
|
-
static expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<
|
|
4508
|
+
static expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
4534
4509
|
static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
|
|
4535
|
-
static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<
|
|
4510
|
+
static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
|
|
4536
4511
|
}
|
|
4537
4512
|
|
|
4538
4513
|
|
|
4539
4514
|
export type HKDF = HKDF$instance;
|
|
4540
4515
|
|
|
4541
4516
|
export abstract class PemEncoding$instance {
|
|
4542
|
-
static find(pemData: ReadOnlySpan_1<
|
|
4543
|
-
static findUtf8(pemData: ReadOnlySpan_1<
|
|
4517
|
+
static find(pemData: ReadOnlySpan_1<System_Internal.Char>): PemFields;
|
|
4518
|
+
static findUtf8(pemData: ReadOnlySpan_1<System_Internal.Byte>): PemFields;
|
|
4544
4519
|
static getEncodedSize(labelLength: int, dataLength: int): int;
|
|
4545
|
-
static tryFind(pemData: ReadOnlySpan_1<
|
|
4546
|
-
static tryFindUtf8(pemData: ReadOnlySpan_1<
|
|
4547
|
-
static tryWrite(label: ReadOnlySpan_1<
|
|
4548
|
-
static tryWriteUtf8(utf8Label: ReadOnlySpan_1<
|
|
4549
|
-
static write(label: ReadOnlySpan_1<
|
|
4550
|
-
static writeString(label: ReadOnlySpan_1<
|
|
4551
|
-
static writeUtf8(utf8Label: ReadOnlySpan_1<
|
|
4520
|
+
static tryFind(pemData: ReadOnlySpan_1<System_Internal.Char>, fields: PemFields): boolean;
|
|
4521
|
+
static tryFindUtf8(pemData: ReadOnlySpan_1<System_Internal.Byte>, fields: PemFields): boolean;
|
|
4522
|
+
static tryWrite(label: ReadOnlySpan_1<System_Internal.Char>, data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
4523
|
+
static tryWriteUtf8(utf8Label: ReadOnlySpan_1<System_Internal.Byte>, data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
4524
|
+
static write(label: ReadOnlySpan_1<System_Internal.Char>, data: ReadOnlySpan_1<System_Internal.Byte>): char[];
|
|
4525
|
+
static writeString(label: ReadOnlySpan_1<System_Internal.Char>, data: ReadOnlySpan_1<System_Internal.Byte>): string;
|
|
4526
|
+
static writeUtf8(utf8Label: ReadOnlySpan_1<System_Internal.Byte>, data: ReadOnlySpan_1<System_Internal.Byte>): byte[];
|
|
4552
4527
|
}
|
|
4553
4528
|
|
|
4554
4529
|
|