﻿<?xml version="1.0" encoding="utf-8"?><Type Name="PKCS1MaskGenerationMethod" FullName="System.Security.Cryptography.PKCS1MaskGenerationMethod"><TypeSignature Maintainer="auto" Language="C#" Value="public class PKCS1MaskGenerationMethod : System.Security.Cryptography.MaskGenerationMethod" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PKCS1MaskGenerationMethod extends System.Security.Cryptography.MaskGenerationMethod" /><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 &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Security.Cryptography.MaskGenerationMethod</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This class is only used by implementations of key exchange algorithms for mask generation. Application code does not use this class directly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Computes masks according to PKCS #1 for use by key exchange algorithms.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public PKCS1MaskGenerationMethod ();" /><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><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor sets <see cref="P:System.Security.Cryptography.PKCS1MaskGenerationMethod.HashName" /> to the default hash algorithm name (SHA1).</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PKCS1MaskGenerationMethod" /> class.</para></summary></Docs></Member><Member MemberName="GenerateMask"><MemberSignature Language="C#" Value="public override byte[] GenerateMask (byte[] rgbSeed, int cbReturn);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance unsigned int8[] GenerateMask(unsigned int8[] rgbSeed, int32 cbReturn) 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="rgbSeed" Type="System.Byte[]" /><Parameter Name="cbReturn" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Masks are used in key exchange computation and generally are not used by applications.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Generates and returns a mask from the specified random seed of the specified length.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A randomly generated mask whose length is equal to the <paramref name="cbReturn" /> parameter.</para></returns><param name="rgbSeed"><attribution license="cc4" from="Microsoft" modified="false" />The random seed to use for computing the mask. </param><param name="cbReturn"><attribution license="cc4" from="Microsoft" modified="false" />The length of the generated mask in bytes. </param></Docs></Member><Member MemberName="HashName"><MemberSignature Language="C#" Value="public string HashName { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance string HashName" /><MemberType>Property</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><Docs><value>The current hash algorithm being used to generate masks.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If no hash algorithm is specified, <see cref="T:System.Security.Cryptography.SHA1" /> is used by default.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the name of the hash algorithm type to use for generating the mask.</para></summary></Docs></Member></Members></Type>