public bool SetSize(SWIGTYPE_p_uint32_t uSize) { bool ret = otapiPINVOKE.OTPassword_SetSize(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(uSize)); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_int32_t setPassword_uint8(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize) { SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_setPassword_uint8(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public OTPassword(SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize) : this(otapiPINVOKE.new_OTPassword__SWIG_8(SWIGTYPE_p_void.getCPtr(vInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true) { if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } }
public OTPassword(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword.BlockSize theBlockSize) : this(otapiPINVOKE.new_OTPassword__SWIG_5(SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize), (int)theBlockSize), true) { if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } }
public static SWIGTYPE_p_void safe_memcpy(SWIGTYPE_p_void dest, SWIGTYPE_p_uint32_t dest_size, SWIGTYPE_p_void src, SWIGTYPE_p_uint32_t src_length) { IntPtr cPtr = otapiPINVOKE.OTPassword_safe_memcpy__SWIG_1(SWIGTYPE_p_void.getCPtr(dest), SWIGTYPE_p_uint32_t.getCPtr(dest_size), SWIGTYPE_p_void.getCPtr(src), SWIGTYPE_p_uint32_t.getCPtr(src_length)); SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void zeroMemory(SWIGTYPE_p_void vMemory, SWIGTYPE_p_uint32_t theSize) { otapiPINVOKE.OTPassword_zeroMemory__SWIG_2(SWIGTYPE_p_void.getCPtr(vMemory), SWIGTYPE_p_uint32_t.getCPtr(theSize)); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool randomizeMemory(SWIGTYPE_p_void szDestination, SWIGTYPE_p_uint32_t nNewSize) { bool ret = otapiPINVOKE.OTPassword_randomizeMemory__SWIG_2(SWIGTYPE_p_void.getCPtr(szDestination), SWIGTYPE_p_uint32_t.getCPtr(nNewSize)); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_int32_t randomizeMemory(SWIGTYPE_p_uint32_t nNewSize) { SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_randomizeMemory__SWIG_0(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(nNewSize)), true); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_int32_t addMemory(SWIGTYPE_p_void vAppend, SWIGTYPE_p_uint32_t nAppendSize) { SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_addMemory(swigCPtr, SWIGTYPE_p_void.getCPtr(vAppend), SWIGTYPE_p_uint32_t.getCPtr(nAppendSize)), true); if (otapiPINVOKE.SWIGPendingException.Pending) { throw otapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }