-
- All Implemented Interfaces:
-
io.livekit.android.e2ee.KeyProvider
public final class BaseKeyProvider implements KeyProvider
-
-
Field Summary
Fields Modifier and Type Field Description private final FrameCryptorKeyProvider
rtcKeyProvider
private Boolean
enableSharedKey
-
Method Summary
Modifier and Type Method Description FrameCryptorKeyProvider
getRtcKeyProvider()
Boolean
getEnableSharedKey()
Unit
setEnableSharedKey(Boolean enableSharedKey)
Boolean
setSharedKey(String key, Integer keyIndex)
ByteArray
ratchetSharedKey(Integer keyIndex)
ByteArray
exportSharedKey(Integer keyIndex)
Unit
setKey(String key, String participantId, Integer keyIndex)
Set a key for a participant ByteArray
ratchetKey(String participantId, Integer keyIndex)
ByteArray
exportKey(String participantId, Integer keyIndex)
Unit
setSifTrailer(ByteArray trailer)
-
-
Method Detail
-
getRtcKeyProvider
FrameCryptorKeyProvider getRtcKeyProvider()
-
getEnableSharedKey
Boolean getEnableSharedKey()
-
setEnableSharedKey
Unit setEnableSharedKey(Boolean enableSharedKey)
-
setSharedKey
Boolean setSharedKey(String key, Integer keyIndex)
-
ratchetSharedKey
ByteArray ratchetSharedKey(Integer keyIndex)
-
exportSharedKey
ByteArray exportSharedKey(Integer keyIndex)
-
ratchetKey
ByteArray ratchetKey(String participantId, Integer keyIndex)
-
setSifTrailer
Unit setSifTrailer(ByteArray trailer)
-
-
-
-