| xades4j.utils.TimeStampDigestInput |
Builder of inputs for time-stamps. The digests for time-stamps are usually
calculated over a concatenations of byte-streams, resulting from nodes and/or
References (processed or not), with the proper canonicalization if needed.
This interface provides methods to build a sequential input by adding DOM Nodes
or References.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a
Node to the input. | |||||||||||
Adds a
Reference to the input. | |||||||||||
Gets the octet-stream corresponding to the actual state of the input.
| |||||||||||
Adds a Node to the input. The node is canonicalized.
| n | the node to be added |
|---|
| CannotAddDataToDigestInputException | if there is an error adding the node |
|---|---|
| NullPointerException | if n is null
|
Adds a Reference to the input. It is processed and the result is
canonicalized if it is a node-set.
| r | the reference to be added |
|---|
| CannotAddDataToDigestInputException | if there is an error adding the reference |
|---|---|
| NullPointerException | if r is null
|
Gets the octet-stream corresponding to the actual state of the input.