trixnity-olm
3.0.0-beta3
common
olmLibrary
trixnity-olm
/
net.folivo.trixnity.olm
/
OlmSession
Olm
Session
common
olmLibrary
expect
class
OlmSession
:
WantsToBeFree
actual
class
OlmSession
:
WantsToBeFree
Types
Functions
Properties
Types
Companion
Link copied to clipboard
common
olmLibrary
expect
object
Companion
actual
object
Companion
Functions
decrypt
Link copied to clipboard
common
olmLibrary
expect
fun
decrypt
(
message
:
OlmMessage
)
:
String
actual
fun
decrypt
(
message
:
OlmMessage
)
:
String
encrypt
Link copied to clipboard
common
olmLibrary
expect
fun
encrypt
(
plainText
:
String
)
:
OlmMessage
actual
fun
encrypt
(
plainText
:
String
)
:
OlmMessage
free
Link copied to clipboard
common
olmLibrary
expect
open
override
fun
free
(
)
actual
open
override
fun
free
(
)
matches
Inbound
Session
Link copied to clipboard
common
olmLibrary
expect
fun
matchesInboundSession
(
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSession
(
oneTimeKeyMessage
:
String
)
:
Boolean
matches
Inbound
Session
From
Link copied to clipboard
common
olmLibrary
expect
fun
matchesInboundSessionFrom
(
identityKey
:
String
,
oneTimeKeyMessage
:
String
)
:
Boolean
actual
fun
matchesInboundSessionFrom
(
identityKey
:
String
,
oneTimeKeyMessage
:
String
)
:
Boolean
pickle
Link copied to clipboard
common
olmLibrary
expect
fun
pickle
(
key
:
String
)
:
String
actual
fun
pickle
(
key
:
String
)
:
String
Properties
description
Link copied to clipboard
common
olmLibrary
expect
val
description
:
String
actual
val
description
:
String
has
Received
Message
Link copied to clipboard
common
olmLibrary
expect
val
hasReceivedMessage
:
Boolean
actual
val
hasReceivedMessage
:
Boolean
session
Id
Link copied to clipboard
common
olmLibrary
expect
val
sessionId
:
String
actual
val
sessionId
:
String