예제 #1
0
        public static OTPassword CreateTextBuffer()
        {
            global::System.IntPtr cPtr = otapiPINVOKE.OTPassword_CreateTextBuffer();
            OTPassword            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OTPassword(cPtr, false);

            return(ret);
        }
예제 #2
0
    public OTPassword GetMasterPW()
    {
        IntPtr     cPtr = otapiPINVOKE.OTPasswordData_GetMasterPW(swigCPtr);
        OTPassword ret  = (cPtr == IntPtr.Zero) ? null : new OTPassword(cPtr, false);

        return(ret);
    }
예제 #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
 public OTPasswordData(string str_Display, OTPassword pMasterPW) : this(otapiPINVOKE.new_OTPasswordData__SWIG_0(str_Display, OTPassword.getCPtr(pMasterPW)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
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);
    }
예제 #6
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);
        }
예제 #7
0
 public virtual void runTwo(string szDisplay, OTPassword theOutput)
 {
     if (SwigDerivedClassHasMethod("runTwo", swigMethodTypes1))
     {
         otapiPINVOKE.OTCallback_runTwoSwigExplicitOTCallback(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput));
     }
     else
     {
         otapiPINVOKE.OTCallback_runTwo(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput));
     }
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #8
0
 public OTPassword(SWIGTYPE_p_void vInput, int nInputSize, OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_4(SWIGTYPE_p_void.getCPtr(vInput), nInputSize, (int)theBlockSize), true)
 {
 }
예제 #9
0
 public virtual void runTwo(string szDisplay, OTPassword theOutput)
 {
     if (SwigDerivedClassHasMethod("runTwo", swigMethodTypes1)) otapiPINVOKE.OTCallback_runTwoSwigExplicitOTCallback(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput)); else otapiPINVOKE.OTCallback_runTwo(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTPassword obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #11
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();
 }
예제 #12
0
 public OTPasswordData(SWIGTYPE_p_OTString strDisplay, OTPassword pMasterPW)
     : this(otapiPINVOKE.new_OTPasswordData__SWIG_2(SWIGTYPE_p_OTString.getCPtr(strDisplay), OTPassword.getCPtr(pMasterPW)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #13
0
 public OTPassword(OTPassword rhs)
     : this(otapiPINVOKE.new_OTPassword__SWIG_2(OTPassword.getCPtr(rhs)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTPassword obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #15
0
 public OTPassword(OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_0((int)theBlockSize), true)
 {
 }
예제 #16
0
 internal static HandleRef getCPtr(OTPassword obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #17
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;
 }
예제 #18
0
 public OTPassword(string szInput, int nInputSize, OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_2(szInput, nInputSize, (int)theBlockSize), true)
 {
 }
예제 #19
0
 internal static HandleRef getCPtr(OTPassword obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #20
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;
 }
 public OTPassword(SWIGTYPE_p_unsigned_char szInput, uint nInputSize, OTPassword.BlockSize theBlockSize) : this(otapiPINVOKE.new_OTPassword__SWIG_5(SWIGTYPE_p_unsigned_char.getCPtr(szInput), nInputSize, (int)theBlockSize), true) {
 }