Package org.digidoc4j
Interface TimestampParameters
- All Known Implementing Classes:
AsicContainerTimestampBuilder
,AsicSContainerTimestampBuilder
,TimestampBuilder
public interface TimestampParameters
An interface representing the set of timestamp parameters.
-
Method Summary
Modifier and TypeMethodDescriptionReturns reference digest algorithm.Returns timestamp digest algorithm.Returns TSP (Time-Stamp Protocol) source URL string.
-
Method Details
-
getReferenceDigestAlgorithm
DigestAlgorithm getReferenceDigestAlgorithm()Returns reference digest algorithm. Reference digest algorithm is used when a timestamp will cover a collection of references (e.g. anASiCArchiveManifest.xml
file), and each reference needs to incorporate the digest of the entity it references.- Returns:
- timestamp reference digest algorithm
-
getTimestampDigestAlgorithm
DigestAlgorithm getTimestampDigestAlgorithm()Returns timestamp digest algorithm.- Returns:
- timestamp digest algorithm
-
getTspSource
String getTspSource()Returns TSP (Time-Stamp Protocol) source URL string.- Returns:
- TSP source URL string
-