예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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();
 }
예제 #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;
 }
예제 #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;
 }
예제 #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();
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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();
 }
예제 #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();
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #23
0
 internal static HandleRef getCPtr(PTEID_ByteArray obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #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;
 }
예제 #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();
 }
예제 #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;
 }
예제 #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;
 }
예제 #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();
 }