- Save the aes key generated during secure authentication in Client and ClientLocal (for the
server). It can then be used to encrypt further data during the session. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6492 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -87,6 +87,12 @@ public class AESAuthRequest extends AuthRequest
|
||||
return _clearCreds;
|
||||
}
|
||||
|
||||
@Override // documentation inherited
|
||||
public byte[] getSecret ()
|
||||
{
|
||||
return _key;
|
||||
}
|
||||
|
||||
@Override // documentation inherited
|
||||
public String toString ()
|
||||
{
|
||||
|
||||
@@ -83,6 +83,14 @@ public class AuthRequest extends UpstreamMessage
|
||||
return _bootGroups;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a shared secret key used for sending encrypted data to the client.
|
||||
*/
|
||||
public byte[] getSecret ()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user