|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.presents.net.Message
com.threerings.presents.net.UpstreamMessage
com.threerings.presents.net.AuthRequest
com.threerings.presents.net.SecureRequest
public class SecureRequest
Used to create a secure channel to the server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary |
|---|
| Fields inherited from class com.threerings.presents.net.AuthRequest |
|---|
_bootGroups, _creds, _version, _zone |
| Fields inherited from class com.threerings.presents.net.UpstreamMessage |
|---|
_nextMessageId, messageId |
| Fields inherited from class com.threerings.presents.net.Message |
|---|
received |
| Constructor Summary | |
|---|---|
SecureRequest()
Zero argument constructor used when unserializing an instance. |
|
SecureRequest(PublicKeyCredentials creds,
String version)
Constructs a auth request with the supplied credentials and client version information. |
|
| Method Summary | |
|---|---|
byte[] |
getSecret(PrivateKey key)
Returns the secret from the credentials. |
| Methods inherited from class com.threerings.presents.net.AuthRequest |
|---|
getBootGroups, getCredentials, getSecret, getTimeZone, getVersion, readObject, toString |
| Methods inherited from class com.threerings.presents.net.UpstreamMessage |
|---|
nextMessageId |
| Methods inherited from class com.threerings.presents.net.Message |
|---|
getTransport, noteActualTransport, setTransport |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SecureRequest()
public SecureRequest(PublicKeyCredentials creds,
String version)
| Method Detail |
|---|
public byte[] getSecret(PrivateKey key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||