| Modifier and Type | Field and Description |
|---|---|
| private static final DigestAlgorithmIdentifierFinder | |
| private final MessageDigest | |
| private static final Log | |
| private final String | |
| private static final Random | |
| private final URL | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | TSAClient(URL
the URL of the TSA service url, String user name of TSA username, String password of TSA password, MessageDigest the message digest to use digest)
|
| Modifier and Type | Method and Description |
|---|---|
| public TimeStampToken | |
| private byte[] |
| ALGORITHM_OID_FINDER | back to summary |
|---|---|
| private static final DigestAlgorithmIdentifierFinder ALGORITHM_OID_FINDER | |
| digest | back to summary |
|---|---|
| private final MessageDigest digest | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| password | back to summary |
|---|---|
| private final String password | |
| RANDOM | back to summary |
|---|---|
| private static final Random RANDOM | |
| url | back to summary |
|---|---|
| private final URL url | |
| username | back to summary |
|---|---|
| private final String username | |
| TSAClient | back to summary |
|---|---|
public TSAClient(URL url, String username, String password, MessageDigest digest)
| |
| getTimeStampToken | back to summary |
|---|---|
public TimeStampToken getTimeStampToken(InputStream content) throws IOException
| |
| getTSAResponse | back to summary |
|---|---|
| private byte[] getTSAResponse(byte[] request) throws IOException | |