Package eu.europa.esig.dss.diagnostic
Class TimestampWrapper
- java.lang.Object
-
- eu.europa.esig.dss.diagnostic.AbstractTokenProxy
-
- eu.europa.esig.dss.diagnostic.TimestampWrapper
-
- All Implemented Interfaces:
TokenProxy
public class TimestampWrapper extends AbstractTokenProxy
-
-
Constructor Summary
Constructors Constructor Description TimestampWrapper(XmlTimestamp timestamp)
-
Method Summary
-
Methods inherited from class eu.europa.esig.dss.diagnostic.AbstractTokenProxy
equals, getCertificateChain, getDigestAlgorithm, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getSigningCertificate, getSigningCertificatePublicKey, hashCode, isAttributePresent, isCertificateChainFromTrustedStore, isDigestValueMatch, isDigestValuePresent, isIssuerSerialMatch, isSignatureIntact, isSignatureValid, isTrustedChain
-
-
-
-
Constructor Detail
-
TimestampWrapper
public TimestampWrapper(XmlTimestamp timestamp)
-
-
Method Detail
-
getId
public String getId()
-
getCurrentBasicSignature
protected XmlBasicSignature getCurrentBasicSignature()
- Specified by:
getCurrentBasicSignaturein classAbstractTokenProxy
-
getCurrentCertificateChain
protected List<XmlChainItem> getCurrentCertificateChain()
- Specified by:
getCurrentCertificateChainin classAbstractTokenProxy
-
getCurrentSigningCertificate
protected XmlSigningCertificate getCurrentSigningCertificate()
- Specified by:
getCurrentSigningCertificatein classAbstractTokenProxy
-
getType
public TimestampType getType()
-
getArchiveTimestampType
public ArchiveTimestampType getArchiveTimestampType()
-
getProductionTime
public Date getProductionTime()
-
getMessageImprint
public XmlDigestMatcher getMessageImprint()
-
isMessageImprintDataFound
public boolean isMessageImprintDataFound()
-
isMessageImprintDataIntact
public boolean isMessageImprintDataIntact()
-
getDigestMatchers
public List<XmlDigestMatcher> getDigestMatchers()
- Specified by:
getDigestMatchersin interfaceTokenProxy- Overrides:
getDigestMatchersin classAbstractTokenProxy
-
getTimestampedObjects
public List<XmlTimestampedObject> getTimestampedObjects()
Returns a complete list of allXmlTimestampedObjects covered by the timestamp- Returns:
- list of
XmlTimestampedObjects
-
getTimestampedSignatureIds
public List<String> getTimestampedSignatureIds()
Returns a list ofSignatureWrappers covered be the current timestamp- Returns:
- list of ids
-
getTimestampedCertificateIds
public List<String> getTimestampedCertificateIds()
Returns a list of certificate ids covered be the current timestamp- Returns:
- list of ids
-
getTimestampedRevocationIds
public List<String> getTimestampedRevocationIds()
Returns a list of revocation data ids covered be the current timestamp- Returns:
- list of ids
-
getTimestampedTimestampIds
public List<String> getTimestampedTimestampIds()
Returns a list of timestamp ids covered be the current timestamp- Returns:
- list of ids
-
getTimestampedSignedDataIds
public List<String> getTimestampedSignedDataIds()
Returns a list of Signed data ids covered be the current timestamp- Returns:
- list of ids
-
getAllTimestampedOrphanTokenIds
public List<String> getAllTimestampedOrphanTokenIds()
Returns a list of all OrphanToken ids- Returns:
- list of ids
-
getTimestampedOrphanTokenIdsByType
public List<String> getTimestampedOrphanTokenIdsByType(OrphanTokenType tokenType)
Returns a list of OrphanToken ids by providedtokenType- Parameters:
tokenType-OrphanTokenTypeto get values for- Returns:
- list of ids
-
getBinaries
public byte[] getBinaries()
- Specified by:
getBinariesin classAbstractTokenProxy
-
getDigestAlgoAndValue
public XmlDigestAlgoAndValue getDigestAlgoAndValue()
-
-