-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.Security.Cryptography.ICryptoTransform.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Security.Cryptography.KeySizes.Ref_array is access;
with MSSyst.Security.Cryptography.CipherMode;
with MSSyst.Security.Cryptography.PaddingMode;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Security.Cryptography.RC2;
package MSSyst.Security.Cryptography.RC2CryptoServiceProvider is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.Security.Cryptography.RC2.Typ(
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_RC2CryptoServiceProvider(
      This : Ref := null) return Ref;
   function CreateDecryptor(
      This : access Typ;
      rgbKey : MSIL_Types.unsigned_int8_Arr;
      rgbIV : MSIL_Types.unsigned_int8_Arr) return MSSyst.Security.Cryptography.ICryptoTransform.Ref;
   function CreateEncryptor(
      This : access Typ;
      rgbKey : MSIL_Types.unsigned_int8_Arr;
      rgbIV : MSIL_Types.unsigned_int8_Arr) return MSSyst.Security.Cryptography.ICryptoTransform.Ref;
   procedure GenerateIV(
      This : access Typ);
   procedure GenerateKey(
      This : access Typ);
   function get_EffectiveKeySize(
      This : access Typ) return Integer;
   procedure set_EffectiveKeySize(
      This : access Typ;
      value : Integer);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_RC2CryptoServiceProvider);
   pragma Import(MSIL,CreateDecryptor,"CreateDecryptor");
   pragma Import(MSIL,CreateEncryptor,"CreateEncryptor");
   pragma Import(MSIL,GenerateIV,"GenerateIV");
   pragma Import(MSIL,GenerateKey,"GenerateKey");
   pragma Import(MSIL,get_EffectiveKeySize,"get_EffectiveKeySize");
   pragma Import(MSIL,set_EffectiveKeySize,"set_EffectiveKeySize");
end MSSyst.Security.Cryptography.RC2CryptoServiceProvider;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Cryptography.RC2CryptoServiceProvider,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Security.Cryptography.RC2CryptoServiceProvider");
