Skip to main content
Version: 2.x

Class NativeCryptoMethods

Import odin_crypto function signatures to wrapper delegates

Assembly: cs.temp.dll.dll
Declaration
public class NativeCryptoMethods : NativeMethods<OdinCryptoHandle>

Inheritance: System.Object -> OdinNative.Core.Imports.NativeMethods<T>

Methods

CryptoCreate(string)

OdinNative.Core.Imports.NativeCryptoMethods.OdinCryptoCreateDelegate

Declaration
public OdinCipherHandle CryptoCreate(string version = "1.0.0")
Returns

OdinNative.Core.Imports.OdinCipherHandle

Parameters
TypeName
System.Stringversion

CryptoGetPeerStatus(OdinCipherHandle, ulong)

OdinNative.Core.Imports.NativeCryptoMethods.OdinCryptoGetPeerStatusDelegate

Declaration
public OdinCryptoPeerStatus CryptoGetPeerStatus(OdinCipherHandle cipher, ulong peer_id)
Returns

Odin.OdinCryptoPeerStatus

Parameters
TypeName
OdinNative.Core.Imports.OdinCipherHandlecipher
System.UInt64peer_id

CryptoSetPassword(OdinCipherHandle, string)

OdinNative.Core.Imports.NativeCryptoMethods.OdinCryptoSetPasswordDelegate

Declaration
public int CryptoSetPassword(OdinCipherHandle cipher, string password)
Returns

System.Int32

Parameters
TypeName
OdinNative.Core.Imports.OdinCipherHandlecipher
System.Stringpassword