|
|||||||||
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 java.lang.Integer |
DEFAULT_TSP_SIZE
The default size, in bytes, of this TSP request. |
static java.lang.Integer |
MAX_TSP_SIZE
The maximum size, in bytes, of this TSP request. |
static java.lang.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,
java.lang.Integer tspSize,
boolean sendNonce,
java.lang.String serverURL,
java.lang.String username,
java.lang.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. |
java.lang.String |
getTspServerPassword()
Returns a password for a TSP server. |
java.lang.String |
getTspServerURL()
Returns an URL for a TSP server. |
java.lang.String |
getTspServerUsername()
Returns a user name for a TSP server. |
java.lang.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(java.lang.String tspServerPassword)
Sets a password for a TSP server. |
void |
setTspServerURL(java.lang.String tspServerURL)
Sets an URL for a TSP server. |
void |
setTspServerUsername(java.lang.String tspServerUsername)
Sets the user name for a TSP server. |
void |
setTspSize(java.lang.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 java.lang.Integer MIN_TSP_SIZE
public static final java.lang.Integer MAX_TSP_SIZE
public static final java.lang.Integer DEFAULT_TSP_SIZE
Constructor Detail |
---|
public TSPOptionSpec(RevocationCheckStyle revCheckStyle, HashAlgorithm hashAlgo, java.lang.Integer tspSize, boolean sendNonce, java.lang.String serverURL, java.lang.String username, java.lang.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 java.lang.String getTspServerPassword()
public void setTspServerPassword(java.lang.String tspServerPassword)
tspServerPassword
- A password value for a TSP server.public java.lang.String getTspServerURL()
public void setTspServerURL(java.lang.String tspServerURL)
tspServerURL
- An URL for a TSP server.public java.lang.String getTspServerUsername()
public void setTspServerUsername(java.lang.String tspServerUsername)
tspServerUsername
- The user name for a TSP server.public java.lang.Integer getTspSize()
public void setTspSize(java.lang.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 |