Cryptobox

open external class Cryptobox(engine: CRUDEngineBaseCollection, minimumAmountOfPreKeys: Number = definedExternally)

Constructors

Link copied to clipboard
constructor(engine: CRUDEngineBaseCollection, minimumAmountOfPreKeys: Number = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var cachedSessions: Any
Link copied to clipboard
Link copied to clipboard
open var create_new_identity: Any
Link copied to clipboard
open var deleteData: Any
Link copied to clipboard
open var get_prekey: Any
Link copied to clipboard
open var get_session_queue: Any
Link copied to clipboard
Link copied to clipboard
open var importIdentity: Any
Link copied to clipboard
open var importPreKeys: Any
Link copied to clipboard
open var importSessions: Any
Link copied to clipboard
open var init: Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var publish_event: Any
Link copied to clipboard
open var publish_prekeys: Any
Link copied to clipboard
open var publish_session_id: Any
Link copied to clipboard
open var queues: Any
Link copied to clipboard
open var refill_prekeys: Any
Link copied to clipboard
Link copied to clipboard
open var save_identity: Any
Link copied to clipboard
open var save_session_in_cache: Any
Link copied to clipboard
open var session_from_message: Any
Link copied to clipboard
open var session_save: Any
Link copied to clipboard
open var session_update: Any
Link copied to clipboard
open var store: Any

Functions

Link copied to clipboard
open fun create(): <Error class: unknown class><Array<PreKey>>
Link copied to clipboard
open fun decrypt(sessionId: String, ciphertext: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open fun encrypt(sessionId: String, payload: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>
open fun encrypt(sessionId: String, payload: String): <Error class: unknown class><<Error class: unknown class>>
open fun encrypt(sessionId: String, payload: <Error class: unknown class>, preKeyBundle: <Error class: unknown class> = definedExternally): <Error class: unknown class><<Error class: unknown class>>
open fun encrypt(sessionId: String, payload: String, preKeyBundle: <Error class: unknown class> = definedExternally): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open fun get_prekey_bundle(preKeyId: Number = definedExternally): <Error class: unknown class><PreKeyBundle>
Link copied to clipboard
open fun get_serialized_last_resort_prekey(): <Error class: unknown class><T$0>
Link copied to clipboard
open fun get_serialized_standard_prekeys(): <Error class: unknown class><Array<T$0>>
Link copied to clipboard
Link copied to clipboard
open fun load(): <Error class: unknown class><Array<PreKey>>
Link copied to clipboard
open fun new_prekeys(start: Number, size: Number): <Error class: unknown class><Array<PreKey>>
Link copied to clipboard
open fun on(event: TOPIC, listener: (prekeys: Array<PreKey>) -> Unit): Cryptobox
open fun on(event: TOPIC, listener: (session: String) -> Unit): Cryptobox
Link copied to clipboard
open fun serialize_prekey(prekey: PreKey): T$0
Link copied to clipboard
open fun session_delete(sessionId: String): <Error class: unknown class><String>
Link copied to clipboard
open fun session_from_prekey(sessionId: String, preKeyBundle: <Error class: unknown class>): <Error class: unknown class><CryptoboxSession>
Link copied to clipboard
open fun session_load(sessionId: String): <Error class: unknown class><CryptoboxSession>