﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MaskGenerationMethod" FullName="System.Security.Cryptography.MaskGenerationMethod"><TypeSignature Maintainer="auto" Language="C#" Value="public abstract class MaskGenerationMethod" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit MaskGenerationMethod 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 &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; 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>Derived classes of <see cref="T:System.Security.Cryptography.MaskGenerationMethod" /> compute masks that are used in key exchange algorithms such as Optimal Asymmetric Encryption Padding (OAEP).</para><para>This class is used by implementations of key exchange algorithms only for mask generation. Application code does not use this class directly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the abstract class from which all mask generator algorithms must derive.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected MaskGenerationMethod ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig 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>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.MaskGenerationMethod" /> class. </para></summary></Docs></Member><Member MemberName="GenerateMask"><MemberSignature Language="C#" Value="public abstract byte[] GenerateMask (byte[] rgbSeed, int cbReturn);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot 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><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Byte[]</ReturnType></ReturnValue><Parameters><Parameter Name="rgbSeed" Type="System.Byte[]" /><Parameter Name="cbReturn" Type="System.Int32" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, generates a mask with the specified length using the specified random seed.</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 to compute the mask. </param><param name="cbReturn"><attribution license="cc4" from="Microsoft" modified="false" />The length of the generated mask in bytes. </param></Docs></Member></Members></Type>