public class TimestampParameters extends Object implements ArgsConfiguration
Modifier and Type | Field and Description |
---|---|
String |
url
Timestamp authority URL.
|
String |
username
Timestamp authority login username.
|
Constructor and Description |
---|
TimestampParameters() |
Modifier and Type | Method and Description |
---|---|
void |
addArguments(ArgumentParser parser)
Adds arguments that configure this
ArgsConfiguration to an
ArgumentParser |
com.itextpdf.text.pdf.security.TSAClient |
getTSAClient()
Returns the
TSAClient that corresponds to these parameters. |
void |
setFromNamespace(Namespace namespace)
Sets configuration values from a parsed
Namespace |
public TimestampParameters()
public void addArguments(ArgumentParser parser)
ArgsConfiguration
ArgsConfiguration
to an
ArgumentParser
addArguments
in interface ArgsConfiguration
parser
- argument parser to add arguments topublic void setFromNamespace(Namespace namespace) throws OperationException
ArgsConfiguration
Namespace
setFromNamespace
in interface ArgsConfiguration
namespace
- the namespace with the argument valuesOperationException
- when an exception occurspublic com.itextpdf.text.pdf.security.TSAClient getTSAClient()
TSAClient
that corresponds to these parameters.Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.