<Type Name="PKCS1MaskGenerationMethod" FullName="System.Security.Cryptography.PKCS1MaskGenerationMethod">
  <TypeSignature Maintainer="auto" Language="C#" Value="public class PKCS1MaskGenerationMethod : 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>
  </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 />
  <Docs>
    <summary>This class implements MGF1 from PKCS#1: RSA Cryptography Standard (http://www.rsasecurity.com/rsalabs/pkcs/pkcs-1/index.html).</summary>
    <remarks>This implementation is not compatible with Microsoft .NET Framework v1.0 and v1.1 (implementation bug) but is compatible with PKCS #1.</remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public PKCS1MaskGenerationMethod ();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>Create a new instance of the PKCS#1 Mask Generation Function #1 (MGF1).</summary>
        <remarks>This class isn't normally used by application developers. It is required to build the PKCS1 formatters and deformatters.</remarks>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GenerateMask">
      <MemberSignature Language="C#" Value="public override byte[] GenerateMask (byte[] rgbSeed, int cbReturn);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Byte[]</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="rgbSeed" Type="System.Byte[]" />
        <Parameter Name="cbReturn" Type="System.Int32" />
      </Parameters>
      <Docs>
        <param name="rgbSeed">The random seed to be used for the mask.</param>
        <param name="cbReturn">The required length of the mask.</param>
        <summary>Generate a new mask using the specified seed value.</summary>
        <returns>An array of byte containing the generated mask.</returns>
        <remarks>This method is not compatible with the one provided by Microsoft in framework 1.0 and 1.1 (known bug) but IS compliant with PKCS#1 v.2.1 and work for implementing OAEP.
</remarks>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="HashName">
      <MemberSignature Language="C#" Value="public string HashName { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>The hash algorithm to be used by the mask function.</summary>
        <value>The current hash algorithm being used to generate masks.</value>
        <remarks>Default is <see cref="T:System.Security.Cryptography.SHA1" />.</remarks>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
  <Attributes>
    <Attribute>
      <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
    </Attribute>
  </Attributes>
</Type>
