1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Security.Cryptography.Encoding</name>
7 <member name="T:System.Security.Cryptography.AsnEncodedData">
8 <summary>Represents Abstract Syntax Notation One (ASN.1)-encoded data.</summary>
10 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor">
11 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class.</summary>
13 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.Byte[])">
14 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class using a byte array.</summary>
15 <param name="rawData">A byte array that contains Abstract Syntax Notation One (ASN.1)-encoded data.</param>
17 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.ReadOnlySpan{System.Byte})">
18 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class from existing encoded data.</summary>
19 <param name="rawData">The Abstract Syntax Notation One (ASN.1)-encoded data.</param>
21 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.Security.Cryptography.AsnEncodedData)">
22 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class using an instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class.</summary>
23 <param name="asnEncodedData">An instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class.</param>
24 <exception cref="T:System.ArgumentNullException">
25 <paramref name="asnEncodedData" /> is <see langword="null" />.</exception>
27 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.Security.Cryptography.Oid,System.Byte[])">
28 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class using an <see cref="T:System.Security.Cryptography.Oid" /> object and a byte array.</summary>
29 <param name="oid">An <see cref="T:System.Security.Cryptography.Oid" /> object.</param>
30 <param name="rawData">A byte array that contains Abstract Syntax Notation One (ASN.1)-encoded data.</param>
32 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.Security.Cryptography.Oid,System.ReadOnlySpan{System.Byte})">
33 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class from an object identifier (OID) and existing encoded data.</summary>
34 <param name="oid">The object identifier for this data.</param>
35 <param name="rawData">The Abstract Syntax Notation One (ASN.1)-encoded data.</param>
37 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.String,System.Byte[])">
38 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class using a byte array.</summary>
39 <param name="oid">A string that represents <see cref="T:System.Security.Cryptography.Oid" /> information.</param>
40 <param name="rawData">A byte array that contains Abstract Syntax Notation One (ASN.1)-encoded data.</param>
42 <member name="M:System.Security.Cryptography.AsnEncodedData.#ctor(System.String,System.ReadOnlySpan{System.Byte})">
43 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedData" /> class from an object identifier (OID) and existing encoded data.</summary>
44 <param name="oid">The object identifier for this data.</param>
45 <param name="rawData">The Abstract Syntax Notation One (ASN.1)-encoded data.</param>
47 <member name="M:System.Security.Cryptography.AsnEncodedData.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
48 <summary>Copies information from an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
49 <param name="asnEncodedData">The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to base the new object on.</param>
50 <exception cref="T:System.ArgumentNullException">
51 <paramref name="asnEncodedData" /> is <see langword="null" />.</exception>
53 <member name="M:System.Security.Cryptography.AsnEncodedData.Format(System.Boolean)">
54 <summary>Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.</summary>
55 <param name="multiLine">
56 <see langword="true" /> if the return string should contain carriage returns; otherwise, <see langword="false" />.</param>
57 <returns>A formatted string that represents the Abstract Syntax Notation One (ASN.1)-encoded data.</returns>
59 <member name="P:System.Security.Cryptography.AsnEncodedData.Oid">
60 <summary>Gets or sets the <see cref="T:System.Security.Cryptography.Oid" /> value for an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
61 <returns>An <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
63 <member name="P:System.Security.Cryptography.AsnEncodedData.RawData">
64 <summary>Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.</summary>
65 <exception cref="T:System.ArgumentNullException">The value is <see langword="null" />.</exception>
66 <returns>A byte array that represents the Abstract Syntax Notation One (ASN.1)-encoded data.</returns>
68 <member name="T:System.Security.Cryptography.AsnEncodedDataCollection">
69 <summary>Represents a collection of <see cref="T:System.Security.Cryptography.AsnEncodedData" /> objects. This class cannot be inherited.</summary>
71 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.#ctor">
72 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> class.</summary>
74 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.#ctor(System.Security.Cryptography.AsnEncodedData)">
75 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> class and adds an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to the collection.</summary>
76 <param name="asnEncodedData">The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to add to the collection.</param>
78 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.Add(System.Security.Cryptography.AsnEncodedData)">
79 <summary>Adds an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
80 <param name="asnEncodedData">The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to add to the collection.</param>
81 <exception cref="T:System.ArgumentNullException">
82 <paramref name="asnEncodedData" /> is <see langword="null" />.</exception>
83 <exception cref="T:System.Security.Cryptography.CryptographicException">Neither of the OIDs are <see langword="null" /> and the OIDs do not match.
87 One of the OIDs is <see langword="null" /> and the OIDs do not match.</exception>
88 <returns>The index of the added <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</returns>
90 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.CopyTo(System.Security.Cryptography.AsnEncodedData[],System.Int32)">
91 <summary>Copies the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object into an array.</summary>
92 <param name="array">The array that the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object is to be copied into.</param>
93 <param name="index">The location where the copy operation starts.</param>
95 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.GetEnumerator">
96 <summary>Returns an <see cref="T:System.Security.Cryptography.AsnEncodedDataEnumerator" /> object that can be used to navigate the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
97 <returns>An <see cref="T:System.Security.Cryptography.AsnEncodedDataEnumerator" /> object.</returns>
99 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.Remove(System.Security.Cryptography.AsnEncodedData)">
100 <summary>Removes an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object from the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
101 <param name="asnEncodedData">The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object to remove.</param>
102 <exception cref="T:System.ArgumentNullException">
103 <paramref name="asnEncodedData" /> is <see langword="null" />.</exception>
105 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
106 <summary>Copies the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object into an array.</summary>
107 <param name="array">The array that the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object is to be copied into.</param>
108 <param name="index">The location where the copy operation starts.</param>
109 <exception cref="T:System.ArgumentException">
110 <paramref name="array" /> is a multidimensional array, which is not supported by this method.
114 The length for <paramref name="index" /> is invalid.</exception>
115 <exception cref="T:System.ArgumentNullException">
116 <paramref name="array" /> is <see langword="null" />.</exception>
117 <exception cref="T:System.ArgumentOutOfRangeException">The length for <paramref name="index" /> is out of range.</exception>
119 <member name="M:System.Security.Cryptography.AsnEncodedDataCollection.System#Collections#IEnumerable#GetEnumerator">
120 <summary>Returns an <see cref="T:System.Security.Cryptography.AsnEncodedDataEnumerator" /> object that can be used to navigate the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
121 <returns>An <see cref="T:System.Security.Cryptography.AsnEncodedDataEnumerator" /> object that can be used to navigate the collection.</returns>
123 <member name="P:System.Security.Cryptography.AsnEncodedDataCollection.Count">
124 <summary>Gets the number of <see cref="T:System.Security.Cryptography.AsnEncodedData" /> objects in a collection.</summary>
125 <returns>The number of <see cref="T:System.Security.Cryptography.AsnEncodedData" /> objects.</returns>
127 <member name="P:System.Security.Cryptography.AsnEncodedDataCollection.IsSynchronized">
128 <summary>Gets a value that indicates whether access to the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object is thread safe.</summary>
130 <see langword="false" /> in all cases.</returns>
132 <member name="P:System.Security.Cryptography.AsnEncodedDataCollection.Item(System.Int32)">
133 <summary>Gets an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object from the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
134 <param name="index">The location in the collection.</param>
135 <returns>An <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</returns>
137 <member name="P:System.Security.Cryptography.AsnEncodedDataCollection.SyncRoot">
138 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
139 <returns>An object used to synchronize access to the <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</returns>
141 <member name="T:System.Security.Cryptography.AsnEncodedDataEnumerator">
142 <summary>Provides the ability to navigate through an <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object. This class cannot be inherited.</summary>
144 <member name="M:System.Security.Cryptography.AsnEncodedDataEnumerator.MoveNext">
145 <summary>Advances to the next <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object in an <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
146 <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
148 <see langword="true" />, if the enumerator was successfully advanced to the next element; <see langword="false" />, if the enumerator has passed the end of the collection.</returns>
150 <member name="M:System.Security.Cryptography.AsnEncodedDataEnumerator.Reset">
151 <summary>Sets an enumerator to its initial position.</summary>
152 <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
154 <member name="P:System.Security.Cryptography.AsnEncodedDataEnumerator.Current">
155 <summary>Gets the current <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object in an <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
156 <returns>The current <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object in the collection.</returns>
158 <member name="P:System.Security.Cryptography.AsnEncodedDataEnumerator.System#Collections#IEnumerator#Current">
159 <summary>Gets the current <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object in an <see cref="T:System.Security.Cryptography.AsnEncodedDataCollection" /> object.</summary>
160 <returns>The current <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</returns>
162 <member name="T:System.Security.Cryptography.FromBase64Transform">
163 <summary>Converts a <see cref="T:System.Security.Cryptography.CryptoStream" /> from base 64.</summary>
165 <member name="M:System.Security.Cryptography.FromBase64Transform.#ctor">
166 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class.</summary>
168 <member name="M:System.Security.Cryptography.FromBase64Transform.#ctor(System.Security.Cryptography.FromBase64TransformMode)">
169 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class with the specified transformation mode.</summary>
170 <param name="whitespaces">One of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> values.</param>
172 <member name="M:System.Security.Cryptography.FromBase64Transform.Clear">
173 <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" />.</summary>
175 <member name="M:System.Security.Cryptography.FromBase64Transform.Dispose">
176 <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class.</summary>
178 <member name="M:System.Security.Cryptography.FromBase64Transform.Dispose(System.Boolean)">
179 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> and optionally releases the managed resources.</summary>
180 <param name="disposing">
181 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
183 <member name="M:System.Security.Cryptography.FromBase64Transform.Finalize">
184 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" />.</summary>
186 <member name="M:System.Security.Cryptography.FromBase64Transform.TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
187 <summary>Converts the specified region of the input byte array from base 64 and copies the result to the specified region of the output byte array.</summary>
188 <param name="inputBuffer">The input to compute from base 64.</param>
189 <param name="inputOffset">The offset into the input byte array from which to begin using data.</param>
190 <param name="inputCount">The number of bytes in the input byte array to use as data.</param>
191 <param name="outputBuffer">The output to which to write the result.</param>
192 <param name="outputOffset">The offset into the output byte array from which to begin writing data.</param>
193 <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.FromBase64Transform" /> object has already been disposed.</exception>
194 <exception cref="T:System.ArgumentException">
195 <paramref name="inputCount" /> uses an invalid value.
199 <paramref name="inputBuffer" /> has an invalid offset length.</exception>
200 <exception cref="T:System.ArgumentOutOfRangeException">
201 <paramref name="inputOffset" /> is out of range. This parameter requires a non-negative number.</exception>
202 <exception cref="T:System.ArgumentNullException">
203 <paramref name="inputBuffer" /> is <see langword="null" />.</exception>
204 <returns>The number of bytes written.</returns>
206 <member name="M:System.Security.Cryptography.FromBase64Transform.TransformFinalBlock(System.Byte[],System.Int32,System.Int32)">
207 <summary>Converts the specified region of the specified byte array from base 64.</summary>
208 <param name="inputBuffer">The input to convert from base 64.</param>
209 <param name="inputOffset">The offset into the byte array from which to begin using data.</param>
210 <param name="inputCount">The number of bytes in the byte array to use as data.</param>
211 <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.FromBase64Transform" /> object has already been disposed.</exception>
212 <exception cref="T:System.ArgumentException">
213 <paramref name="inputBuffer" /> has an invalid offset length.
217 <paramref name="inputCount" /> has an invalid value.</exception>
218 <exception cref="T:System.ArgumentOutOfRangeException">
219 <paramref name="inputOffset" /> is out of range. This parameter requires a non-negative number.</exception>
220 <exception cref="T:System.ArgumentNullException">
221 <paramref name="inputBuffer" /> is <see langword="null" />.</exception>
222 <returns>The computed conversion.</returns>
224 <member name="P:System.Security.Cryptography.FromBase64Transform.CanReuseTransform">
225 <summary>Gets a value indicating whether the current transform can be reused.</summary>
226 <returns>Always <see langword="true" />.</returns>
228 <member name="P:System.Security.Cryptography.FromBase64Transform.CanTransformMultipleBlocks">
229 <summary>Gets a value that indicates whether multiple blocks can be transformed.</summary>
230 <returns>Always <see langword="false" />.</returns>
232 <member name="P:System.Security.Cryptography.FromBase64Transform.InputBlockSize">
233 <summary>Gets the input block size.</summary>
234 <returns>The size of the input data blocks in bytes.</returns>
236 <member name="P:System.Security.Cryptography.FromBase64Transform.OutputBlockSize">
237 <summary>Gets the output block size.</summary>
238 <returns>The size of the output data blocks in bytes.</returns>
240 <member name="T:System.Security.Cryptography.FromBase64TransformMode">
241 <summary>Specifies whether white space should be ignored in the base 64 transformation.</summary>
243 <member name="F:System.Security.Cryptography.FromBase64TransformMode.DoNotIgnoreWhiteSpaces">
244 <summary>White space should not be ignored.</summary>
246 <member name="F:System.Security.Cryptography.FromBase64TransformMode.IgnoreWhiteSpaces">
247 <summary>White space should be ignored.</summary>
249 <member name="T:System.Security.Cryptography.Oid">
250 <summary>Represents a cryptographic object identifier. This class cannot be inherited.</summary>
252 <member name="M:System.Security.Cryptography.Oid.#ctor">
253 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class.</summary>
255 <member name="M:System.Security.Cryptography.Oid.#ctor(System.Security.Cryptography.Oid)">
256 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using the specified <see cref="T:System.Security.Cryptography.Oid" /> object.</summary>
257 <param name="oid">The object identifier information to use to create the new object identifier.</param>
258 <exception cref="T:System.ArgumentNullException">
259 <paramref name="oid" /> is <see langword="null" />.</exception>
261 <member name="M:System.Security.Cryptography.Oid.#ctor(System.String)">
262 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using a string value of an <see cref="T:System.Security.Cryptography.Oid" /> object.</summary>
263 <param name="oid">An object identifier.</param>
265 <member name="M:System.Security.Cryptography.Oid.#ctor(System.String,System.String)">
266 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using the specified value and friendly name.</summary>
267 <param name="value">The dotted number of the identifier.</param>
268 <param name="friendlyName">The friendly name of the identifier.</param>
270 <member name="M:System.Security.Cryptography.Oid.FromFriendlyName(System.String,System.Security.Cryptography.OidGroup)">
271 <summary>Creates an <see cref="T:System.Security.Cryptography.Oid" /> object from an OID friendly name by searching the specified group.</summary>
272 <param name="friendlyName">The friendly name of the identifier.</param>
273 <param name="group">The group to search in.</param>
274 <exception cref="T:System.ArgumentNullException">
275 <paramref name="friendlyName" /> is <see langword="null" />.</exception>
276 <exception cref="T:System.Security.Cryptography.CryptographicException">The OID was not found.</exception>
277 <returns>An object that represents the specified OID.</returns>
279 <member name="M:System.Security.Cryptography.Oid.FromOidValue(System.String,System.Security.Cryptography.OidGroup)">
280 <summary>Creates an <see cref="T:System.Security.Cryptography.Oid" /> object by using the specified OID value and group.</summary>
281 <param name="oidValue">The OID value.</param>
282 <param name="group">The group to search in.</param>
283 <exception cref="T:System.ArgumentNullException">
284 <paramref name="oidValue" /> is <see langword="null" />.</exception>
285 <exception cref="T:System.Security.Cryptography.CryptographicException">The friendly name for the OID value was not found.</exception>
286 <returns>A new instance of an <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
288 <member name="P:System.Security.Cryptography.Oid.FriendlyName">
289 <summary>Gets or sets the friendly name of the identifier.</summary>
290 <exception cref="T:System.PlatformNotSupportedException">.NET 5.0 and later: An attempt is made to set the value and the value has previously been set.</exception>
291 <returns>The friendly name of the identifier.</returns>
293 <member name="P:System.Security.Cryptography.Oid.Value">
294 <summary>Gets or sets the dotted number of the identifier.</summary>
295 <exception cref="T:System.PlatformNotSupportedException">.NET 5.0 and later: An attempt is made to set the value and the value has previously been set.</exception>
296 <returns>The dotted number of the identifier.</returns>
298 <member name="T:System.Security.Cryptography.OidCollection">
299 <summary>Represents a collection of <see cref="T:System.Security.Cryptography.Oid" /> objects. This class cannot be inherited.</summary>
301 <member name="M:System.Security.Cryptography.OidCollection.#ctor">
302 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.OidCollection" /> class.</summary>
304 <member name="M:System.Security.Cryptography.OidCollection.Add(System.Security.Cryptography.Oid)">
305 <summary>Adds an <see cref="T:System.Security.Cryptography.Oid" /> object to the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
306 <param name="oid">The <see cref="T:System.Security.Cryptography.Oid" /> object to add to the collection.</param>
307 <returns>The index of the added <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
309 <member name="M:System.Security.Cryptography.OidCollection.CopyTo(System.Security.Cryptography.Oid[],System.Int32)">
310 <summary>Copies the <see cref="T:System.Security.Cryptography.OidCollection" /> object into an array.</summary>
311 <param name="array">The array to copy the <see cref="T:System.Security.Cryptography.OidCollection" /> object into.</param>
312 <param name="index">The location where the copy operation starts.</param>
314 <member name="M:System.Security.Cryptography.OidCollection.GetEnumerator">
315 <summary>Returns an <see cref="T:System.Security.Cryptography.OidEnumerator" /> object that can be used to navigate the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
316 <returns>An <see cref="T:System.Security.Cryptography.OidEnumerator" /> object.</returns>
318 <member name="M:System.Security.Cryptography.OidCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
319 <summary>Copies the <see cref="T:System.Security.Cryptography.OidCollection" /> object into an array.</summary>
320 <param name="array">The array to copy the <see cref="T:System.Security.Cryptography.OidCollection" /> object to.</param>
321 <param name="index">The location where the copy operation starts.</param>
322 <exception cref="T:System.ArgumentException">
323 <paramref name="array" /> cannot be a multidimensional array.
327 The length of <paramref name="array" /> is an invalid offset length.</exception>
328 <exception cref="T:System.ArgumentNullException">
329 <paramref name="array" /> is <see langword="null" />.</exception>
330 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="index" /> is out range.</exception>
332 <member name="M:System.Security.Cryptography.OidCollection.System#Collections#IEnumerable#GetEnumerator">
333 <summary>Returns an <see cref="T:System.Security.Cryptography.OidEnumerator" /> object that can be used to navigate the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
334 <returns>An <see cref="T:System.Security.Cryptography.OidEnumerator" /> object that can be used to navigate the collection.</returns>
336 <member name="P:System.Security.Cryptography.OidCollection.Count">
337 <summary>Gets the number of <see cref="T:System.Security.Cryptography.Oid" /> objects in a collection.</summary>
338 <returns>The number of <see cref="T:System.Security.Cryptography.Oid" /> objects in a collection.</returns>
340 <member name="P:System.Security.Cryptography.OidCollection.IsSynchronized">
341 <summary>Gets a value that indicates whether access to the <see cref="T:System.Security.Cryptography.OidCollection" /> object is thread safe.</summary>
343 <see langword="false" /> in all cases.</returns>
345 <member name="P:System.Security.Cryptography.OidCollection.Item(System.Int32)">
346 <summary>Gets an <see cref="T:System.Security.Cryptography.Oid" /> object from the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
347 <param name="index">The location of the <see cref="T:System.Security.Cryptography.Oid" /> object in the collection.</param>
348 <returns>An <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
350 <member name="P:System.Security.Cryptography.OidCollection.Item(System.String)">
351 <summary>Gets the first <see cref="T:System.Security.Cryptography.Oid" /> object that contains a value of the <see cref="P:System.Security.Cryptography.Oid.Value" /> property or a value of the <see cref="P:System.Security.Cryptography.Oid.FriendlyName" /> property that matches the specified string value from the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
352 <param name="oid">A string that represents a <see cref="P:System.Security.Cryptography.Oid.Value" /> property or a <see cref="P:System.Security.Cryptography.Oid.FriendlyName" /> property.</param>
353 <returns>An <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
355 <member name="P:System.Security.Cryptography.OidCollection.SyncRoot">
356 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
357 <returns>An object that can be used to synchronize access to the <see cref="T:System.Security.Cryptography.OidCollection" /> object.</returns>
359 <member name="T:System.Security.Cryptography.OidEnumerator">
360 <summary>Provides the ability to navigate through an <see cref="T:System.Security.Cryptography.OidCollection" /> object. This class cannot be inherited.</summary>
362 <member name="M:System.Security.Cryptography.OidEnumerator.MoveNext">
363 <summary>Advances to the next <see cref="T:System.Security.Cryptography.Oid" /> object in an <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
364 <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
366 <see langword="true" />, if the enumerator was successfully advanced to the next element; <see langword="false" />, if the enumerator has passed the end of the collection.</returns>
368 <member name="M:System.Security.Cryptography.OidEnumerator.Reset">
369 <summary>Sets an enumerator to its initial position.</summary>
370 <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
372 <member name="P:System.Security.Cryptography.OidEnumerator.Current">
373 <summary>Gets the current <see cref="T:System.Security.Cryptography.Oid" /> object in an <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
374 <returns>The current <see cref="T:System.Security.Cryptography.Oid" /> object in the collection.</returns>
376 <member name="P:System.Security.Cryptography.OidEnumerator.System#Collections#IEnumerator#Current">
377 <summary>Gets the current <see cref="T:System.Security.Cryptography.Oid" /> object in an <see cref="T:System.Security.Cryptography.OidCollection" /> object.</summary>
378 <returns>The current <see cref="T:System.Security.Cryptography.Oid" /> object.</returns>
380 <member name="T:System.Security.Cryptography.OidGroup">
381 <summary>Identifies Windows cryptographic object identifier (OID) groups.</summary>
383 <member name="F:System.Security.Cryptography.OidGroup.All">
384 <summary>All the groups.</summary>
386 <member name="F:System.Security.Cryptography.OidGroup.Attribute">
387 <summary>The Windows group that is represented by CRYPT_RDN_ATTR_OID_GROUP_ID.</summary>
389 <member name="F:System.Security.Cryptography.OidGroup.EncryptionAlgorithm">
390 <summary>The Windows group that is represented by CRYPT_ENCRYPT_ALG_OID_GROUP_ID.</summary>
392 <member name="F:System.Security.Cryptography.OidGroup.EnhancedKeyUsage">
393 <summary>The Windows group that is represented by CRYPT_ENHKEY_USAGE_OID_GROUP_ID.</summary>
395 <member name="F:System.Security.Cryptography.OidGroup.ExtensionOrAttribute">
396 <summary>The Windows group that is represented by CRYPT_EXT_OR_ATTR_OID_GROUP_ID.</summary>
398 <member name="F:System.Security.Cryptography.OidGroup.HashAlgorithm">
399 <summary>The Windows group that is represented by CRYPT_HASH_ALG_OID_GROUP_ID.</summary>
401 <member name="F:System.Security.Cryptography.OidGroup.KeyDerivationFunction">
402 <summary>The Windows group that is represented by CRYPT_KDF_OID_GROUP_ID.</summary>
404 <member name="F:System.Security.Cryptography.OidGroup.Policy">
405 <summary>The Windows group that is represented by CRYPT_POLICY_OID_GROUP_ID.</summary>
407 <member name="F:System.Security.Cryptography.OidGroup.PublicKeyAlgorithm">
408 <summary>The Windows group that is represented by CRYPT_PUBKEY_ALG_OID_GROUP_ID.</summary>
410 <member name="F:System.Security.Cryptography.OidGroup.SignatureAlgorithm">
411 <summary>The Windows group that is represented by CRYPT_SIGN_ALG_OID_GROUP_ID.</summary>
413 <member name="F:System.Security.Cryptography.OidGroup.Template">
414 <summary>The Windows group that is represented by CRYPT_TEMPLATE_OID_GROUP_ID.</summary>
416 <member name="T:System.Security.Cryptography.PemEncoding">
417 <summary>Provides methods for reading and writing the IETF RFC 7468 subset of PEM (Privacy-Enhanced Mail) textual encodings.
418 This class cannot be inherited.</summary>
420 <member name="M:System.Security.Cryptography.PemEncoding.Find(System.ReadOnlySpan{System.Char})">
421 <summary>Finds the first PEM-encoded data.</summary>
422 <param name="pemData">The text containing the PEM-encoded data.</param>
423 <exception cref="T:System.ArgumentException">
424 <paramref name="pemData" /> does not contain a well-formed PEM-encoded value.</exception>
425 <returns>A value that specifies the location, label, and data location of the encoded data.</returns>
427 <member name="M:System.Security.Cryptography.PemEncoding.GetEncodedSize(System.Int32,System.Int32)">
428 <summary>Determines the length of a PEM-encoded value, in characters, given the length of a label and binary data.</summary>
429 <param name="labelLength">The length of the label, in characters.</param>
430 <param name="dataLength">The length of the data, in bytes.</param>
431 <exception cref="T:System.ArgumentOutOfRangeException">
432 <paramref name="labelLength" /> is a negative value.
436 <paramref name="dataLength" /> is a negative value.
440 <paramref name="labelLength" /> exceeds the maximum possible label length.
444 <paramref name="dataLength" /> exceeds the maximum possible encoded data length.</exception>
445 <exception cref="T:System.ArgumentException">The length of the PEM-encoded value is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
446 <returns>The number of characters in the encoded PEM.</returns>
448 <member name="M:System.Security.Cryptography.PemEncoding.TryFind(System.ReadOnlySpan{System.Char},System.Security.Cryptography.PemFields@)">
449 <summary>Attempts to find the first PEM-encoded data.</summary>
450 <param name="pemData">The text containing the PEM-encoded data.</param>
451 <param name="fields">When this method returns, contains a value that specifies the location, label, and data location of the encoded data; or, if no PEM-encoded data is found, a value that specifies those locations as empty.
453 This parameter is treated as uninitialized.</param>
455 <see langword="true" /> if PEM-encoded data was found; otherwise <see langword="false" />.</returns>
457 <member name="M:System.Security.Cryptography.PemEncoding.TryWrite(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte},System.Span{System.Char},System.Int32@)">
458 <summary>Tries to write the provided data and label as PEM-encoded data into a provided buffer.</summary>
459 <param name="label">The label to write.</param>
460 <param name="data">The data to write.</param>
461 <param name="destination">The buffer to receive the PEM-encoded text.</param>
462 <param name="charsWritten">When this method returns, this parameter contains the number of characters written to <paramref name="destination" />. This parameter is treated as uninitialized.</param>
463 <exception cref="T:System.ArgumentOutOfRangeException">
464 <paramref name="label" /> exceeds the maximum possible label length.
468 <paramref name="data" /> exceeds the maximum possible encoded data length.</exception>
469 <exception cref="T:System.ArgumentException">The resulting PEM-encoded text is larger than <see cref="F:System.Int32.MaxValue" />.
473 <paramref name="label" /> contains invalid characters.</exception>
475 <see langword="true" /> if <paramref name="destination" /> is large enough to contain the PEM-encoded text, otherwise <see langword="false" />.</returns>
477 <member name="M:System.Security.Cryptography.PemEncoding.Write(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte})">
478 <summary>Creates an encoded PEM with the given label and data.</summary>
479 <param name="label">The label to encode.</param>
480 <param name="data">The data to encode.</param>
481 <exception cref="T:System.ArgumentOutOfRangeException">
482 <paramref name="label" /> exceeds the maximum possible label length.
486 <paramref name="data" /> exceeds the maximum possible encoded data length.</exception>
487 <exception cref="T:System.ArgumentException">The resulting PEM-encoded text is larger than <see cref="F:System.Int32.MaxValue" />.
491 <paramref name="label" /> contains invalid characters.</exception>
492 <returns>A character array of the encoded PEM.</returns>
494 <member name="T:System.Security.Cryptography.PemFields">
495 <summary>Contains information about the location of PEM data.</summary>
497 <member name="P:System.Security.Cryptography.PemFields.Base64Data">
498 <summary>Gets the location of the base-64 data inside of the PEM.</summary>
500 <member name="P:System.Security.Cryptography.PemFields.DecodedDataLength">
501 <summary>Gets the size of the decoded base-64 data, in bytes.</summary>
503 <member name="P:System.Security.Cryptography.PemFields.Label">
504 <summary>Gets the location of the label.</summary>
506 <member name="P:System.Security.Cryptography.PemFields.Location">
507 <summary>Gets the location of the PEM-encoded text, including the surrounding encapsulation boundaries.</summary>
509 <member name="T:System.Security.Cryptography.ToBase64Transform">
510 <summary>Converts a <see cref="T:System.Security.Cryptography.CryptoStream" /> to base 64.</summary>
512 <member name="M:System.Security.Cryptography.ToBase64Transform.#ctor">
513 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> class.</summary>
515 <member name="M:System.Security.Cryptography.ToBase64Transform.Clear">
516 <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" />.</summary>
518 <member name="M:System.Security.Cryptography.ToBase64Transform.Dispose">
519 <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> class.</summary>
521 <member name="M:System.Security.Cryptography.ToBase64Transform.Dispose(System.Boolean)">
522 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> and optionally releases the managed resources.</summary>
523 <param name="disposing">
524 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
526 <member name="M:System.Security.Cryptography.ToBase64Transform.Finalize">
527 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" />.</summary>
529 <member name="M:System.Security.Cryptography.ToBase64Transform.TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
530 <summary>Converts the specified region of the input byte array to base 64 and copies the result to the specified region of the output byte array.</summary>
531 <param name="inputBuffer">The input to compute to base 64.</param>
532 <param name="inputOffset">The offset into the input byte array from which to begin using data.</param>
533 <param name="inputCount">The number of bytes in the input byte array to use as data.</param>
534 <param name="outputBuffer">The output to which to write the result.</param>
535 <param name="outputOffset">The offset into the output byte array from which to begin writing data.</param>
536 <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.ToBase64Transform" /> object has already been disposed.</exception>
537 <exception cref="T:System.Security.Cryptography.CryptographicException">The data size is not valid.</exception>
538 <exception cref="T:System.ArgumentException">The <paramref name="inputBuffer" /> parameter contains an invalid offset length.
542 The <paramref name="inputCount" /> parameter contains an invalid value.</exception>
543 <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
544 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="inputBuffer" /> parameter requires a non-negative number.</exception>
545 <returns>The number of bytes written.</returns>
547 <member name="M:System.Security.Cryptography.ToBase64Transform.TransformFinalBlock(System.Byte[],System.Int32,System.Int32)">
548 <summary>Converts the specified region of the specified byte array to base 64.</summary>
549 <param name="inputBuffer">The input to convert to base 64.</param>
550 <param name="inputOffset">The offset into the byte array from which to begin using data.</param>
551 <param name="inputCount">The number of bytes in the byte array to use as data.</param>
552 <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.ToBase64Transform" /> object has already been disposed.</exception>
553 <exception cref="T:System.ArgumentException">The <paramref name="inputBuffer" /> parameter contains an invalid offset length.
557 The <paramref name="inputCount" /> parameter contains an invalid value.</exception>
558 <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
559 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="inputBuffer" /> parameter requires a non-negative number.</exception>
560 <returns>The computed base 64 conversion.</returns>
562 <member name="P:System.Security.Cryptography.ToBase64Transform.CanReuseTransform">
563 <summary>Gets a value indicating whether the current transform can be reused.</summary>
564 <returns>Always <see langword="true" />.</returns>
566 <member name="P:System.Security.Cryptography.ToBase64Transform.CanTransformMultipleBlocks">
567 <summary>Gets a value that indicates whether multiple blocks can be transformed.</summary>
569 <see langword="true" /> if multiple blocks can be transformed; otherwise, <see langword="false" />.</returns>
571 <member name="P:System.Security.Cryptography.ToBase64Transform.InputBlockSize">
572 <summary>Gets the input block size.</summary>
573 <returns>The size of the input data blocks in bytes.</returns>
575 <member name="P:System.Security.Cryptography.ToBase64Transform.OutputBlockSize">
576 <summary>Gets the output block size.</summary>
577 <returns>The size of the output data blocks in bytes.</returns>