livekit-android-sdk
2.10.0
SDK
livekit-android-sdk
/
io.livekit.android.e2ee
/
KeyProvider
Key
Provider
interface
KeyProvider
Inheritors
BaseKeyProvider
Members
Properties
enable
Shared
Key
Link copied to clipboard
abstract
var
enableSharedKey
:
Boolean
rtc
Key
Provider
Link copied to clipboard
abstract
val
rtcKeyProvider
:
FrameCryptorKeyProvider
Functions
export
Key
Link copied to clipboard
abstract
fun
exportKey
(
participantId
:
String
,
keyIndex
:
Int
?
=
0
)
:
ByteArray
export
Shared
Key
Link copied to clipboard
abstract
fun
exportSharedKey
(
keyIndex
:
Int
?
=
0
)
:
ByteArray
ratchet
Key
Link copied to clipboard
abstract
fun
ratchetKey
(
participantId
:
String
,
keyIndex
:
Int
?
=
0
)
:
ByteArray
ratchet
Shared
Key
Link copied to clipboard
abstract
fun
ratchetSharedKey
(
keyIndex
:
Int
?
=
0
)
:
ByteArray
set
Key
Link copied to clipboard
abstract
fun
setKey
(
key
:
String
,
participantId
:
String
?
,
keyIndex
:
Int
?
=
0
)
set
Shared
Key
Link copied to clipboard
abstract
fun
setSharedKey
(
key
:
String
,
keyIndex
:
Int
?
=
0
)
:
Boolean
set
Sif
Trailer
Link copied to clipboard
abstract
fun
setSifTrailer
(
trailer
:
ByteArray
)