1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="CryptoConfig" FullName="System.Security.Cryptography.CryptoConfig">
<TypeSignature Maintainer="auto" Language="C#" Value="public class CryptoConfig" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi CryptoConfig extends System.Object" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The following table shows the simple names recognized by this class and the default algorithm implementations to which they map. Alternatively, you can map other implementations to these names, as described in <format type="text/html"><a href="01327c69-c5e1-4ef6-b73f-0a58351f0492">Mapping Algorithm Names to Cryptography Classes</a></format>.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Simple name </para>
</term>
<description>
<para>Algorithm implementation </para>
</description>
</item>
</listheader>
<item>
<term>
<para>3DES, Triple DES, TripleDES, System.Security.Cryptography.TripleDES</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.TripleDESCryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>AES, System.Security.Cryptography.AesCryptoServiceProvider</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.AesCryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>AesManaged, System.Security.Cryptography.AesManaged</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.AesManaged" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.AsymmetricAlgorithm </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>DES, System.Security.Cryptography.DES</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.DESCryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>DSA, System.Security.Cryptography.DSA</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>ECDH, ECDiffieHellman, ECDiffieHellmanCng, System.Security.Cryptography.ECDiffieHellmanCng</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.ECDiffieHellmanCng" />
</para>
</description>
</item>
<item>
<term>
<para>ECDsa, ECDsaCng, System.Security.Cryptography.ECDsaCng</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.ECDsaCng" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.HashAlgorithm</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA1CryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>HMAC, System.Security.Cryptography.HMAC </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA1" />
</para>
</description>
</item>
<item>
<term>
<para>HMACMD5, System.Security.Cryptography.HMACMD5</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACMD5" />
</para>
</description>
</item>
<item>
<term>
<para>HMACRIPEMD160, System.Security.Cryptography.HMACRIPEMD160</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACRIPEMD160" />
</para>
</description>
</item>
<item>
<term>
<para>HMACSHA1, System.Security.Cryptography.HMACSHA1</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA1" />
</para>
</description>
</item>
<item>
<term>
<para>HMACSHA256, System.Security.Cryptography.HMACSHA256</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA256" />
</para>
</description>
</item>
<item>
<term>
<para>HMACSHA384, System.Security.Cryptography.HMACSHA384</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA384" />
</para>
</description>
</item>
<item>
<term>
<para>HMACSHA512, System.Security.Cryptography.HMACSHA512</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA512" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.KeyedHashAlgorithm</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.HMACSHA1" />
</para>
</description>
</item>
<item>
<term>
<para>MACTripleDES, System.Security.Cryptography.MACTripleDES</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.MACTripleDES" />
</para>
</description>
</item>
<item>
<term>
<para>MD5, System.Security.Cryptography.MD5</para>
</term>
<description>
<para> <see cref="T:System.Security.Cryptography.MD5CryptoServiceProvider" /></para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.MD5Cng</para>
</term>
<description>
<para> <see cref="T:System.Security.Cryptography.MD5Cng" /></para>
</description>
</item>
<item>
<term>
<para>RandomNumberGenerator</para>
</term>
<description>
<para> <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /></para>
</description>
</item>
<item>
<term>
<para>RC2, System.Security.Cryptography.RC2</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RC2CryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>Rijndael, System.Security.Cryptography.Rijndael</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RijndaelManaged" />
</para>
</description>
</item>
<item>
<term>
<para>RIPEMD160, RIPEMD-160, System.Security.Cryptography.RIPEMD160Managed</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RIPEMD160Managed" />
</para>
</description>
</item>
<item>
<term>
<para>RSA, System.Security.Cryptography.RSA </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>SHA, SHA1, System.Security.Cryptography.SHA1</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA1CryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA1Cng </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA1Cng" />
</para>
</description>
</item>
<item>
<term>
<para>SHA256, SHA-256, System.Security.Cryptography.SHA256</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA256Managed" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA256Cng </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA256Cng" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA256CryptoServiceProvider</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA256CryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>SHA384, SHA-384, System.Security.Cryptography.SHA384</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA384Managed" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA384Cng </para>
</term>
<description>
<para> <see cref="T:System.Security.Cryptography.SHA384Cng" /></para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA384CryptoServiceProvider</para>
</term>
<description>
<para> <see cref="T:System.Security.Cryptography.SHA384CryptoServiceProvider" /></para>
</description>
</item>
<item>
<term>
<para>SHA512, SHA-512, System.Security.Cryptography.SHA512</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA512Managed" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA512Cng </para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA512Cng" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SHA512CryptoServiceProvider</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.SHA512CryptoServiceProvider" />
</para>
</description>
</item>
<item>
<term>
<para>System.Security.Cryptography.SymmetricAlgorithm</para>
</term>
<description>
<para>
<see cref="T:System.Security.Cryptography.RijndaelManaged" />
</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Accesses the cryptography configuration information.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CryptoConfig ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters />
<Docs>
<remarks>Included for compatibility with MS.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptoConfig" /> class. </para>
</summary>
</Docs>
</Member>
<Member MemberName="AddAlgorithm">
<MemberSignature Language="C#" Value="public static void AddAlgorithm (Type algorithm, string[] names);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddAlgorithm(class System.Type algorithm, string[] names) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="algorithm" Type="System.Type" />
<Parameter Name="names" Type="System.String[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The specified mappings take precedence over the built-in mappings and the mappings in the machine.config file. The mappings are used to prevent partially trust code from using trusted cryptographic operations.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds a set of names to algorithm mappings to be used for the current application domain. </para>
</summary>
<param name="algorithm">
<attribution license="cc4" from="Microsoft" modified="false" />The algorithm to map to.</param>
<param name="names">
<attribution license="cc4" from="Microsoft" modified="false" />An array of names to map to the algorithm.</param>
</Docs>
</Member>
<Member MemberName="AddOID">
<MemberSignature Language="C#" Value="public static void AddOID (string oid, string[] names);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddOID(string oid, string[] names) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="oid" Type="System.String" />
<Parameter Name="names" Type="System.String[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The specified mappings take precedence over the built-in mappings and the mappings in the machine.config file. The mappings are used to prevent partially trust code from using trusted cryptographic operations.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds a set of names to object identifier (OID) mappings to be used for the current application domain. </para>
</summary>
<param name="oid">
<attribution license="cc4" from="Microsoft" modified="false" />The object identifier (OID) to map to.</param>
<param name="names">
<attribution license="cc4" from="Microsoft" modified="false" />An array of names to map to the OID.</param>
</Docs>
</Member>
<Member MemberName="AllowOnlyFipsAlgorithms">
<MemberSignature Language="C#" Value="public static bool AllowOnlyFipsAlgorithms { get; }" />
<MemberSignature Language="ILAsm" Value=".property bool AllowOnlyFipsAlgorithms" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>If false, any algorithm may be created.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Indicates whether the runtime should enforce the policy to create only Federal Information Processing Standard (FIPS) certified algorithms.</para>
</summary>
</Docs>
</Member>
<Member MemberName="CreateFromName">
<MemberSignature Language="C#" Value="public static object CreateFromName (string name);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object CreateFromName(string name) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For a list of simple names recognized by this class, see <see cref="T:System.Security.Cryptography.CryptoConfig" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a new instance of the specified cryptographic object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new instance of the specified cryptographic object.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The simple name of the cryptographic object of which to create an instance. </param>
</Docs>
</Member>
<Member MemberName="CreateFromName">
<MemberSignature Language="C#" Value="public static object CreateFromName (string name, object[] args);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object CreateFromName(string name, object[] args) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="args" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For a list of simple names recognized by this class, see <see cref="T:System.Security.Cryptography.CryptoConfig" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a new instance of the specified cryptographic object with the specified arguments.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new instance of the specified cryptographic object.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The simple name of the cryptographic object of which to create an instance. </param>
<param name="args">
<attribution license="cc4" from="Microsoft" modified="false" />The arguments used to create the specified cryptographic object. </param>
</Docs>
</Member>
<Member MemberName="EncodeOID">
<MemberSignature Language="C#" Value="public static byte[] EncodeOID (string str);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] EncodeOID(string str) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="str" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<para>
A <see cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException" /> will be thrown if the OID is invalid, like:
<list type="bullet"><item><term>if the OID string has less than two parts (e.g. "0");</term></item><item><term>if the encoded OID would be greater than 127 bytes;</term></item></list></para>
<para>
A <see cref="T:System.OverflowException" /> will be thrown if a part of the OID is bigger than <see cref="T:System.Int32" />.<see cref="M:System.Int32.MaxValue" />.
</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Encodes the specified object identifier (OID).</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A byte array containing the encoded OID.</para>
</returns>
<param name="str">
<attribution license="cc4" from="Microsoft" modified="false" />The OID to encode. </param>
</Docs>
</Member>
<Member MemberName="MapNameToOID">
<MemberSignature Language="C#" Value="public static string MapNameToOID (string name);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string MapNameToOID(string name) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For a list of simple names recognized by this class, see <see cref="T:System.Security.Cryptography.CryptoConfig" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the object identifier (OID) of the algorithm corresponding to the specified simple name.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The OID of the specified algorithm.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The simple name of the algorithm for which to get the OID. </param>
</Docs>
</Member>
</Members>
</Type>
|