Uses of Class
eu.europa.esig.dss.validation.timestamp.TimestampToken
Packages that use TimestampToken
Package
Description
-
Uses of TimestampToken in eu.europa.esig.dss
Methods in eu.europa.esig.dss that return types with arguments of type TimestampTokenModifier and TypeMethodDescriptionAbstractSignatureParameters.getContentTimestamps()Returns the list of theTimestampTokento be incorporated within the signature and representing the content-timestamp.Method parameters in eu.europa.esig.dss with type arguments of type TimestampTokenModifier and TypeMethodDescriptionvoidAbstractSignatureParameters.setContentTimestamps(List<TimestampToken> contentTimestamps) Sets a list of content timestamps to be included into the signature -
Uses of TimestampToken in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that return TimestampTokenModifier and TypeMethodDescriptionDocumentSignatureService.getContentTimestamp(eu.europa.esig.dss.model.DSSDocument toSignDocument, SP parameters) This method allows to compute a content-timestamp (which is added in the signed properties)MultipleDocumentsSignatureService.getContentTimestamp(List<eu.europa.esig.dss.model.DSSDocument> toSignDocuments, SP parameters) Creates a content-timestamp attribute (to be include in the signed-data) -
Uses of TimestampToken in eu.europa.esig.dss.validation
Fields in eu.europa.esig.dss.validation with type parameters of type TimestampTokenModifier and TypeFieldDescriptionprotected Set<TimestampToken>SignedDocumentDiagnosticDataBuilder.usedTimestampsThe list of timestamp tokensMethods in eu.europa.esig.dss.validation that return types with arguments of type TimestampTokenModifier and TypeMethodDescriptionprotected List<TimestampToken>SignedDocumentValidator.buildDetachedTimestamps()Builds a list of detachedTimestampTokens extracted from the documentAdvancedSignature.getAllTimestamps()Returns a list of all timestamps found in the signatureDefaultAdvancedSignature.getAllTimestamps()AdvancedSignature.getArchiveTimestamps()Returns the archive TimestampsDefaultAdvancedSignature.getArchiveTimestamps()AdvancedSignature.getContentTimestamps()Returns the content timestampsDefaultAdvancedSignature.getContentTimestamps()AdvancedSignature.getDetachedTimestamps()Returns a list of detached timestamps NOTE: used for ASiC with CAdES onlyDefaultAdvancedSignature.getDetachedTimestamps()DocumentValidator.getDetachedTimestamps()Retrieves the detached timestamps found in the documentSignedDocumentValidator.getDetachedTimestamps()ValidationDataContainer.getDetachedTimestamps()Returns a collection ofTimestampTokensAdvancedSignature.getDocumentTimestamps()Returns a list of timestamps defined with the 'DocTimeStamp' type NOTE: applicable only for PAdESDefaultAdvancedSignature.getDocumentTimestamps()SignatureValidationContext.getProcessedTimestamps()ValidationContext.getProcessedTimestamps()Returns a read only list of all timestamps processed during the validation of all signatures from the given document.AdvancedSignature.getSignatureTimestamps()Returns the signature timestampsDefaultAdvancedSignature.getSignatureTimestamps()AdvancedSignature.getTimestampsX1()Returns the time-stamp which is placed on the digital signature (XAdES example: ds:SignatureValue element), the signature time-stamp(s) present in the AdES-T form, the certification path references and the revocation status references.DefaultAdvancedSignature.getTimestampsX1()AdvancedSignature.getTimestampsX2()Returns the time-stamp which is computed over the concatenation of CompleteCertificateRefs and CompleteRevocationRefs elements (XAdES example).DefaultAdvancedSignature.getTimestampsX2()Methods in eu.europa.esig.dss.validation with parameters of type TimestampTokenModifier and TypeMethodDescriptionvoidAdvancedSignature.addExternalTimestamp(TimestampToken timestamp) This method allows to add an external timestamp.voidSignatureValidationContext.addTimestampTokenForVerification(TimestampToken timestampToken) voidValidationContext.addTimestampTokenForVerification(TimestampToken timestampToken) Adds a new timestamp token to the list of tokens to verify.voidValidationDataContainer.addValidationData(TimestampToken timestampToken, ValidationData validationData) Adds validation data to the containerprotected eu.europa.esig.dss.diagnostic.jaxb.XmlTimestampSignedDocumentDiagnosticDataBuilder.buildDetachedXmlTimestamp(TimestampToken timestampToken) This method buildsXmlTimestampfromTimestampTokenprotected voidSignedDocumentValidator.findTimestampScopes(TimestampToken timestampToken, TimestampScopeFinder timestampScopeFinder) Finds timestamp scope for theTimestampTokenSignatureValidationContext.getValidationData(TimestampToken timestampToken) ValidationContext.getValidationData(TimestampToken timestampToken) Returns a validation data for the given timestampToken's certificate chainValidationDataContainer.getValidationData(TimestampToken timestampToken) Returns a relatedValidationDatafor the given token idprotected booleanSignatureValidationContext.isTimestampValid(TimestampToken timestampToken) This method verifies whether atimestampTokenis valid and can be used as a valid POE for covered objectsMethod parameters in eu.europa.esig.dss.validation with type arguments of type TimestampTokenModifier and TypeMethodDescriptionprotected voidSignedDocumentValidator.prepareDetachedTimestampValidationContext(ValidationContext validationContext, Collection<TimestampToken> timestamps) Prepares thevalidationContextfor a timestamp validation processSignedDocumentDiagnosticDataBuilder.usedTimestamps(Set<TimestampToken> usedTimestamps) This method allows to set the timestamps -
Uses of TimestampToken in eu.europa.esig.dss.validation.scope
Methods in eu.europa.esig.dss.validation.scope with parameters of type TimestampTokenModifier and TypeMethodDescriptionprotected List<SignatureScope>EncapsulatedTimestampScopeFinder.filterCoveredSignatureScopes(TimestampToken timestampToken) This method filters and returns coveredSignatureScopes by the current timestampDetachedTimestampScopeFinder.findTimestampScope(TimestampToken timestampToken) EncapsulatedTimestampScopeFinder.findTimestampScope(TimestampToken timestampToken) TimestampScopeFinder.findTimestampScope(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampToken -
Uses of TimestampToken in eu.europa.esig.dss.validation.timestamp
Fields in eu.europa.esig.dss.validation.timestamp declared as TimestampTokenModifier and TypeFieldDescriptionprotected TimestampTokenDetachedTimestampValidator.timestampTokenThe TimestampToken to be validatedFields in eu.europa.esig.dss.validation.timestamp with type parameters of type TimestampTokenModifier and TypeFieldDescriptionprotected List<TimestampToken>SignatureTimestampSource.archiveTimestampsThis variable contains the list of enclosed archive signature timestamps.protected List<TimestampToken>SignatureTimestampSource.contentTimestampsEnclosed content timestamps.protected List<TimestampToken>SignatureTimestampSource.detachedTimestampsThis variable contains the list of detached timestamp tokens (used in ASiC with CAdES).protected List<TimestampToken>SignatureTimestampSource.refsOnlyTimestampsEnclosed RefsOnly timestamps.protected List<TimestampToken>SignatureTimestampSource.sigAndRefsTimestampsEnclosed SignAndRefs timestamps.protected List<TimestampToken>SignatureTimestampSource.signatureTimestampsEnclosed signature timestamps.Methods in eu.europa.esig.dss.validation.timestamp that return TimestampTokenModifier and TypeMethodDescriptionprotected TimestampTokenDetachedTimestampValidator.createTimestampToken()This method creates a timestamp token from the validating documentDetachedTimestampValidator.getTimestamp()TimestampValidator.getTimestamp()Returns a single TimestampToken to be validatedprotected abstract TimestampTokenSignatureTimestampSource.makeTimestampToken(SA signatureAttribute, eu.europa.esig.dss.enumerations.TimestampType timestampType, List<TimestampedReference> references) Creates a timestamp token from the providedsignatureAttributeMethods in eu.europa.esig.dss.validation.timestamp that return types with arguments of type TimestampTokenModifier and TypeMethodDescriptionprotected List<TimestampToken>DetachedTimestampValidator.buildDetachedTimestamps()SignatureTimestampSource.getAllTimestamps()TimestampSource.getAllTimestamps()Returns a list of all incorporated timestampsSignatureTimestampSource.getAllTimestampsExceptLastArchiveTimestamp()TimestampSource.getAllTimestampsExceptLastArchiveTimestamp()Returns a list of allTimestampTokens except the last archive timestampSignatureTimestampSource.getArchiveTimestamps()TimestampSource.getArchiveTimestamps()Returns a list of incorporated archive timestampsSignatureTimestampSource.getContentTimestamps()TimestampSource.getContentTimestamps()Returns a list of incorporated content timestampsDetachedTimestampSource.getDetachedTimestamps()Returns a list of processed detached timestampsSignatureTimestampSource.getDetachedTimestamps()TimestampSource.getDetachedTimestamps()Returns a list of detached timestamps (used in ASiC with CAdES)SignatureTimestampSource.getDocumentTimestamps()TimestampSource.getDocumentTimestamps()Returns a list of incorporated document timestamps (PAdES only)SignatureTimestampSource.getSignatureTimestamps()TimestampSource.getSignatureTimestamps()Returns a list of incorporated signature timestampsSignatureTimestampSource.getTimestampsX1()TimestampSource.getTimestampsX1()Returns a list of incorporated SigAndRefs timestampsSignatureTimestampSource.getTimestampsX2()TimestampSource.getTimestampsX2()Returns a list of incorporated RefsOnly timestampsprotected List<TimestampToken>SignatureTimestampSource.makeTimestampTokens(SA signatureAttribute, eu.europa.esig.dss.enumerations.TimestampType timestampType) Creates timestamp tokens from the providedsignatureAttributeprotected List<TimestampToken>SignatureTimestampSource.makeTimestampTokens(SA signatureAttribute, eu.europa.esig.dss.enumerations.TimestampType timestampType, List<TimestampedReference> references) Creates timestamp tokens from the providedsignatureAttributewith a given list ofTimestampedReferencesMethods in eu.europa.esig.dss.validation.timestamp with parameters of type TimestampTokenModifier and TypeMethodDescriptionvoidDetachedTimestampSource.addExternalTimestamp(TimestampToken timestamp) Adds the external timestamp to the sourcevoidSignatureTimestampSource.addExternalTimestamp(TimestampToken timestamp) voidTimestampSource.addExternalTimestamp(TimestampToken timestamp) This method allows to add an external timestamp.intTimestampTokenComparator.compare(TimestampToken tst1, TimestampToken tst2) protected abstract List<TimestampedReference>SignatureTimestampSource.getArchiveTimestampOtherReferences(TimestampToken timestampToken) Returns a list ofTimestampedReferences for the given archivetimestampTokenthat cannot be extracted from signature attributes (signed or unsigned), depending on its format (signedData for CAdES or, keyInfo for XAdES)protected List<TimestampedReference>AbstractTimestampSource.getEncapsulatedValuesFromTimestamp(TimestampToken timestampedTimestamp, ListCertificateSource certificateSource, ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlSource, ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP> ocspSource) Gets a list of all validation data embedded to thetimestampedTimestampprotected List<TimestampedReference>AbstractTimestampSource.getReferencesFromTimestamp(TimestampToken timestampToken, ListCertificateSource certificateSource, ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlSource, ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP> ocspSource) Incorporates all references from the giventimestampTokenprotected abstract TimestampMessageDigestBuilderSignatureTimestampSource.getTimestampMessageImprintDigestBuilder(TimestampToken timestampToken) Returns a relatedTimestampMessageDigestBuilderprotected voidSignatureTimestampSource.incorporateArchiveTimestampReferences(TimestampToken timestampToken, List<TimestampToken> previousTimestamps) The method incorporates all the timestamped references for the given archivetimestampTokenprotected voidSignatureTimestampSource.populateSources(TimestampToken timestampToken) Allows to populate all merged sources with extracted from a timestamp dataMethod parameters in eu.europa.esig.dss.validation.timestamp with type arguments of type TimestampTokenModifier and TypeMethodDescriptionprotected List<TimestampedReference>SignatureTimestampSource.getEncapsulatedReferencesFromTimestamps(List<TimestampToken> timestampTokens) Returns a list of TimestampedReferences for tokens encapsulated within the list of timestampTokensprotected voidSignatureTimestampSource.incorporateArchiveTimestampReferences(TimestampToken timestampToken, List<TimestampToken> previousTimestamps) The method incorporates all the timestamped references for the given archivetimestampTokenprotected voidSignatureTimestampSource.populateSources(List<TimestampToken> timestampTokens) Allows to populate all merged sources with extracted from a timestamp dataConstructors in eu.europa.esig.dss.validation.timestamp with parameters of type TimestampTokenModifierConstructorDescriptionTimestampTokenIdentifier(TimestampToken timestampToken) Default constructor