コード例 #1
0
 public bool GetPassword(OTPassword theOutput)
 {
     bool ret = otapiPINVOKE.OTCaller_GetPassword(swigCPtr, OTPassword.getCPtr(theOutput));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #2
0
 public OTPassword(SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_7(SWIGTYPE_p_void.getCPtr(vInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize), (int)theBlockSize), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #3
0
 public OTPassword(OTPassword rhs)
     : this(otapiPINVOKE.new_OTPassword__SWIG_2(OTPassword.getCPtr(rhs)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
 internal static HandleRef getCPtr(OTPassword obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #5
0
 public OTPassword(OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_0((int)theBlockSize), true)
 {
 }
コード例 #6
0
 public bool Compare(OTPassword rhs)
 {
     bool ret = otapiPINVOKE.OTPassword_Compare(swigCPtr, OTPassword.getCPtr(rhs));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }