1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Security.Cryptography.Csp</name>
7 <member name="T:System.Security.Cryptography.AesCryptoServiceProvider">
8 <summary>Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.</summary>
10 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.#ctor">
11 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AesCryptoServiceProvider" /> class.</summary>
12 <exception cref="T:System.PlatformNotSupportedException">There is no supported key size for the current platform.</exception>
14 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.CreateDecryptor">
15 <summary>Creates a symmetric AES decryptor object using the current key and initialization vector (IV).</summary>
16 <exception cref="T:System.Security.Cryptography.CryptographicException">The current key is invalid or missing.</exception>
17 <returns>A symmetric AES decryptor object.</returns>
19 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.CreateDecryptor(System.Byte[],System.Byte[])">
20 <summary>Creates a symmetric AES decryptor object using the specified key and initialization vector (IV).</summary>
21 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
22 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
23 <exception cref="T:System.ArgumentNullException">
24 <paramref name="key" /> or <paramref name="iv" /> is <see langword="null" />.</exception>
25 <exception cref="T:System.ArgumentException">
26 <paramref name="key" /> is invalid.</exception>
27 <returns>A symmetric AES decryptor object.</returns>
29 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.CreateEncryptor">
30 <summary>Creates a symmetric AES encryptor object using the current key and initialization vector (IV).</summary>
31 <returns>A symmetric AES encryptor object.</returns>
33 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.CreateEncryptor(System.Byte[],System.Byte[])">
34 <summary>Creates a symmetric encryptor object using the specified key and initialization vector (IV).</summary>
35 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
36 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
37 <exception cref="T:System.ArgumentNullException">The <paramref name="key" /> or <paramref name="iv" /> parameter is <see langword="null" />.</exception>
38 <exception cref="T:System.ArgumentException">
39 <paramref name="key" /> is invalid.</exception>
40 <returns>A symmetric AES encryptor object.</returns>
42 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.GenerateIV">
43 <summary>Generates a random initialization vector (IV) to use for the algorithm.</summary>
44 <exception cref="T:System.Security.Cryptography.CryptographicException">The initialization vector (IV) could not be generated.</exception>
46 <member name="M:System.Security.Cryptography.AesCryptoServiceProvider.GenerateKey">
47 <summary>Generates a random key to use for the algorithm.</summary>
48 <exception cref="T:System.Security.Cryptography.CryptographicException">The key could not be generated.</exception>
50 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.BlockSize">
51 <summary>Gets or sets the block size, in bits, of the cryptographic operation.</summary>
52 <exception cref="T:System.Security.Cryptography.CryptographicException">The block size is invalid.</exception>
53 <returns>The block size, in bits.</returns>
55 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.FeedbackSize">
56 <summary>Gets or sets the feedback size, in bits, of the cryptographic operation for the Cipher Feedback (CFB) and Output Feedback (OFB) cipher modes.</summary>
57 <exception cref="T:System.Security.Cryptography.CryptographicException">The feedback size is larger than the block size.</exception>
58 <returns>The feedback size in bits.</returns>
60 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.IV">
61 <summary>Gets or sets the initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) for the symmetric algorithm.</summary>
62 <exception cref="T:System.ArgumentNullException">An attempt was made to set the initialization vector to <see langword="null" />.</exception>
63 <exception cref="T:System.Security.Cryptography.CryptographicException">An attempt was made to set the initialization vector to an invalid size.</exception>
64 <returns>The initialization vector.</returns>
66 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.Key">
67 <summary>Gets or sets the symmetric key that is used for encryption and decryption.</summary>
68 <exception cref="T:System.ArgumentNullException">The value for the key is <see langword="null" />.</exception>
69 <exception cref="T:System.Security.Cryptography.CryptographicException">The size of the key is invalid.</exception>
70 <returns>The symmetric key that is used for encryption and decryption.</returns>
72 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.KeySize">
73 <summary>Gets or sets the size, in bits, of the secret key.</summary>
74 <returns>The size, in bits, of the key.</returns>
76 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.LegalBlockSizes">
77 <summary>Gets the block sizes, in bits, that are supported by the symmetric algorithm.</summary>
78 <returns>An array that contains the block sizes supported by the algorithm.</returns>
80 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.LegalKeySizes">
81 <summary>Gets the key sizes, in bits, that are supported by the symmetric algorithm.</summary>
82 <returns>An array that contains the key sizes supported by the algorithm.</returns>
84 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.Mode">
85 <summary>Gets or sets the mode for operation of the symmetric algorithm.</summary>
86 <exception cref="T:System.Security.Cryptography.CryptographicException">The cipher mode is not one of the <see cref="T:System.Security.Cryptography.CipherMode" /> values.</exception>
87 <returns>The mode for operation of the symmetric algorithm. The default is <see cref="F:System.Security.Cryptography.CipherMode.CBC" />.</returns>
89 <member name="P:System.Security.Cryptography.AesCryptoServiceProvider.Padding">
90 <summary>Gets or sets the padding mode used in the symmetric algorithm.</summary>
91 <exception cref="T:System.Security.Cryptography.CryptographicException">The padding mode is not one of the <see cref="T:System.Security.Cryptography.PaddingMode" /> values.</exception>
92 <returns>The padding mode used in the symmetric algorithm. The default is <see cref="F:System.Security.Cryptography.PaddingMode.PKCS7" />.</returns>
94 <member name="T:System.Security.Cryptography.CspKeyContainerInfo">
95 <summary>Provides additional information about a cryptographic key pair. This class cannot be inherited.</summary>
97 <member name="M:System.Security.Cryptography.CspKeyContainerInfo.#ctor(System.Security.Cryptography.CspParameters)">
98 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> class using the specified parameters.</summary>
99 <param name="parameters">A <see cref="T:System.Security.Cryptography.CspParameters" /> object that provides information about the key.</param>
101 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.Accessible">
102 <summary>Gets a value indicating whether a key in a key container is accessible.</summary>
103 <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
105 <see langword="true" /> if the key is accessible; otherwise, <see langword="false" />.</returns>
107 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.Exportable">
108 <summary>Gets a value indicating whether a key can be exported from a key container.</summary>
109 <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
110 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
114 The key container was not found.</exception>
116 <see langword="true" /> if the key can be exported; otherwise, <see langword="false" />.</returns>
118 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.HardwareDevice">
119 <summary>Gets a value indicating whether a key is a hardware key.</summary>
120 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.</exception>
122 <see langword="true" /> if the key is a hardware key; otherwise, <see langword="false" />.</returns>
124 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.KeyContainerName">
125 <summary>Gets a key container name.</summary>
126 <returns>The key container name.</returns>
128 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.KeyNumber">
129 <summary>Gets a value that describes whether an asymmetric key was created as a signature key or an exchange key.</summary>
130 <returns>One of the <see cref="T:System.Security.Cryptography.KeyNumber" /> values that describes whether an asymmetric key was created as a signature key or an exchange key.</returns>
132 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.MachineKeyStore">
133 <summary>Gets a value indicating whether a key is from a machine key set.</summary>
135 <see langword="true" /> if the key is from the machine key set; otherwise, <see langword="false" />.</returns>
137 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.Protected">
138 <summary>Gets a value indicating whether a key pair is protected.</summary>
139 <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
140 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
144 The key container was not found.</exception>
146 <see langword="true" /> if the key pair is protected; otherwise, <see langword="false" />.</returns>
148 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.ProviderName">
149 <summary>Gets the provider name of a key.</summary>
150 <returns>The provider name.</returns>
152 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.ProviderType">
153 <summary>Gets the provider type of a key.</summary>
154 <returns>The provider type. The default is 1.</returns>
156 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.RandomlyGenerated">
157 <summary>Gets a value indicating whether a key container was randomly generated by a managed cryptography class.</summary>
159 <see langword="true" /> if the key container was randomly generated; otherwise, <see langword="false" />.</returns>
161 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.Removable">
162 <summary>Gets a value indicating whether a key can be removed from a key container.</summary>
163 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) was not found.</exception>
165 <see langword="true" /> if the key is removable; otherwise, <see langword="false" />.</returns>
167 <member name="P:System.Security.Cryptography.CspKeyContainerInfo.UniqueKeyContainerName">
168 <summary>Gets a unique key container name.</summary>
169 <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
170 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
174 The key container was not found.</exception>
175 <returns>The unique key container name.</returns>
177 <member name="T:System.Security.Cryptography.CspParameters">
178 <summary>Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.</summary>
180 <member name="F:System.Security.Cryptography.CspParameters.KeyContainerName">
181 <summary>Represents the key container name for <see cref="T:System.Security.Cryptography.CspParameters" />.</summary>
183 <member name="F:System.Security.Cryptography.CspParameters.KeyNumber">
184 <summary>Specifies whether an asymmetric key is created as a signature key or an exchange key.</summary>
186 <member name="F:System.Security.Cryptography.CspParameters.ProviderName">
187 <summary>Represents the provider name for <see cref="T:System.Security.Cryptography.CspParameters" />.</summary>
189 <member name="F:System.Security.Cryptography.CspParameters.ProviderType">
190 <summary>Represents the provider type code for <see cref="T:System.Security.Cryptography.CspParameters" />.</summary>
192 <member name="M:System.Security.Cryptography.CspParameters.#ctor">
193 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspParameters" /> class.</summary>
195 <member name="M:System.Security.Cryptography.CspParameters.#ctor(System.Int32)">
196 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspParameters" /> class with the specified provider type code.</summary>
197 <param name="dwTypeIn">A provider type code that specifies the kind of provider to create.</param>
199 <member name="M:System.Security.Cryptography.CspParameters.#ctor(System.Int32,System.String)">
200 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspParameters" /> class with the specified provider type code and name.</summary>
201 <param name="dwTypeIn">A provider type code that specifies the kind of provider to create.</param>
202 <param name="strProviderNameIn">A provider name.</param>
204 <member name="M:System.Security.Cryptography.CspParameters.#ctor(System.Int32,System.String,System.String)">
205 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspParameters" /> class with the specified provider type code and name, and the specified container name.</summary>
206 <param name="dwTypeIn">The provider type code that specifies the kind of provider to create.</param>
207 <param name="strProviderNameIn">A provider name.</param>
208 <param name="strContainerNameIn">A container name.</param>
210 <member name="P:System.Security.Cryptography.CspParameters.Flags">
211 <summary>Represents the flags for <see cref="T:System.Security.Cryptography.CspParameters" /> that modify the behavior of the cryptographic service provider (CSP).</summary>
212 <exception cref="T:System.ArgumentException">Value is not a valid enumeration value.</exception>
213 <returns>An enumeration value, or a bitwise combination of enumeration values.</returns>
215 <member name="P:System.Security.Cryptography.CspParameters.KeyPassword">
216 <summary>Gets or sets a password associated with a smart card key.</summary>
217 <returns>A password associated with a smart card key.</returns>
219 <member name="P:System.Security.Cryptography.CspParameters.ParentWindowHandle">
220 <summary>Gets or sets a handle to the unmanaged parent window for a smart card password dialog box.</summary>
221 <returns>A handle to the parent window for a smart card password dialog box.</returns>
223 <member name="T:System.Security.Cryptography.CspProviderFlags">
224 <summary>Specifies flags that modify the behavior of the cryptographic service providers (CSP).</summary>
226 <member name="F:System.Security.Cryptography.CspProviderFlags.CreateEphemeralKey">
227 <summary>Create a temporary key that is released when the associated Rivest-Shamir-Adleman (RSA) object is closed. Do not use this flag if you want your key to be independent of the RSA object.</summary>
229 <member name="F:System.Security.Cryptography.CspProviderFlags.NoFlags">
230 <summary>Do not specify any settings.</summary>
232 <member name="F:System.Security.Cryptography.CspProviderFlags.NoPrompt">
233 <summary>Prevent the CSP from displaying any user interface (UI) for this context.</summary>
235 <member name="F:System.Security.Cryptography.CspProviderFlags.UseArchivableKey">
236 <summary>Allow a key to be exported for archival or recovery.</summary>
238 <member name="F:System.Security.Cryptography.CspProviderFlags.UseDefaultKeyContainer">
239 <summary>Use key information from the default key container.</summary>
241 <member name="F:System.Security.Cryptography.CspProviderFlags.UseExistingKey">
242 <summary>Use key information from the current key.</summary>
244 <member name="F:System.Security.Cryptography.CspProviderFlags.UseMachineKeyStore">
245 <summary>Use key information from the computer's key store.</summary>
247 <member name="F:System.Security.Cryptography.CspProviderFlags.UseNonExportableKey">
248 <summary>Use key information that cannot be exported.</summary>
250 <member name="F:System.Security.Cryptography.CspProviderFlags.UseUserProtectedKey">
251 <summary>Notify the user through a dialog box or another method when certain actions are attempting to use a key. This flag is not compatible with the <see cref="F:System.Security.Cryptography.CspProviderFlags.NoPrompt" /> flag.</summary>
253 <member name="T:System.Security.Cryptography.DESCryptoServiceProvider">
254 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (<see cref="T:System.Security.Cryptography.DES" />) algorithm. This class cannot be inherited.</summary>
256 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.#ctor">
257 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DESCryptoServiceProvider" /> class.</summary>
258 <exception cref="T:System.Security.Cryptography.CryptographicException">The Data Encryption Standard (<see cref="T:System.Security.Cryptography.DES" />) cryptographic service provider is not available.</exception>
260 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.CreateDecryptor">
261 <summary>Creates a symmetric decryptor object with the current <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> property and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
262 <returns>A symmetric decryptor object.</returns>
264 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.CreateDecryptor(System.Byte[],System.Byte[])">
265 <summary>Creates a symmetric Data Encryption Standard (<see cref="T:System.Security.Cryptography.DES" />) decryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
266 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
267 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
268 <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.OFB" />.
272 The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> and the value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.FeedbackSize" /> property is not 8.
276 An invalid key size was used.
280 The algorithm key size was not available.</exception>
281 <returns>A symmetric <see cref="T:System.Security.Cryptography.DES" /> decryptor object.</returns>
283 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.CreateEncryptor">
284 <summary>Creates a symmetric encryptor object with the current <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> property and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
285 <returns>A symmetric encryptor object.</returns>
287 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.CreateEncryptor(System.Byte[],System.Byte[])">
288 <summary>Creates a symmetric Data Encryption Standard (<see cref="T:System.Security.Cryptography.DES" />) encryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
289 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
290 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
291 <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.OFB" />.
295 The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> and the value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.FeedbackSize" /> property is not 8.
299 An invalid key size was used.
303 The algorithm key size was not available.</exception>
304 <returns>A symmetric <see cref="T:System.Security.Cryptography.DES" /> encryptor object.</returns>
306 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.GenerateIV">
307 <summary>Generates a random initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) to use for the algorithm.</summary>
309 <member name="M:System.Security.Cryptography.DESCryptoServiceProvider.GenerateKey">
310 <summary>Generates a random key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) to be used for the algorithm.</summary>
312 <member name="T:System.Security.Cryptography.DSACryptoServiceProvider">
313 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the <see cref="T:System.Security.Cryptography.DSA" /> algorithm. This class cannot be inherited.</summary>
315 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.#ctor">
316 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> class.</summary>
318 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.#ctor(System.Int32)">
319 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> class with the specified key size.</summary>
320 <param name="dwKeySize">The size of the key for the asymmetric algorithm in bits.</param>
322 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.#ctor(System.Int32,System.Security.Cryptography.CspParameters)">
323 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> class with the specified key size and parameters for the cryptographic service provider (CSP).</summary>
324 <param name="dwKeySize">The size of the key for the cryptographic algorithm in bits.</param>
325 <param name="parameters">The parameters for the CSP.</param>
326 <exception cref="T:System.Security.Cryptography.CryptographicException">The CSP cannot be acquired.
330 The key cannot be created.</exception>
331 <exception cref="T:System.ArgumentOutOfRangeException">
332 <paramref name="dwKeySize" /> is out of range.</exception>
334 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.#ctor(System.Security.Cryptography.CspParameters)">
335 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> class with the specified parameters for the cryptographic service provider (CSP).</summary>
336 <param name="parameters">The parameters for the CSP.</param>
338 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.CreateSignature(System.Byte[])">
339 <summary>Creates the <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</summary>
340 <param name="rgbHash">The data to be signed.</param>
341 <returns>The digital signature for the specified data.</returns>
343 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.ExportCspBlob(System.Boolean)">
344 <summary>Exports a blob containing the key information associated with a <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> object.</summary>
345 <param name="includePrivateParameters">
346 <see langword="true" /> to include the private key; otherwise, <see langword="false" />.</param>
347 <returns>A byte array containing the key information associated with a <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> object.</returns>
349 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.ExportParameters(System.Boolean)">
350 <summary>Exports the <see cref="T:System.Security.Cryptography.DSAParameters" />.</summary>
351 <param name="includePrivateParameters">
352 <see langword="true" /> to include private parameters; otherwise, <see langword="false" />.</param>
353 <exception cref="T:System.Security.Cryptography.CryptographicException">The key cannot be exported.</exception>
354 <returns>The parameters for <see cref="T:System.Security.Cryptography.DSA" />.</returns>
356 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.ImportCspBlob(System.Byte[])">
357 <summary>Imports a blob that represents DSA key information.</summary>
358 <param name="keyBlob">A byte array that represents a DSA key blob.</param>
360 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.ImportParameters(System.Security.Cryptography.DSAParameters)">
361 <summary>Imports the specified <see cref="T:System.Security.Cryptography.DSAParameters" />.</summary>
362 <param name="parameters">The parameters for <see cref="T:System.Security.Cryptography.DSA" />.</param>
363 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
367 The <paramref name="parameters" /> parameter has missing fields.</exception>
369 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.SignData(System.Byte[])">
370 <summary>Computes the hash value of the specified byte array and signs the resulting hash value.</summary>
371 <param name="buffer">The input data for which to compute the hash.</param>
372 <returns>The <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</returns>
374 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.SignData(System.Byte[],System.Int32,System.Int32)">
375 <summary>Signs a byte array from the specified start point to the specified end point.</summary>
376 <param name="buffer">The input data to sign.</param>
377 <param name="offset">The offset into the array from which to begin using data.</param>
378 <param name="count">The number of bytes in the array to use as data.</param>
379 <returns>The <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</returns>
381 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.SignData(System.IO.Stream)">
382 <summary>Computes the hash value of the specified input stream and signs the resulting hash value.</summary>
383 <param name="inputStream">The input data for which to compute the hash.</param>
384 <returns>The <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</returns>
386 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.SignHash(System.Byte[],System.String)">
387 <summary>Computes the signature for the specified hash value by encrypting it with the private key.</summary>
388 <param name="rgbHash">The hash value of the data to be signed.</param>
389 <param name="str">The name of the hash algorithm used to create the hash value of the data.</param>
390 <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> parameter is <see langword="null" />.</exception>
391 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
395 There is no private key.</exception>
396 <returns>The <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified hash value.</returns>
398 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.VerifyData(System.Byte[],System.Byte[])">
399 <summary>Verifies the specified signature data by comparing it to the signature computed for the specified data.</summary>
400 <param name="rgbData">The data that was signed.</param>
401 <param name="rgbSignature">The signature data to be verified.</param>
403 <see langword="true" /> if the signature verifies as valid; otherwise, <see langword="false" />.</returns>
405 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.VerifyHash(System.Byte[],System.String,System.Byte[])">
406 <summary>Verifies the specified signature data by comparing it to the signature computed for the specified hash value.</summary>
407 <param name="rgbHash">The hash value of the data to be signed.</param>
408 <param name="str">The name of the hash algorithm used to create the hash value of the data.</param>
409 <param name="rgbSignature">The signature data to be verified.</param>
410 <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> parameter is <see langword="null" />.
414 The <paramref name="rgbSignature" /> parameter is <see langword="null" />.</exception>
415 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
419 The signature cannot be verified.</exception>
421 <see langword="true" /> if the signature verifies as valid; otherwise, <see langword="false" />.</returns>
423 <member name="M:System.Security.Cryptography.DSACryptoServiceProvider.VerifySignature(System.Byte[],System.Byte[])">
424 <summary>Verifies the <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</summary>
425 <param name="rgbHash">The data signed with <paramref name="rgbSignature" />.</param>
426 <param name="rgbSignature">The signature to be verified for <paramref name="rgbData" />.</param>
428 <see langword="true" /> if <paramref name="rgbSignature" /> matches the signature computed using the specified hash algorithm and key on <paramref name="rgbHash" />; otherwise, <see langword="false" />.</returns>
430 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.CspKeyContainerInfo">
431 <summary>Gets a <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</summary>
432 <returns>A <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</returns>
434 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.KeyExchangeAlgorithm">
435 <summary>Gets the name of the key exchange algorithm.</summary>
436 <returns>The name of the key exchange algorithm.</returns>
438 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.KeySize">
439 <summary>Gets the size of the key used by the asymmetric algorithm in bits.</summary>
440 <returns>The size of the key used by the asymmetric algorithm.</returns>
442 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.LegalKeySizes">
443 <summary>Gets the key sizes that are supported by the asymmetric algorithm.</summary>
444 <returns>Only key sizes that match an entry in this array are supported by the asymmetric algorithm.</returns>
446 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.PersistKeyInCsp">
447 <summary>Gets or sets a value indicating whether the key should be persisted in the cryptographic service provider (CSP).</summary>
449 <see langword="true" /> if the key should be persisted in the CSP; otherwise, <see langword="false" />.</returns>
451 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.PublicOnly">
452 <summary>Gets a value that indicates whether the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> object contains only a public key.</summary>
454 <see langword="true" /> if the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> object contains only a public key; otherwise, <see langword="false" />.</returns>
456 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.SignatureAlgorithm">
457 <summary>Gets the name of the signature algorithm.</summary>
458 <returns>The name of the signature algorithm.</returns>
460 <member name="P:System.Security.Cryptography.DSACryptoServiceProvider.UseMachineKeyStore">
461 <summary>Gets or sets a value indicating whether the key should be persisted in the computer's key store instead of the user profile store.</summary>
463 <see langword="true" /> if the key should be persisted in the computer key store; otherwise, <see langword="false" />.</returns>
465 <member name="T:System.Security.Cryptography.ICspAsymmetricAlgorithm">
466 <summary>Defines methods that allow an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)-compatible key blobs.</summary>
468 <member name="M:System.Security.Cryptography.ICspAsymmetricAlgorithm.ExportCspBlob(System.Boolean)">
469 <summary>Exports a blob that contains the key information associated with an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</summary>
470 <param name="includePrivateParameters">
471 <see langword="true" /> to include the private key; otherwise, <see langword="false" />.</param>
472 <returns>A byte array that contains the key information associated with an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</returns>
474 <member name="M:System.Security.Cryptography.ICspAsymmetricAlgorithm.ImportCspBlob(System.Byte[])">
475 <summary>Imports a blob that represents asymmetric key information.</summary>
476 <param name="rawData">A byte array that represents an asymmetric key blob.</param>
478 <member name="P:System.Security.Cryptography.ICspAsymmetricAlgorithm.CspKeyContainerInfo">
479 <summary>Gets a <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</summary>
480 <returns>A <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</returns>
482 <member name="T:System.Security.Cryptography.KeyNumber">
483 <summary>Specifies whether to create an asymmetric signature key or an asymmetric exchange key.</summary>
485 <member name="F:System.Security.Cryptography.KeyNumber.Exchange">
486 <summary>An exchange key pair used to encrypt session keys so that they can be safely stored and exchanged with other users. This value corresponds to the AT_KEYEXCHANGE value used in the unmanaged Microsoft Cryptographic API (CAPI).</summary>
488 <member name="F:System.Security.Cryptography.KeyNumber.Signature">
489 <summary>A signature key pair used for authenticating digitally signed messages or files. This value corresponds to the AT_SIGNATURE value used in the unmanaged Microsoft Cryptographic API (CAPI).</summary>
491 <member name="T:System.Security.Cryptography.MD5CryptoServiceProvider">
492 <summary>Computes the <see cref="T:System.Security.Cryptography.MD5" /> hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
494 <member name="M:System.Security.Cryptography.MD5CryptoServiceProvider.#ctor">
495 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.MD5CryptoServiceProvider" /> class.</summary>
496 <exception cref="T:System.InvalidOperationException">A FIPS-compliant algorithm policy is not being used.</exception>
498 <member name="M:System.Security.Cryptography.MD5CryptoServiceProvider.Initialize">
499 <summary>Initializes an instance of <see cref="T:System.Security.Cryptography.MD5CryptoServiceProvider" />.</summary>
501 <member name="T:System.Security.Cryptography.PasswordDeriveBytes">
502 <summary>Derives a key from a password using an extension of the PBKDF1 algorithm.</summary>
504 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.Byte[],System.Byte[])">
505 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class specifying the password and key salt to use to derive the key.</summary>
506 <param name="password">The password to derive the key for.</param>
507 <param name="salt">The key salt to use to derive the key.</param>
509 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.Byte[],System.Byte[],System.Security.Cryptography.CspParameters)">
510 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class specifying the password, key salt, and cryptographic service provider (CSP) to use to derive the key.</summary>
511 <param name="password">The password to derive the key for.</param>
512 <param name="salt">The key salt to use to derive the key.</param>
513 <param name="cspParams">The cryptographic service provider (CSP) parameters for the operation.</param>
515 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.Byte[],System.Byte[],System.String,System.Int32)">
516 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class specifying the password, key salt, hash name, and iterations to use to derive the key.</summary>
517 <param name="password">The password to derive the key for.</param>
518 <param name="salt">The key salt to use to derive the key.</param>
519 <param name="hashName">The hash algorithm to use to derive the key.</param>
520 <param name="iterations">The iteration count to use to derive the key.</param>
522 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.Byte[],System.Byte[],System.String,System.Int32,System.Security.Cryptography.CspParameters)">
523 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class specifying the password, key salt, hash name, iterations, and cryptographic service provider (CSP) to use to derive the key.</summary>
524 <param name="password">The password to derive the key for.</param>
525 <param name="salt">The key salt to use to derive the key.</param>
526 <param name="hashName">The hash algorithm to use to derive the key.</param>
527 <param name="iterations">The iteration count to use to derive the key.</param>
528 <param name="cspParams">The cryptographic service provider (CSP) parameters for the operation.</param>
530 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.String,System.Byte[])">
531 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class with the password and key salt to use to derive the key.</summary>
532 <param name="strPassword">The password for which to derive the key.</param>
533 <param name="rgbSalt">The key salt to use to derive the key.</param>
535 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.String,System.Byte[],System.Security.Cryptography.CspParameters)">
536 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class with the password, key salt, and cryptographic service provider (CSP) parameters to use to derive the key.</summary>
537 <param name="strPassword">The password for which to derive the key.</param>
538 <param name="rgbSalt">The key salt to use to derive the key.</param>
539 <param name="cspParams">The CSP parameters for the operation.</param>
541 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.String,System.Byte[],System.String,System.Int32)">
542 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class with the password, key salt, hash name, and number of iterations to use to derive the key.</summary>
543 <param name="strPassword">The password for which to derive the key.</param>
544 <param name="rgbSalt">The key salt to use to derive the key.</param>
545 <param name="strHashName">The name of the hash algorithm for the operation.</param>
546 <param name="iterations">The number of iterations for the operation.</param>
548 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.#ctor(System.String,System.Byte[],System.String,System.Int32,System.Security.Cryptography.CspParameters)">
549 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class with the password, key salt, hash name, number of iterations, and cryptographic service provider (CSP) parameters to use to derive the key.</summary>
550 <param name="strPassword">The password for which to derive the key.</param>
551 <param name="rgbSalt">The key salt to use to derive the key.</param>
552 <param name="strHashName">The name of the hash algorithm for the operation.</param>
553 <param name="iterations">The number of iterations for the operation.</param>
554 <param name="cspParams">The CSP parameters for the operation.</param>
556 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.CryptDeriveKey(System.String,System.String,System.Int32,System.Byte[])">
557 <summary>Derives a cryptographic key from the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> object.</summary>
558 <param name="algname">The algorithm name for which to derive the key.</param>
559 <param name="alghashname">The hash algorithm name to use to derive the key.</param>
560 <param name="keySize">The size of the key, in bits, to derive.</param>
561 <param name="rgbIV">The initialization vector (IV) to use to derive the key.</param>
562 <exception cref="T:System.Security.Cryptography.CryptographicException">The <paramref name="keySize" /> parameter is incorrect.
566 The cryptographic service provider (CSP) cannot be acquired.
570 The <paramref name="algname" /> parameter is not a valid algorithm name.
574 The <paramref name="alghashname" /> parameter is not a valid hash algorithm name.</exception>
575 <returns>The derived key.</returns>
577 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.Dispose(System.Boolean)">
578 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.PasswordDeriveBytes" /> class and optionally releases the managed resources.</summary>
579 <param name="disposing">
580 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
582 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.GetBytes(System.Int32)">
583 <summary>Returns pseudo-random key bytes.</summary>
584 <param name="cb">The number of pseudo-random key bytes to generate.</param>
585 <returns>A byte array filled with pseudo-random key bytes.</returns>
587 <member name="M:System.Security.Cryptography.PasswordDeriveBytes.Reset">
588 <summary>Resets the state of the operation.</summary>
590 <member name="P:System.Security.Cryptography.PasswordDeriveBytes.HashName">
591 <summary>Gets or sets the name of the hash algorithm for the operation.</summary>
592 <exception cref="T:System.Security.Cryptography.CryptographicException">The name of the hash value is fixed and an attempt is made to change this value.</exception>
593 <returns>The name of the hash algorithm for the operation.</returns>
595 <member name="P:System.Security.Cryptography.PasswordDeriveBytes.IterationCount">
596 <summary>Gets or sets the number of iterations for the operation.</summary>
597 <exception cref="T:System.Security.Cryptography.CryptographicException">The number of iterations is fixed and an attempt is made to change this value.</exception>
598 <exception cref="T:System.ArgumentOutOfRangeException">The property cannot be set because its value is out of range. This property requires a non-negative number.</exception>
599 <returns>The number of iterations for the operation.</returns>
601 <member name="P:System.Security.Cryptography.PasswordDeriveBytes.Salt">
602 <summary>Gets or sets the key salt value for the operation.</summary>
603 <exception cref="T:System.Security.Cryptography.CryptographicException">The key salt value is fixed and an attempt is made to change this value.</exception>
604 <returns>The key salt value for the operation.</returns>
606 <member name="T:System.Security.Cryptography.RC2CryptoServiceProvider">
607 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the <see cref="T:System.Security.Cryptography.RC2" /> algorithm. This class cannot be inherited.</summary>
609 <member name="M:System.Security.Cryptography.RC2CryptoServiceProvider.#ctor">
610 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RC2CryptoServiceProvider" /> class.</summary>
611 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
612 <exception cref="T:System.InvalidOperationException">A non-compliant FIPS algorithm was found.</exception>
614 <member name="M:System.Security.Cryptography.RC2CryptoServiceProvider.CreateDecryptor(System.Byte[],System.Byte[])">
615 <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.RC2" /> decryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
616 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
617 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
618 <exception cref="T:System.Security.Cryptography.CryptographicException">An <see cref="F:System.Security.Cryptography.CipherMode.OFB" /> cipher mode was used.
622 A <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> cipher mode with a feedback size other than 8 bits was used.
626 An invalid key size was used.
630 The algorithm key size was not available.</exception>
631 <returns>A symmetric <see cref="T:System.Security.Cryptography.RC2" /> decryptor object.</returns>
633 <member name="M:System.Security.Cryptography.RC2CryptoServiceProvider.CreateEncryptor(System.Byte[],System.Byte[])">
634 <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.RC2" /> encryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
635 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
636 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
637 <exception cref="T:System.Security.Cryptography.CryptographicException">An <see cref="F:System.Security.Cryptography.CipherMode.OFB" /> cipher mode was used.
641 A <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> cipher mode with a feedback size other than 8 bits was used.
645 An invalid key size was used.
649 The algorithm key size was not available.</exception>
650 <returns>A symmetric <see cref="T:System.Security.Cryptography.RC2" /> encryptor object.</returns>
652 <member name="M:System.Security.Cryptography.RC2CryptoServiceProvider.GenerateIV">
653 <summary>Generates a random initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) to use for the algorithm.</summary>
655 <member name="M:System.Security.Cryptography.RC2CryptoServiceProvider.GenerateKey">
656 <summary>Generates a random key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) to be used for the algorithm.</summary>
658 <member name="P:System.Security.Cryptography.RC2CryptoServiceProvider.EffectiveKeySize">
659 <summary>Gets or sets the effective size, in bits, of the secret key used by the <see cref="T:System.Security.Cryptography.RC2" /> algorithm.</summary>
660 <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The <see cref="P:System.Security.Cryptography.RC2CryptoServiceProvider.EffectiveKeySize" /> property was set to a value other than the <see cref="F:System.Security.Cryptography.SymmetricAlgorithm.KeySizeValue" /> property.</exception>
661 <returns>The effective key size, in bits, used by the <see cref="T:System.Security.Cryptography.RC2" /> algorithm.</returns>
663 <member name="P:System.Security.Cryptography.RC2CryptoServiceProvider.UseSalt">
664 <summary>Gets or sets a value that determines whether to create a key with an 11-byte-long, zero-value salt.</summary>
666 <see langword="true" /> if the key should be created with an 11-byte-long, zero-value salt; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
668 <member name="T:System.Security.Cryptography.RNGCryptoServiceProvider">
669 <summary>Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
671 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.#ctor">
672 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
674 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.#ctor(System.Byte[])">
675 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
676 <param name="rgb">A byte array. This value is ignored.</param>
678 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.#ctor(System.Security.Cryptography.CspParameters)">
679 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class with the specified parameters.</summary>
680 <param name="cspParams">The parameters to pass to the cryptographic service provider (CSP).</param>
682 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.#ctor(System.String)">
683 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
684 <param name="str">The string input. This parameter is ignored.</param>
686 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.GetBytes(System.Byte[])">
687 <summary>Fills an array of bytes with a cryptographically strong sequence of random values.</summary>
688 <param name="data">The array to fill with a cryptographically strong sequence of random values.</param>
689 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
690 <exception cref="T:System.ArgumentNullException">
691 <paramref name="data" /> is <see langword="null" />.</exception>
693 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.GetBytes(System.Byte[],System.Int32,System.Int32)">
694 <summary>Fills the specified byte array with a cryptographically strong random sequence of values starting at a specified index for a specified number of bytes.</summary>
695 <param name="data">The array to fill with cryptographically strong random bytes.</param>
696 <param name="offset">The index of the array to start the fill operation.</param>
697 <param name="count">The number of bytes to fill.</param>
698 <exception cref="T:System.ArgumentNullException">
699 <paramref name="data" /> is <see langword="null" />.</exception>
700 <exception cref="T:System.ArgumentOutOfRangeException">
701 <paramref name="offset" /> or <paramref name="count" /> is less than 0.</exception>
702 <exception cref="T:System.ArgumentException">
703 <paramref name="offset" /> plus <paramref name="count" /> exceeds the length of <paramref name="data" />.</exception>
705 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.GetBytes(System.Span{System.Byte})">
706 <summary>Fills a span with cryptographically strong random bytes.</summary>
707 <param name="data">The span to fill with cryptographically strong random bytes.</param>
709 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.GetNonZeroBytes(System.Byte[])">
710 <summary>Fills an array of bytes with a cryptographically strong sequence of random nonzero values.</summary>
711 <param name="data">The array to fill with a cryptographically strong sequence of random nonzero values.</param>
712 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
713 <exception cref="T:System.ArgumentNullException">
714 <paramref name="data" /> is <see langword="null" />.</exception>
716 <member name="M:System.Security.Cryptography.RNGCryptoServiceProvider.GetNonZeroBytes(System.Span{System.Byte})">
717 <summary>Fills a byte span with a cryptographically strong random sequence of nonzero values.</summary>
718 <param name="data">The span to fill with cryptographically strong random nonzero bytes.</param>
720 <member name="T:System.Security.Cryptography.RSACryptoServiceProvider">
721 <summary>Performs asymmetric encryption and decryption using the implementation of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
723 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.#ctor">
724 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> class with a random key pair.</summary>
725 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
727 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.#ctor(System.Int32)">
728 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> class with a random key pair of the specified key size.</summary>
729 <param name="dwKeySize">The size of the key to use in bits.</param>
730 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
732 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.#ctor(System.Int32,System.Security.Cryptography.CspParameters)">
733 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> class with the specified key size and parameters.</summary>
734 <param name="dwKeySize">The size of the key to use in bits.</param>
735 <param name="parameters">The parameters to be passed to the cryptographic service provider (CSP).</param>
736 <exception cref="T:System.Security.Cryptography.CryptographicException">The CSP cannot be acquired.
740 The key cannot be created.</exception>
742 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.#ctor(System.Security.Cryptography.CspParameters)">
743 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> class with the specified parameters.</summary>
744 <param name="parameters">The parameters to be passed to the cryptographic service provider (CSP).</param>
745 <exception cref="T:System.Security.Cryptography.CryptographicException">The CSP cannot be acquired.</exception>
747 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(System.Byte[],System.Boolean)">
748 <summary>Decrypts data with the <see cref="T:System.Security.Cryptography.RSA" /> algorithm.</summary>
749 <param name="rgb">The data to be decrypted.</param>
751 <see langword="true" /> to perform direct <see cref="T:System.Security.Cryptography.RSA" /> decryption using OAEP padding; otherwise, <see langword="false" /> to use PKCS#1 v1.5 padding.</param>
752 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
756 The <paramref name="fOAEP" /> parameter is <see langword="true" /> and the length of the <paramref name="rgb" /> parameter is greater than <see cref="P:System.Security.Cryptography.RSACryptoServiceProvider.KeySize" />.
760 The key does not match the encrypted data. However, the exception wording may not be accurate. For example, it may say <c>Not enough storage is available to process this command</c>.</exception>
761 <exception cref="T:System.ArgumentNullException">
762 <paramref name="rgb" /> is <see langword="null" />.</exception>
763 <returns>The decrypted data, which is the original plain text before encryption.</returns>
765 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(System.Byte[],System.Security.Cryptography.RSAEncryptionPadding)">
766 <summary>Decrypts data that was previously encrypted with the <see cref="T:System.Security.Cryptography.RSA" /> algorithm by using the specified padding.</summary>
767 <param name="data">The data to decrypt.</param>
768 <param name="padding">The padding.</param>
769 <exception cref="T:System.ArgumentNullException">
770 <paramref name="data" /> is <see langword="null" />.
774 <paramref name="padding" /> is <see langword="null" />.</exception>
775 <exception cref="T:System.Security.Cryptography.CryptographicException">The padding mode is not supported.</exception>
776 <returns>The decrypted data.</returns>
778 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.DecryptValue(System.Byte[])">
779 <summary>This method is not supported in the current version.</summary>
780 <param name="rgb">The data to be decrypted.</param>
781 <exception cref="T:System.NotSupportedException">This method is not supported in the current version.</exception>
782 <returns>The decrypted data, which is the original plain text before encryption.</returns>
784 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(System.Byte[],System.Boolean)">
785 <summary>Encrypts data with the <see cref="T:System.Security.Cryptography.RSA" /> algorithm.</summary>
786 <param name="rgb">The data to be encrypted.</param>
788 <see langword="true" /> to perform direct <see cref="T:System.Security.Cryptography.RSA" /> encryption using OAEP padding (only available on a computer running Windows XP or later); otherwise, <see langword="false" /> to use PKCS#1 v1.5 padding.</param>
789 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
793 The length of the <paramref name="rgb" /> parameter is greater than the maximum allowed length.</exception>
794 <exception cref="T:System.ArgumentNullException">
795 <paramref name="rgb" /> is <see langword="null" />.</exception>
796 <returns>The encrypted data.</returns>
798 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(System.Byte[],System.Security.Cryptography.RSAEncryptionPadding)">
799 <summary>Encrypts data with the <see cref="T:System.Security.Cryptography.RSA" /> algorithm using the specified padding.</summary>
800 <param name="data">The data to encrypt.</param>
801 <param name="padding">The padding.</param>
802 <exception cref="T:System.ArgumentNullException">
803 <paramref name="data" /> is <see langword="null" />.
807 <paramref name="padding" /> is <see langword="null" />.</exception>
808 <exception cref="T:System.Security.Cryptography.CryptographicException">The padding mode is not supported.</exception>
809 <returns>The encrypted data.</returns>
811 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.EncryptValue(System.Byte[])">
812 <summary>This method is not supported in the current version.</summary>
813 <param name="rgb">The data to be encrypted.</param>
814 <exception cref="T:System.NotSupportedException">This method is not supported in the current version.</exception>
815 <returns>The encrypted data.</returns>
817 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.ExportCspBlob(System.Boolean)">
818 <summary>Exports a blob containing the key information associated with an <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> object.</summary>
819 <param name="includePrivateParameters">
820 <see langword="true" /> to include the private key; otherwise, <see langword="false" />.</param>
821 <returns>A byte array containing the key information associated with an <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> object.</returns>
823 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(System.Boolean)">
824 <summary>Exports the <see cref="T:System.Security.Cryptography.RSAParameters" />.</summary>
825 <param name="includePrivateParameters">
826 <see langword="true" /> to include private parameters; otherwise, <see langword="false" />.</param>
827 <exception cref="T:System.Security.Cryptography.CryptographicException">The key cannot be exported.</exception>
828 <returns>The parameters for <see cref="T:System.Security.Cryptography.RSA" />.</returns>
830 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(System.Byte[])">
831 <summary>Imports a blob that represents RSA key information.</summary>
832 <param name="keyBlob">A byte array that represents an RSA key blob.</param>
834 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(System.Security.Cryptography.RSAParameters)">
835 <summary>Imports the specified <see cref="T:System.Security.Cryptography.RSAParameters" />.</summary>
836 <param name="parameters">The parameters for <see cref="T:System.Security.Cryptography.RSA" />.</param>
837 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
841 The <paramref name="parameters" /> parameter has missing fields.</exception>
843 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.SignData(System.Byte[],System.Int32,System.Int32,System.Object)">
844 <summary>Computes the hash value of a subset of the specified byte array using the specified hash algorithm, and signs the resulting hash value.</summary>
845 <param name="buffer">The input data to hash and sign.</param>
846 <param name="offset">The offset into the array from which to begin using data.</param>
847 <param name="count">The number of bytes in the array to use as data.</param>
848 <param name="halg">The hash algorithm to use to create the hash value.</param>
849 <exception cref="T:System.ArgumentNullException">The <paramref name="halg" /> parameter is <see langword="null" />.</exception>
850 <exception cref="T:System.ArgumentException">The <paramref name="halg" /> parameter is not a valid type.</exception>
851 <returns>The <see cref="T:System.Security.Cryptography.RSA" /> signature for the specified data.</returns>
853 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.SignData(System.Byte[],System.Object)">
854 <summary>Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.</summary>
855 <param name="buffer">The input data to hash and sign.</param>
856 <param name="halg">The hash algorithm to use to create the hash value.</param>
857 <exception cref="T:System.ArgumentNullException">The <paramref name="halg" /> parameter is <see langword="null" />.</exception>
858 <exception cref="T:System.ArgumentException">The <paramref name="halg" /> parameter is not a valid type.</exception>
859 <returns>The <see cref="T:System.Security.Cryptography.RSA" /> signature for the specified data.</returns>
861 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.SignData(System.IO.Stream,System.Object)">
862 <summary>Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.</summary>
863 <param name="inputStream">The input stream to hash and sign.</param>
864 <param name="halg">The hash algorithm to use to create the hash value.</param>
865 <exception cref="T:System.ArgumentNullException">The <paramref name="halg" /> parameter is <see langword="null" />.</exception>
866 <exception cref="T:System.ArgumentException">The <paramref name="halg" /> parameter is not a valid type.</exception>
867 <returns>The <see cref="T:System.Security.Cryptography.RSA" /> signature for the specified data.</returns>
869 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.SignHash(System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding)">
870 <summary>Computes the signature for the specified hash value using the specified padding.</summary>
871 <param name="hash">The hash value of the data to be signed.</param>
872 <param name="hashAlgorithm">The hash algorithm name used to create the hash value of the data.</param>
873 <param name="padding">The padding.</param>
874 <exception cref="T:System.ArgumentException">
875 <paramref name="hashAlgorithm" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
876 <exception cref="T:System.ArgumentNullException">
877 <paramref name="hash" /> is <see langword="null" />.
881 <paramref name="padding" /> is <see langword="null" />.</exception>
882 <exception cref="T:System.Security.Cryptography.CryptographicException">
883 <paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pkcs1" />.</exception>
884 <returns>The <see cref="T:System.Security.Cryptography.RSA" /> signature for the specified hash value.</returns>
886 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.SignHash(System.Byte[],System.String)">
887 <summary>Computes the signature for the specified hash value.</summary>
888 <param name="rgbHash">The hash value of the data to be signed.</param>
889 <param name="str">The hash algorithm identifier (OID) used to create the hash value of the data.</param>
890 <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> parameter is <see langword="null" />.</exception>
891 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
895 There is no private key.</exception>
896 <returns>The <see cref="T:System.Security.Cryptography.RSA" /> signature for the specified hash value.</returns>
898 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.VerifyData(System.Byte[],System.Object,System.Byte[])">
899 <summary>Verifies that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the hash value of the provided data.</summary>
900 <param name="buffer">The data that was signed.</param>
901 <param name="halg">The name of the hash algorithm used to create the hash value of the data.</param>
902 <param name="signature">The signature data to be verified.</param>
903 <exception cref="T:System.ArgumentNullException">The <paramref name="halg" /> parameter is <see langword="null" />.</exception>
904 <exception cref="T:System.ArgumentException">The <paramref name="halg" /> parameter is not a valid type.</exception>
906 <see langword="true" /> if the signature is valid; otherwise, <see langword="false" />.</returns>
908 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash(System.Byte[],System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding)">
909 <summary>Verifies that a digital signature is valid by determining the hash value in the signature using the specified hashing algorithm and padding, and comparing it to the provided hash value.</summary>
910 <param name="hash">The hash value of the signed data.</param>
911 <param name="signature">The signature data to be verified.</param>
912 <param name="hashAlgorithm">The hash algorithm name used to create the hash value.</param>
913 <param name="padding">The padding.</param>
914 <exception cref="T:System.ArgumentException">
915 <paramref name="hashAlgorithm" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
916 <exception cref="T:System.ArgumentNullException">
917 <paramref name="hash" /> is <see langword="null" />.
921 <paramref name="padding" /> is <see langword="null" />.</exception>
922 <exception cref="T:System.Security.Cryptography.CryptographicException">
923 <paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pkcs1" />.</exception>
925 <see langword="true" /> if the signature is valid; otherwise, <see langword="false" />.</returns>
927 <member name="M:System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash(System.Byte[],System.String,System.Byte[])">
928 <summary>Verifies that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the provided hash value.</summary>
929 <param name="rgbHash">The hash value of the signed data.</param>
930 <param name="str">The hash algorithm identifier (OID) used to create the hash value of the data.</param>
931 <param name="rgbSignature">The signature data to be verified.</param>
932 <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> parameter is <see langword="null" />.
936 The <paramref name="rgbSignature" /> parameter is <see langword="null" />.</exception>
937 <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.
941 The signature cannot be verified.</exception>
943 <see langword="true" /> if the signature is valid; otherwise, <see langword="false" />.</returns>
945 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.CspKeyContainerInfo">
946 <summary>Gets a <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</summary>
947 <returns>A <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</returns>
949 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.KeyExchangeAlgorithm">
950 <summary>Gets the name of the key exchange algorithm available with this implementation of <see cref="T:System.Security.Cryptography.RSA" />.</summary>
951 <returns>The name of the key exchange algorithm if it exists; otherwise, <see langword="null" />.</returns>
953 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.KeySize">
954 <summary>Gets the size of the current key.</summary>
955 <returns>The size of the key in bits.</returns>
957 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.LegalKeySizes">
958 <summary>Gets the key sizes that are supported by the asymmetric algorithm.</summary>
959 <returns>An array that contains the key sizes supported by the asymmetric algorithm.</returns>
961 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.PersistKeyInCsp">
962 <summary>Gets or sets a value indicating whether the key should be persisted in the cryptographic service provider (CSP).</summary>
964 <see langword="true" /> if the key should be persisted in the CSP; otherwise, <see langword="false" />.</returns>
966 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.PublicOnly">
967 <summary>Gets a value that indicates whether the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> object contains only a public key.</summary>
969 <see langword="true" /> if the <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> object contains only a public key; otherwise, <see langword="false" />.</returns>
971 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.SignatureAlgorithm">
972 <summary>Gets the name of the signature algorithm available with this implementation of <see cref="T:System.Security.Cryptography.RSA" />.</summary>
973 <returns>The name of the signature algorithm.</returns>
975 <member name="P:System.Security.Cryptography.RSACryptoServiceProvider.UseMachineKeyStore">
976 <summary>Gets or sets a value indicating whether the key should be persisted in the computer's key store instead of the user profile store.</summary>
978 <see langword="true" /> if the key should be persisted in the computer key store; otherwise, <see langword="false" />.</returns>
980 <member name="T:System.Security.Cryptography.SHA1CryptoServiceProvider">
981 <summary>Computes the <see cref="T:System.Security.Cryptography.SHA1" /> hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
983 <member name="M:System.Security.Cryptography.SHA1CryptoServiceProvider.#ctor">
984 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA1CryptoServiceProvider" /> class.</summary>
986 <member name="M:System.Security.Cryptography.SHA1CryptoServiceProvider.Initialize">
987 <summary>Initializes an instance of <see cref="T:System.Security.Cryptography.SHA1CryptoServiceProvider" />.</summary>
989 <member name="T:System.Security.Cryptography.SHA256CryptoServiceProvider">
990 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the <see cref="T:System.Security.Cryptography.SHA256" /> algorithm.</summary>
992 <member name="M:System.Security.Cryptography.SHA256CryptoServiceProvider.#ctor">
993 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA256CryptoServiceProvider" /> class.</summary>
995 <member name="M:System.Security.Cryptography.SHA256CryptoServiceProvider.Initialize">
996 <summary>Initializes, or reinitializes, an instance of a hash algorithm.</summary>
998 <member name="T:System.Security.Cryptography.SHA384CryptoServiceProvider">
999 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the <see cref="T:System.Security.Cryptography.SHA384" /> algorithm.</summary>
1001 <member name="M:System.Security.Cryptography.SHA384CryptoServiceProvider.#ctor">
1002 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA384CryptoServiceProvider" /> class.</summary>
1004 <member name="M:System.Security.Cryptography.SHA384CryptoServiceProvider.Initialize">
1005 <summary>Initializes, or reinitializes, an instance of a hash algorithm.</summary>
1007 <member name="T:System.Security.Cryptography.SHA512CryptoServiceProvider">
1008 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the <see cref="T:System.Security.Cryptography.SHA512" /> algorithm.</summary>
1010 <member name="M:System.Security.Cryptography.SHA512CryptoServiceProvider.#ctor">
1011 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA512CryptoServiceProvider" /> class.</summary>
1013 <member name="M:System.Security.Cryptography.SHA512CryptoServiceProvider.Initialize">
1014 <summary>Initializes, or reinitializes, an instance of a hash algorithm.</summary>
1016 <member name="T:System.Security.Cryptography.TripleDESCryptoServiceProvider">
1017 <summary>Defines a wrapper object to access the cryptographic service provider (CSP) version of the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm. This class cannot be inherited.</summary>
1019 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.#ctor">
1020 <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.TripleDESCryptoServiceProvider" /> class.</summary>
1021 <exception cref="T:System.Security.Cryptography.CryptographicException">The <see cref="T:System.Security.Cryptography.TripleDES" /> cryptographic service provider is not available.</exception>
1023 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateDecryptor">
1024 <summary>Creates a symmetric decryptor object with the current <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> property and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
1025 <returns>A symmetric decryptor object.</returns>
1027 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateDecryptor(System.Byte[],System.Byte[])">
1028 <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.TripleDES" /> decryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
1029 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
1030 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.</param>
1031 <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.OFB" />.
1035 The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> and the value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.FeedbackSize" /> property is not 8.
1039 An invalid key size was used.
1043 The algorithm key size was not available.</exception>
1044 <returns>A symmetric <see cref="T:System.Security.Cryptography.TripleDES" /> decryptor object.</returns>
1046 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateEncryptor">
1047 <summary>Creates a symmetric encryptor object with the current <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> property and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
1048 <returns>A symmetric encryptor object.</returns>
1050 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateEncryptor(System.Byte[],System.Byte[])">
1051 <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.TripleDES" /> encryptor object with the specified key (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" />) and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
1052 <param name="rgbKey">The secret key to use for the symmetric algorithm.</param>
1053 <param name="rgbIV">The initialization vector to use for the symmetric algorithm.
1055 <para>Note: The initialization vector must be 8 bytes long. If it is longer than 8 bytes, it is truncated and an exception is not thrown. Before you call <see cref="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateEncryptor(System.Byte[],System.Byte[])" />, check the length of the initialization vector and throw an exception if it is too long.</para></param>
1056 <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.OFB" />.
1060 The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is <see cref="F:System.Security.Cryptography.CipherMode.CFB" /> and the value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.FeedbackSize" /> property is not 8.
1064 An invalid key size was used.
1068 The algorithm key size was not available.</exception>
1069 <returns>A symmetric <see cref="T:System.Security.Cryptography.TripleDES" /> encryptor object.</returns>
1071 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.GenerateIV">
1072 <summary>Generates a random initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) to use for the algorithm.</summary>
1074 <member name="M:System.Security.Cryptography.TripleDESCryptoServiceProvider.GenerateKey">
1075 <summary>Generates a random <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> to be used for the algorithm.</summary>
1077 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.BlockSize">
1078 <summary>Gets or sets the block size, in bits, of the cryptographic operation.</summary>
1079 <returns>The block size, in bits.</returns>
1081 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.FeedbackSize">
1082 <summary>Gets or sets the feedback size, in bits, of the cryptographic operation for the Cipher Feedback (CFB) and Output Feedback (OFB) cipher modes.</summary>
1083 <exception cref="T:System.Security.Cryptography.CryptographicException">The feedback size is larger than the block size.</exception>
1084 <returns>The feedback size in bits.</returns>
1086 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.IV">
1087 <summary>Gets or sets the initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) for the symmetric algorithm.</summary>
1088 <exception cref="T:System.ArgumentNullException">An attempt was made to set the initialization vector to <see langword="null" />.</exception>
1089 <exception cref="T:System.Security.Cryptography.CryptographicException">An attempt was made to set the initialization vector to an invalid size.</exception>
1090 <returns>The initialization vector.</returns>
1092 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.Key">
1093 <summary>Gets or sets the secret key for the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</summary>
1094 <returns>The secret key for the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</returns>
1096 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.KeySize">
1097 <summary>Gets or sets the size, in bits, of the secret key.</summary>
1098 <returns>The size, in bits, of the key.</returns>
1100 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.LegalBlockSizes">
1101 <summary>Gets the block sizes, in bits, that are supported by the symmetric algorithm.</summary>
1102 <returns>An array that contains the block sizes supported by the algorithm.</returns>
1104 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.LegalKeySizes">
1105 <summary>Gets the key sizes, in bits, that are supported by the symmetric algorithm.</summary>
1106 <returns>An array that contains the key sizes supported by the algorithm.</returns>
1108 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.Mode">
1109 <summary>Gets or sets the mode for operation of the symmetric algorithm.</summary>
1110 <exception cref="T:System.Security.Cryptography.CryptographicException">The cipher mode is not one of the <see cref="T:System.Security.Cryptography.CipherMode" /> values.</exception>
1111 <returns>The mode for operation of the symmetric algorithm. The default is <see cref="F:System.Security.Cryptography.CipherMode.CBC" />.</returns>
1113 <member name="P:System.Security.Cryptography.TripleDESCryptoServiceProvider.Padding">
1114 <summary>Gets or sets the padding mode used in the symmetric algorithm.</summary>
1115 <exception cref="T:System.Security.Cryptography.CryptographicException">The padding mode is not one of the <see cref="T:System.Security.Cryptography.PaddingMode" /> values.</exception>
1116 <returns>The padding mode used in the symmetric algorithm. The default is <see cref="F:System.Security.Cryptography.PaddingMode.PKCS7" />.</returns>