C# Class OpenTransactions.OTAPI.OTPassword

Inheritance: global::System.IDisposable
Show file Open project: da2ce7/Open-Transactions-old Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Compare ( OTPassword rhs ) : bool
CreateTextBuffer ( ) : OTPassword
Dispose ( ) : void
OTPassword ( ) : System
OTPassword ( OTPassword theBlockSize ) : System
OTPassword ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize ) : System
OTPassword ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
OTPassword ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize ) : System
OTPassword ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
OTPassword ( string szInput, SWIGTYPE_p_uint32_t nInputSize ) : System
OTPassword ( string szInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
SetSize ( SWIGTYPE_p_uint32_t uSize ) : bool
addChar ( SWIGTYPE_p_uint8_t theChar ) : bool
addMemory ( SWIGTYPE_p_void vAppend, SWIGTYPE_p_uint32_t nAppendSize ) : SWIGTYPE_p_int32_t
getBlockSize ( ) : SWIGTYPE_p_uint32_t
getMemory ( ) : SWIGTYPE_p_void
getMemorySize ( ) : SWIGTYPE_p_uint32_t
getMemoryWritable ( ) : SWIGTYPE_p_void
getMemory_uint8 ( ) : SWIGTYPE_p_uint8_t
getPassword ( ) : string
getPasswordSize ( ) : SWIGTYPE_p_uint32_t
getPasswordWritable ( ) : SWIGTYPE_p_uint8_t
getPasswordWritable_char ( ) : string
getPassword_uint8 ( ) : SWIGTYPE_p_uint8_t
isMemory ( ) : bool
isPassword ( ) : bool
randomizeMemory ( ) : SWIGTYPE_p_int32_t
randomizeMemory ( SWIGTYPE_p_uint32_t nNewSize ) : SWIGTYPE_p_int32_t
randomizeMemory ( SWIGTYPE_p_void szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
randomizeMemory_uint8 ( SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
randomizePassword ( ) : SWIGTYPE_p_int32_t
randomizePassword ( SWIGTYPE_p_uint32_t nNewSize ) : SWIGTYPE_p_int32_t
randomizePassword ( string szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
randomizePassword_uint8 ( SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
safe_memcpy ( SWIGTYPE_p_void dest, SWIGTYPE_p_uint32_t dest_size, SWIGTYPE_p_void src, SWIGTYPE_p_uint32_t src_length ) : 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, bool bZeroSource ) : SWIGTYPE_p_void
setMemory ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize ) : SWIGTYPE_p_int32_t
setPassword ( string szInput, int nInputSize ) : int
setPassword_uint8 ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize ) : SWIGTYPE_p_int32_t
zeroMemory ( ) : void
zeroMemory ( SWIGTYPE_p_uint8_t szMemory, SWIGTYPE_p_uint32_t theSize ) : void
zeroMemory ( SWIGTYPE_p_void vMemory, SWIGTYPE_p_uint32_t theSize ) : void

Private Methods

Method Description
OTPassword ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( OTPassword obj ) : HandleRef

Method Details

Compare() public method

public Compare ( OTPassword rhs ) : bool
rhs OTPassword
return bool

CreateTextBuffer() public static method

public static CreateTextBuffer ( ) : OTPassword
return OTPassword

Dispose() public method

public Dispose ( ) : void
return void

OTPassword() public method

public OTPassword ( ) : System
return System

OTPassword() public method

public OTPassword ( OTPassword theBlockSize ) : System
theBlockSize OTPassword
return System

OTPassword() public method

public OTPassword ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize ) : System
szInput SWIGTYPE_p_uint8_t
nInputSize SWIGTYPE_p_uint32_t
return System

OTPassword() public method

public OTPassword ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
szInput SWIGTYPE_p_uint8_t
nInputSize SWIGTYPE_p_uint32_t
theBlockSize OTPassword
return System

OTPassword() public method

public OTPassword ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize ) : System
vInput SWIGTYPE_p_void
nInputSize SWIGTYPE_p_uint32_t
return System

OTPassword() public method

public OTPassword ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
vInput SWIGTYPE_p_void
nInputSize SWIGTYPE_p_uint32_t
theBlockSize OTPassword
return System

OTPassword() public method

public OTPassword ( string szInput, SWIGTYPE_p_uint32_t nInputSize ) : System
szInput string
nInputSize SWIGTYPE_p_uint32_t
return System

OTPassword() public method

public OTPassword ( string szInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword theBlockSize ) : System
szInput string
nInputSize SWIGTYPE_p_uint32_t
theBlockSize OTPassword
return System

SetSize() public method

public SetSize ( SWIGTYPE_p_uint32_t uSize ) : bool
uSize SWIGTYPE_p_uint32_t
return bool

addChar() public method

public addChar ( SWIGTYPE_p_uint8_t theChar ) : bool
theChar SWIGTYPE_p_uint8_t
return bool

addMemory() public method

public addMemory ( SWIGTYPE_p_void vAppend, SWIGTYPE_p_uint32_t nAppendSize ) : SWIGTYPE_p_int32_t
vAppend SWIGTYPE_p_void
nAppendSize SWIGTYPE_p_uint32_t
return SWIGTYPE_p_int32_t

getBlockSize() public method

public getBlockSize ( ) : SWIGTYPE_p_uint32_t
return SWIGTYPE_p_uint32_t

getMemory() public method

public getMemory ( ) : SWIGTYPE_p_void
return SWIGTYPE_p_void

getMemorySize() public method

public getMemorySize ( ) : SWIGTYPE_p_uint32_t
return SWIGTYPE_p_uint32_t

getMemoryWritable() public method

public getMemoryWritable ( ) : SWIGTYPE_p_void
return SWIGTYPE_p_void

getMemory_uint8() public method

public getMemory_uint8 ( ) : SWIGTYPE_p_uint8_t
return SWIGTYPE_p_uint8_t

getPassword() public method

public getPassword ( ) : string
return string

getPasswordSize() public method

public getPasswordSize ( ) : SWIGTYPE_p_uint32_t
return SWIGTYPE_p_uint32_t

getPasswordWritable() public method

public getPasswordWritable ( ) : SWIGTYPE_p_uint8_t
return SWIGTYPE_p_uint8_t

getPasswordWritable_char() public method

public getPasswordWritable_char ( ) : string
return string

getPassword_uint8() public method

public getPassword_uint8 ( ) : SWIGTYPE_p_uint8_t
return SWIGTYPE_p_uint8_t

isMemory() public method

public isMemory ( ) : bool
return bool

isPassword() public method

public isPassword ( ) : bool
return bool

randomizeMemory() public method

public randomizeMemory ( ) : SWIGTYPE_p_int32_t
return SWIGTYPE_p_int32_t

randomizeMemory() public method

public randomizeMemory ( SWIGTYPE_p_uint32_t nNewSize ) : SWIGTYPE_p_int32_t
nNewSize SWIGTYPE_p_uint32_t
return SWIGTYPE_p_int32_t

randomizeMemory() public static method

public static randomizeMemory ( SWIGTYPE_p_void szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
szDestination SWIGTYPE_p_void
nNewSize SWIGTYPE_p_uint32_t
return bool

randomizeMemory_uint8() public static method

public static randomizeMemory_uint8 ( SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
szDestination SWIGTYPE_p_uint8_t
nNewSize SWIGTYPE_p_uint32_t
return bool

randomizePassword() public method

public randomizePassword ( ) : SWIGTYPE_p_int32_t
return SWIGTYPE_p_int32_t

randomizePassword() public method

public randomizePassword ( SWIGTYPE_p_uint32_t nNewSize ) : SWIGTYPE_p_int32_t
nNewSize SWIGTYPE_p_uint32_t
return SWIGTYPE_p_int32_t

randomizePassword() public static method

public static randomizePassword ( string szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
szDestination string
nNewSize SWIGTYPE_p_uint32_t
return bool

randomizePassword_uint8() public static method

public static randomizePassword_uint8 ( SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize ) : bool
szDestination SWIGTYPE_p_uint8_t
nNewSize SWIGTYPE_p_uint32_t
return bool

safe_memcpy() public static method

public static safe_memcpy ( SWIGTYPE_p_void dest, SWIGTYPE_p_uint32_t dest_size, SWIGTYPE_p_void src, SWIGTYPE_p_uint32_t src_length ) : SWIGTYPE_p_void
dest SWIGTYPE_p_void
dest_size SWIGTYPE_p_uint32_t
src SWIGTYPE_p_void
src_length SWIGTYPE_p_uint32_t
return SWIGTYPE_p_void

safe_memcpy() public static method

public static safe_memcpy ( SWIGTYPE_p_void dest, SWIGTYPE_p_uint32_t dest_size, SWIGTYPE_p_void src, SWIGTYPE_p_uint32_t src_length, bool bZeroSource ) : SWIGTYPE_p_void
dest SWIGTYPE_p_void
dest_size SWIGTYPE_p_uint32_t
src SWIGTYPE_p_void
src_length SWIGTYPE_p_uint32_t
bZeroSource bool
return SWIGTYPE_p_void

setMemory() public method

public setMemory ( SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize ) : SWIGTYPE_p_int32_t
vInput SWIGTYPE_p_void
nInputSize SWIGTYPE_p_uint32_t
return SWIGTYPE_p_int32_t

setPassword() public method

public setPassword ( string szInput, int nInputSize ) : int
szInput string
nInputSize int
return int

setPassword_uint8() public method

public setPassword_uint8 ( SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize ) : SWIGTYPE_p_int32_t
szInput SWIGTYPE_p_uint8_t
nInputSize SWIGTYPE_p_uint32_t
return SWIGTYPE_p_int32_t

zeroMemory() public method

public zeroMemory ( ) : void
return void

zeroMemory() public static method

public static zeroMemory ( SWIGTYPE_p_uint8_t szMemory, SWIGTYPE_p_uint32_t theSize ) : void
szMemory SWIGTYPE_p_uint8_t
theSize SWIGTYPE_p_uint32_t
return void

zeroMemory() public static method

public static zeroMemory ( SWIGTYPE_p_void vMemory, SWIGTYPE_p_uint32_t theSize ) : void
vMemory SWIGTYPE_p_void
theSize SWIGTYPE_p_uint32_t
return void

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool