/
AsymmetricSignatureProvider.xml
432 lines (432 loc) Β· 30.2 KB
/
AsymmetricSignatureProvider.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
<Type Name="AsymmetricSignatureProvider" FullName="Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider">
<TypeSignature Language="C#" Value="public class AsymmetricSignatureProvider : Microsoft.IdentityModel.Tokens.SignatureProvider" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AsymmetricSignatureProvider extends Microsoft.IdentityModel.Tokens.SignatureProvider" />
<TypeSignature Language="DocId" Value="T:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" />
<TypeSignature Language="VB.NET" Value="Public Class AsymmetricSignatureProvider
Inherits SignatureProvider" />
<TypeSignature Language="F#" Value="type AsymmetricSignatureProvider = class
 inherit SignatureProvider" />
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>6.27.0.0</AssemblyVersion>
<AssemblyVersion>6.28.1.0</AssemblyVersion>
<AssemblyVersion>6.29.0.0</AssemblyVersion>
<AssemblyVersion>6.30.0.0</AssemblyVersion>
<AssemblyVersion>6.30.1.0</AssemblyVersion>
<AssemblyVersion>6.31.0.0</AssemblyVersion>
<AssemblyVersion>6.32.0.0</AssemblyVersion>
<AssemblyVersion>6.32.1.0</AssemblyVersion>
<AssemblyVersion>6.32.2.0</AssemblyVersion>
<AssemblyVersion>6.32.3.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.2.0</AssemblyVersion>
<AssemblyVersion>7.0.3.0</AssemblyVersion>
<AssemblyVersion>7.2.0.0</AssemblyVersion>
<AssemblyVersion>7.3.1.0</AssemblyVersion>
<AssemblyVersion>7.4.0.0</AssemblyVersion>
<AssemblyVersion>7.4.1.0</AssemblyVersion>
<AssemblyVersion>7.5.0.0</AssemblyVersion>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.IdentityModel.Tokens.SignatureProvider</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Provides signature and verification operations for Asymmetric Algorithms using a <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AsymmetricSignatureProvider (Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (key As SecurityKey, algorithm As String)" />
<MemberSignature Language="F#" Value="new Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider : Microsoft.IdentityModel.Tokens.SecurityKey * string -> Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" Usage="new Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider (key, algorithm)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="key" Type="Microsoft.IdentityModel.Tokens.SecurityKey" />
<Parameter Name="algorithm" Type="System.String" />
</Parameters>
<Docs>
<param name="key">The <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> that will be used for signature operations.<see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /></param>
<param name="algorithm">The signature algorithm to apply.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" /> class used to create and verify signatures.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AsymmetricSignatureProvider (Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm, bool willCreateSignatures);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm, bool willCreateSignatures) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (key As SecurityKey, algorithm As String, willCreateSignatures As Boolean)" />
<MemberSignature Language="F#" Value="new Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider : Microsoft.IdentityModel.Tokens.SecurityKey * string * bool -> Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" Usage="new Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider (key, algorithm, willCreateSignatures)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="key" Type="Microsoft.IdentityModel.Tokens.SecurityKey" />
<Parameter Name="algorithm" Type="System.String" />
<Parameter Name="willCreateSignatures" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="key">The <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> that will be used for signature operations.</param>
<param name="algorithm">The signature algorithm to apply.</param>
<param name="willCreateSignatures">If this <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" /> is required to create signatures then set this to true.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider" /> class used to create and verify signatures.
</summary>
<remarks>To be added.</remarks>
<para>
Creating signatures requires that the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> has access to a private key.
Verifying signatures (the default), does not require access to the private key.
</para>
<exception cref="T:System.ArgumentNullException">
<paramref name="algorithm" />is null or empty.</exception>
<exception cref="T:System.InvalidOperationException">If the runtime is unable to create a suitable cryptographic provider.</exception>
<exception cref="T:System.NotSupportedException">If <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> and algorithm pair are not supported.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" />.KeySize is less than the size corresponding to the algorithm in <see cref="P:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForVerifyingMap" />. Note: this is always checked.
</exception>
</Docs>
</Member>
<Member MemberName="DefaultMinimumAsymmetricKeySizeInBitsForSigningMap">
<MemberSignature Language="C#" Value="public static readonly System.Collections.Generic.Dictionary<string,int> DefaultMinimumAsymmetricKeySizeInBitsForSigningMap;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Collections.Generic.Dictionary`2<string, int32> DefaultMinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberSignature Language="DocId" Value="F:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.DefaultMinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DefaultMinimumAsymmetricKeySizeInBitsForSigningMap As Dictionary(Of String, Integer) " />
<MemberSignature Language="F#" Value=" staticval mutable DefaultMinimumAsymmetricKeySizeInBitsForSigningMap : System.Collections.Generic.Dictionary<string, int>" Usage="Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.DefaultMinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.Dictionary<System.String,System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Mapping from algorithm to minimum <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey" />.KeySize when creating signatures.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap">
<MemberSignature Language="C#" Value="public static readonly System.Collections.Generic.Dictionary<string,int> DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Collections.Generic.Dictionary`2<string, int32> DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberSignature Language="DocId" Value="F:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap As Dictionary(Of String, Integer) " />
<MemberSignature Language="F#" Value=" staticval mutable DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap : System.Collections.Generic.Dictionary<string, int>" Usage="Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.Dictionary<System.String,System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Mapping from algorithm to minimum <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey" />.KeySize when verifying signatures.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Dispose(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Dispose (disposing As Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -> unit" Usage="asymmetricSignatureProvider.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">true, if called from Dispose(), false, if invoked inside a finalizer.</param>
<summary>
Calls to release managed resources.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetHashAlgorithmName">
<MemberSignature Language="C#" Value="protected virtual System.Security.Cryptography.HashAlgorithmName GetHashAlgorithmName (string algorithm);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance valuetype System.Security.Cryptography.HashAlgorithmName GetHashAlgorithmName(string algorithm) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.GetHashAlgorithmName(System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetHashAlgorithmName (algorithm As String) As HashAlgorithmName" />
<MemberSignature Language="F#" Value="abstract member GetHashAlgorithmName : string -> System.Security.Cryptography.HashAlgorithmName
override this.GetHashAlgorithmName : string -> System.Security.Cryptography.HashAlgorithmName" Usage="asymmetricSignatureProvider.GetHashAlgorithmName algorithm" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Cryptography.HashAlgorithmName</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="algorithm" Type="System.String" />
</Parameters>
<Docs>
<param name="algorithm">The SignatureAlgorithm in use.</param>
<summary>
Creating a Signature requires the use of a <see cref="T:System.Security.Cryptography.HashAlgorithm" />.
This method returns the <see cref="T:System.Security.Cryptography.HashAlgorithmName" />
that describes the <see cref="T:System.Security.Cryptography.HashAlgorithm" />to use when generating a Signature.
</summary>
<returns>The <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> to use.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">if <paramref name="algorithm" /> is null or whitespace.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">if <paramref name="algorithm" /> is not supported.</exception>
</Docs>
</Member>
<Member MemberName="MinimumAsymmetricKeySizeInBitsForSigningMap">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IReadOnlyDictionary<string,int> MinimumAsymmetricKeySizeInBitsForSigningMap { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IReadOnlyDictionary`2<string, int32> MinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberSignature Language="DocId" Value="P:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property MinimumAsymmetricKeySizeInBitsForSigningMap As IReadOnlyDictionary(Of String, Integer)" />
<MemberSignature Language="F#" Value="member this.MinimumAsymmetricKeySizeInBitsForSigningMap : System.Collections.Generic.IReadOnlyDictionary<string, int>" Usage="Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForSigningMap" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IReadOnlyDictionary<System.String,System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the mapping from algorithm to the minimum <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey" />.KeySize for creating signatures.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MinimumAsymmetricKeySizeInBitsForVerifyingMap">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IReadOnlyDictionary<string,int> MinimumAsymmetricKeySizeInBitsForVerifyingMap { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IReadOnlyDictionary`2<string, int32> MinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberSignature Language="DocId" Value="P:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property MinimumAsymmetricKeySizeInBitsForVerifyingMap As IReadOnlyDictionary(Of String, Integer)" />
<MemberSignature Language="F#" Value="member this.MinimumAsymmetricKeySizeInBitsForVerifyingMap : System.Collections.Generic.IReadOnlyDictionary<string, int>" Usage="Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForVerifyingMap" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IReadOnlyDictionary<System.String,System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the mapping from algorithm to the minimum <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey" />.KeySize for verifying signatures.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sign">
<MemberSignature Language="C#" Value="public override byte[] Sign (byte[] input);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance unsigned int8[] Sign(unsigned int8[] input) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Sign(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Sign (input As Byte()) As Byte()" />
<MemberSignature Language="F#" Value="override this.Sign : byte[] -> byte[]" Usage="asymmetricSignatureProvider.Sign input" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="input" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="input">The bytes to be signed.</param>
<summary>
Produces a signature over the 'input' using the <see cref="T:Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey" /> and algorithm passed to <see cref="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String,System.Boolean)" />.
</summary>
<returns>A signature over the input.</returns>
<remarks>Sign is thread safe.</remarks>
<exception cref="T:System.ArgumentNullException">if <paramref name="input" />.Length == 0.</exception>
<exception cref="T:System.ObjectDisposedException">If <see cref="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Dispose(System.Boolean)" /> has been called. </exception>
</Docs>
</Member>
<Member MemberName="Sign">
<MemberSignature Language="C#" Value="public override byte[] Sign (byte[] input, int offset, int count);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance unsigned int8[] Sign(unsigned int8[] input, int32 offset, int32 count) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Sign(System.Byte[],System.Int32,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Sign (input As Byte(), offset As Integer, count As Integer) As Byte()" />
<MemberSignature Language="F#" Value="override this.Sign : byte[] * int * int -> byte[]" Usage="asymmetricSignatureProvider.Sign (input, offset, count)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="input" Type="System.Byte[]" />
<Parameter Name="offset" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="input">To be added.</param>
<param name="offset">To be added.</param>
<param name="count">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="Sign">
<MemberSignature Language="C#" Value="public override bool Sign (ReadOnlySpan<byte> input, Span<byte> signature, out int bytesWritten);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Sign(valuetype System.ReadOnlySpan`1<unsigned int8> input, valuetype System.Span`1<unsigned int8> signature, [out] int32& bytesWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Sign(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Sign (input As ReadOnlySpan(Of Byte), signature As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="override this.Sign : ReadOnlySpan<byte> * Span<byte> * int -> bool" Usage="asymmetricSignatureProvider.Sign (input, signature, bytesWritten)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="input" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="signature" Type="System.Span<System.Byte>" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="input">To be added.</param>
<param name="signature">To be added.</param>
<param name="bytesWritten">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="ValidateAsymmetricSecurityKeySize">
<MemberSignature Language="C#" Value="public virtual void ValidateAsymmetricSecurityKeySize (Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm, bool willCreateSignatures);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ValidateAsymmetricSecurityKeySize(class Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm, bool willCreateSignatures) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.ValidateAsymmetricSecurityKeySize(Microsoft.IdentityModel.Tokens.SecurityKey,System.String,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub ValidateAsymmetricSecurityKeySize (key As SecurityKey, algorithm As String, willCreateSignatures As Boolean)" />
<MemberSignature Language="F#" Value="abstract member ValidateAsymmetricSecurityKeySize : Microsoft.IdentityModel.Tokens.SecurityKey * string * bool -> unit
override this.ValidateAsymmetricSecurityKeySize : Microsoft.IdentityModel.Tokens.SecurityKey * string * bool -> unit" Usage="asymmetricSignatureProvider.ValidateAsymmetricSecurityKeySize (key, algorithm, willCreateSignatures)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="Microsoft.IdentityModel.Tokens.SecurityKey" />
<Parameter Name="algorithm" Type="System.String" />
<Parameter Name="willCreateSignatures" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="key">The asymmetric key to validate.</param>
<param name="algorithm">Algorithm for which this key will be used.</param>
<param name="willCreateSignatures">Whether they key will be used for creating signatures.</param>
<summary>
Validates that an asymmetric key size is of sufficient size for a SignatureAlgorithm.
</summary>
<remarks>
<seealso cref="P:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForSigningMap" /> for minimum signing sizes.
<seealso cref="P:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.MinimumAsymmetricKeySizeInBitsForVerifyingMap" /> for minimum verifying sizes.
</remarks>
<exception cref="T:System.ArgumentNullException">if <paramref name="algorithm" />is null or empty.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">if <paramref name="key" />.KeySize is less than the minimum
acceptable size.</exception>
</Docs>
</Member>
<Member MemberName="Verify">
<MemberSignature Language="C#" Value="public override bool Verify (byte[] input, byte[] signature);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Verify(unsigned int8[] input, unsigned int8[] signature) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Verify(System.Byte[],System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Verify (input As Byte(), signature As Byte()) As Boolean" />
<MemberSignature Language="F#" Value="override this.Verify : byte[] * byte[] -> bool" Usage="asymmetricSignatureProvider.Verify (input, signature)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="input" Type="System.Byte[]" />
<Parameter Name="signature" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="input">The bytes to generate the signature over.</param>
<param name="signature">The value to verify against.</param>
<summary>
Verifies that the <paramref name="signature" /> over <paramref name="input" /> using the
<see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> and <see cref="P:Microsoft.IdentityModel.Tokens.SignatureProvider.Algorithm" /> specified by this
<see cref="T:Microsoft.IdentityModel.Tokens.SignatureProvider" /> are consistent.
</summary>
<returns>true if signature matches, false otherwise.</returns>
<remarks>Verify is thread safe.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="signature" /> is null or has length == 0.</exception>
<exception cref="T:System.ObjectDisposedException">If <see cref="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Dispose(System.Boolean)" /> has been called. </exception>
</Docs>
</Member>
<Member MemberName="Verify">
<MemberSignature Language="C#" Value="public override bool Verify (byte[] input, int inputOffset, int inputLength, byte[] signature, int signatureOffset, int signatureLength);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Verify(unsigned int8[] input, int32 inputOffset, int32 inputLength, unsigned int8[] signature, int32 signatureOffset, int32 signatureLength) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Verify(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Verify (input As Byte(), inputOffset As Integer, inputLength As Integer, signature As Byte(), signatureOffset As Integer, signatureLength As Integer) As Boolean" />
<MemberSignature Language="F#" Value="override this.Verify : byte[] * int * int * byte[] * int * int -> bool" Usage="asymmetricSignatureProvider.Verify (input, inputOffset, inputLength, signature, signatureOffset, signatureLength)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>7.5.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="input" Type="System.Byte[]" />
<Parameter Name="inputOffset" Type="System.Int32" />
<Parameter Name="inputLength" Type="System.Int32" />
<Parameter Name="signature" Type="System.Byte[]" />
<Parameter Name="signatureOffset" Type="System.Int32" />
<Parameter Name="signatureLength" Type="System.Int32" />
</Parameters>
<Docs>
<param name="input">To be added.</param>
<param name="inputOffset">To be added.</param>
<param name="inputLength">To be added.</param>
<param name="signature">To be added.</param>
<param name="signatureOffset">To be added.</param>
<param name="signatureLength">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
</Type>