trixnity-olm
Toggle table of contents
4.20.0
common
js
olmLibrary
Platform filter
common
js
olmLibrary
Switch theme
Search in API
trixnity-olm
trixnity-olm
/
net.folivo.trixnity.olm
/
OlmSession
Olm
Session
common
js
olmLibrary
expect
class
OlmSession
:
WantsToBeFree
actual
class
OlmSession
:
WantsToBeFree
actual
class
OlmSession
:
WantsToBeFree
Members
Types
Companion
Link copied to clipboard
common
js
olmLibrary
expect
object
Companion
actual
object
Companion
actual
object
Companion
Properties
description
Link copied to clipboard
common
js
olmLibrary
expect
val
description
:
String
actual
val
description
:
String
actual
val
description
:
String
has
Received
Message
Link copied to clipboard
common
js
olmLibrary
expect
val
hasReceivedMessage
:
Boolean
actual
val
hasReceivedMessage
:
Boolean
actual
val
hasReceivedMessage
:
Boolean
session
Id
Link copied to clipboard
common
js
olmLibrary
expect
val
sessionId
:
String
actual
val
sessionId
:
String
actual
val
sessionId
:
String
Functions
decrypt
Link copied to clipboard
common
js
olmLibrary
expect
fun
decrypt
(
message
:
OlmMessage
)
:
String
actual
fun
decrypt
(
message
:
OlmMessage
)
:
String
actual
fun
decrypt
(
message
:
OlmMessage
)
:
String
encrypt
Link copied to clipboard
common
js
olmLibrary
expect
fun
encrypt
(
plainText
:
String
)
:
OlmMessage
actual
fun
encrypt
(
plainText
:
String
)
:
OlmMessage
actual
fun
encrypt
(
plainText
:
String
)
:
OlmMessage
free
Link copied to clipboard
common
js
olmLibrary
expect
open
override
fun
free
(
)
actual
open
override
fun
free
(
)
actual
open
override
fun
free
(
)
matches
Inbound
Session
Link copied to clipboard
common
js
olmLibrary
expect
fun
matchesInboundSession
(
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSession
(
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSession
(
oneTimeKeyMessage
:
String
)
:
Boolean
matches
Inbound
Session
From
Link copied to clipboard
common
js
olmLibrary
expect
fun
matchesInboundSessionFrom
(
identityKey
:
String
,
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSessionFrom
(
identityKey
:
String
,
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSessionFrom
(
identityKey
:
String
,
oneTimeKeyMessage
:
String
)
:
Boolean
pickle
Link copied to clipboard
common
js
olmLibrary
expect
fun
pickle
(
key
:
String
)
:
String
actual
fun
pickle
(
key
:
String
)
:
String
actual
fun
pickle
(
key
:
String
)
:
String