Table of Contents

Class KeyProvider

Namespace
LiveKit
public class KeyProvider
Inheritance
KeyProvider
Inherited Members
Extension Methods

Constructors

KeyProvider(FfiHandle, KeyProviderOptions)

public KeyProvider(FfiHandle roomHandle, KeyProviderOptions keyProviderOptions)

Parameters

roomHandle FfiHandle
keyProviderOptions KeyProviderOptions

Fields

KeyProviderOptions

public KeyProviderOptions KeyProviderOptions

Field Value

KeyProviderOptions

Methods

GetKey(string, int)

public byte[] GetKey(string participantIdentity, int keyIndex)

Parameters

participantIdentity string
keyIndex int

Returns

byte[]

GetSharedKey(int)

public byte[] GetSharedKey(int keyIndex)

Parameters

keyIndex int

Returns

byte[]

RatchetKey(string, int)

public byte[] RatchetKey(string participantIdentity, int keyIndex)

Parameters

participantIdentity string
keyIndex int

Returns

byte[]

RatchetSharedKey(int)

public byte[] RatchetSharedKey(int keyIndex)

Parameters

keyIndex int

Returns

byte[]

SetKey(string, byte[], int)

public void SetKey(string participantIdentity, byte[] key, int keyIndex)

Parameters

participantIdentity string
key byte[]
keyIndex int

SetSharedKey(byte[], int)

public void SetSharedKey(byte[] key, int keyIndex)

Parameters

key byte[]
keyIndex int