trixnity-olm
3.7.0-beta1
common
olmLibrary
trixnity-olm
/
net.folivo.trixnity.olm
/
OlmSAS
Olm
SAS
common
olmLibrary
expect
class
OlmSAS
:
WantsToBeFree
actual
class
OlmSAS
:
WantsToBeFree
Members
Types
Companion
Link copied to clipboard
common
olmLibrary
expect
object
Companion
actual
object
Companion
Properties
public
Key
Link copied to clipboard
common
olmLibrary
expect
val
publicKey
:
String
actual
val
publicKey
:
String
Functions
calculate
Mac
Link copied to clipboard
common
olmLibrary
expect
fun
calculateMac
(
input
:
String
,
info
:
String
)
:
String
actual
fun
calculateMac
(
input
:
String
,
info
:
String
)
:
String
calculate
Mac
Fixed
Base64
Link copied to clipboard
common
olmLibrary
expect
fun
calculateMacFixedBase64
(
input
:
String
,
info
:
String
)
:
String
actual
fun
calculateMacFixedBase64
(
input
:
String
,
info
:
String
)
:
String
free
Link copied to clipboard
common
olmLibrary
expect
open
override
fun
free
(
)
actual
open
override
fun
free
(
)
generate
Short
Code
Link copied to clipboard
common
olmLibrary
expect
fun
generateShortCode
(
info
:
String
,
numberOfBytes
:
Int
)
:
ByteArray
actual
fun
generateShortCode
(
info
:
String
,
numberOfBytes
:
Int
)
:
ByteArray
set
Their
Public
Key
Link copied to clipboard
common
olmLibrary
expect
fun
setTheirPublicKey
(
theirPublicKey
:
String
)
actual
fun
setTheirPublicKey
(
theirPublicKey
:
String
)