|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SecKey | |
|---|---|
| org.glassfish.grizzly.websockets | |
| Uses of SecKey in org.glassfish.grizzly.websockets |
|---|
| Methods in org.glassfish.grizzly.websockets that return SecKey | |
|---|---|
static SecKey |
SecKey.create(String secKey)
Create a SecKey object basing on String representation, which
includes spaces and chars. |
static SecKey |
SecKey.generateSecKey()
Generates random security key. |
SecKey |
ClientWebSocketMeta.getKey1()
Gets the WebSocket "Sec-WebSocket-Key1" header value. |
SecKey |
ClientWebSocketMeta.getKey2()
Gets the WebSocket "Sec-WebSocket-Key2" header value. |
static SecKey |
SecKey.validateSecKey(String key)
Validate security key, represented as string value (which includes chars and spaces). |
| Methods in org.glassfish.grizzly.websockets with parameters of type SecKey | |
|---|---|
static byte[] |
SecKey.generateServerKey(SecKey clientKey1,
SecKey clientKey2,
byte[] clientKey3)
Generate server-side security key, which gets passed to the client during the handshake phase as part of message payload. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||