Home
last modified time | relevance | path

Searched refs:maskingKey (Results 1 – 1 of 1) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java464 private byte[] maskingKey; field in NanoWSD.WebSocketFrame
483 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte[] maskingKey) { in WebSocketFrame() argument
485 setMaskingKey(maskingKey); in WebSocketFrame()
493 …public WebSocketFrame(OpCode opCode, boolean fin, String payload, byte[] maskingKey) throws Charac… in WebSocketFrame() argument
495 setMaskingKey(maskingKey); in WebSocketFrame()
532 return this.maskingKey; in getMaskingKey()
557 return this.maskingKey != null && this.maskingKey.length == 4; in isMasked()
595 this.payload[i] ^= this.maskingKey[i % 4]; in readPayload()
641 this.maskingKey = new byte[4]; in readPayloadInfo()
643 while (read < this.maskingKey.length) { in readPayloadInfo()
[all …]