Package net.dv8tion.jda.internal.audio
Class CryptoAdapter.AbstractAaedAdapter
java.lang.Object
net.dv8tion.jda.internal.audio.CryptoAdapter.AbstractAaedAdapter
- All Implemented Interfaces:
CryptoAdapter
- Direct Known Subclasses:
CryptoAdapter.AES_GCM_Adapter
,CryptoAdapter.XChaCha20Poly1305Adapter
- Enclosing interface:
CryptoAdapter
public abstract static class CryptoAdapter.AbstractAaedAdapter
extends Object
implements CryptoAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.internal.audio.CryptoAdapter
CryptoAdapter.AbstractAaedAdapter, CryptoAdapter.AES_GCM_Adapter, CryptoAdapter.XChaCha20Poly1305Adapter
-
Field Summary
Fields inherited from interface net.dv8tion.jda.internal.audio.CryptoAdapter
AES_GCM_NO_PADDING
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decrypt
(ByteBuffer packet) encrypt
(ByteBuffer output, ByteBuffer audio) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.internal.audio.CryptoAdapter
getMode
-
Method Details
-
encrypt
- Specified by:
encrypt
in interfaceCryptoAdapter
-
decrypt
- Specified by:
decrypt
in interfaceCryptoAdapter
-