Package org.digidoc4j.impl.asic.cades
Class AsicContainerTimestamp
java.lang.Object
org.digidoc4j.impl.asic.cades.AsicContainerTimestamp
- All Implemented Interfaces:
Serializable,TimestampAndManifestPair,Timestamp
- Direct Known Subclasses:
AsicSContainerTimestamp
public abstract class AsicContainerTimestamp
extends Object
implements Timestamp, TimestampAndManifestPair
An implementation of timestamp token that covers the contents of ASiC containers.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance ofAsicArchiveManifestassociated with this entity, if present.Returns an instance ofCadesTimestampassociated with this entity.Returns the signing certificate of this timestamp, if available.Returns the creation time of this timestamp.Returns the digest algorithm of this timestamp.org.bouncycastle.tsp.TimeStampTokenReturns the rawTimeStampTokenthat this timestamp represents.Returns the identifier that uniquely identifies this timestamp.
-
Method Details
-
getUniqueId
Description copied from interface:TimestampReturns the identifier that uniquely identifies this timestamp.- Specified by:
getUniqueIdin interfaceTimestamp- Returns:
- unique identifier
-
getCertificate
Description copied from interface:TimestampReturns the signing certificate of this timestamp, if available.- Specified by:
getCertificatein interfaceTimestamp- Returns:
- timestamp certificate or
null
-
getCreationTime
Description copied from interface:TimestampReturns the creation time of this timestamp.- Specified by:
getCreationTimein interfaceTimestamp- Returns:
- creation time
-
getDigestAlgorithm
Description copied from interface:TimestampReturns the digest algorithm of this timestamp.- Specified by:
getDigestAlgorithmin interfaceTimestamp- Returns:
- digest algorithm
-
getTimeStampToken
public org.bouncycastle.tsp.TimeStampToken getTimeStampToken()Description copied from interface:TimestampReturns the rawTimeStampTokenthat this timestamp represents.- Specified by:
getTimeStampTokenin interfaceTimestamp- Returns:
- raw timestamp token
-
getCadesTimestamp
Description copied from interface:TimestampAndManifestPairReturns an instance ofCadesTimestampassociated with this entity.- Specified by:
getCadesTimestampin interfaceTimestampAndManifestPair- Returns:
- CAdES timestamp instance
-
getArchiveManifest
Description copied from interface:TimestampAndManifestPairReturns an instance ofAsicArchiveManifestassociated with this entity, if present.- Specified by:
getArchiveManifestin interfaceTimestampAndManifestPair- Returns:
- ASiCArchiveManifest or
null
-