public class TimestampServer extends Object
Constructor and Description |
---|
TimestampServer(String serverURL,
String user,
String pwd)
Construct a time stamp server object.
|
TimestampServer(String serverURL,
String user,
String pwd,
String name)
Construct a time stamp server object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Return the display name.
|
int |
getLengthEstimate()
Returns a length estimate of the time stamp server signature.
|
String |
getPWD()
Return the password that will be used to log into the time stamp server.
|
String |
getServerURL()
Return the time stamp server URL.
|
String |
getUser()
Return the user name to log into the time stamp server.
|
void |
setDisplayName(String name)
Set the display name.
|
void |
setLengthEstimate(int estimate)
Set the length estimate for the size of the time stamp server signature.
|
void |
setPassword(String password)
Set the password.
|
void |
setServerURL(String url)
Set the time stamp server URL.
|
void |
setUserName(String username)
Set the user name;
|
String |
toString()
Returns the display name.
|
public TimestampServer(String serverURL, String user, String pwd)
public TimestampServer(String serverURL, String user, String pwd, String name)
public String getServerURL()
public void setServerURL(String url)
url
- public String getUser()
public void setUserName(String username)
username
- public String getPWD()
public void setPassword(String password)
password
- public int getLengthEstimate()
public void setLengthEstimate(int estimate)
estimate
- The new estimate, to use when padding the digital signature.public String getDisplayName()
public void setDisplayName(String name)
name
-