Package moe.kyokobot.koe.internal.crypto
Class XSalsa20Poly1305LiteRTPSizeEncryptionMode
java.lang.Object
moe.kyokobot.koe.internal.crypto.XSalsa20Poly1305LiteEncryptionMode
moe.kyokobot.koe.internal.crypto.XSalsa20Poly1305LiteRTPSizeEncryptionMode
- All Implemented Interfaces:
EncryptionMode
Same as xsalsa20_poly1305_lite, except a header extension preamble stays unencrypted as part of the RTP header.
-
Field Summary
Fields inherited from interface moe.kyokobot.koe.internal.crypto.EncryptionMode
SECRET_KEY_LENGTH, SECURE_RANDOM, TAG_BYTES_LENGTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class moe.kyokobot.koe.internal.crypto.XSalsa20Poly1305LiteEncryptionMode
boxMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface moe.kyokobot.koe.internal.crypto.EncryptionMode
validateKey
-
Constructor Details
-
XSalsa20Poly1305LiteRTPSizeEncryptionMode
public XSalsa20Poly1305LiteRTPSizeEncryptionMode()
-
-
Method Details
-
isRtpSize
public boolean isRtpSize()- Returns:
- true if the header extension preamble is part of the unencrypted RTP header, false if it is encrypted along with the payload
-
getName
- Specified by:
getNamein interfaceEncryptionMode- Overrides:
getNamein classXSalsa20Poly1305LiteEncryptionMode
-