Class SeSeConnection

java.lang.Object
   |
   +----SeSeConnection

public class SeSeConnection
extends Object
SeSeConnection: the main part of the API which is used by the client application to communicate with the server


Constructor Index

 o SeSeConnection(String, String, String, URL)
parameters clientID: the ID of the client clientSkFile the name of the client's Secret Key file name serverPkFile the name of the server's Public Key file name URL is the url of the server

Method Index

 o getValue(String)
returns the value of given field
 o PostObject(String)
Flushes the request to the server at the given URI
 o registerRequest(String)
registers the demands of fields
 o registerRequest(String, String)
registers object of request, and parameters

Constructors

 o SeSeConnection
 public SeSeConnection(String clientID,
                       String clientSkFile,
                       String serverPkFile,
                       URL url)
parameters clientID: the ID of the client clientSkFile the name of the client's Secret Key file name serverPkFile the name of the server's Public Key file name URL is the url of the server

Methods

 o registerRequest
 public void registerRequest(String name,
                             String value)
registers object of request, and parameters

 o registerRequest
 public void registerRequest(String name)
registers the demands of fields

 o PostObject
 public void PostObject(String URI)
Flushes the request to the server at the given URI

 o getValue
 public String getValue(String name)
returns the value of given field