- 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:
Mark Johnson
2011-02-15 01:20:34 +00:00
parent acc6cff7e5
commit 4a5fe35c2c
7 changed files with 55 additions and 3 deletions
@@ -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 ()
{