-- 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.String.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.IntPtr.Valuetype is tagged;
with MSSyst.Object;
package MSSyst.Security.Cryptography.X509Certificates.X509Certificate 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 is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_X509Certificate(
      This : Ref := null;
      data : MSIL_Types.unsigned_int8_Arr) return Ref;
   function new_X509Certificate(
      This : Ref := null;
      handle : MSSyst.IntPtr.Valuetype) return Ref;
   function new_X509Certificate(
      This : Ref := null;
      cert : MSSyst.Security.Cryptography.X509Certificates.X509Certificate.Ref) return Ref;
   function CreateFromCertFile(
      filename : MSSyst.String.Ref) return MSSyst.Security.Cryptography.X509Certificates.X509Certificate.Ref;
   function CreateFromSignedFile(
      filename : MSSyst.String.Ref) return MSSyst.Security.Cryptography.X509Certificates.X509Certificate.Ref;
   function Equals(
      This : access Typ;
      other : MSSyst.Security.Cryptography.X509Certificates.X509Certificate.Ref) return Standard.Boolean;
   function GetCertHash(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
   function GetCertHashString(
      This : access Typ) return MSSyst.String.Ref;
   function GetEffectiveDateString(
      This : access Typ) return MSSyst.String.Ref;
   function GetExpirationDateString(
      This : access Typ) return MSSyst.String.Ref;
   function GetFormat(
      This : access Typ) return MSSyst.String.Ref;
   function GetHashCode(
      This : access Typ) return Integer;
   function GetIssuerName(
      This : access Typ) return MSSyst.String.Ref;
   function GetKeyAlgorithm(
      This : access Typ) return MSSyst.String.Ref;
   function GetKeyAlgorithmParameters(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
   function GetKeyAlgorithmParametersString(
      This : access Typ) return MSSyst.String.Ref;
   function GetName(
      This : access Typ) return MSSyst.String.Ref;
   function GetPublicKey(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
   function GetPublicKeyString(
      This : access Typ) return MSSyst.String.Ref;
   function GetRawCertData(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
   function GetRawCertDataString(
      This : access Typ) return MSSyst.String.Ref;
   function GetSerialNumber(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
   function GetSerialNumberString(
      This : access Typ) return MSSyst.String.Ref;
   function ToString(
      This : access Typ;
      fVerbose : Standard.Boolean) return MSSyst.String.Ref;
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_X509Certificate);
   pragma Import(MSIL,CreateFromCertFile,"CreateFromCertFile");
   pragma Import(MSIL,CreateFromSignedFile,"CreateFromSignedFile");
   pragma Import(MSIL,Equals,"Equals");
   pragma Import(MSIL,GetCertHash,"GetCertHash");
   pragma Import(MSIL,GetCertHashString,"GetCertHashString");
   pragma Import(MSIL,GetEffectiveDateString,"GetEffectiveDateString");
   pragma Import(MSIL,GetExpirationDateString,"GetExpirationDateString");
   pragma Import(MSIL,GetFormat,"GetFormat");
   pragma Import(MSIL,GetHashCode,"GetHashCode");
   pragma Import(MSIL,GetIssuerName,"GetIssuerName");
   pragma Import(MSIL,GetKeyAlgorithm,"GetKeyAlgorithm");
   pragma Import(MSIL,GetKeyAlgorithmParameters,"GetKeyAlgorithmParameters");
   pragma Import(MSIL,GetKeyAlgorithmParametersString,"GetKeyAlgorithmParametersString");
   pragma Import(MSIL,GetName,"GetName");
   pragma Import(MSIL,GetPublicKey,"GetPublicKey");
   pragma Import(MSIL,GetPublicKeyString,"GetPublicKeyString");
   pragma Import(MSIL,GetRawCertData,"GetRawCertData");
   pragma Import(MSIL,GetRawCertDataString,"GetRawCertDataString");
   pragma Import(MSIL,GetSerialNumber,"GetSerialNumber");
   pragma Import(MSIL,GetSerialNumberString,"GetSerialNumberString");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Security.Cryptography.X509Certificates.X509Certificate;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Cryptography.X509Certificates.X509Certificate,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate");
