a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
61 lines
3.5 KiB
XML
61 lines
3.5 KiB
XML
<Type Name="KeyBuilder" FullName="Mono.Security.Cryptography.KeyBuilder">
|
|
<TypeSignature Language="C#" Value="public sealed class KeyBuilder" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>Mono.Security</AssemblyName>
|
|
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 D2 D0 3A 8E 6B EA 7A 2E 74 E8 D1 AF CC 93 E8 85 19 74 95 2B B4 80 A1 2C 91 34 47 4D 04 06 24 47 C3 7E 0E 68 C0 80 53 6F CF 3C 3F BE 2F F9 C9 79 CE 99 84 75 E5 06 E8 CE 82 DD 5B 0F 35 0D C1 0E 93 BF 2E EE CF 87 4B 24 77 0C 50 81 DB EA 74 47 FD DA FA 27 7B 22 DE 47 D6 FF EA 44 96 74 A4 F9 FC CF 84 D1 50 69 08 93 80 28 4D BD D3 5F 46 CD FF 12 A1 BD 78 E4 EF 00 65 D0 16 DF]</AssemblyPublicKey>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.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 />
|
|
<Docs>
|
|
<summary>Helper class to create secret keys and initialization vectors.</summary>
|
|
<remarks>The class acts as a single point of control for all secret keys generation.</remarks>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="IV">
|
|
<MemberSignature Language="C#" Value="public static byte[] IV (int size);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="size" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="size">length of the new initialization vector (in bytes)</param>
|
|
<summary>Create a new initialization vector (IV) with the default cryptographic random number generator. </summary>
|
|
<returns>An array of bytes containing the newly generated initialization vector.</returns>
|
|
<remarks>The initialization vectors (IV) are generated using the default cryptographic random number generator (using <see cref="T:System.Security.Cryptography.RandomNumberGenerator" />.<see cref="M:System.Security.Cryptography.RandomNumberGenerator.Create" />).</remarks>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Key">
|
|
<MemberSignature Language="C#" Value="public static byte[] Key (int size);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="size" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="size">length of the new secret key (in bytes)</param>
|
|
<summary>Create a new secret key with the default cryptographic random number generator.</summary>
|
|
<returns>An array of bytes containing the newly generated secret key.</returns>
|
|
<remarks>The secret keys are generated using the default cryptographic random number generator (using <see cref="T:System.Security.Cryptography.RandomNumberGenerator" />.<see cref="M:System.Security.Cryptography.RandomNumberGenerator.Create" />).</remarks>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|