Index

A C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

assignSsrcToCodec(int, Codec) - Method in interface moe.kyokobot.libdave.Encryptor
Assigns an SSRC (Synchronization Source identifier) to a specific codec.
AUDIO - Enum constant in enum class moe.kyokobot.libdave.MediaType
 
AV1 - Enum constant in enum class moe.kyokobot.libdave.Codec
 

C

clear() - Method in class moe.kyokobot.libdave.RosterMap
 
close() - Method in interface moe.kyokobot.libdave.Decryptor
 
close() - Method in interface moe.kyokobot.libdave.Encryptor
 
close() - Method in interface moe.kyokobot.libdave.KeyRatchet
 
close() - Method in interface moe.kyokobot.libdave.Session
Closes the session and releases native resources.
Codec - Enum Class in moe.kyokobot.libdave
Enumeration of supported audio and video codecs.
COMMIT_RESULT_FAILED - Static variable in class moe.kyokobot.libdave.impl.Constants
 
COMMIT_RESULT_IGNORED - Static variable in class moe.kyokobot.libdave.impl.Constants
 
CommitResult - Class in moe.kyokobot.libdave
Represents the result of processing an MLS commit via processCommit(byte[]).
Constants - Class in moe.kyokobot.libdave.impl
 
Constants() - Constructor for class moe.kyokobot.libdave.impl.Constants
 
containsKey(Object) - Method in class moe.kyokobot.libdave.RosterMap
 
containsValue(Object) - Method in class moe.kyokobot.libdave.RosterMap
 
createDecryptor() - Method in interface moe.kyokobot.libdave.DaveFactory
Creates a new Decryptor instance.
createEncryptor() - Method in interface moe.kyokobot.libdave.DaveFactory
Creates a new Encryptor instance.
createSession(String, String, MLSFailureCallback) - Method in interface moe.kyokobot.libdave.DaveFactory
Creates a new DAVE session.

D

DaveFactory - Interface in moe.kyokobot.libdave
 
DaveLogSink - Interface in moe.kyokobot.libdave.callbacks
 
decrypt(MediaType, byte[], byte[]) - Method in interface moe.kyokobot.libdave.Decryptor
Decrypts an encrypted frame.
decrypt(MediaType, ByteBuf, ByteBuf) - Method in interface moe.kyokobot.libdave.netty.NettyDecryptor
Decrypts an encrypted frame into Netty ByteBuf.
decrypt(MediaType, ByteBuffer, ByteBuffer) - Method in interface moe.kyokobot.libdave.Decryptor
Decrypts an encrypted frame into NIO ByteBuffer.
DECRYPTION_FAILURE - Enum constant in enum class moe.kyokobot.libdave.DecryptorResultCode
Decryption failed (generic error).
Decryptor - Interface in moe.kyokobot.libdave
Handles the decryption of inbound media frames using DAVE.
DecryptorResultCode - Enum Class in moe.kyokobot.libdave
deleteKey(int) - Method in interface moe.kyokobot.libdave.KeyRatchet
 

E

encrypt(MediaType, int, byte[], byte[]) - Method in interface moe.kyokobot.libdave.Encryptor
Encrypts a media frame.
encrypt(MediaType, int, ByteBuf, ByteBuf) - Method in interface moe.kyokobot.libdave.netty.NettyEncryptor
Encrypts a media frame into Netty ByteBuf.
encrypt(MediaType, int, ByteBuffer, ByteBuffer) - Method in interface moe.kyokobot.libdave.Encryptor
Encrypts a media frame into NIO ByteBuffer.
ENCRYPTION_FAILURE - Enum constant in enum class moe.kyokobot.libdave.EncryptorResultCode
Encryption failed (generic error).
Encryptor - Interface in moe.kyokobot.libdave
Handles the encryption of outbound media frames using DAVE.
EncryptorProtocolVersionChangedCallback - Interface in moe.kyokobot.libdave.callbacks
 
EncryptorResultCode - Enum Class in moe.kyokobot.libdave
entrySet() - Method in class moe.kyokobot.libdave.RosterMap
 

F

failed() - Static method in class moe.kyokobot.libdave.CommitResult
 
fromDecryptor(Decryptor) - Method in interface moe.kyokobot.libdave.netty.NettyDaveFactory
Converts a Decryptor into a Netty-enabled NettyDecryptor.
fromEncryptor(Encryptor) - Method in interface moe.kyokobot.libdave.netty.NettyDaveFactory
Converts a Encryptor into a Netty-enabled NettyEncryptor.
fromValue(int) - Static method in enum class moe.kyokobot.libdave.Codec
Retrieves the Codec enum from its integer value.
fromValue(int) - Static method in enum class moe.kyokobot.libdave.DecryptorResultCode
Retrieves the DecryptorResultCode enum from its integer value.
fromValue(int) - Static method in enum class moe.kyokobot.libdave.EncryptorResultCode
Retrieves the EncryptorResultCode enum from its integer value.
fromValue(int) - Static method in enum class moe.kyokobot.libdave.MediaType
Retrieves the MediaType enum from its integer value.

G

get(long) - Method in class moe.kyokobot.libdave.RosterMap
 
get(Object) - Method in class moe.kyokobot.libdave.RosterMap
 
getEncryptionKey(int) - Method in interface moe.kyokobot.libdave.KeyRatchet
 
getKeyRatchet(String) - Method in interface moe.kyokobot.libdave.Session
Retrieves the key ratchet for a specific user.
getLastEpochAuthenticator() - Method in interface moe.kyokobot.libdave.Session
Retrieves the authenticator for the last processed epoch.
getMarshalledKeyPackage() - Method in interface moe.kyokobot.libdave.Session
Generates a marshalled key package for the current user.
getMaxCiphertextByteSize(MediaType, int) - Method in interface moe.kyokobot.libdave.Encryptor
Calculates the maximum possible size of the ciphertext (encrypted) frame for a given plaintext frame size.
getMaxPlaintextByteSize(MediaType, int) - Method in interface moe.kyokobot.libdave.Decryptor
Calculates the maximum possible size of the plaintext (decrypted) frame for a given encrypted frame size.
getPairwiseFingerprint(int, String) - Method in interface moe.kyokobot.libdave.Session
Computes a pairwise fingerprint for verification with another user asynchronously.
getProtocolVersion() - Method in interface moe.kyokobot.libdave.Encryptor
Gets the current protocol version used by the encryptor.
getProtocolVersion() - Method in interface moe.kyokobot.libdave.Session
Gets the current protocol version of the session.
getRosterMap() - Method in class moe.kyokobot.libdave.CommitResult
Retrieves the roster map detailing key changes resulting from the commit.
getValue() - Method in enum class moe.kyokobot.libdave.Codec
Gets the integer value of the codec.
getValue() - Method in enum class moe.kyokobot.libdave.DecryptorResultCode
Gets the integer value of the result code.
getValue() - Method in enum class moe.kyokobot.libdave.EncryptorResultCode
Gets the integer value of the result code.
getValue() - Method in enum class moe.kyokobot.libdave.MediaType
Gets the integer value of the media type.

H

H264 - Enum constant in enum class moe.kyokobot.libdave.Codec
 
H265 - Enum constant in enum class moe.kyokobot.libdave.Codec
 

I

ignored() - Static method in class moe.kyokobot.libdave.CommitResult
 
init(int, long, String) - Method in interface moe.kyokobot.libdave.Session
Initializes the session with initial parameters.
INVALID_NONCE - Enum constant in enum class moe.kyokobot.libdave.DecryptorResultCode
Decryption failed due to an invalid nonce.
isEmpty() - Method in class moe.kyokobot.libdave.RosterMap
 
isFailed() - Method in class moe.kyokobot.libdave.CommitResult
Checks if the commit processing failed.
isIgnored() - Method in class moe.kyokobot.libdave.CommitResult
Checks if the commit was ignored (e.g., duplicate or irrelevant).

K

KeyRatchet - Interface in moe.kyokobot.libdave
Represents a key ratchet, which manages the sequence of encryption/decryption keys for a sender.
keySet() - Method in class moe.kyokobot.libdave.RosterMap
 

L

log(int, String, int, String) - Method in interface moe.kyokobot.libdave.callbacks.DaveLogSink
 

M

maxSupportedProtocolVersion() - Method in interface moe.kyokobot.libdave.DaveFactory
Returns the maximum protocol version supported by the underlying native library.
MediaType - Enum Class in moe.kyokobot.libdave
Enumeration of media types (Audio/Video).
MISSING_CRYPTOR - Enum constant in enum class moe.kyokobot.libdave.DecryptorResultCode
Decryption failed because the underlying cryptor was missing or invalid.
MISSING_CRYPTOR - Enum constant in enum class moe.kyokobot.libdave.EncryptorResultCode
Encryption failed because the underlying cryptor was missing or invalid.
MISSING_KEY_RATCHET - Enum constant in enum class moe.kyokobot.libdave.DecryptorResultCode
Decryption failed because the key ratchet for the sender is missing.
MISSING_KEY_RATCHET - Enum constant in enum class moe.kyokobot.libdave.EncryptorResultCode
Encryption failed because the key ratchet for the stream is missing.
MLSFailureCallback - Interface in moe.kyokobot.libdave.callbacks
 
moe.kyokobot.libdave - package moe.kyokobot.libdave
 
moe.kyokobot.libdave.callbacks - package moe.kyokobot.libdave.callbacks
 
moe.kyokobot.libdave.impl - package moe.kyokobot.libdave.impl
 
moe.kyokobot.libdave.netty - package moe.kyokobot.libdave.netty
 

N

NettyDaveFactory - Interface in moe.kyokobot.libdave.netty
 
NettyDecryptor - Interface in moe.kyokobot.libdave.netty
Factory for creating Netty-enabled decryptors and encryptors.
NettyEncryptor - Interface in moe.kyokobot.libdave.netty
 

O

onChanged() - Method in interface moe.kyokobot.libdave.callbacks.EncryptorProtocolVersionChangedCallback
 
onFailure(String, String) - Method in interface moe.kyokobot.libdave.callbacks.MLSFailureCallback
 
OPUS - Enum constant in enum class moe.kyokobot.libdave.Codec
 

P

processCommit(byte[]) - Method in interface moe.kyokobot.libdave.Session
Processes an MLS commit message.
processProposals(byte[], String[]) - Method in interface moe.kyokobot.libdave.Session
Processes a list of MLS proposals.
processWelcome(byte[], String[]) - Method in interface moe.kyokobot.libdave.Session
Processes an MLS welcome message.
put(Long, byte[]) - Method in class moe.kyokobot.libdave.RosterMap
 
putAll(Map<? extends Long, ? extends byte[]>) - Method in class moe.kyokobot.libdave.RosterMap
 

R

remove(Object) - Method in class moe.kyokobot.libdave.RosterMap
 
reset() - Method in interface moe.kyokobot.libdave.Session
Resets the session state.
RosterMap - Class in moe.kyokobot.libdave
A read-only map representing the roster of participants in a DAVE session and their associated key data.
RosterMap(long[], byte[][]) - Constructor for class moe.kyokobot.libdave.RosterMap
 

S

Session - Interface in moe.kyokobot.libdave
Represents a session for Discord's Audio/Video End-to-End Encryption (DAVE) protocol.
setExternalSender(byte[]) - Method in interface moe.kyokobot.libdave.Session
Sets the external sender for the session.
setKeyRatchet(KeyRatchet) - Method in interface moe.kyokobot.libdave.Encryptor
Sets the key ratchet to be used for encryption.
setPassthroughMode(boolean) - Method in interface moe.kyokobot.libdave.Encryptor
Sets whether the encryptor should operate in passthrough mode.
setProtocolVersion(int) - Method in interface moe.kyokobot.libdave.Session
Sets the protocol version for the session.
setProtocolVersionChangedCallback(EncryptorProtocolVersionChangedCallback) - Method in interface moe.kyokobot.libdave.Encryptor
Sets a callback to be notified when the protocol version changes.
size() - Method in class moe.kyokobot.libdave.RosterMap
 
success(RosterMap) - Static method in class moe.kyokobot.libdave.CommitResult
 
SUCCESS - Enum constant in enum class moe.kyokobot.libdave.DecryptorResultCode
Decryption was successful.
SUCCESS - Enum constant in enum class moe.kyokobot.libdave.EncryptorResultCode
Encryption was successful.

T

TOO_MANY_ATTEMPTS - Enum constant in enum class moe.kyokobot.libdave.EncryptorResultCode
Encryption failed due to too many attempts to encrypt the frame.
transitionToKeyRatchet(KeyRatchet) - Method in interface moe.kyokobot.libdave.Decryptor
Transitions the decryptor to use a specific key ratchet.
transitionToPassthroughMode(boolean) - Method in interface moe.kyokobot.libdave.Decryptor
Sets whether the decryptor should operate in passthrough mode.

U

UNKNOWN - Enum constant in enum class moe.kyokobot.libdave.Codec
 

V

valueOf(String) - Static method in enum class moe.kyokobot.libdave.Codec
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class moe.kyokobot.libdave.DecryptorResultCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class moe.kyokobot.libdave.EncryptorResultCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class moe.kyokobot.libdave.MediaType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class moe.kyokobot.libdave.Codec
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class moe.kyokobot.libdave.DecryptorResultCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class moe.kyokobot.libdave.EncryptorResultCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class moe.kyokobot.libdave.MediaType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class moe.kyokobot.libdave.RosterMap
 
VIDEO - Enum constant in enum class moe.kyokobot.libdave.MediaType
 
VP8 - Enum constant in enum class moe.kyokobot.libdave.Codec
 
VP9 - Enum constant in enum class moe.kyokobot.libdave.Codec
 
A C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values