f849b3dc0368bb24bd80980fccf7c4ff57e6e8a1
[platform/core/csapi/tizenfx.git] / pkg / Tizen.NET.API11 / build / tizen11.0 / ref / System.Formats.Asn1.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <doc>
3   <assembly>
4     <name>System.Formats.Asn1</name>
5   </assembly>
6   <members>
7     <member name="T:System.Formats.Asn1.Asn1Tag">
8       <summary>This type represents an ASN.1 tag, as described in ITU-T Recommendation X.680.</summary>
9     </member>
10     <member name="F:System.Formats.Asn1.Asn1Tag.Boolean">
11       <summary>Represents the universal class tag for a Boolean value.</summary>
12     </member>
13     <member name="F:System.Formats.Asn1.Asn1Tag.ConstructedBitString">
14       <summary>Represents the universal class tag for a Bit String value under a constructed encoding.</summary>
15     </member>
16     <member name="F:System.Formats.Asn1.Asn1Tag.ConstructedOctetString">
17       <summary>Represents the universal class tag for a Octet String value under a constructed encoding.</summary>
18     </member>
19     <member name="F:System.Formats.Asn1.Asn1Tag.Enumerated">
20       <summary>Represents the universal class tag for an Enumerated value.</summary>
21     </member>
22     <member name="F:System.Formats.Asn1.Asn1Tag.GeneralizedTime">
23       <summary>Represents the universal class tag for a GeneralizedTime value.</summary>
24     </member>
25     <member name="F:System.Formats.Asn1.Asn1Tag.Integer">
26       <summary>Represents the universal class tag for an Integer value.</summary>
27     </member>
28     <member name="F:System.Formats.Asn1.Asn1Tag.Null">
29       <summary>Represents the universal class tag for a <see langword="null" /> value.</summary>
30     </member>
31     <member name="F:System.Formats.Asn1.Asn1Tag.ObjectIdentifier">
32       <summary>Represents the universal class tag for an Object Identifier value.</summary>
33     </member>
34     <member name="F:System.Formats.Asn1.Asn1Tag.PrimitiveBitString">
35       <summary>Represents the universal class tag for a Bit String value under a primitive encoding.</summary>
36     </member>
37     <member name="F:System.Formats.Asn1.Asn1Tag.PrimitiveOctetString">
38       <summary>Represents the universal class tag for an Octet String value under a primitive encoding.</summary>
39     </member>
40     <member name="F:System.Formats.Asn1.Asn1Tag.Sequence">
41       <summary>Represents the universal class tag for a Sequence value (always a constructed encoding).</summary>
42     </member>
43     <member name="F:System.Formats.Asn1.Asn1Tag.SetOf">
44       <summary>Represents the universal class tag for a SetOf value (always a constructed encoding).</summary>
45     </member>
46     <member name="F:System.Formats.Asn1.Asn1Tag.UtcTime">
47       <summary>Represents the universal class tag for a UtcTime value.</summary>
48     </member>
49     <member name="M:System.Formats.Asn1.Asn1Tag.#ctor(System.Formats.Asn1.TagClass,System.Int32,System.Boolean)">
50       <summary>Create an <see cref="T:System.Formats.Asn1.Asn1Tag" /> for a specified value within a specified tag class.</summary>
51       <param name="tagClass">The tag class for this tag.</param>
52       <param name="tagValue">The numeric value for this tag.</param>
53       <param name="isConstructed">
54         <see langword="true" /> for a constructed tag, <see langword="false" /> for a primitive tag.</param>
55       <exception cref="T:System.ArgumentOutOfRangeException">
56         <paramref name="tagClass" /> is not a known value.
57              -or- 
58                <paramref name="tagValue" /> is negative.</exception>
59     </member>
60     <member name="M:System.Formats.Asn1.Asn1Tag.#ctor(System.Formats.Asn1.UniversalTagNumber,System.Boolean)">
61       <summary>Create an <see cref="T:System.Formats.Asn1.Asn1Tag" /> for a tag from the UNIVERSAL class.</summary>
62       <param name="universalTagNumber">One of the enumeration values that specifies the semantic type for this tag.</param>
63       <param name="isConstructed">
64         <see langword="true" /> for a constructed tag, <see langword="false" /> for a primitive tag.</param>
65       <exception cref="T:System.ArgumentOutOfRangeException">
66         <paramref name="universalTagNumber" /> is not a known value.</exception>
67     </member>
68     <member name="M:System.Formats.Asn1.Asn1Tag.AsConstructed">
69       <summary>Produces a tag with the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> values, but whose <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" /> is <see langword="true" />.</summary>
70       <returns>A tag with the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> values, but whose <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" /> is <see langword="true" />.</returns>
71     </member>
72     <member name="M:System.Formats.Asn1.Asn1Tag.AsPrimitive">
73       <summary>Produces a tag with the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> values, but whose <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" /> is <see langword="false" />.</summary>
74       <returns>A tag with the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> values, but whose <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" /> is <see langword="false" />.</returns>
75     </member>
76     <member name="M:System.Formats.Asn1.Asn1Tag.CalculateEncodedSize">
77       <summary>Reports the number of bytes required for the BER-encoding of this tag.</summary>
78       <returns>The number of bytes required for the BER-encoding of this tag.</returns>
79     </member>
80     <member name="M:System.Formats.Asn1.Asn1Tag.Decode(System.ReadOnlySpan{System.Byte},System.Int32@)">
81       <summary>Reads a BER-encoded tag which starts at <paramref name="source" />.</summary>
82       <param name="source">The read only byte sequence whose beginning is a BER-encoded tag.</param>
83       <param name="bytesConsumed">When this method returns, contains the number of bytes that contributed to the encoded tag. This parameter is treated as uninitialized.</param>
84       <exception cref="T:System.Formats.Asn1.AsnContentException">The provided data does not decode to a tag.</exception>
85       <returns>The decoded tag.</returns>
86     </member>
87     <member name="M:System.Formats.Asn1.Asn1Tag.Encode(System.Span{System.Byte})">
88       <summary>Writes the BER-encoded form of this tag to <paramref name="destination" />.</summary>
89       <param name="destination">The start of where the encoded tag should be written.</param>
90       <exception cref="T:System.ArgumentException">
91         <paramref name="destination" />.<see cref="P:System.Span`1.Length" /> &lt; <see cref="M:System.Formats.Asn1.Asn1Tag.CalculateEncodedSize" />.</exception>
92       <returns>The number of bytes written to <paramref name="destination" />.</returns>
93     </member>
94     <member name="M:System.Formats.Asn1.Asn1Tag.Equals(System.Formats.Asn1.Asn1Tag)">
95       <summary>Tests if <paramref name="other" /> has the same encoding as this tag.</summary>
96       <param name="other">Tag to test for equality.</param>
97       <returns>
98         <see langword="true" /> if <paramref name="other" /> has the same values for <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" />, <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" />, and <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" />; <see langword="false" /> otherwise.</returns>
99     </member>
100     <member name="M:System.Formats.Asn1.Asn1Tag.Equals(System.Object)">
101       <summary>Tests if <paramref name="obj" /> is an <see cref="T:System.Formats.Asn1.Asn1Tag" /> with the same encoding as this tag.</summary>
102       <param name="obj">Object to test for value equality.</param>
103       <returns>
104         <see langword="false" /> if <paramref name="obj" /> is not an <see cref="T:System.Formats.Asn1.Asn1Tag" />, <see cref="M:System.Formats.Asn1.Asn1Tag.Equals(System.Formats.Asn1.Asn1Tag)" /> otherwise.</returns>
105     </member>
106     <member name="M:System.Formats.Asn1.Asn1Tag.GetHashCode">
107       <summary>Returns the hash code for this instance.</summary>
108       <returns>A 32-bit signed integer hash code.</returns>
109     </member>
110     <member name="M:System.Formats.Asn1.Asn1Tag.HasSameClassAndValue(System.Formats.Asn1.Asn1Tag)">
111       <summary>Tests if <paramref name="other" /> has the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> values as this tag, and does not compare <see cref="P:System.Formats.Asn1.Asn1Tag.IsConstructed" />.</summary>
112       <param name="other">Tag to test for concept equality.</param>
113       <returns>
114         <see langword="true" /> if <paramref name="other" /> has the same <see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> and <see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> as this tag, <see langword="false" /> otherwise.</returns>
115     </member>
116     <member name="M:System.Formats.Asn1.Asn1Tag.op_Equality(System.Formats.Asn1.Asn1Tag,System.Formats.Asn1.Asn1Tag)">
117       <summary>Tests if two <see cref="T:System.Formats.Asn1.Asn1Tag" /> values have the same BER encoding.</summary>
118       <param name="left">The first value to compare.</param>
119       <param name="right">The second value to compare.</param>
120       <returns>
121         <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> have the same BER encoding, <see langword="false" /> otherwise.</returns>
122     </member>
123     <member name="M:System.Formats.Asn1.Asn1Tag.op_Inequality(System.Formats.Asn1.Asn1Tag,System.Formats.Asn1.Asn1Tag)">
124       <summary>Tests if two <see cref="T:System.Formats.Asn1.Asn1Tag" /> values have a different BER encoding.</summary>
125       <param name="left">The first value to compare.</param>
126       <param name="right">The second value to compare.</param>
127       <returns>
128         <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> have a different BER encoding, <see langword="false" /> otherwise.</returns>
129     </member>
130     <member name="M:System.Formats.Asn1.Asn1Tag.ToString">
131       <summary>Provides a text representation of this tag suitable for debugging.</summary>
132       <returns>A text representation of this tag suitable for debugging.</returns>
133     </member>
134     <member name="M:System.Formats.Asn1.Asn1Tag.TryDecode(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.Asn1Tag@,System.Int32@)">
135       <summary>Attempts to read a BER-encoded tag which starts at <paramref name="source" />.</summary>
136       <param name="source">The read only byte sequence whose beginning is a BER-encoded tag.</param>
137       <param name="tag">The decoded tag.</param>
138       <param name="bytesConsumed">When this method returns, contains the number of bytes that contributed to the encoded tag, 0 on failure. This parameter is treated as uninitialized.</param>
139       <returns>
140         <see langword="true" /> if a tag was correctly decoded; otherwise, <see langword="false" />.</returns>
141     </member>
142     <member name="M:System.Formats.Asn1.Asn1Tag.TryEncode(System.Span{System.Byte},System.Int32@)">
143       <summary>Attempts to write the BER-encoded form of this tag to <paramref name="destination" />.</summary>
144       <param name="destination">The start of where the encoded tag should be written.</param>
145       <param name="bytesWritten">Receives the value from <see cref="M:System.Formats.Asn1.Asn1Tag.CalculateEncodedSize" /> on success, 0 on failure.</param>
146       <returns>
147         <see langword="false" /> if <paramref name="destination" />.<see cref="P:System.Span`1.Length" /> &lt; <see cref="M:System.Formats.Asn1.Asn1Tag.CalculateEncodedSize" />(), <see langword="true" /> otherwise.</returns>
148     </member>
149     <member name="P:System.Formats.Asn1.Asn1Tag.IsConstructed">
150       <summary>Indicates if the tag represents a constructed encoding (<see langword="true" />), or a primitive encoding (<see langword="false" />).</summary>
151     </member>
152     <member name="P:System.Formats.Asn1.Asn1Tag.TagClass">
153       <summary>The tag class to which this tag belongs.</summary>
154     </member>
155     <member name="P:System.Formats.Asn1.Asn1Tag.TagValue">
156       <summary>The numeric value for this tag.</summary>
157     </member>
158     <member name="T:System.Formats.Asn1.AsnContentException">
159       <summary>The exception that is thrown when an encoded ASN.1 value cannot be successfully decoded.</summary>
160     </member>
161     <member name="M:System.Formats.Asn1.AsnContentException.#ctor">
162       <summary>Initializes a new instance of the <see cref="T:System.Formats.Asn1.AsnContentException" /> class, using the default message.</summary>
163     </member>
164     <member name="M:System.Formats.Asn1.AsnContentException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
165       <summary>Initializes a new instance of the <see cref="T:System.Formats.Asn1.AsnContentException" /> class with serialized data.</summary>
166       <param name="info">The object that holds the serialized object data.</param>
167       <param name="context">The contextual information about the source or destination.</param>
168     </member>
169     <member name="M:System.Formats.Asn1.AsnContentException.#ctor(System.String)">
170       <summary>Initializes a new instance of the <see cref="T:System.Formats.Asn1.AsnContentException" /> class, using the provided message.</summary>
171       <param name="message">The error message that explains the reason for the exception.</param>
172     </member>
173     <member name="M:System.Formats.Asn1.AsnContentException.#ctor(System.String,System.Exception)">
174       <summary>Initializes a new instance of the <see cref="T:System.Formats.Asn1.AsnContentException" /> class, using the provided message and exception that is the cause of this exception.</summary>
175       <param name="message">The error message that explains the reason for the exception.</param>
176       <param name="inner">The exception that is the cause of the current exception.</param>
177     </member>
178     <member name="T:System.Formats.Asn1.AsnDecoder">
179       <summary>Provides stateless methods for decoding BER-encoded, CER-encoded, and DER-encoded ASN.1 data.</summary>
180     </member>
181     <member name="M:System.Formats.Asn1.AsnDecoder.ReadBitString(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
182       <summary>Reads a Bit String value from <paramref name="source" /> with a specified tag under the specified encoding rules, returning the contents in a new array.</summary>
183       <param name="source">The buffer containing encoded data.</param>
184       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
185       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.
186                This parameter is treated as uninitialized.</param>
187       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
188                This parameter is treated as uninitialized.</param>
189       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
190       <exception cref="T:System.ArgumentOutOfRangeException">
191         <paramref name="ruleSet" /> is not defined.</exception>
192       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
193
194 -or-
195
196 The length encoding is not valid under the current encoding rules.
197
198 -or-
199
200 The contents are not valid under the current encoding rules.</exception>
201       <exception cref="T:System.ArgumentException">
202         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
203       <returns>An array containing the contents of the Bit String value.</returns>
204     </member>
205     <member name="M:System.Formats.Asn1.AsnDecoder.ReadBoolean(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
206       <summary>Reads a Boolean value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
207       <param name="source">The buffer containing encoded data.</param>
208       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
209       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
210                This parameter is treated as uninitialized.</param>
211       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 1).</param>
212       <exception cref="T:System.ArgumentOutOfRangeException">
213         <paramref name="ruleSet" /> is not defined.</exception>
214       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
215
216 -or-
217
218 The length encoding is not valid under the current encoding rules.
219
220 -or-
221
222 The contents are not valid under the current encoding rules.</exception>
223       <exception cref="T:System.ArgumentException">
224         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
225       <returns>The decoded value.</returns>
226     </member>
227     <member name="M:System.Formats.Asn1.AsnDecoder.ReadCharacterString(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.UniversalTagNumber,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
228       <summary>Reads the next value as character string with the specified tag and encoding type, returning the decoded string.</summary>
229       <param name="source">The buffer containing encoded data.</param>
230       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
231       <param name="encodingType">One of the enumeration values which represents the value type to process.</param>
232       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
233                This parameter is treated as uninitialized.</param>
234       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
235       <exception cref="T:System.ArgumentOutOfRangeException">
236         <paramref name="ruleSet" /> is not defined.
237
238 -or-
239
240 <paramref name="encodingType" /> is not a known character string type.</exception>
241       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
242
243 -or-
244
245 The length encoding is not valid under the current encoding rules.
246
247 -or-
248
249 The contents are not valid under the current encoding rules.
250
251 -or-
252
253 The string did not successfully decode.</exception>
254       <exception cref="T:System.ArgumentException">
255         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not the same as <paramref name="encodingType" />.</exception>
256       <returns>The decoded value.</returns>
257     </member>
258     <member name="M:System.Formats.Asn1.AsnDecoder.ReadEncodedValue(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Int32@)">
259       <summary>Locates the contents range for the encoded value at the beginning of the <paramref name="source" /> buffer using the specified encoding rules.</summary>
260       <param name="source">The buffer containing encoded data.</param>
261       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
262       <param name="contentOffset">When this method returns, the offset of the content payload relative to the start of <paramref name="source" />.
263               This parameter is treated as uninitialized.</param>
264       <param name="contentLength">When this method returns, the number of bytes in the content payload (which may be 0).
265               This parameter is treated as uninitialized.</param>
266       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
267               This parameter is treated as uninitialized.</param>
268       <exception cref="T:System.ArgumentOutOfRangeException">
269         <paramref name="ruleSet" /> is not defined.</exception>
270       <exception cref="T:System.Formats.Asn1.AsnContentException">
271         <paramref name="source" /> does not represent a value encoded under the specified encoding rules.</exception>
272       <returns>The tag identifying the content.</returns>
273     </member>
274     <member name="M:System.Formats.Asn1.AsnDecoder.ReadEnumeratedBytes(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
275       <summary>Reads an Enumerated value from <paramref name="source" /> with a specified tag under the specified encoding rules, returning the contents as a slice of the buffer.</summary>
276       <param name="source">The buffer containing encoded data.</param>
277       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
278       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
279                This parameter is treated as uninitialized.</param>
280       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
281       <exception cref="T:System.ArgumentOutOfRangeException">
282         <paramref name="ruleSet" /> is not defined.</exception>
283       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
284
285 -or-
286
287 The length encoding is not valid under the current encoding rules.
288
289 -or-
290
291 The contents are not valid under the current encoding rules.</exception>
292       <exception cref="T:System.ArgumentException">
293         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
294       <returns>The slice of the buffer containing the bytes of the Enumerated value, in signed big-endian form.</returns>
295     </member>
296     <member name="M:System.Formats.Asn1.AsnDecoder.ReadEnumeratedValue(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Type,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
297       <summary>Reads an Enumerated from <paramref name="source" /> with a specified tag under the specified encoding rules, converting it to the non-[<see cref="T:System.FlagsAttribute" />] enum specified by <paramref name="enumType" />.</summary>
298       <param name="source">The buffer containing encoded data.</param>
299       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
300       <param name="enumType">Type object representing the destination type.</param>
301       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
302                This parameter is treated as uninitialized.</param>
303       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
304       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
305
306 -or-
307
308 The length encoding is not valid under the current encoding rules.
309
310 -or-
311
312 The contents are not valid under the current encoding rules.
313
314 -or-
315
316 The encoded value is too big to fit in a <paramref name="enumType" /> value.</exception>
317       <exception cref="T:System.ArgumentException">
318         <paramref name="enumType" /> is not an enum type.
319
320 -or-
321
322 <paramref name="enumType" /> was declared with <see cref="T:System.FlagsAttribute" />.
323
324 -or-
325
326 <paramref name="enumType" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="enumType" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
327       <exception cref="T:System.ArgumentNullException">
328         <paramref name="enumType" /> is <see langword="null" />.</exception>
329       <returns>The Enumerated value converted to a <paramref name="enumType" />.</returns>
330     </member>
331     <member name="M:System.Formats.Asn1.AsnDecoder.ReadEnumeratedValue``1(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
332       <summary>Reads an Enumerated from <paramref name="source" /> with a specified tag under the specified encoding rules, converting it to the non-[<see cref="T:System.FlagsAttribute" />] enum specified by <typeparamref name="TEnum" />.</summary>
333       <param name="source">The buffer containing encoded data.</param>
334       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
335       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
336                This parameter is treated as uninitialized.</param>
337       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
338       <typeparam name="TEnum">Destination enum type.</typeparam>
339       <exception cref="T:System.ArgumentOutOfRangeException">
340         <paramref name="ruleSet" /> is not defined.</exception>
341       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
342
343 -or-
344
345 The length encoding is not valid under the current encoding rules.
346
347 -or-
348
349 The contents are not valid under the current encoding rules.
350
351 -or-
352
353 The encoded value is too big to fit in a <paramref name="enumType" /> value.</exception>
354       <exception cref="T:System.ArgumentException">
355         <typeparamref name="TEnum" /> is not an enum type.
356
357 -or-
358
359 <typeparamref name="TEnum" /> was declared with <see cref="T:System.FlagsAttribute" />.
360
361 -or-
362
363 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
364       <returns>The Enumerated value converted to a <typeparamref name="TEnum" />.</returns>
365     </member>
366     <member name="M:System.Formats.Asn1.AsnDecoder.ReadGeneralizedTime(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
367       <summary>Reads a GeneralizedTime value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
368       <param name="source">The buffer containing encoded data.</param>
369       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
370       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
371                This parameter is treated as uninitialized.</param>
372       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 24).</param>
373       <exception cref="T:System.ArgumentOutOfRangeException">
374         <paramref name="ruleSet" /> is not defined.</exception>
375       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
376
377 -or-
378
379 The length encoding is not valid under the current encoding rules.
380
381 -or-
382
383 The contents are not valid under the current encoding rules.</exception>
384       <exception cref="T:System.ArgumentException">
385         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
386       <returns>The decoded value.</returns>
387     </member>
388     <member name="M:System.Formats.Asn1.AsnDecoder.ReadInteger(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
389       <summary>Reads an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
390       <param name="source">The buffer containing encoded data.</param>
391       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
392       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
393                This parameter is treated as uninitialized.</param>
394       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
395       <exception cref="T:System.ArgumentOutOfRangeException">
396         <paramref name="ruleSet" /> is not defined.</exception>
397       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
398
399 -or-
400
401 The length encoding is not valid under the current encoding rules.
402
403 -or-
404
405 The contents are not valid under the current encoding rules.</exception>
406       <exception cref="T:System.ArgumentException">
407         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
408       <returns>The decoded numeric value.</returns>
409     </member>
410     <member name="M:System.Formats.Asn1.AsnDecoder.ReadIntegerBytes(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
411       <summary>Reads an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules, returning the contents as a slice of the buffer.</summary>
412       <param name="source">The buffer containing encoded data.</param>
413       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
414       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
415                This parameter is treated as uninitialized.</param>
416       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
417       <exception cref="T:System.ArgumentOutOfRangeException">
418         <paramref name="ruleSet" /> is not defined.</exception>
419       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
420
421 -or-
422
423 The length encoding is not valid under the current encoding rules.
424
425 -or-
426
427 The contents are not valid under the current encoding rules.</exception>
428       <exception cref="T:System.ArgumentException">
429         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
430       <returns>The slice of the buffer containing the bytes of the Integer value, in signed big-endian form.</returns>
431     </member>
432     <member name="M:System.Formats.Asn1.AsnDecoder.ReadNamedBitList(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
433       <summary>Reads a NamedBitList from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
434       <param name="source">The buffer containing encoded data.</param>
435       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
436       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
437                This parameter is treated as uninitialized.</param>
438       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
439       <exception cref="T:System.ArgumentOutOfRangeException">
440         <paramref name="ruleSet" /> is not defined.</exception>
441       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
442
443 -or-
444
445 The length encoding is not valid under the current encoding rules.
446
447 -or-
448
449 The contents are not valid under the current encoding rules.</exception>
450       <exception cref="T:System.ArgumentException">
451         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
452       <returns>The bits from the encoded value.</returns>
453     </member>
454     <member name="M:System.Formats.Asn1.AsnDecoder.ReadNamedBitListValue(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Type,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
455       <summary>Reads a NamedBitList from <paramref name="source" /> with a specified tag under the specified encoding rules, converting it to the [<see cref="T:System.FlagsAttribute" />] enum specified by <paramref name="flagsEnumType" />.</summary>
456       <param name="source">The buffer containing encoded data.</param>
457       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
458       <param name="flagsEnumType">Type object representing the destination type.</param>
459       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
460                This parameter is treated as uninitialized.</param>
461       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
462       <exception cref="T:System.ArgumentOutOfRangeException">
463         <paramref name="ruleSet" /> is not defined.</exception>
464       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
465
466 -or-
467
468 The length encoding is not valid under the current encoding rules.
469
470 -or-
471
472 The contents are not valid under the current encoding rules.
473
474 -or-
475
476 The encoded value is too big to fit in a <paramref name="flagsEnumType" /> value.</exception>
477       <exception cref="T:System.ArgumentException">
478         <paramref name="flagsEnumType" /> is not an enum type.
479
480 -or-
481
482 <paramref name="flagsEnumType" /> was not declared with <see cref="T:System.FlagsAttribute" />
483
484 -or-
485
486 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
487       <exception cref="T:System.ArgumentNullException">
488         <paramref name="flagsEnumType" /> is <see langword="null" /></exception>
489       <returns>The NamedBitList value converted to a <paramref name="flagsEnumType" />.</returns>
490     </member>
491     <member name="M:System.Formats.Asn1.AsnDecoder.ReadNamedBitListValue``1(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
492       <summary>Reads a NamedBitList from <paramref name="source" /> with a specified tag under the specified encoding rules, converting it to the [<see cref="T:System.FlagsAttribute" />] enum specified by <typeparamref name="TFlagsEnum" />.</summary>
493       <param name="source">The buffer containing encoded data.</param>
494       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
495       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
496                This parameter is treated as uninitialized.</param>
497       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
498       <typeparam name="TFlagsEnum">Destination enum type.</typeparam>
499       <exception cref="T:System.ArgumentOutOfRangeException">
500         <paramref name="ruleSet" /> is not defined.</exception>
501       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
502
503 -or-
504
505 The length encoding is not valid under the current encoding rules.
506
507 -or-
508
509 The contents are not valid under the current encoding rules.
510
511 -or-
512
513 The encoded value is too big to fit in a <paramref name="TFlagsEnum" /> value.</exception>
514       <exception cref="T:System.ArgumentException">
515         <typeparamref name="TFlagsEnum" /> is not an enum type.
516
517 -or-
518
519 <typeparamref name="TFlagsEnum" /> was not declared with <see cref="T:System.FlagsAttribute" />
520
521 -or-
522
523 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
524       <returns>The NamedBitList value converted to a <typeparamref name="TFlagsEnum" />.</returns>
525     </member>
526     <member name="M:System.Formats.Asn1.AsnDecoder.ReadNull(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
527       <summary>Reads a <see langword="null" /> value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
528       <param name="source">The buffer containing encoded data.</param>
529       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
530       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
531                This parameter is treated as uninitialized.</param>
532       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 5).</param>
533       <exception cref="T:System.ArgumentOutOfRangeException">
534         <paramref name="ruleSet" /> is not defined.</exception>
535       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
536
537 -or-
538
539 The length encoding is not valid under the current encoding rules.
540
541 -or-
542
543 The contents are not valid under the current encoding rules.</exception>
544       <exception cref="T:System.ArgumentException">
545         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
546     </member>
547     <member name="M:System.Formats.Asn1.AsnDecoder.ReadObjectIdentifier(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
548       <summary>Reads an Object Identifier value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
549       <param name="source">The buffer containing encoded data.</param>
550       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
551       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
552                This parameter is treated as uninitialized.</param>
553       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 6).</param>
554       <exception cref="T:System.ArgumentOutOfRangeException">
555         <paramref name="ruleSet" /> is not defined.</exception>
556       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
557
558 -or-
559
560 The length encoding is not valid under the current encoding rules.
561
562 -or-
563
564 The contents are not valid under the current encoding rules.</exception>
565       <exception cref="T:System.ArgumentException">
566         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
567       <returns>The decoded object identifier, in dotted-decimal notation.</returns>
568     </member>
569     <member name="M:System.Formats.Asn1.AsnDecoder.ReadOctetString(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
570       <summary>Reads an Octet String value from <paramref name="source" /> with a specified tag under the specified encoding rules, returning the contents in a new array.</summary>
571       <param name="source">The buffer containing encoded data.</param>
572       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
573       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
574                This parameter is treated as uninitialized.</param>
575       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 4).</param>
576       <exception cref="T:System.ArgumentOutOfRangeException">
577         <paramref name="ruleSet" /> is not defined.</exception>
578       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
579
580 -or-
581
582 The length encoding is not valid under the current encoding rules.
583
584 -or-
585
586 The contents are not valid under the current encoding rules.</exception>
587       <exception cref="T:System.ArgumentException">
588         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
589       <returns>An array containing the contents of the Octet String value.</returns>
590     </member>
591     <member name="M:System.Formats.Asn1.AsnDecoder.ReadSequence(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
592       <summary>Reads a Sequence or Sequence-Of value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
593       <param name="source">The buffer containing encoded data.</param>
594       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
595       <param name="contentOffset">When this method returns, the offset of the content payload relative to the start of <paramref name="source" />.
596                This parameter is treated as uninitialized.</param>
597       <param name="contentLength">When this method returns, the number of bytes in the content payload (which may be 0).
598                This parameter is treated as uninitialized.</param>
599       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
600                This parameter is treated as uninitialized.</param>
601       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 16).</param>
602       <exception cref="T:System.ArgumentOutOfRangeException">
603         <paramref name="ruleSet" /> is not defined.</exception>
604       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
605
606 -or-
607
608 The length encoding is not valid under the current encoding rules.
609
610 -or-
611
612 The contents are not valid under the current encoding rules.</exception>
613       <exception cref="T:System.ArgumentException">
614         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
615     </member>
616     <member name="M:System.Formats.Asn1.AsnDecoder.ReadSetOf(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Int32@,System.Boolean,System.Nullable{System.Formats.Asn1.Asn1Tag})">
617       <summary>Reads a Set-Of value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
618       <param name="source">The buffer containing encoded data.</param>
619       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
620       <param name="contentOffset">When this method returns, the offset of the content payload relative to the start of <paramref name="source" />.
621                This parameter is treated as uninitialized.</param>
622       <param name="contentLength">When this method returns, the number of bytes in the content payload (which may be 0).
623                This parameter is treated as uninitialized.</param>
624       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
625                This parameter is treated as uninitialized.</param>
626       <param name="skipSortOrderValidation">
627         <see langword="true" /> to always accept the data in the order it is presented, <see langword="false" /> to verify that the data is sorted correctly when the encoding rules say sorting was required (CER and DER).</param>
628       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 17).</param>
629       <exception cref="T:System.ArgumentOutOfRangeException">
630         <paramref name="ruleSet" /> is not defined.</exception>
631       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
632
633 -or-
634
635 The length encoding is not valid under the current encoding rules.
636
637 -or-
638
639 The contents are not valid under the current encoding rules.</exception>
640       <exception cref="T:System.ArgumentException">
641         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
642     </member>
643     <member name="M:System.Formats.Asn1.AsnDecoder.ReadUtcTime(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32,System.Nullable{System.Formats.Asn1.Asn1Tag})">
644       <summary>Reads a UtcTime value from <paramref name="source" /> with a specified tag under the specified encoding rules.</summary>
645       <param name="source">The buffer containing encoded data.</param>
646       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
647       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
648                This parameter is treated as uninitialized.</param>
649       <param name="twoDigitYearMax">The largest year to represent with this value.
650                The default value, 2049, represents the 1950-2049 range for X.509 certificates.</param>
651       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 24).</param>
652       <exception cref="T:System.ArgumentOutOfRangeException">
653         <paramref name="ruleSet" /> is not defined.
654
655 -or-
656
657 <paramref name="twoDigitYearMax" /> is not in the range [99, 9999].</exception>
658       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
659
660 -or-
661
662 The length encoding is not valid under the current encoding rules.
663
664 -or-
665
666 The contents are not valid under the current encoding rules.</exception>
667       <exception cref="T:System.ArgumentException">
668         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
669       <returns>The decoded value.</returns>
670     </member>
671     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadBitString(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
672       <summary>Attempts to copy a Bit String value from <paramref name="source" /> with a specified tag under the specified encoding rules into <paramref name="destination" />.</summary>
673       <param name="source">The buffer containing encoded data.</param>
674       <param name="destination">The buffer in which to write.</param>
675       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
676       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.
677                This parameter is treated as uninitialized.</param>
678       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
679                This parameter is treated as uninitialized.</param>
680       <param name="bytesWritten">When this method returns, the total number of bytes written to <paramref name="destination" />.
681                This parameter is treated as uninitialized.</param>
682       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
683       <exception cref="T:System.ArgumentOutOfRangeException">
684         <paramref name="ruleSet" /> is not defined.</exception>
685       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
686
687 -or-
688
689 The length encoding is not valid under the current encoding rules.
690
691 -or-
692
693 The contents are not valid under the current encoding rules.</exception>
694       <exception cref="T:System.ArgumentException">
695         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
696
697 -or-
698
699 <paramref name="destination" /> overlaps <paramref name="source" />.</exception>
700       <returns>
701         <see langword="true" /> if <paramref name="destination" /> is large enough to receive the value of the Bit String; otherwise, <see langword="false" />.</returns>
702     </member>
703     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadCharacterString(System.ReadOnlySpan{System.Byte},System.Span{System.Char},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.UniversalTagNumber,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
704       <summary>Reads a character string value from <paramref name="source" /> with a specified tag under the specified encoding rules, copying the decoded string into a a provided destination buffer.</summary>
705       <param name="source">The buffer containing encoded data.</param>
706       <param name="destination">The buffer in which to write.</param>
707       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
708       <param name="encodingType">One of the enumeration values which represents the value type to process.</param>
709       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
710                This parameter is treated as uninitialized.</param>
711       <param name="charsWritten">When this method returns, the number of chars written to <paramref name="destination" />.
712                This parameter is treated as uninitialized.</param>
713       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
714       <exception cref="T:System.ArgumentOutOfRangeException">
715         <paramref name="ruleSet" /> is not defined.
716
717 -or-
718
719 <paramref name="encodingType" /> is not a known character string type.</exception>
720       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
721
722 -or-
723
724 The length encoding is not valid under the current encoding rules.
725
726 -or-
727
728 The contents are not valid under the current encoding rules.
729
730 -or-
731
732 The string did not successfully decode.</exception>
733       <exception cref="T:System.ArgumentException">
734         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not the same as <paramref name="encodingType" />.</exception>
735       <returns>
736         <see langword="true" /> and advances the reader if <paramref name="destination" /> had sufficient length to receive the value, otherwise <see langword="false" /> and the reader does not advance.</returns>
737     </member>
738     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadCharacterStringBytes(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.Asn1Tag,System.Int32@,System.Int32@)">
739       <summary>Attempts to read a character string value from <paramref name="source" /> with a specified tag under the specified encoding rules, copying the unprocessed bytes into the provided destination buffer.</summary>
740       <param name="source">The buffer containing encoded data.</param>
741       <param name="destination">The buffer in which to write.</param>
742       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
743       <param name="expectedTag">The tag to check for before reading.</param>
744       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
745                This parameter is treated as uninitialized.</param>
746       <param name="bytesWritten">On success, receives the number of bytes written to <paramref name="destination" />.</param>
747       <exception cref="T:System.ArgumentOutOfRangeException">
748         <paramref name="ruleSet" /> is not defined.</exception>
749       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
750
751 -or-
752
753 The length encoding is not valid under the current encoding rules.
754
755 -or-
756
757 The contents are not valid under the current encoding rules.</exception>
758       <exception cref="T:System.ArgumentException">
759         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not a character string tag type.
760
761 -or-
762
763 <paramref name="destination" /> overlaps <paramref name="source" />.</exception>
764       <returns>
765         <see langword="true" /> if <paramref name="destination" /> is large enough to receive the value of the unprocessed character string; otherwise, <see langword="false" />.</returns>
766     </member>
767     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadEncodedValue(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.Asn1Tag@,System.Int32@,System.Int32@,System.Int32@)">
768       <summary>Attempts locate the contents range for the encoded value at the beginning of the <paramref name="source" /> buffer using the specified encoding rules.</summary>
769       <param name="source">The buffer containing encoded data.</param>
770       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
771       <param name="tag">When this method returns, the tag identifying the content.
772               This parameter is treated as uninitialized.</param>
773       <param name="contentOffset">When this method returns, the offset of the content payload relative to the start of <paramref name="source" />.
774               This parameter is treated as uninitialized.</param>
775       <param name="contentLength">When this method returns, the number of bytes in the content payload (which may be 0).
776               This parameter is treated as uninitialized.</param>
777       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
778               This parameter is treated as uninitialized.</param>
779       <exception cref="T:System.ArgumentOutOfRangeException">
780         <paramref name="ruleSet" /> is not defined.</exception>
781       <returns>
782         <see langword="true" /> if <paramref name="source" /> represents a valid structural encoding for the specified encoding rules; otherwise, <see langword="false" />.</returns>
783     </member>
784     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadInt32(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
785       <summary>Attempts to read an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules as a signed 32-bit value.</summary>
786       <param name="source">The buffer containing encoded data.</param>
787       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
788       <param name="value">On success, receives the interpreted numeric value.
789                This parameter is treated as uninitialized.</param>
790       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
791                This parameter is treated as uninitialized.</param>
792       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
793       <exception cref="T:System.ArgumentOutOfRangeException">
794         <paramref name="ruleSet" /> is not defined.</exception>
795       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
796
797 -or-
798
799 The length encoding is not valid under the current encoding rules.
800
801 -or-
802
803 The contents are not valid under the current encoding rules.</exception>
804       <exception cref="T:System.ArgumentException">
805         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
806       <returns>
807         <see langword="true" /> if the Integer represents value is between <see cref="F:System.Int32.MinValue" /> and <see cref="F:System.Int32.MaxValue" />, inclusive; otherwise, <see langword="false" />.</returns>
808     </member>
809     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadInt64(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int64@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
810       <summary>Attempts to read an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules as a signed 64-bit value.</summary>
811       <param name="source">The buffer containing encoded data.</param>
812       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
813       <param name="value">On success, receives the interpreted numeric value.
814                This parameter is treated as uninitialized.</param>
815       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
816                This parameter is treated as uninitialized.</param>
817       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
818       <exception cref="T:System.ArgumentOutOfRangeException">
819         <paramref name="ruleSet" /> is not defined.</exception>
820       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
821
822 -or-
823
824 The length encoding is not valid under the current encoding rules.
825
826 -or-
827
828 The contents are not valid under the current encoding rules.</exception>
829       <exception cref="T:System.ArgumentException">
830         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
831       <returns>
832         <see langword="true" /> if the Integer represents value is between <see cref="F:System.Int64.MinValue" /> and <see cref="F:System.Int64.MaxValue" />, inclusive; otherwise, <see langword="false" />.</returns>
833     </member>
834     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadOctetString(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
835       <summary>Attempts to get an Octet String value from <paramref name="source" /> with a specified tag under the specified encoding rules, copying the value into the provided destination buffer.</summary>
836       <param name="source">The buffer containing encoded data.</param>
837       <param name="destination">The buffer in which to write.</param>
838       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
839       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
840                This parameter is treated as uninitialized.</param>
841       <param name="bytesWritten">When this method returns, the total number of bytes written to <paramref name="destination" />.
842                This parameter is treated as uninitialized.</param>
843       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 4).</param>
844       <exception cref="T:System.ArgumentOutOfRangeException">
845         <paramref name="ruleSet" /> is not defined.</exception>
846       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
847
848 -or-
849
850 The length encoding is not valid under the current encoding rules.
851
852 -or-
853
854 The contents are not valid under the current encoding rules.</exception>
855       <exception cref="T:System.ArgumentException">
856         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
857
858 -or-
859
860 <paramref name="destination" /> overlaps <paramref name="source" />.</exception>
861       <returns>
862         <see langword="true" /> if <paramref name="destination" /> is large enough to receive the value of the Octet String; otherwise, <see langword="false" />.</returns>
863     </member>
864     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadPrimitiveBitString(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Int32@,System.ReadOnlySpan{System.Byte}@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
865       <summary>Attempts to get a Bit String value from <paramref name="source" /> with a specified tag under the specified encoding rules, if the value is contained in a single (primitive) encoding.</summary>
866       <param name="source">The buffer containing encoded data.</param>
867       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
868       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.
869                This parameter is treated as uninitialized.</param>
870       <param name="value">On success, receives a slice of the input buffer that corresponds to the value of the Bit String.
871                This parameter is treated as uninitialized.</param>
872       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
873                This parameter is treated as uninitialized.</param>
874       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 3).</param>
875       <exception cref="T:System.ArgumentOutOfRangeException">
876         <paramref name="ruleSet" /> is not defined.</exception>
877       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
878
879 -or-
880
881 The length encoding is not valid under the current encoding rules.
882
883 -or-
884
885 The contents are not valid under the current encoding rules.</exception>
886       <exception cref="T:System.ArgumentException">
887         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
888       <returns>
889         <see langword="true" /> if the Bit String value has a primitive encoding and all of the bits reported as unused are set to 0; otherwise, <see langword="false" />.</returns>
890     </member>
891     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadPrimitiveCharacterStringBytes(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.Asn1Tag,System.ReadOnlySpan{System.Byte}@,System.Int32@)">
892       <summary>Attempts to get an unprocessed character string value from <paramref name="source" /> with a specified tag under the specified encoding rules, if the value is contained in a single (primitive) encoding.</summary>
893       <param name="source">The buffer containing encoded data.</param>
894       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
895       <param name="expectedTag">The tag to check for before reading.</param>
896       <param name="value">On success, receives a slice of the input buffer that corresponds to the value of the Bit String.
897                This parameter is treated as uninitialized.</param>
898       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
899                This parameter is treated as uninitialized.</param>
900       <exception cref="T:System.ArgumentOutOfRangeException">
901         <paramref name="ruleSet" /> is not defined.</exception>
902       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
903
904 -or-
905
906 The length encoding is not valid under the current encoding rules.
907
908 -or-
909
910 The contents are not valid under the current encoding rules.</exception>
911       <exception cref="T:System.ArgumentException">
912         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not a character string tag type.</exception>
913       <returns>
914         <see langword="true" /> if the character string value has a primitive encoding; otherwise, <see langword="false" />.</returns>
915     </member>
916     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadPrimitiveOctetString(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.ReadOnlySpan{System.Byte}@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
917       <summary>Attempts to get an Octet String value from <paramref name="source" /> with a specified tag under the specified encoding rules, if the value is contained in a single (primitive) encoding.</summary>
918       <param name="source">The buffer containing encoded data.</param>
919       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
920       <param name="value">On success, receives a slice of the input buffer that corresponds to the value of the Octet String.
921                This parameter is treated as uninitialized.</param>
922       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
923                This parameter is treated as uninitialized.</param>
924       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 4).</param>
925       <exception cref="T:System.ArgumentOutOfRangeException">
926         <paramref name="ruleSet" /> is not defined.</exception>
927       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
928
929 -or-
930
931 The length encoding is not valid under the current encoding rules.
932
933 -or-
934
935 The contents are not valid under the current encoding rules.</exception>
936       <exception cref="T:System.ArgumentException">
937         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
938       <returns>
939         <see langword="true" /> if the Octet String value has a primitive encoding; otherwise, <see langword="false" />.</returns>
940     </member>
941     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadUInt32(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.UInt32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
942       <summary>Attempts to read an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules as an unsigned 32-bit value.</summary>
943       <param name="source">The buffer containing encoded data.</param>
944       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
945       <param name="value">On success, receives the interpreted numeric value.
946                This parameter is treated as uninitialized.</param>
947       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
948                This parameter is treated as uninitialized.</param>
949       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
950       <exception cref="T:System.ArgumentOutOfRangeException">
951         <paramref name="ruleSet" /> is not defined.</exception>
952       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
953
954 -or-
955
956 The length encoding is not valid under the current encoding rules.
957
958 -or-
959
960 The contents are not valid under the current encoding rules.</exception>
961       <exception cref="T:System.ArgumentException">
962         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
963       <returns>
964         <see langword="true" /> if the Integer represents value is between <see cref="F:System.UInt32.MinValue" /> and <see cref="F:System.UInt32.MaxValue" />, inclusive; otherwise, <see langword="false" />.</returns>
965     </member>
966     <member name="M:System.Formats.Asn1.AsnDecoder.TryReadUInt64(System.ReadOnlySpan{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.UInt64@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
967       <summary>Attempts to read an Integer value from <paramref name="source" /> with a specified tag under the specified encoding rules as an unsigned 64-bit value.</summary>
968       <param name="source">The buffer containing encoded data.</param>
969       <param name="ruleSet">The encoding constraints to use when interpreting the data.</param>
970       <param name="value">On success, receives the interpreted numeric value.
971                This parameter is treated as uninitialized.</param>
972       <param name="bytesConsumed">When this method returns, the total number of bytes for the encoded value.
973                This parameter is treated as uninitialized.</param>
974       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
975       <exception cref="T:System.ArgumentOutOfRangeException">
976         <paramref name="ruleSet" /> is not defined.</exception>
977       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
978
979 -or-
980
981 The length encoding is not valid under the current encoding rules.
982
983 -or-
984
985 The contents are not valid under the current encoding rules.</exception>
986       <exception cref="T:System.ArgumentException">
987         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
988       <returns>
989         <see langword="true" /> if the Integer represents value is between <see cref="F:System.UInt64.MinValue" /> and <see cref="F:System.UInt64.MaxValue" />, inclusive; otherwise, <see langword="false" />.</returns>
990     </member>
991     <member name="T:System.Formats.Asn1.AsnEncodingRules">
992       <summary>The encoding ruleset for an <see cref="T:System.Formats.Asn1.AsnReader" /> or <see cref="T:System.Formats.Asn1.AsnWriter" />.</summary>
993     </member>
994     <member name="F:System.Formats.Asn1.AsnEncodingRules.BER">
995       <summary>ITU-T X.690 Basic Encoding Rules.</summary>
996     </member>
997     <member name="F:System.Formats.Asn1.AsnEncodingRules.CER">
998       <summary>ITU-T X.690 Canonical Encoding Rules.</summary>
999     </member>
1000     <member name="F:System.Formats.Asn1.AsnEncodingRules.DER">
1001       <summary>ITU-T X.690 Distinguished Encoding Rules.</summary>
1002     </member>
1003     <member name="T:System.Formats.Asn1.AsnReader">
1004       <summary>A stateful, forward-only reader for BER-, CER-, or DER-encoded ASN.1 data.</summary>
1005     </member>
1006     <member name="M:System.Formats.Asn1.AsnReader.#ctor(System.ReadOnlyMemory{System.Byte},System.Formats.Asn1.AsnEncodingRules,System.Formats.Asn1.AsnReaderOptions)">
1007       <summary>Construct an <see cref="T:System.Formats.Asn1.AsnReader" /> over <paramref name="data" /> with a given ruleset.</summary>
1008       <param name="data">The data to read.</param>
1009       <param name="ruleSet">The encoding constraints for the reader.</param>
1010       <param name="options">Additional options for the reader.</param>
1011       <exception cref="T:System.ArgumentOutOfRangeException">
1012         <paramref name="ruleSet" /> is not defined.</exception>
1013     </member>
1014     <member name="M:System.Formats.Asn1.AsnReader.PeekContentBytes">
1015       <summary>Get a <see cref="T:System.ReadOnlyMemory`1" /> view of the content octets (bytes) of the next encoded value without advancing the reader.</summary>
1016       <exception cref="T:System.Formats.Asn1.AsnContentException">The reader is positioned at a point where the tag or length is invalid under the current encoding rules.</exception>
1017       <returns>The bytes of the contents octets of the next encoded value.</returns>
1018     </member>
1019     <member name="M:System.Formats.Asn1.AsnReader.PeekEncodedValue">
1020       <summary>Get a <see cref="T:System.ReadOnlyMemory`1" /> view of the next encoded value without advancing the reader. For indefinite length encodings this includes the End of Contents marker.</summary>
1021       <exception cref="T:System.Formats.Asn1.AsnContentException">The reader is positioned at a point where the tag or length is invalid under the current encoding rules.</exception>
1022       <returns>The bytes of the next encoded value.</returns>
1023     </member>
1024     <member name="M:System.Formats.Asn1.AsnReader.PeekTag">
1025       <summary>Read the encoded tag at the next data position, without advancing the reader.</summary>
1026       <exception cref="T:System.Formats.Asn1.AsnContentException">A tag could not be decoded at the reader's current position.</exception>
1027       <returns>The decoded tag value.</returns>
1028     </member>
1029     <member name="M:System.Formats.Asn1.AsnReader.ReadBitString(System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1030       <summary>Reads the next value as a BIT STRING with a specified tag, returning the value in a byte array.</summary>
1031       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.</param>
1032       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 1).</param>
1033       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1034
1035 -or-
1036
1037 The length encoding is not valid under the current encoding rules.
1038
1039 -or-
1040
1041 The contents are not valid under the current encoding rules.</exception>
1042       <exception cref="T:System.ArgumentException">
1043         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1044       <returns>A copy of the value in a newly allocated, precisely sized, array.</returns>
1045     </member>
1046     <member name="M:System.Formats.Asn1.AsnReader.ReadBoolean(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1047       <summary>Reads the next value as a Boolean with a specified tag.</summary>
1048       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 1).</param>
1049       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1050
1051 -or-
1052
1053 The length encoding is not valid under the current encoding rules.
1054
1055 -or-
1056
1057 The contents are not valid under the current encoding rules.</exception>
1058       <exception cref="T:System.ArgumentException">
1059         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1060       <returns>The decoded value.</returns>
1061     </member>
1062     <member name="M:System.Formats.Asn1.AsnReader.ReadCharacterString(System.Formats.Asn1.UniversalTagNumber,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1063       <summary>Reads the next value as character string with the specified tag and encoding type, returning the decoded value as a string.</summary>
1064       <param name="encodingType">One of the enumeration values representing the value type to process.</param>
1065       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
1066       <exception cref="T:System.ArgumentOutOfRangeException">
1067         <paramref name="encodingType" /> is not a known character string type.</exception>
1068       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1069
1070 -or-
1071
1072 The length encoding is not valid under the current encoding rules.
1073
1074 -or-
1075
1076 The contents are not valid under the current encoding rules.
1077
1078 -or-
1079
1080 The string did not successfully decode.</exception>
1081       <exception cref="T:System.ArgumentException">
1082         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not the same as <paramref name="encodingType" />.</exception>
1083       <returns>The decoded value.</returns>
1084     </member>
1085     <member name="M:System.Formats.Asn1.AsnReader.ReadEncodedValue">
1086       <summary>Get a <see cref="T:System.ReadOnlyMemory`1" /> view of the next encoded value, and advance the reader past it. For an indefinite length encoding this includes the End of Contents marker.</summary>
1087       <returns>A <see cref="T:System.ReadOnlyMemory`1" /> view of the next encoded value.</returns>
1088     </member>
1089     <member name="M:System.Formats.Asn1.AsnReader.ReadEnumeratedBytes(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1090       <summary>Reads the next value as a Enumerated with a specified tag, returning the contents as a <see cref="T:System.ReadOnlyMemory`1" /> over the original data.</summary>
1091       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
1092       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1093
1094 -or-
1095
1096 The length encoding is not valid under the current encoding rules.
1097
1098 -or-
1099
1100 The contents are not valid under the current encoding rules.</exception>
1101       <exception cref="T:System.ArgumentException">
1102         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1103       <returns>The bytes of the Enumerated value, in signed big-endian form.</returns>
1104     </member>
1105     <member name="M:System.Formats.Asn1.AsnReader.ReadEnumeratedValue(System.Type,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1106       <summary>Reads the next value as an Enumerated with a specified tag, converting it to the non-[<see cref="T:System.FlagsAttribute" />] enum specified by <paramref name="enumType" />.</summary>
1107       <param name="enumType">Type object representing the destination type.</param>
1108       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
1109       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1110
1111 -or-
1112
1113 The length encoding is not valid under the current encoding rules.
1114
1115 -or-
1116
1117 The contents are not valid under the current encoding rules.
1118
1119 -or-
1120
1121 The encoded value is too big to fit in a <paramref name="enumType" /> value.</exception>
1122       <exception cref="T:System.ArgumentException">
1123         <paramref name="enumType" /> is not an enum type.
1124
1125 -or-
1126
1127 <paramref name="enumType" /> was declared with <see cref="T:System.FlagsAttribute" />.
1128
1129 -or-
1130
1131 <paramref name="enumType" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="enumType" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1132       <exception cref="T:System.ArgumentNullException">
1133         <paramref name="enumType" /> is <see langword="null" />.</exception>
1134       <returns>The Enumerated value converted to a <paramref name="enumType" />.</returns>
1135     </member>
1136     <member name="M:System.Formats.Asn1.AsnReader.ReadEnumeratedValue``1(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1137       <summary>Reads the next value as an Enumerated with a specified tag, converting it to the non-[<see cref="T:System.FlagsAttribute" />] enum specified by <typeparamref name="TEnum" />.</summary>
1138       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 10).</param>
1139       <typeparam name="TEnum">Destination enum type.</typeparam>
1140       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1141
1142 -or-
1143
1144 The length encoding is not valid under the current encoding rules.
1145
1146 -or-
1147
1148 The contents are not valid under the current encoding rules.
1149
1150 -or-
1151
1152 The encoded value is too big to fit in a <paramref name="TEnum" /> value.</exception>
1153       <exception cref="T:System.ArgumentException">
1154         <typeparamref name="TEnum" /> is not an enum type.
1155
1156 -or-
1157
1158 <typeparamref name="TEnum" /> was declared with <see cref="T:System.FlagsAttribute" />.
1159
1160 -or-
1161
1162 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1163       <returns>The Enumerated value converted to a <typeparamref name="TEnum" />.</returns>
1164     </member>
1165     <member name="M:System.Formats.Asn1.AsnReader.ReadGeneralizedTime(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1166       <summary>Reads the next value as a GeneralizedTime with a specified tag.</summary>
1167       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 24).</param>
1168       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1169
1170 -or-
1171
1172 The length encoding is not valid under the current encoding rules.
1173
1174 -or-
1175
1176 The contents are not valid under the current encoding rules.</exception>
1177       <exception cref="T:System.ArgumentException">
1178         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1179       <returns>The decoded value.</returns>
1180     </member>
1181     <member name="M:System.Formats.Asn1.AsnReader.ReadInteger(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1182       <summary>Reads the next value as an Integer with a specified tag.</summary>
1183       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1184       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1185
1186 -or-
1187
1188 The length encoding is not valid under the current encoding rules.
1189
1190 -or-
1191
1192 The contents are not valid under the current encoding rules.</exception>
1193       <exception cref="T:System.ArgumentException">
1194         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1195       <returns>The decoded value.</returns>
1196     </member>
1197     <member name="M:System.Formats.Asn1.AsnReader.ReadIntegerBytes(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1198       <summary>Reads the next value as a Integer with a specified tag, returning the contents as a <see cref="T:System.ReadOnlyMemory`1" /> over the original data.</summary>
1199       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1200       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1201
1202 -or-
1203
1204 The length encoding is not valid under the current encoding rules.
1205
1206 -or-
1207
1208 The contents are not valid under the current encoding rules.</exception>
1209       <exception cref="T:System.ArgumentException">
1210         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1211       <returns>The bytes of the Integer value, in signed big-endian form.</returns>
1212     </member>
1213     <member name="M:System.Formats.Asn1.AsnReader.ReadNamedBitList(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1214       <summary>Reads the next value as a NamedBitList with a specified tag.</summary>
1215       <param name="expectedTag">The tag to check for before reading.</param>
1216       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1217
1218 -or-
1219
1220 The length encoding is not valid under the current encoding rules.
1221
1222 -or-
1223
1224 The contents are not valid under the current encoding rules.</exception>
1225       <exception cref="T:System.ArgumentException">
1226         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1227       <returns>The bits from the encoded value.</returns>
1228     </member>
1229     <member name="M:System.Formats.Asn1.AsnReader.ReadNamedBitListValue(System.Type,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1230       <summary>Reads the next value as a NamedBitList with a specified tag, converting it to the [<see cref="T:System.FlagsAttribute" />] enum specified by <paramref name="flagsEnumType" />.</summary>
1231       <param name="flagsEnumType">Type object representing the destination type.</param>
1232       <param name="expectedTag">The tag to check for before reading.</param>
1233       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1234
1235 -or-
1236
1237 The length encoding is not valid under the current encoding rules.
1238
1239 -or-
1240
1241 The contents are not valid under the current encoding rules.
1242
1243 -or-
1244
1245 The encoded value is too big to fit in a <paramref name="flagsEnumType" /> value.</exception>
1246       <exception cref="T:System.ArgumentException">
1247         <paramref name="flagsEnumType" /> is not an enum type.
1248
1249 -or-
1250
1251 <paramref name="flagsEnumType" /> was not declared with <see cref="T:System.FlagsAttribute" />
1252
1253 -or-
1254
1255 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1256       <exception cref="T:System.ArgumentNullException">
1257         <paramref name="flagsEnumType" /> is <see langword="null" /></exception>
1258       <returns>The NamedBitList value converted to a <paramref name="flagsEnumType" />.</returns>
1259     </member>
1260     <member name="M:System.Formats.Asn1.AsnReader.ReadNamedBitListValue``1(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1261       <summary>Reads the next value as a NamedBitList with a specified tag, converting it to the [<see cref="T:System.FlagsAttribute" />] enum specified by <typeparamref name="TFlagsEnum" />.</summary>
1262       <param name="expectedTag">The tag to check for before reading.</param>
1263       <typeparam name="TFlagsEnum">Destination enum type.</typeparam>
1264       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1265
1266 -or-
1267
1268 The length encoding is not valid under the current encoding rules.
1269
1270 -or-
1271
1272 The contents are not valid under the current encoding rules.
1273
1274 -or-
1275
1276 The encoded value is too big to fit in a <paramref name="TFlagsEnum" /> value.</exception>
1277       <exception cref="T:System.ArgumentException">
1278         <typeparamref name="TFlagsEnum" /> is not an enum type.
1279
1280 -or-
1281
1282 <typeparamref name="TFlagsEnum" /> was not declared with <see cref="T:System.FlagsAttribute" />
1283
1284 -or-
1285
1286 <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1287       <returns>The NamedBitList value converted to a <typeparamref name="TFlagsEnum" />.</returns>
1288     </member>
1289     <member name="M:System.Formats.Asn1.AsnReader.ReadNull(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1290       <summary>Reads the next value as a NULL with a specified tag.</summary>
1291       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 5).</param>
1292       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1293
1294 -or-
1295
1296 The length encoding is not valid under the current encoding rules.
1297
1298 -or-
1299
1300 The contents are not valid under the current encoding rules.</exception>
1301       <exception cref="T:System.ArgumentException">
1302         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1303     </member>
1304     <member name="M:System.Formats.Asn1.AsnReader.ReadObjectIdentifier(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1305       <summary>Reads the next value as an OBJECT IDENTIFIER with a specified tag, returning the value in a dotted decimal format string.</summary>
1306       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 6).</param>
1307       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1308
1309 -or-
1310
1311 The length encoding is not valid under the current encoding rules.
1312
1313 -or-
1314
1315 The contents are not valid under the current encoding rules.</exception>
1316       <exception cref="T:System.ArgumentException">
1317         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1318       <returns>The object identifier value in a dotted decimal format string.</returns>
1319     </member>
1320     <member name="M:System.Formats.Asn1.AsnReader.ReadOctetString(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1321       <summary>Reads the next value as an OCTET STRING with tag UNIVERSAL 4, returning the value in a byte array.</summary>
1322       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 4).</param>
1323       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1324
1325 -or-
1326
1327 The length encoding is not valid under the current encoding rules.
1328
1329 -or-
1330
1331 The contents are not valid under the current encoding rules.</exception>
1332       <exception cref="T:System.ArgumentException">
1333         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1334       <returns>A copy of the value in a newly allocated, precisely sized, array.</returns>
1335     </member>
1336     <member name="M:System.Formats.Asn1.AsnReader.ReadSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1337       <summary>Reads the next value as a SEQUENCE or SEQUENCE-OF with the specified tag and returns the result as a new reader positioned at the first value in the sequence (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />).</summary>
1338       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 16).</param>
1339       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1340
1341 -or-
1342
1343 The length encoding is not valid under the current encoding rules.
1344
1345 -or-
1346
1347 The contents are not valid under the current encoding rules.</exception>
1348       <exception cref="T:System.ArgumentException">
1349         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1350       <returns>A new reader positioned at the first value in the sequence (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />).</returns>
1351     </member>
1352     <member name="M:System.Formats.Asn1.AsnReader.ReadSetOf(System.Boolean,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1353       <summary>Reads the next value as a SET-OF with the specified tag and returns the result as a new reader positioned at the first value in the set-of (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />).</summary>
1354       <param name="skipSortOrderValidation">
1355         <see langword="true" /> to always accept the data in the order it is presented, <see langword="false" /> to verify that the data is sorted correctly when the encoding rules say sorting was required (CER and DER).</param>
1356       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 17).</param>
1357       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1358
1359 -or-
1360
1361 The length encoding is not valid under the current encoding rules.
1362
1363 -or-
1364
1365 The contents are not valid under the current encoding rules.</exception>
1366       <exception cref="T:System.ArgumentException">
1367         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1368       <returns>A new reader positioned at the first value in the set-of (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />).</returns>
1369     </member>
1370     <member name="M:System.Formats.Asn1.AsnReader.ReadSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1371       <summary>Reads the next value as a SET-OF with the specified tag and returns the result as a new reader positioned at the first value in the set-of (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />), using the <see cref="P:System.Formats.Asn1.AsnReaderOptions.SkipSetSortOrderVerification" /> value from the constructor (default <see langword="false" />).</summary>
1372       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 17).</param>
1373       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1374
1375 -or-
1376
1377 The length encoding is not valid under the current encoding rules.
1378
1379 -or-
1380
1381 The contents are not valid under the current encoding rules.</exception>
1382       <exception cref="T:System.ArgumentException">
1383         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1384       <returns>A new reader positioned at the first value in the set-of (or with <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> == <see langword="false" />).</returns>
1385     </member>
1386     <member name="M:System.Formats.Asn1.AsnReader.ReadUtcTime(System.Int32,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1387       <summary>Reads the next value as a UTCTime with a specified tag.</summary>
1388       <param name="twoDigitYearMax">The largest year to represent with this value.</param>
1389       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 23).</param>
1390       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1391
1392 -or-
1393
1394 The length encoding is not valid under the current encoding rules.
1395
1396 -or-
1397
1398 The contents are not valid under the current encoding rules.</exception>
1399       <exception cref="T:System.ArgumentException">
1400         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1401       <returns>The decoded value.</returns>
1402     </member>
1403     <member name="M:System.Formats.Asn1.AsnReader.ReadUtcTime(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1404       <summary>Reads the next value as a UTCTime with a specified tag using the <see cref="P:System.Formats.Asn1.AsnReaderOptions.UtcTimeTwoDigitYearMax" /> value from options passed to the constructor (with a default of 2049).</summary>
1405       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 23).</param>
1406       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1407
1408 -or-
1409
1410 The length encoding is not valid under the current encoding rules.
1411
1412 -or-
1413
1414 The contents are not valid under the current encoding rules.</exception>
1415       <exception cref="T:System.ArgumentException">
1416         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1417       <returns>The decoded value.</returns>
1418     </member>
1419     <member name="M:System.Formats.Asn1.AsnReader.ThrowIfNotEmpty">
1420       <summary>Throws a standardized <see cref="T:System.Formats.Asn1.AsnContentException" /> if the reader has remaining data, performs no function if <see cref="P:System.Formats.Asn1.AsnReader.HasData" /> returns <see langword="false" />.</summary>
1421     </member>
1422     <member name="M:System.Formats.Asn1.AsnReader.TryReadBitString(System.Span{System.Byte},System.Int32@,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1423       <summary>Reads the next value as a BIT STRING with a specified tag, copying the value into a provided destination buffer.</summary>
1424       <param name="destination">The buffer in which to write.</param>
1425       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.</param>
1426       <param name="bytesWritten">On success, receives the number of bytes written to <paramref name="destination" />.</param>
1427       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 1).</param>
1428       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1429
1430 -or-
1431
1432 The length encoding is not valid under the current encoding rules.
1433
1434 -or-
1435
1436 The contents are not valid under the current encoding rules.</exception>
1437       <exception cref="T:System.ArgumentException">
1438         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1439       <returns>
1440         <see langword="true" /> and advances the reader if <paramref name="destination" /> had sufficient length to receive the value, otherwise <see langword="false" /> and the reader does not advance.</returns>
1441     </member>
1442     <member name="M:System.Formats.Asn1.AsnReader.TryReadCharacterString(System.Span{System.Char},System.Formats.Asn1.UniversalTagNumber,System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1443       <summary>Reads the next value as character string with the specified tag and encoding type, copying the decoded value into a provided destination buffer.</summary>
1444       <param name="destination">The buffer in which to write.</param>
1445       <param name="encodingType">One of the enumeration values representing the value type to process.</param>
1446       <param name="charsWritten">On success, receives the number of chars written to <paramref name="destination" />.</param>
1447       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
1448       <exception cref="T:System.ArgumentOutOfRangeException">
1449         <paramref name="encodingType" /> is not a known character string type.</exception>
1450       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1451
1452 -or-
1453
1454 The length encoding is not valid under the current encoding rules.
1455
1456 -or-
1457
1458 The contents are not valid under the current encoding rules.
1459
1460 -or-
1461
1462 The string did not successfully decode.</exception>
1463       <exception cref="T:System.ArgumentException">
1464         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not the same as <paramref name="encodingType" />.</exception>
1465       <returns>
1466         <see langword="true" /> and advances the reader if <paramref name="destination" /> had sufficient length to receive the value, otherwise <see langword="false" /> and the reader does not advance.</returns>
1467     </member>
1468     <member name="M:System.Formats.Asn1.AsnReader.TryReadCharacterStringBytes(System.Span{System.Byte},System.Formats.Asn1.Asn1Tag,System.Int32@)">
1469       <summary>Reads the next value as character string with the specified tag, copying the unprocessed bytes into a provided destination buffer.</summary>
1470       <param name="destination">The buffer in which to write.</param>
1471       <param name="expectedTag">The tag to check for before reading.</param>
1472       <param name="bytesWritten">On success, receives the number of bytes written to <paramref name="destination" />.</param>
1473       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1474
1475 -or-
1476
1477 The length encoding is not valid under the current encoding rules.
1478
1479 -or-
1480
1481 The contents are not valid under the current encoding rules.</exception>
1482       <exception cref="T:System.ArgumentException">
1483         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not a character string tag type.</exception>
1484       <returns>
1485         <see langword="true" /> and advances the reader if <paramref name="destination" /> had sufficient length to receive the value, otherwise <see langword="false" /> and the reader does not advance.</returns>
1486     </member>
1487     <member name="M:System.Formats.Asn1.AsnReader.TryReadInt32(System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1488       <summary>Attempts to read the next value as an Integer with a specified tag, as a signed 32-bit value.</summary>
1489       <param name="value">On success, receives the decoded value.</param>
1490       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1491       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1492
1493 -or-
1494
1495 The length encoding is not valid under the current encoding rules.
1496
1497 -or-
1498
1499 The contents are not valid under the current encoding rules.</exception>
1500       <exception cref="T:System.ArgumentException">
1501         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1502       <returns>
1503         <see langword="false" /> and does not advance the reader if the value is not between <see cref="F:System.Int32.MinValue" /> and <see cref="F:System.Int32.MaxValue" />, inclusive; otherwise <see langword="true" /> is returned and the reader advances.</returns>
1504     </member>
1505     <member name="M:System.Formats.Asn1.AsnReader.TryReadInt64(System.Int64@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1506       <summary>Attempts to read the next value as an Integer with a specified tag, as a signed 64-bit value.</summary>
1507       <param name="value">On success, receives the decoded value.</param>
1508       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1509       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1510
1511 -or-
1512
1513 The length encoding is not valid under the current encoding rules.
1514
1515 -or-
1516
1517 The contents are not valid under the current encoding rules.</exception>
1518       <exception cref="T:System.ArgumentException">
1519         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1520       <returns>
1521         <see langword="false" /> and does not advance the reader if the value is not between <see cref="F:System.Int64.MinValue" /> and <see cref="F:System.Int64.MaxValue" />, inclusive; otherwise <see langword="true" /> is returned and the reader advances.</returns>
1522     </member>
1523     <member name="M:System.Formats.Asn1.AsnReader.TryReadOctetString(System.Span{System.Byte},System.Int32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1524       <summary>Reads the next value as an OCTET STRING with a specified tag, copying the value into a provided destination buffer.</summary>
1525       <param name="destination">The buffer in which to write.</param>
1526       <param name="bytesWritten">On success, receives the number of bytes written to <paramref name="destination" />.</param>
1527       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 4).</param>
1528       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1529
1530 -or-
1531
1532 The length encoding is not valid under the current encoding rules.
1533
1534 -or-
1535
1536 The contents are not valid under the current encoding rules.</exception>
1537       <exception cref="T:System.ArgumentException">
1538         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1539       <returns>
1540         <see langword="true" /> and advances the reader if <paramref name="destination" /> had sufficient length to receive the value, otherwise <see langword="false" /> and the reader does not advance.</returns>
1541     </member>
1542     <member name="M:System.Formats.Asn1.AsnReader.TryReadPrimitiveBitString(System.Int32@,System.ReadOnlyMemory{System.Byte}@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1543       <summary>Reads the next value as a BIT STRING with a specified tag, returning the contents as a <see cref="T:System.ReadOnlyMemory`1" /> over the original data.</summary>
1544       <param name="unusedBitCount">On success, receives the number of bits in the last byte which were reported as "unused" by the writer.</param>
1545       <param name="value">On success, receives a <see cref="T:System.ReadOnlyMemory`1" /> over the original data corresponding to the value of the BIT STRING.</param>
1546       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 1).</param>
1547       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1548
1549 -or-
1550
1551 The length encoding is not valid under the current encoding rules.
1552
1553 -or-
1554
1555 The contents are not valid under the current encoding rules.</exception>
1556       <exception cref="T:System.ArgumentException">
1557         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1558       <returns>
1559         <see langword="true" /> and advances the reader if the BIT STRING value had a primitive encoding, <see langword="false" /> and does not advance the reader if it had a constructed encoding.</returns>
1560     </member>
1561     <member name="M:System.Formats.Asn1.AsnReader.TryReadPrimitiveCharacterStringBytes(System.Formats.Asn1.Asn1Tag,System.ReadOnlyMemory{System.Byte}@)">
1562       <summary>Reads the next value as a character with a specified tag, returning the contents as an unprocessed <see cref="T:System.ReadOnlyMemory`1" /> over the original data.</summary>
1563       <param name="expectedTag">The tag to check for before reading.</param>
1564       <param name="contents">On success, receives a <see cref="T:System.ReadOnlyMemory`1" /> over the original data corresponding to the value of the character string.</param>
1565       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1566
1567 -or-
1568
1569 The length encoding is not valid under the current encoding rules.
1570
1571 -or-
1572
1573 The contents are not valid under the current encoding rules.</exception>
1574       <exception cref="T:System.ArgumentException">
1575         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not a character string tag type.</exception>
1576       <returns>
1577         <see langword="true" /> and advances the reader if the character string value had a primitive encoding, <see langword="false" /> and does not advance the reader if it had a constructed encoding.</returns>
1578     </member>
1579     <member name="M:System.Formats.Asn1.AsnReader.TryReadPrimitiveOctetString(System.ReadOnlyMemory{System.Byte}@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1580       <summary>Attempts to read the next value as an OCTET STRING with a specified tag, returning the contents as a <see cref="T:System.ReadOnlyMemory`1" /> over the original data.</summary>
1581       <param name="contents">On success, receives a <see cref="T:System.ReadOnlyMemory`1" /> over the original data corresponding to the value of the OCTET STRING.</param>
1582       <param name="expectedTag">The tag to check for before reading.</param>
1583       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1584
1585 -or-
1586
1587 The length encoding is not valid under the current encoding rules.
1588
1589 -or-
1590
1591 The contents are not valid under the current encoding rules.</exception>
1592       <exception cref="T:System.ArgumentException">
1593         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1594       <returns>
1595         <see langword="true" /> and advances the reader if the OCTET STRING value had a primitive encoding, <see langword="false" /> and does not advance the reader if it had a constructed encoding.</returns>
1596     </member>
1597     <member name="M:System.Formats.Asn1.AsnReader.TryReadUInt32(System.UInt32@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1598       <summary>Attempts to read the next value as an Integer with a specified tag, as an unsigned 32-bit value.</summary>
1599       <param name="value">On success, receives the decoded value.</param>
1600       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1601       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1602
1603 -or-
1604
1605 The length encoding is not valid under the current encoding rules.
1606
1607 -or-
1608
1609 The contents are not valid under the current encoding rules.</exception>
1610       <exception cref="T:System.ArgumentException">
1611         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1612       <returns>
1613         <see langword="false" /> and does not advance the reader if the value is not between <see cref="F:System.UInt32.MinValue" /> and <see cref="F:System.UInt32.MaxValue" />, inclusive; otherwise <see langword="true" /> is returned and the reader advances.</returns>
1614     </member>
1615     <member name="M:System.Formats.Asn1.AsnReader.TryReadUInt64(System.UInt64@,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1616       <summary>Attempts to read the next value as an Integer with a specified tag, as an unsigned 64-bit value.</summary>
1617       <param name="value">On success, receives the decoded value.</param>
1618       <param name="expectedTag">The tag to check for before reading, or <see langword="null" /> for the default tag (Universal 2).</param>
1619       <exception cref="T:System.Formats.Asn1.AsnContentException">The next value does not have the correct tag.
1620
1621 -or-
1622
1623 The length encoding is not valid under the current encoding rules.
1624
1625 -or-
1626
1627 The contents are not valid under the current encoding rules.</exception>
1628       <exception cref="T:System.ArgumentException">
1629         <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="expectedTag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1630       <returns>
1631         <see langword="false" /> and does not advance the reader if the value is not between <see cref="F:System.UInt64.MinValue" /> and <see cref="F:System.UInt64.MaxValue" />, inclusive; otherwise <see langword="true" /> is returned and the reader advances.</returns>
1632     </member>
1633     <member name="P:System.Formats.Asn1.AsnReader.HasData">
1634       <summary>Gets an indication of whether the reader has remaining data available to process.</summary>
1635       <returns>
1636         <see langword="true" /> if there is more data available for the reader to process; otherwise, <see langword="false" />.</returns>
1637     </member>
1638     <member name="P:System.Formats.Asn1.AsnReader.RuleSet">
1639       <summary>Gets the encoding rules in use by this reader.</summary>
1640       <returns>The encoding rules in use by this reader.</returns>
1641     </member>
1642     <member name="T:System.Formats.Asn1.AsnReaderOptions">
1643       <summary>Specifies options that modify the behavior of an <see cref="T:System.Formats.Asn1.AsnReader" />.</summary>
1644     </member>
1645     <member name="P:System.Formats.Asn1.AsnReaderOptions.SkipSetSortOrderVerification">
1646       <summary>Gets or sets a value that indicates whether the reader should bypass sort ordering on a Set or Set-Of value.</summary>
1647       <returns>
1648         <see langword="true" /> if the reader should not validate that a Set or Set-Of value is sorted correctly for the current encoding rules; otherwise <see langword="false" />.
1649               The default is <see langword="false" />.</returns>
1650     </member>
1651     <member name="P:System.Formats.Asn1.AsnReaderOptions.UtcTimeTwoDigitYearMax">
1652       <summary>Gets or sets the largest year to represent with a UtcTime value.</summary>
1653       <returns>The largest year to represent with a UtcTime value. The default is 2049.</returns>
1654     </member>
1655     <member name="T:System.Formats.Asn1.AsnWriter">
1656       <summary>A writer for BER-, CER-, and DER-encoded ASN.1 data.</summary>
1657     </member>
1658     <member name="M:System.Formats.Asn1.AsnWriter.#ctor(System.Formats.Asn1.AsnEncodingRules)">
1659       <summary>Create a new <see cref="T:System.Formats.Asn1.AsnWriter" /> with a given set of encoding rules.</summary>
1660       <param name="ruleSet">The encoding constraints for the writer.</param>
1661       <exception cref="T:System.ArgumentOutOfRangeException">
1662         <paramref name="ruleSet" /> is not defined.</exception>
1663     </member>
1664     <member name="M:System.Formats.Asn1.AsnWriter.CopyTo(System.Formats.Asn1.AsnWriter)">
1665       <summary>Copy the value of this writer into another.</summary>
1666       <param name="destination">The writer to receive the value.</param>
1667       <exception cref="T:System.ArgumentNullException">
1668         <paramref name="destination" /> is <see langword="null" />.</exception>
1669       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.
1670              -or- 
1671                This writer is empty.
1672              -or- 
1673                This writer represents more than one top-level value.
1674              -or- 
1675                This writer's value is encoded in a manner that is not compatible with the ruleset for the destination writer.</exception>
1676     </member>
1677     <member name="M:System.Formats.Asn1.AsnWriter.Encode">
1678       <summary>Return a new array containing the encoded value.</summary>
1679       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</exception>
1680       <returns>A precisely-sized array containing the encoded value.</returns>
1681     </member>
1682     <member name="M:System.Formats.Asn1.AsnWriter.Encode(System.Span{System.Byte})">
1683       <summary>Writes the encoded representation of the data to <paramref name="destination" />.</summary>
1684       <param name="destination">The buffer in which to write.</param>
1685       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</exception>
1686       <returns>The number of bytes written to <paramref name="destination" />.</returns>
1687     </member>
1688     <member name="M:System.Formats.Asn1.AsnWriter.EncodedValueEquals(System.Formats.Asn1.AsnWriter)">
1689       <summary>Determines if <see cref="M:System.Formats.Asn1.AsnWriter.Encode" /> would produce an output identical to <paramref name="other" />.</summary>
1690       <param name="other">The instance to compare encoded values against.</param>
1691       <exception cref="T:System.ArgumentNullException">
1692         <paramref name="other" /> is <see langword="null" />.</exception>
1693       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</exception>
1694       <returns>
1695         <see langword="true" /> if the pending encoded data is identical to <paramref name="other" />, <see langword="false" /> otherwise.</returns>
1696     </member>
1697     <member name="M:System.Formats.Asn1.AsnWriter.EncodedValueEquals(System.ReadOnlySpan{System.Byte})">
1698       <summary>Determines if <see cref="M:System.Formats.Asn1.AsnWriter.Encode" /> would produce an output identical to <paramref name="other" />.</summary>
1699       <param name="other">The encoded value to compare against.</param>
1700       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</exception>
1701       <returns>
1702         <see langword="true" /> if the pending encoded data is identical to <paramref name="other" />, <see langword="false" /> otherwise.</returns>
1703     </member>
1704     <member name="M:System.Formats.Asn1.AsnWriter.GetEncodedLength">
1705       <summary>Gets the number of bytes that would be written by <see cref="M:System.Formats.Asn1.AsnWriter.TryEncode(System.Span{System.Byte},System.Int32@)" />.</summary>
1706       <exception cref="T:System.InvalidOperationException">
1707         <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" />, <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />, or <see cref="M:System.Formats.Asn1.AsnWriter.PushOctetString(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> was called without the corresponding Pop method.</exception>
1708       <returns>The number of bytes that would be written by <see cref="M:System.Formats.Asn1.AsnWriter.TryEncode(System.Span{System.Byte},System.Int32@)" />.</returns>
1709     </member>
1710     <member name="M:System.Formats.Asn1.AsnWriter.PopOctetString(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1711       <summary>Indicate that the open Octet String with the tag UNIVERSAL 4 is closed, returning the writer to the parent context.</summary>
1712       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 4).</param>
1713       <exception cref="T:System.ArgumentException">
1714         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1715       <exception cref="T:System.InvalidOperationException">the writer is not currently positioned within an Octet String with the specified tag.</exception>
1716     </member>
1717     <member name="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1718       <summary>Indicate that the open Sequence with the specified tag is closed, returning the writer to the parent context.</summary>
1719       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 16).</param>
1720       <exception cref="T:System.ArgumentException">
1721         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1722       <exception cref="T:System.InvalidOperationException">the writer is not currently positioned within a Sequence with the specified tag.</exception>
1723     </member>
1724     <member name="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1725       <summary>Indicate that the open Set-Of with the specified tag is closed, returning the writer to the parent context.</summary>
1726       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 17).</param>
1727       <exception cref="T:System.ArgumentException">
1728         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1729       <exception cref="T:System.InvalidOperationException">the writer is not currently positioned within a Set-Of with the specified tag.</exception>
1730     </member>
1731     <member name="M:System.Formats.Asn1.AsnWriter.PushOctetString(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1732       <summary>Begin writing an Octet String value with a specified tag.</summary>
1733       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 4).</param>
1734       <returns>A disposable value which will automatically call <see cref="M:System.Formats.Asn1.AsnWriter.PopOctetString(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</returns>
1735     </member>
1736     <member name="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1737       <summary>Begin writing a Sequence with a specified tag.</summary>
1738       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 16).</param>
1739       <exception cref="T:System.ArgumentException">
1740         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1741       <returns>A disposable value which will automatically call <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</returns>
1742     </member>
1743     <member name="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1744       <summary>Begin writing a Set-Of with a specified tag.</summary>
1745       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 17).</param>
1746       <exception cref="T:System.ArgumentException">
1747         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1748       <returns>A disposable value which will automatically call <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</returns>
1749     </member>
1750     <member name="M:System.Formats.Asn1.AsnWriter.Reset">
1751       <summary>Reset the writer to have no data, without releasing resources.</summary>
1752     </member>
1753     <member name="M:System.Formats.Asn1.AsnWriter.TryEncode(System.Span{System.Byte},System.Int32@)">
1754       <summary>Attempts to write the encoded representation of the data to <paramref name="destination" />.</summary>
1755       <param name="destination">The buffer in which to write.</param>
1756       <param name="bytesWritten">On success, receives the number of bytes written to <paramref name="destination" />.</param>
1757       <exception cref="T:System.InvalidOperationException">A <see cref="M:System.Formats.Asn1.AsnWriter.PushSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PushSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> has not been closed via <see cref="M:System.Formats.Asn1.AsnWriter.PopSequence(System.Nullable{System.Formats.Asn1.Asn1Tag})" /> or <see cref="M:System.Formats.Asn1.AsnWriter.PopSetOf(System.Nullable{System.Formats.Asn1.Asn1Tag})" />.</exception>
1758       <returns>
1759         <see langword="true" /> if the encode succeeded, <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1760     </member>
1761     <member name="M:System.Formats.Asn1.AsnWriter.WriteBitString(System.ReadOnlySpan{System.Byte},System.Int32,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1762       <summary>Write a Bit String value with a specified tag.</summary>
1763       <param name="value">The value to write.</param>
1764       <param name="unusedBitCount">The number of trailing bits which are not semantic.</param>
1765       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 3).</param>
1766       <exception cref="T:System.ArgumentException">
1767         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1768              -or- 
1769                <paramref name="value" /> has length 0 and <paramref name="unusedBitCount" /> is not 0 
1770                -or- 
1771                <paramref name="value" /> is not empty and any of the bits identified by <paramref name="unusedBitCount" /> is set.</exception>
1772       <exception cref="T:System.ArgumentOutOfRangeException">
1773         <paramref name="unusedBitCount" /> is not in the range [0,7].</exception>
1774     </member>
1775     <member name="M:System.Formats.Asn1.AsnWriter.WriteBoolean(System.Boolean,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1776       <summary>Write a Boolean value with a specified tag.</summary>
1777       <param name="value">The value to write.</param>
1778       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 1).</param>
1779       <exception cref="T:System.ArgumentException">
1780         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method</exception>
1781     </member>
1782     <member name="M:System.Formats.Asn1.AsnWriter.WriteCharacterString(System.Formats.Asn1.UniversalTagNumber,System.ReadOnlySpan{System.Char},System.Nullable{System.Formats.Asn1.Asn1Tag})">
1783       <summary>Write the provided string using the specified encoding type using the specified tag corresponding to the encoding type.</summary>
1784       <param name="encodingType">One of the enumeration values representing the encoding to use.</param>
1785       <param name="str">The string to write.</param>
1786       <param name="tag">The tag to write, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
1787       <exception cref="T:System.ArgumentOutOfRangeException">
1788         <paramref name="encodingType" /> is not a restricted character string encoding type.
1789              -or- 
1790                <paramref name="encodingType" /> is a restricted character string encoding type that is not currently supported by this method.</exception>
1791       <exception cref="T:System.ArgumentException">
1792         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1793     </member>
1794     <member name="M:System.Formats.Asn1.AsnWriter.WriteCharacterString(System.Formats.Asn1.UniversalTagNumber,System.String,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1795       <summary>Write the provided string using the specified encoding type using the specified tag corresponding to the encoding type.</summary>
1796       <param name="encodingType">One of the enumeration values representing the encoding to use.</param>
1797       <param name="value">The string to write.</param>
1798       <param name="tag">The tag to write, or <see langword="null" /> for the universal tag that is appropriate to the requested encoding type.</param>
1799       <exception cref="T:System.ArgumentNullException">
1800         <paramref name="value" /> is <see langword="null" /></exception>
1801       <exception cref="T:System.ArgumentOutOfRangeException">
1802         <paramref name="encodingType" /> is not a restricted character string encoding type.
1803              -or- 
1804                <paramref name="encodingType" /> is a restricted character string encoding type that is not currently supported by this method.</exception>
1805       <exception cref="T:System.ArgumentException">
1806         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1807     </member>
1808     <member name="M:System.Formats.Asn1.AsnWriter.WriteEncodedValue(System.ReadOnlySpan{System.Byte})">
1809       <summary>Write a single value which has already been encoded.</summary>
1810       <param name="value">The value to write.</param>
1811       <exception cref="T:System.ArgumentException">
1812         <paramref name="value" /> could not be read under the current encoding rules.
1813              -or- 
1814                <paramref name="value" /> has data beyond the end of the first value.</exception>
1815     </member>
1816     <member name="M:System.Formats.Asn1.AsnWriter.WriteEnumeratedValue(System.Enum,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1817       <summary>Write a non-[<see cref="T:System.FlagsAttribute" />] enum value as an Enumerated with tag UNIVERSAL 10.</summary>
1818       <param name="value">The boxed enumeration value to write.</param>
1819       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 10).</param>
1820       <exception cref="T:System.ArgumentNullException">
1821         <paramref name="value" /> is <see langword="null" />.</exception>
1822       <exception cref="T:System.ArgumentException">
1823         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1824              -or- 
1825                <paramref name="value" /> is not a boxed enum value.
1826              -or- 
1827                the unboxed type of <paramref name="value" /> is declared [<see cref="T:System.FlagsAttribute" />].</exception>
1828     </member>
1829     <member name="M:System.Formats.Asn1.AsnWriter.WriteEnumeratedValue``1(``0,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1830       <summary>Write a non-[<see cref="T:System.FlagsAttribute" />] enum value as an Enumerated with tag UNIVERSAL 10.</summary>
1831       <param name="value">The boxed enumeration value to write.</param>
1832       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 10).</param>
1833       <typeparam name="TEnum">The non-[<see cref="T:System.FlagsAttribute" />] enumeration type to write.</typeparam>
1834       <exception cref="T:System.ArgumentNullException">
1835         <paramref name="value" /> is <see langword="null" />.</exception>
1836       <exception cref="T:System.ArgumentException">
1837         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1838              -or- 
1839                <typeparamref name="TEnum" /> is not an enum.
1840              -or- 
1841                <typeparamref name="TEnum" /> is declared [<see cref="T:System.FlagsAttribute" />].</exception>
1842     </member>
1843     <member name="M:System.Formats.Asn1.AsnWriter.WriteGeneralizedTime(System.DateTimeOffset,System.Boolean,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1844       <summary>Write the provided <see cref="T:System.DateTimeOffset" /> as a GeneralizedTime with a specified UNIVERSAL 24, optionally excluding the fractional seconds.</summary>
1845       <param name="value">The value to write.</param>
1846       <param name="omitFractionalSeconds">
1847         <see langword="true" /> to treat the fractional seconds in <paramref name="value" /> as 0 even if a non-zero value is present.</param>
1848       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 24).</param>
1849       <exception cref="T:System.ArgumentException">
1850         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1851     </member>
1852     <member name="M:System.Formats.Asn1.AsnWriter.WriteInteger(System.Int64,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1853       <summary>Write an Integer value with a specified tag.</summary>
1854       <param name="value">The value to write.</param>
1855       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 2).</param>
1856       <exception cref="T:System.ArgumentException">
1857         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1858     </member>
1859     <member name="M:System.Formats.Asn1.AsnWriter.WriteInteger(System.Numerics.BigInteger,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1860       <summary>Write an Integer value with a specified tag.</summary>
1861       <param name="value">The value to write.</param>
1862       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 2).</param>
1863       <exception cref="T:System.ArgumentException">
1864         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1865     </member>
1866     <member name="M:System.Formats.Asn1.AsnWriter.WriteInteger(System.ReadOnlySpan{System.Byte},System.Nullable{System.Formats.Asn1.Asn1Tag})">
1867       <summary>Write an Integer value with a specified tag.</summary>
1868       <param name="value">The integer value to write, in signed big-endian byte order.</param>
1869       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 2).</param>
1870       <exception cref="T:System.ArgumentException">
1871         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1872       <exception cref="T:System.ArgumentException">the 9 most significant bits are all set.
1873              -or- 
1874                the 9 most significant bits are all unset.</exception>
1875     </member>
1876     <member name="M:System.Formats.Asn1.AsnWriter.WriteInteger(System.UInt64,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1877       <summary>Write an Integer value with a specified tag.</summary>
1878       <param name="value">The value to write.</param>
1879       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 2).</param>
1880       <exception cref="T:System.ArgumentException">
1881         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1882     </member>
1883     <member name="M:System.Formats.Asn1.AsnWriter.WriteIntegerUnsigned(System.ReadOnlySpan{System.Byte},System.Nullable{System.Formats.Asn1.Asn1Tag})">
1884       <summary>Write an Integer value with a specified tag.</summary>
1885       <param name="value">The integer value to write, in unsigned big-endian byte order.</param>
1886       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 2).</param>
1887       <exception cref="T:System.ArgumentException">
1888         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1889       <exception cref="T:System.ArgumentException">the 9 most significant bits are all unset.</exception>
1890     </member>
1891     <member name="M:System.Formats.Asn1.AsnWriter.WriteNamedBitList(System.Collections.BitArray,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1892       <summary>Write a bit array value as a NamedBitList with a specified tag.</summary>
1893       <param name="value">The bits to write.</param>
1894       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 3).</param>
1895       <exception cref="T:System.ArgumentException">
1896         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1897       <exception cref="T:System.ArgumentNullException">
1898         <paramref name="value" /> is <see langword="null" />.</exception>
1899     </member>
1900     <member name="M:System.Formats.Asn1.AsnWriter.WriteNamedBitList(System.Enum,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1901       <summary>Write a [<see cref="T:System.FlagsAttribute" />] enum value as a NamedBitList with a specified tag.</summary>
1902       <param name="value">The boxed enumeration value to write.</param>
1903       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 3).</param>
1904       <exception cref="T:System.ArgumentException">
1905         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1906              -or- 
1907                <paramref name="value" /> is not a boxed enum value.
1908              -or- 
1909                the unboxed type of <paramref name="value" /> is not declared [<see cref="T:System.FlagsAttribute" />].</exception>
1910       <exception cref="T:System.ArgumentNullException">
1911         <paramref name="value" /> is <see langword="null" />.</exception>
1912     </member>
1913     <member name="M:System.Formats.Asn1.AsnWriter.WriteNamedBitList``1(``0,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1914       <summary>Write a [<see cref="T:System.FlagsAttribute" />] enum value as a NamedBitList with a specified tag.</summary>
1915       <param name="value">The enumeration value to write.</param>
1916       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 3).</param>
1917       <typeparam name="TEnum">The [<see cref="T:System.FlagsAttribute" />] enumeration type to write.</typeparam>
1918       <exception cref="T:System.ArgumentException">
1919         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1920              -or- 
1921                <typeparamref name="TEnum" /> is not an enum value.
1922              -or- 
1923                <typeparamref name="TEnum" /> is not declared [<see cref="T:System.FlagsAttribute" />].</exception>
1924     </member>
1925     <member name="M:System.Formats.Asn1.AsnWriter.WriteNull(System.Nullable{System.Formats.Asn1.Asn1Tag})">
1926       <summary>Write NULL with a specified tag.</summary>
1927       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 5).</param>
1928       <exception cref="T:System.ArgumentException">
1929         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1930     </member>
1931     <member name="M:System.Formats.Asn1.AsnWriter.WriteObjectIdentifier(System.ReadOnlySpan{System.Char},System.Nullable{System.Formats.Asn1.Asn1Tag})">
1932       <summary>Write an Object Identifier with a specified tag.</summary>
1933       <param name="oidValue">The object identifier to write.</param>
1934       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 6).</param>
1935       <exception cref="T:System.ArgumentException">
1936         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1937              -or- 
1938                <paramref name="oidValue" /> is not a valid dotted decimal object identifier.</exception>
1939     </member>
1940     <member name="M:System.Formats.Asn1.AsnWriter.WriteObjectIdentifier(System.String,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1941       <summary>Write an Object Identifier with a specified tag.</summary>
1942       <param name="oidValue">The object identifier to write.</param>
1943       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 6).</param>
1944       <exception cref="T:System.ArgumentException">
1945         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.
1946              -or- 
1947                <paramref name="oidValue" /> is not a valid dotted decimal object identifier.</exception>
1948       <exception cref="T:System.ArgumentNullException">
1949         <paramref name="oidValue" /> is <see langword="null" />.</exception>
1950     </member>
1951     <member name="M:System.Formats.Asn1.AsnWriter.WriteOctetString(System.ReadOnlySpan{System.Byte},System.Nullable{System.Formats.Asn1.Asn1Tag})">
1952       <summary>Write an Octet String value with a specified tag.</summary>
1953       <param name="value">The value to write.</param>
1954       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 4).</param>
1955       <exception cref="T:System.ArgumentException">
1956         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1957     </member>
1958     <member name="M:System.Formats.Asn1.AsnWriter.WriteUtcTime(System.DateTimeOffset,System.Int32,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1959       <summary>Write the provided value as a UTCTime with a specified tag, provided the year is in the allowed range.</summary>
1960       <param name="value">The value to write.</param>
1961       <param name="twoDigitYearMax">The maximum valid year for <paramref name="value" />, after conversion to UTC.
1962               For the X.509 Time.utcTime range of 1950-2049, pass <c>2049</c>.</param>
1963       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 23).</param>
1964       <exception cref="T:System.ArgumentException">
1965         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1966       <exception cref="T:System.ArgumentOutOfRangeException">
1967         <paramref name="value" />.<see cref="P:System.DateTimeOffset.Year" /> (after conversion to UTC) is not in the range (<paramref name="twoDigitYearMax" /> - 100, <paramref name="twoDigitYearMax" />].</exception>
1968     </member>
1969     <member name="M:System.Formats.Asn1.AsnWriter.WriteUtcTime(System.DateTimeOffset,System.Nullable{System.Formats.Asn1.Asn1Tag})">
1970       <summary>Write the provided value as a UTCTime with a specified tag, accepting the two-digit year as valid in context.</summary>
1971       <param name="value">The value to write.</param>
1972       <param name="tag">The tag to write, or <see langword="null" /> for the default tag (Universal 23).</param>
1973       <exception cref="T:System.ArgumentException">
1974         <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagClass" /> is <see cref="F:System.Formats.Asn1.TagClass.Universal" />, but <paramref name="tag" />.<see cref="P:System.Formats.Asn1.Asn1Tag.TagValue" /> is not correct for the method.</exception>
1975     </member>
1976     <member name="P:System.Formats.Asn1.AsnWriter.RuleSet">
1977       <summary>Gets the encoding rules in use by this writer.</summary>
1978       <returns>The encoding rules in use by this writer.</returns>
1979     </member>
1980     <member name="T:System.Formats.Asn1.AsnWriter.Scope">
1981       <summary>Provides an <see cref="T:System.IDisposable" /> target for safely closing an opened tag by using a lexical scope as a logical scope.</summary>
1982     </member>
1983     <member name="M:System.Formats.Asn1.AsnWriter.Scope.Dispose">
1984       <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
1985     </member>
1986     <member name="T:System.Formats.Asn1.TagClass">
1987       <summary>The tag class for a particular ASN.1 tag.</summary>
1988     </member>
1989     <member name="F:System.Formats.Asn1.TagClass.Application">
1990       <summary>The Application tag class.</summary>
1991     </member>
1992     <member name="F:System.Formats.Asn1.TagClass.ContextSpecific">
1993       <summary>The Context-Specific tag class.</summary>
1994     </member>
1995     <member name="F:System.Formats.Asn1.TagClass.Private">
1996       <summary>The Private tag class.</summary>
1997     </member>
1998     <member name="F:System.Formats.Asn1.TagClass.Universal">
1999       <summary>The Universal tag class.</summary>
2000     </member>
2001     <member name="T:System.Formats.Asn1.UniversalTagNumber">
2002       <summary>Tag assignments for the UNIVERSAL class in ITU-T X.680.</summary>
2003     </member>
2004     <member name="F:System.Formats.Asn1.UniversalTagNumber.BitString">
2005       <summary>The universal class tag value for Bit String.</summary>
2006     </member>
2007     <member name="F:System.Formats.Asn1.UniversalTagNumber.BMPString">
2008       <summary>The universal class tag value for BMPString.</summary>
2009     </member>
2010     <member name="F:System.Formats.Asn1.UniversalTagNumber.Boolean">
2011       <summary>The universal class tag value for Boolean.</summary>
2012     </member>
2013     <member name="F:System.Formats.Asn1.UniversalTagNumber.Date">
2014       <summary>The universal class tag value for Date.</summary>
2015     </member>
2016     <member name="F:System.Formats.Asn1.UniversalTagNumber.DateTime">
2017       <summary>The universal class tag value for Date-Time.</summary>
2018     </member>
2019     <member name="F:System.Formats.Asn1.UniversalTagNumber.Duration">
2020       <summary>The universal class tag value for Duration.</summary>
2021     </member>
2022     <member name="F:System.Formats.Asn1.UniversalTagNumber.Embedded">
2023       <summary>The universal class tag value for Embedded-PDV.</summary>
2024     </member>
2025     <member name="F:System.Formats.Asn1.UniversalTagNumber.EndOfContents">
2026       <summary>The reserved identifier for the End-of-Contents marker in an indefinite length encoding.</summary>
2027     </member>
2028     <member name="F:System.Formats.Asn1.UniversalTagNumber.Enumerated">
2029       <summary>The universal class tag value for Enumerated.</summary>
2030     </member>
2031     <member name="F:System.Formats.Asn1.UniversalTagNumber.External">
2032       <summary>The universal class tag value for External.</summary>
2033     </member>
2034     <member name="F:System.Formats.Asn1.UniversalTagNumber.GeneralizedTime">
2035       <summary>The universal class tag value for GeneralizedTime.</summary>
2036     </member>
2037     <member name="F:System.Formats.Asn1.UniversalTagNumber.GeneralString">
2038       <summary>The universal class tag value for GeneralString.</summary>
2039     </member>
2040     <member name="F:System.Formats.Asn1.UniversalTagNumber.GraphicString">
2041       <summary>The universal class tag value for GraphicString.</summary>
2042     </member>
2043     <member name="F:System.Formats.Asn1.UniversalTagNumber.IA5String">
2044       <summary>The universal class tag value for IA5String.</summary>
2045     </member>
2046     <member name="F:System.Formats.Asn1.UniversalTagNumber.InstanceOf">
2047       <summary>The universal class tag value for Instance-Of.</summary>
2048     </member>
2049     <member name="F:System.Formats.Asn1.UniversalTagNumber.Integer">
2050       <summary>The universal class tag value for Integer.</summary>
2051     </member>
2052     <member name="F:System.Formats.Asn1.UniversalTagNumber.ISO646String">
2053       <summary>The universal class tag value for ISO646String (VisibleString).</summary>
2054     </member>
2055     <member name="F:System.Formats.Asn1.UniversalTagNumber.Null">
2056       <summary>The universal class tag value for Null.</summary>
2057     </member>
2058     <member name="F:System.Formats.Asn1.UniversalTagNumber.NumericString">
2059       <summary>The universal class tag value for NumericString.</summary>
2060     </member>
2061     <member name="F:System.Formats.Asn1.UniversalTagNumber.ObjectDescriptor">
2062       <summary>The universal class tag value for Object Descriptor.</summary>
2063     </member>
2064     <member name="F:System.Formats.Asn1.UniversalTagNumber.ObjectIdentifier">
2065       <summary>The universal class tag value for Object Identifier.</summary>
2066     </member>
2067     <member name="F:System.Formats.Asn1.UniversalTagNumber.ObjectIdentifierIRI">
2068       <summary>The universal class tag value for Object Identifier Internationalized Resource Identifier (IRI).</summary>
2069     </member>
2070     <member name="F:System.Formats.Asn1.UniversalTagNumber.OctetString">
2071       <summary>The universal class tag value for Octet String.</summary>
2072     </member>
2073     <member name="F:System.Formats.Asn1.UniversalTagNumber.PrintableString">
2074       <summary>The universal class tag value for PrintableString.</summary>
2075     </member>
2076     <member name="F:System.Formats.Asn1.UniversalTagNumber.Real">
2077       <summary>The universal class tag value for Real.</summary>
2078     </member>
2079     <member name="F:System.Formats.Asn1.UniversalTagNumber.RelativeObjectIdentifier">
2080       <summary>The universal class tag value for Relative Object Identifier.</summary>
2081     </member>
2082     <member name="F:System.Formats.Asn1.UniversalTagNumber.RelativeObjectIdentifierIRI">
2083       <summary>The universal class tag value for Relative Object Identifier Internationalized Resource Identifier (IRI).</summary>
2084     </member>
2085     <member name="F:System.Formats.Asn1.UniversalTagNumber.Sequence">
2086       <summary>The universal class tag value for Sequence.</summary>
2087     </member>
2088     <member name="F:System.Formats.Asn1.UniversalTagNumber.SequenceOf">
2089       <summary>The universal class tag value for Sequence-Of.</summary>
2090     </member>
2091     <member name="F:System.Formats.Asn1.UniversalTagNumber.Set">
2092       <summary>The universal class tag value for Set.</summary>
2093     </member>
2094     <member name="F:System.Formats.Asn1.UniversalTagNumber.SetOf">
2095       <summary>The universal class tag value for Set-Of.</summary>
2096     </member>
2097     <member name="F:System.Formats.Asn1.UniversalTagNumber.T61String">
2098       <summary>The universal class tag value for T61String (TeletexString).</summary>
2099     </member>
2100     <member name="F:System.Formats.Asn1.UniversalTagNumber.TeletexString">
2101       <summary>The universal class tag value for TeletexString (T61String).</summary>
2102     </member>
2103     <member name="F:System.Formats.Asn1.UniversalTagNumber.Time">
2104       <summary>The universal class tag value for Time.</summary>
2105     </member>
2106     <member name="F:System.Formats.Asn1.UniversalTagNumber.TimeOfDay">
2107       <summary>The universal class tag value for Time-Of-Day.</summary>
2108     </member>
2109     <member name="F:System.Formats.Asn1.UniversalTagNumber.UniversalString">
2110       <summary>The universal class tag value for UniversalString.</summary>
2111     </member>
2112     <member name="F:System.Formats.Asn1.UniversalTagNumber.UnrestrictedCharacterString">
2113       <summary>The universal class tag value for an unrestricted character string.</summary>
2114     </member>
2115     <member name="F:System.Formats.Asn1.UniversalTagNumber.UtcTime">
2116       <summary>The universal class tag value for UTCTime.</summary>
2117     </member>
2118     <member name="F:System.Formats.Asn1.UniversalTagNumber.UTF8String">
2119       <summary>The universal class tag value for UTF8String.</summary>
2120     </member>
2121     <member name="F:System.Formats.Asn1.UniversalTagNumber.VideotexString">
2122       <summary>The universal class tag value for VideotexString.</summary>
2123     </member>
2124     <member name="F:System.Formats.Asn1.UniversalTagNumber.VisibleString">
2125       <summary>The universal class tag value for VisibleString (ISO646String).</summary>
2126     </member>
2127   </members>
2128 </doc>