|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--endtoend.EndtoEndServer
EndtoEndServer is the server side implementation of the end-to-end encryption.
See the EndtoEnd class for more description of the encryption.
Constructor Summary | |
EndtoEndServer(java.lang.String private_key_path,
java.lang.String password)
Reads in the private key file and the password to unlock the key. |
Method Summary | |
java.lang.String |
done()
Finalize the data to be returned back. |
java.util.Hashtable |
unpack(java.lang.String data)
Decode, decrypt and deserialize data from the browser applet. |
void |
update(java.lang.String param,
java.lang.String value)
Reads in the name-value pair data that is to be encrypted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EndtoEndServer(java.lang.String private_key_path, java.lang.String password) throws EndtoEndException, java.io.IOException
private_key_path
- path to the private key file generated by KeyGen.password
- password required to unlock the private key file.Method Detail |
public java.util.Hashtable unpack(java.lang.String data)
data
- the encrypted String submitted by the browser.
public void update(java.lang.String param, java.lang.String value)
param
- name of the parameter.value
- associated data of the parameter.done()
public java.lang.String done()
update(String, String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |