/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.35
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

namespace be.portugal.eid {

using System;
using System.Runtime.InteropServices;

public class PTEID_RawData_Eid : IDisposable {
  private HandleRef swigCPtr;
  protected bool swigCMemOwn;

  internal PTEID_RawData_Eid(IntPtr cPtr, bool cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = new HandleRef(this, cPtr);
  }

  internal static HandleRef getCPtr(PTEID_RawData_Eid obj) {
    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  }

  ~PTEID_RawData_Eid() {
    Dispose();
  }

  public virtual void Dispose() {
    lock(this) {
      if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
        swigCMemOwn = false;
        pteidlib_dotNetPINVOKE.delete_PTEID_RawData_Eid(swigCPtr);
      }
      swigCPtr = new HandleRef(null, IntPtr.Zero);
      GC.SuppressFinalize(this);
    }
  }

  public PTEID_ByteArray idData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_idData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_idData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray idSigData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_idSigData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_idSigData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray addrData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_addrData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_addrData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray addrSigData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_addrSigData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_addrSigData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray sodData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_sodData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_sodData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray cardData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_cardData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_cardData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray tokenInfo {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_tokenInfo_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_tokenInfo_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray certRN {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_certRN_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_certRN_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray challenge {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_challenge_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_challenge_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray response {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_response_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_response_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray persoData {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_persoData_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_persoData_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_ByteArray trace {
    set {
      pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_trace_set(swigCPtr, PTEID_ByteArray.getCPtr(value));
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      IntPtr cPtr = pteidlib_dotNetPINVOKE.PTEID_RawData_Eid_trace_get(swigCPtr);
      PTEID_ByteArray ret = (cPtr == IntPtr.Zero) ? null : new PTEID_ByteArray(cPtr, false);
      if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public PTEID_RawData_Eid() : this(pteidlib_dotNetPINVOKE.new_PTEID_RawData_Eid(), true) {
    if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
  }

}

}
