Uses of Class
com.sun.grizzly.websockets.SecKey

Uses of SecKey in com.sun.grizzly.websockets
 

Methods in com.sun.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 ClientHandShake.getKey1()
           
 SecKey ClientHandShake.getKey2()
           
static SecKey SecKey.validateSecKey(String key)
          Validate security key, represented as string value (which includes chars and spaces).
 

Methods in com.sun.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.
 

Constructors in com.sun.grizzly.websockets with parameters of type SecKey
ServerHandShake(boolean secure, String origin, String serverHostName, String port, String resourcePath, String subProtocol, SecKey key1, SecKey key2, byte[] key3)
           
 



Copyright © 2011 Oracle Corpration. All Rights Reserved.