|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.client.types.TSPOptionSpec
public class TSPOptionSpec
Stores preference values for time stamping provider (TSP) support.
Field Summary | |
---|---|
static Integer |
DEFAULT_TSP_SIZE
The default size, in bytes, of this TSP request. |
static Integer |
MAX_TSP_SIZE
The maximum size, in bytes, of this TSP request. |
static Integer |
MIN_TSP_SIZE
The minimum size, in bytes, of this TSP request. |
Constructor Summary | |
---|---|
TSPOptionSpec()
Creates a TSPOptionSpec object with these default values: |
|
TSPOptionSpec(RevocationCheckStyle revCheckStyle,
HashAlgorithm hashAlgo,
Integer tspSize,
boolean sendNonce,
String serverURL,
String username,
String password)
Creates a TSPOptionSpec object. |
Method Summary | |
---|---|
HashAlgorithm |
getTspHashAlgorithm()
Gets a HashAlgorithm object that represents a hash algorithm associated with this TSP. |
RevocationCheckStyle |
getTspRevocationCheckStyle()
Returns a RevocationCheckStyle object that represents revocation checking. |
String |
getTspServerPassword()
Returns a password for a TSP server. |
String |
getTspServerURL()
Returns an URL for a TSP server. |
String |
getTspServerUsername()
Returns a user name for a TSP server. |
Integer |
getTspSize()
Returns the size, in bytes, of this TSP request. |
boolean |
isTspSendNonce()
Determines whether a nonce is sent with this TSP request. |
boolean |
isUseExpiredTimestamps()
|
void |
setTspHashAlgorithm(HashAlgorithm tspHashAlgorithm)
Sets a HashAlgorithm object that represents a hash algorithm associated with this TSP. |
void |
setTspRevocationCheckStyle(RevocationCheckStyle revocationCheckStyle)
Sets a RevocationCheckStyle object that represents revocation checking. |
void |
setTspSendNonce(boolean sendNonce)
Sets whether a nonce is sent during the request. |
void |
setTspServerPassword(String tspServerPassword)
Sets a password for a TSP server. |
void |
setTspServerURL(String tspServerURL)
Sets an URL for a TSP server. |
void |
setTspServerUsername(String tspServerUsername)
Sets the user name for a TSP server. |
void |
setTspSize(Integer tspSize)
Sets the size, in bytes, of this TSP request. |
void |
setUseExpiredTimestamps(boolean useExpiredTimestamps)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Integer MIN_TSP_SIZE
public static final Integer MAX_TSP_SIZE
public static final Integer DEFAULT_TSP_SIZE
Constructor Detail |
---|
public TSPOptionSpec(RevocationCheckStyle revCheckStyle, HashAlgorithm hashAlgo, Integer tspSize, boolean sendNonce, String serverURL, String username, String password)
TSPOptionSpec
object.
revCheckStyle
- A RevocationCheckStyle
object that specifies revocation checking preference types.hashAlgo
- A HashAlgorithm
object that specifies the hash algorithm associated with this object.tspSize
- The size, in bytes, of this TSP request.sendNonce
- A Boolean value that specifies whether a nonce is sent with this TSP request.serverURL
- The URL of the TSP server.username
- The username required to access the TSP server.password
- The password required to access the TSP server.public TSPOptionSpec()
Creates a TSPOptionSpec
object with these default values:
HashAlgorithm.SHA1
. RevocationCheckStyle.BestEffort
.
Method Detail |
---|
public boolean isTspSendNonce()
public void setTspSendNonce(boolean sendNonce)
sendNonce
- A Boolean value that specifies whether a nonce is sent with this request.public HashAlgorithm getTspHashAlgorithm()
HashAlgorithm
object that represents a hash algorithm associated with this TSP.
HashAlgorithm
object that represents a hash algorithm associated with this TSP.public void setTspHashAlgorithm(HashAlgorithm tspHashAlgorithm)
HashAlgorithm
object that represents a hash algorithm associated with this TSP.
tspHashAlgorithm
- A HashAlgorithm
object that represents a hash algorithm associated with this TSP.public String getTspServerPassword()
public void setTspServerPassword(String tspServerPassword)
tspServerPassword
- A password value for a TSP server.public String getTspServerURL()
public void setTspServerURL(String tspServerURL)
tspServerURL
- An URL for a TSP server.public String getTspServerUsername()
public void setTspServerUsername(String tspServerUsername)
tspServerUsername
- The user name for a TSP server.public Integer getTspSize()
public void setTspSize(Integer tspSize)
tspSize
- This size of this TSP request.public RevocationCheckStyle getTspRevocationCheckStyle()
RevocationCheckStyle
object that represents revocation checking.
RevocationCheckStyle
object that represents revocation checking.public void setTspRevocationCheckStyle(RevocationCheckStyle revocationCheckStyle)
RevocationCheckStyle
object that represents revocation checking.
revocationCheckStyle
- A RevocationCheckStyle
object that represents revocation checking.public boolean isUseExpiredTimestamps()
public void setUseExpiredTimestamps(boolean useExpiredTimestamps)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |