Class StatelessAdmissionCodec
java.lang.Object
org.cloudburstmc.netty.signaling.admission.StatelessAdmissionCodec
Shared NXS1 envelope. Network ID zero reserves the authenticated diagnostic extension.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]encryptionKey(byte[] secret, String audience) static StringicePassword(byte[] secret, String audience, String token) static byte[]icePasswordContext(String audience) HMAC input before the token: a token's ICE password is BASE64(HMAC(secret, context || token)[0..24]).issue(String keyId, String secret, String audience, String remoteUfrag, StatelessAdmissionCodec.Claims claims, byte[] nonce)
-
Field Details
-
DIAGNOSTIC_NETWORK_ID
- See Also:
-
DIAGNOSTIC_BYTES
public static final int DIAGNOSTIC_BYTES- See Also:
-
-
Method Details
-
encryptionKey
-
icePasswordContext
HMAC input before the token: a token's ICE password is BASE64(HMAC(secret, context || token)[0..24]). -
icePassword
-
issue
public static StatelessAdmissionCodec.Credentials issue(String keyId, String secret, String audience, String remoteUfrag, StatelessAdmissionCodec.Claims claims, byte[] nonce) -
open
public static StatelessAdmissionCodec.Claims open(byte[] encryptionKey, String audience, String token, String remoteUfrag)
-