Package org.bouncycastle.tsp.ers
RFC 4998 Evidence Record Syntax (ERS) over RFC 3161 timestamps. Provides generators
and verifiers for archive timestamps, archive-timestamp chains, and the Merkle-tree
data-group construction used to bind multiple data objects under a single timestamp.
-
Interface Summary Interface Description ERSData General interface for a data object covered by an RFC 4998 Evidence Record - anything (a byte array, file, stream, orERSDataGroup) that can produce the hash used as a leaf in the archive time-stamp's hash tree.ERSRootNodeCalculator Base interface for an implementation that calculates the root hash contained in the time-stamp from the Merkle tree based on the partial hash-tree nodes. -
Class Summary Class Description BinaryTreeRootCalculator Calculator based on the use of a left weighted binary Merkle tree created on top of the partial hash tree objects provided.ERSArchiveTimeStamp Carrier for an RFC 4998 ArchiveTimeStamp - an RFC 3161 time-stamp token together with the reduced hash tree (a sequence of PartialHashtrees) that binds a particular data object or data group to the time-stamped root hash.ERSArchiveTimeStampGenerator Generator for RFC 4998 ArchiveTimeStamps.ERSByteData Generic class for holding byte[] data for RFC 4998 ERS.ERSCachingData BaseERSDataimplementation that caches calculated hashes, keyed by digest algorithm and previous-chain hash, so the (potentially expensive) hash of a data object is computed only once per combination.ERSDataGroup Representation of data groups with more than 1 members according to the description provided in RFC4998.ERSDirectoryDataGroup Representation of a data group based on a directory.ERSEvidenceRecord Carrier for an RFC 4998 EvidenceRecord - the ArchiveTimeStampSequence of ArchiveTimeStampChains that provides long-term, renewable proof of existence for one or more data objects.ERSEvidenceRecordGenerator Generator for RFC 4998 Evidence Records.ERSEvidenceRecordSelector Selector matching theERSEvidenceRecords that contain, and validate the presence of, a given data object/group at a particular date.ERSEvidenceRecordStore AStoreofERSEvidenceRecords indexed by the data-object hashes found in the leaf (first) PartialHashtree of each record's initial ArchiveTimeStamp.ERSFileData Generic class for holding a File of data for RFC 4998 ERS.ERSInputStreamData Generic class for processing an InputStream (or File) of data for RFC 4998 ERS.SortedHashList A sorting list - byte[] are sorted in ascending order.SortedIndexedHashList A sorting list - byte[] are sorted in ascending order. -
Exception Summary Exception Description ArchiveTimeStampValidationException Exception thrown when validation of an RFC 4998 ArchiveTimeStamp fails - for example when the expected data hash is not present in the reduced hash tree, or the recovered root hash does not match the time-stamp imprint.ERSException Base exception for errors in the RFC 4998 Evidence Record Syntax (ERS) layer.PartialHashTreeVerificationException Exception thrown when verification of an RFC 4998 PartialHashtree fails.