Exemplo n.º 1
0
 public virtual bool verifyChallengeResponse(PTEID_ByteArray challenge, PTEID_ByteArray response) {
   bool ret = pteidlib_dotNetPINVOKE.PTEID_SmartCard_verifyChallengeResponse(swigCPtr, PTEID_ByteArray.getCPtr(challenge), PTEID_ByteArray.getCPtr(response));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 2
0
 public bool Equals(PTEID_ByteArray data) {
   bool ret = pteidlib_dotNetPINVOKE.PTEID_ByteArray_Equals(swigCPtr, PTEID_ByteArray.getCPtr(data));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 3
0
 public PTEID_ByteArray getCertData() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_Certificate_getCertData(swigCPtr), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 4
0
 public PTEID_ByteArray getHash() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_Sod_getHash(swigCPtr), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 5
0
 public PTEID_ByteArray(PTEID_ByteArray bytearray) : this(pteidlib_dotNetPINVOKE.new_PTEID_ByteArray__SWIG_1(PTEID_ByteArray.getCPtr(bytearray)), true) {
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 6
0
 public override PTEID_ByteArray sendAPDU(PTEID_ByteArray cmd) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_SmartCard_sendAPDU__SWIG_2(swigCPtr, PTEID_ByteArray.getCPtr(cmd)), true);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 7
0
 public virtual bool writeFile(string fileID, PTEID_ByteArray arg1, PTEID_Pin pin) {
   bool ret = pteidlib_dotNetPINVOKE.PTEID_SmartCard_writeFile__SWIG_1(swigCPtr, fileID, PTEID_ByteArray.getCPtr(arg1), PTEID_Pin.getCPtr(pin));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 8
0
 public PTEID_OcspResponse(string uri, PTEID_HashAlgo hashAlgorithm, PTEID_ByteArray issuerNameHash, PTEID_ByteArray issuerKeyHash, PTEID_ByteArray serialNumber) : this(pteidlib_dotNetPINVOKE.new_PTEID_OcspResponse(uri, (int)hashAlgorithm, PTEID_ByteArray.getCPtr(issuerNameHash), PTEID_ByteArray.getCPtr(issuerKeyHash), PTEID_ByteArray.getCPtr(serialNumber)), true) {
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 9
0
 public PTEID_CertifStatus getResponse(PTEID_ByteArray response) {
   PTEID_CertifStatus ret = (PTEID_CertifStatus)pteidlib_dotNetPINVOKE.PTEID_OcspResponse_getResponse(swigCPtr, PTEID_ByteArray.getCPtr(response));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 10
0
 public virtual bool writeFile(string fileID, PTEID_ByteArray oData) {
   bool ret = pteidlib_dotNetPINVOKE.PTEID_Card_writeFile__SWIG_1(swigCPtr, fileID, PTEID_ByteArray.getCPtr(oData));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 11
0
 public PTEID_ByteArray getSignature() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_CardVersionInfo_getSignature(swigCPtr), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 12
0
 public virtual PTEID_ByteArray readFile(string fileID) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_Card_readFile__SWIG_2(swigCPtr, fileID), true);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 13
0
 public virtual PTEID_ByteArray getTLV() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_XMLDoc_getTLV(swigCPtr), true);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 14
0
 public void getFormattedData(PTEID_ByteArray data) {
   pteidlib_dotNetPINVOKE.PTEID_Certificate_getFormattedData(swigCPtr, PTEID_ByteArray.getCPtr(data));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 15
0
 public void selectApplication(PTEID_ByteArray applicationId) {
   pteidlib_dotNetPINVOKE.PTEID_SmartCard_selectApplication(swigCPtr, PTEID_ByteArray.getCPtr(applicationId));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 16
0
 public PTEID_CrlStatus getData(PTEID_ByteArray crl) {
   PTEID_CrlStatus ret = (PTEID_CrlStatus)pteidlib_dotNetPINVOKE.PTEID_Crl_getData__SWIG_1(swigCPtr, PTEID_ByteArray.getCPtr(crl));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 17
0
 public virtual PTEID_ByteArray sendAPDU(PTEID_ByteArray cmd, PTEID_Pin pin) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_SmartCard_sendAPDU__SWIG_1(swigCPtr, PTEID_ByteArray.getCPtr(cmd), PTEID_Pin.getCPtr(pin)), true);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 18
0
 public override PTEID_ByteArray getRawData(PTEID_RawDataType type) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_EIDCard_getRawData(swigCPtr, (int)type), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 19
0
 public virtual int readFile(string fileID, PTEID_ByteArray arg1) {
   int ret = pteidlib_dotNetPINVOKE.PTEID_SmartCard_readFile__SWIG_2(swigCPtr, fileID, PTEID_ByteArray.getCPtr(arg1));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 20
0
 public PTEID_ByteArray getRawData_PersoData() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_EIDCard_getRawData_PersoData(swigCPtr), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 21
0
 public override bool writeFile(string fileID, PTEID_ByteArray arg1) {
   bool ret = pteidlib_dotNetPINVOKE.PTEID_SmartCard_writeFile__SWIG_2(swigCPtr, fileID, PTEID_ByteArray.getCPtr(arg1));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 22
0
 public PTEID_Certificate addCertificate(PTEID_ByteArray cert) {
   PTEID_Certificate ret = new PTEID_Certificate(pteidlib_dotNetPINVOKE.PTEID_Certificates_addCertificate(swigCPtr, PTEID_ByteArray.getCPtr(cert)), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 23
0
 internal static HandleRef getCPtr(PTEID_ByteArray obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 24
0
 public virtual PTEID_ByteArray getChallenge(bool bForceNewInit) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_SmartCard_getChallenge__SWIG_0(swigCPtr, bForceNewInit), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 25
0
 public void Append(PTEID_ByteArray data) {
   pteidlib_dotNetPINVOKE.PTEID_ByteArray_Append__SWIG_1(swigCPtr, PTEID_ByteArray.getCPtr(data));
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 26
0
 public virtual PTEID_ByteArray getChallengeResponse() {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_SmartCard_getChallengeResponse(swigCPtr), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 27
0
 public PTEID_ByteArray assign(PTEID_ByteArray bytearray) {
   PTEID_ByteArray ret = new PTEID_ByteArray(pteidlib_dotNetPINVOKE.PTEID_ByteArray_assign(swigCPtr, PTEID_ByteArray.getCPtr(bytearray)), false);
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 28
0
 public PTEID_ReaderContext(PTEID_FileType fileType, PTEID_ByteArray data) : this(pteidlib_dotNetPINVOKE.new_PTEID_ReaderContext__SWIG_1((int)fileType, PTEID_ByteArray.getCPtr(data)), true) {
   if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
 }