Class AbstractTimestampSource<SignatureAttribute extends ISignatureAttribute>
java.lang.Object
eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource<SignatureAttribute>
- All Implemented Interfaces:
TimestampSource
,Serializable
- Direct Known Subclasses:
CAdESTimestampSource
,XAdESTimestampSource
public abstract class AbstractTimestampSource<SignatureAttribute extends ISignatureAttribute> extends Object implements TimestampSource
Contains a set of
TimestampToken
s found in a DefaultAdvancedSignature
object- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected ListCertificateSource
certificateSource
CertificateSource containing merged data from signature and timestampsprotected ListRevocationSource<CRL>
crlSource
Revocation sources containing merged data from signature and timestampsprotected ListRevocationSource<OCSP>
ocspSource
protected SignatureCertificateSource
signatureCertificateSource
Sources obtained from a signature objectprotected OfflineRevocationSource<CRL>
signatureCRLSource
protected String
signatureId
protected OfflineRevocationSource<OCSP>
signatureOCSPSource
protected List<SignatureScope>
signatureScopes
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTimestampSource(AdvancedSignature signature)
Default constructor -
Method Summary
Modifier and Type Method Description protected void
addEncapsulatedValuesFromTimestamp(List<TimestampedReference> references, TimestampToken timestampedTimestamp)
Adds to thereferences
list all validation data embedded to thetimestampedTimestamp
void
addExternalTimestamp(TimestampToken timestamp)
This method allows to add an external timestamp.protected void
addReference(List<TimestampedReference> referenceList, Identifier identifier, TimestampedObjectType category)
Adds a reference for the given identifier and categoryprotected void
addReference(List<TimestampedReference> referenceList, TimestampedReference referenceToAdd)
AddsreferenceToAdd
toreferenceList
without duplicatesprotected void
addReferences(List<TimestampedReference> referenceList, List<TimestampedReference> referencesToAdd)
AddsreferencesToAdd
toreferenceList
without duplicatesprotected void
addReferencesForPreviousTimestamps(List<TimestampedReference> references, List<TimestampToken> timestampedTimestamps)
protected void
createAndValidate()
Creates and validates all timestamps Must be called only onceprotected List<TimestampedReference>
createReferencesForCertificates(Collection<CertificateToken> certificates)
Creates a list ofTimestampedReference
s for the provided list ofcertificates
protected List<TimestampedReference>
getAllSignedDataReferences()
Returns a list ofTimestampedReference
s obtained from thesignatureScopes
List<TimestampToken>
getAllTimestamps()
protected abstract List<TimestampedReference>
getArchiveTimestampOtherReferences(TimestampToken timestampToken)
Returns a list ofTimestampedReference
s for the given archivetimestampToken
that cannot be extracted from signature attributes (signed or unsigned), depending on its format (signedData for CAdES or, keyInfo for XAdES)List<TimestampToken>
getArchiveTimestamps()
protected abstract ArchiveTimestampType
getArchiveTimestampType(SignatureAttribute unsignedAttribute)
ReturnsArchiveTimestampType
for the givenunsignedAttribute
protected abstract List<CertificateRef>
getCertificateRefs(SignatureAttribute unsignedAttribute)
Returns a list ofCertificateRef
s from the givenunsignedAttribute
List<TimestampToken>
getContentTimestamps()
protected abstract List<CRLRef>
getCRLRefs(SignatureAttribute unsignedAttribute)
Returns a list of CRL revocation refs from the givenunsignedAttribute
List<TimestampToken>
getDocumentTimestamps()
protected abstract List<Identifier>
getEncapsulatedCertificateIdentifiers(SignatureAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected abstract List<Identifier>
getEncapsulatedCRLIdentifiers(SignatureAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected abstract List<Identifier>
getEncapsulatedOCSPIdentifiers(SignatureAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected abstract List<TimestampedReference>
getIndividualContentTimestampedReferences(SignatureAttribute signedAttribute)
Returns a list ofTimestampedReference
s for an "individual-data-objects-timestamp" NOTE: Used only in XAdESprotected abstract List<OCSPRef>
getOCSPRefs(SignatureAttribute unsignedAttribute)
Returns a list of OCSP revocation refs from the givenunsignedAttribute
protected List<TimestampedReference>
getSignatureSignedDataReferences()
Returns a list of allTimestampedReference
s found into CMS SignedData of the signature NOTE: used only in ASiC-E CAdESList<TimestampedReference>
getSignatureTimestampReferences()
Returns a list ofTimestampedReference
for a "signature-timestamp" elementList<TimestampToken>
getSignatureTimestamps()
protected abstract SignatureProperties<SignatureAttribute>
getSignedSignatureProperties()
Returns the 'signed-signature-properties' element of the signatureprotected List<TimestampedReference>
getSigningCertificateTimestampReferences()
Returns a list ofTimestampedReference
s created from signing certificates of the signatureListCertificateSource
getTimestampCertificateSources()
Returns a mergedListCertificateSource
of all embedded timestamp certificate sourcesListCertificateSource
getTimestampCertificateSourcesExceptLastArchiveTimestamp()
Returns a mergedListCertificateSource
of all embedded timestamp certificate sources except the latest Archive TimestampListRevocationSource<CRL>
getTimestampCRLSources()
Returns a mergedListRevocationSource
of all embedded timestamp CRL sourcesprotected abstract TimestampDataBuilder
getTimestampDataBuilder()
Returns a relatedTimestampDataBuilder
protected List<TimestampedReference>
getTimestampedCertificateRefs(SignatureAttribute unsignedAttribute)
Returns a list ofTimestampedReference
certificate refs found in the givenunsignedAttribute
protected List<TimestampedReference>
getTimestampedCertificateValues(SignatureAttribute unsignedAttribute)
protected List<TimestampedReference>
getTimestampedRevocationRefs(SignatureAttribute unsignedAttribute)
Returns a list ofTimestampedReference
revocation refs found in the givenunsignedAttribute
protected List<TimestampedReference>
getTimestampedRevocationValues(SignatureAttribute unsignedAttribute)
ListRevocationSource<OCSP>
getTimestampOCSPSources()
Returns a mergedListRevocationSource
of all embedded timestamp OCSP sourcesList<TimestampToken>
getTimestampsX1()
List<TimestampToken>
getTimestampsX2()
protected List<TimestampedReference>
getTimestampValidationData(SignatureAttribute unsignedAttribute)
Returns a list ofTimestampedReference
s encapsulated to the "timestamp-validation-data"unsignedAttribute
protected abstract SignatureProperties<SignatureAttribute>
getUnsignedSignatureProperties()
Returns the 'unsigned-signature-properties' element of the signatureprotected abstract boolean
isAllDataObjectsTimestamp(SignatureAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdESprotected abstract boolean
isArchiveTimestamp(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "archive-timestamp" elementprotected abstract boolean
isAttrAuthoritiesCertValues(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "AttrAuthoritiesCertValues" elementprotected abstract boolean
isAttributeCertificateRef(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "attribute-certificate-ref" elementprotected abstract boolean
isAttributeRevocationRef(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "attribute-revocation-ref" elementprotected abstract boolean
isAttributeRevocationValues(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "AttributeRevocationValues" elementprotected abstract boolean
isCertificateValues(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "certificate-values" elementprotected abstract boolean
isCompleteCertificateRef(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "complete-certificate-ref" elementprotected abstract boolean
isCompleteRevocationRef(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "complete-revocation-ref" elementprotected abstract boolean
isContentTimestamp(SignatureAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "content-timestamp" element NOTE: Applicable only for CAdESprotected abstract boolean
isIndividualDataObjectsTimestamp(SignatureAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdESprotected abstract boolean
isRefsOnlyTimestamp(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "refs-only-timestamp" elementprotected abstract boolean
isRevocationValues(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "revocation-values" elementprotected abstract boolean
isSigAndRefsTimestamp(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "sig-and-refs-timestamp" elementprotected abstract boolean
isSignatureTimestamp(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "signature-timestamp" elementprotected abstract boolean
isTimeStampValidationData(SignatureAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "timestamp-validation-data" elementprotected abstract TimestampToken
makeTimestampToken(SignatureAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)
Creates a timestamp token from the providedsignatureAttribute
protected void
makeTimestampTokens()
Populates all the lists by data found into the signatureprotected void
populateSources(TimestampToken timestampToken)
Allows to populate all merged sources with extracted from a timestamp dataprotected void
validateTimestamps()
Validates list of all timestamps present in the source
-
Field Details
-
signatureCertificateSource
Sources obtained from a signature object -
signatureCRLSource
-
signatureOCSPSource
-
signatureId
-
signatureScopes
-
crlSource
Revocation sources containing merged data from signature and timestamps -
ocspSource
-
certificateSource
CertificateSource containing merged data from signature and timestamps
-
-
Constructor Details
-
AbstractTimestampSource
Default constructor- Parameters:
signature
-AdvancedSignature
is being validated
-
-
Method Details
-
getContentTimestamps
- Specified by:
getContentTimestamps
in interfaceTimestampSource
-
getSignatureTimestamps
- Specified by:
getSignatureTimestamps
in interfaceTimestampSource
-
getTimestampsX1
- Specified by:
getTimestampsX1
in interfaceTimestampSource
-
getTimestampsX2
- Specified by:
getTimestampsX2
in interfaceTimestampSource
-
getArchiveTimestamps
- Specified by:
getArchiveTimestamps
in interfaceTimestampSource
-
getDocumentTimestamps
- Specified by:
getDocumentTimestamps
in interfaceTimestampSource
-
getAllTimestamps
- Specified by:
getAllTimestamps
in interfaceTimestampSource
-
getTimestampCertificateSources
Description copied from interface:TimestampSource
Returns a mergedListCertificateSource
of all embedded timestamp certificate sources- Specified by:
getTimestampCertificateSources
in interfaceTimestampSource
- Returns:
ListCertificateSource
-
getTimestampCertificateSourcesExceptLastArchiveTimestamp
Description copied from interface:TimestampSource
Returns a mergedListCertificateSource
of all embedded timestamp certificate sources except the latest Archive Timestamp- Specified by:
getTimestampCertificateSourcesExceptLastArchiveTimestamp
in interfaceTimestampSource
- Returns:
ListCertificateSource
-
getTimestampCRLSources
Description copied from interface:TimestampSource
Returns a mergedListRevocationSource
of all embedded timestamp CRL sources- Specified by:
getTimestampCRLSources
in interfaceTimestampSource
- Returns:
ListRevocationSource
-
getTimestampOCSPSources
Description copied from interface:TimestampSource
Returns a mergedListRevocationSource
of all embedded timestamp OCSP sources- Specified by:
getTimestampOCSPSources
in interfaceTimestampSource
- Returns:
ListRevocationSource
-
createAndValidate
protected void createAndValidate()Creates and validates all timestamps Must be called only once -
addExternalTimestamp
Description copied from interface:TimestampSource
This method allows to add an external timestamp. The given timestamp must be processed before.- Specified by:
addExternalTimestamp
in interfaceTimestampSource
- Parameters:
timestamp
- the timestamp token
-
makeTimestampTokens
protected void makeTimestampTokens()Populates all the lists by data found into the signature -
getSignedSignatureProperties
Returns the 'signed-signature-properties' element of the signature- Returns:
SignatureProperties
-
getUnsignedSignatureProperties
Returns the 'unsigned-signature-properties' element of the signature- Returns:
SignatureProperties
-
isContentTimestamp
Determines if the givensignedAttribute
is an instance of "content-timestamp" element NOTE: Applicable only for CAdES- Parameters:
signedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isAllDataObjectsTimestamp
Determines if the givensignedAttribute
is an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdES- Parameters:
signedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isIndividualDataObjectsTimestamp
Determines if the givensignedAttribute
is an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdES- Parameters:
signedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isSignatureTimestamp
Determines if the givenunsignedAttribute
is an instance of "signature-timestamp" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Signature Timestamp, FALSE otherwise
-
isCompleteCertificateRef
Determines if the givenunsignedAttribute
is an instance of "complete-certificate-ref" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Complete Certificate Ref, FALSE otherwise
-
isAttributeCertificateRef
Determines if the givenunsignedAttribute
is an instance of "attribute-certificate-ref" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Attribute Certificate Ref, FALSE otherwise
-
isCompleteRevocationRef
Determines if the givenunsignedAttribute
is an instance of "complete-revocation-ref" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Complete Revocation Ref, FALSE otherwise
-
isAttributeRevocationRef
Determines if the givenunsignedAttribute
is an instance of "attribute-revocation-ref" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Attribute Revocation Ref, FALSE otherwise
-
isRefsOnlyTimestamp
Determines if the givenunsignedAttribute
is an instance of "refs-only-timestamp" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Refs Only TimeStamp, FALSE otherwise
-
isSigAndRefsTimestamp
Determines if the givenunsignedAttribute
is an instance of "sig-and-refs-timestamp" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Sig And Refs TimeStamp, FALSE otherwise
-
isCertificateValues
Determines if the givenunsignedAttribute
is an instance of "certificate-values" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Certificate Values, FALSE otherwise
-
isRevocationValues
Determines if the givenunsignedAttribute
is an instance of "revocation-values" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Revocation Values, FALSE otherwise
-
isAttrAuthoritiesCertValues
Determines if the givenunsignedAttribute
is an instance of "AttrAuthoritiesCertValues" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an AttrAuthoritiesCertValues, FALSE otherwise
-
isAttributeRevocationValues
Determines if the givenunsignedAttribute
is an instance of "AttributeRevocationValues" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an AttributeRevocationValues, FALSE otherwise
-
isArchiveTimestamp
Determines if the givenunsignedAttribute
is an instance of "archive-timestamp" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Archive TimeStamp, FALSE otherwise
-
isTimeStampValidationData
Determines if the givenunsignedAttribute
is an instance of "timestamp-validation-data" element- Parameters:
unsignedAttribute
-ISignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a TimeStamp Validation Data, FALSE otherwise
-
makeTimestampToken
protected abstract TimestampToken makeTimestampToken(SignatureAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)Creates a timestamp token from the providedsignatureAttribute
- Parameters:
signatureAttribute
-ISignatureAttribute
to create timestamp fromtimestampType
- a targetTimestampType
references
- list ofTimestampedReference
s covered by the current timestamp- Returns:
TimestampToken
-
getAllSignedDataReferences
Returns a list ofTimestampedReference
s obtained from thesignatureScopes
- Returns:
- list of
TimestampedReference
s
-
getIndividualContentTimestampedReferences
protected abstract List<TimestampedReference> getIndividualContentTimestampedReferences(SignatureAttribute signedAttribute)Returns a list ofTimestampedReference
s for an "individual-data-objects-timestamp" NOTE: Used only in XAdES- Parameters:
signedAttribute
-AbstractTimestampSource
- Returns:
- a list of
TimestampedReference
s
-
getSignatureTimestampReferences
Returns a list ofTimestampedReference
for a "signature-timestamp" element- Returns:
- list of
TimestampedReference
s
-
getSigningCertificateTimestampReferences
Returns a list ofTimestampedReference
s created from signing certificates of the signature- Returns:
- list of
TimestampedReference
s
-
createReferencesForCertificates
protected List<TimestampedReference> createReferencesForCertificates(Collection<CertificateToken> certificates)Creates a list ofTimestampedReference
s for the provided list ofcertificates
- Parameters:
certificates
- collection ofCertificateToken
s- Returns:
- list of
TimestampedReference
s
-
getTimestampedCertificateRefs
protected List<TimestampedReference> getTimestampedCertificateRefs(SignatureAttribute unsignedAttribute)Returns a list ofTimestampedReference
certificate refs found in the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to find references from- Returns:
- list of
TimestampedReference
s
-
getCertificateRefs
Returns a list ofCertificateRef
s from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get certRefs from- Returns:
- list of
CertificateRef
s
-
getTimestampedRevocationRefs
protected List<TimestampedReference> getTimestampedRevocationRefs(SignatureAttribute unsignedAttribute)Returns a list ofTimestampedReference
revocation refs found in the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to find references from- Returns:
- list of
TimestampedReference
s
-
getCRLRefs
Returns a list of CRL revocation refs from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get CRLRef- Returns:
- list of
CRLRef
s
-
getOCSPRefs
Returns a list of OCSP revocation refs from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get OCSPRefs from- Returns:
- list of
OCSPRef
s
-
getTimestampedCertificateValues
protected List<TimestampedReference> getTimestampedCertificateValues(SignatureAttribute unsignedAttribute) -
getEncapsulatedCertificateIdentifiers
protected abstract List<Identifier> getEncapsulatedCertificateIdentifiers(SignatureAttribute unsignedAttribute)Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get certificate identifiers from- Returns:
- list of
Identifier
s
-
getTimestampedRevocationValues
protected List<TimestampedReference> getTimestampedRevocationValues(SignatureAttribute unsignedAttribute) -
getEncapsulatedCRLIdentifiers
protected abstract List<Identifier> getEncapsulatedCRLIdentifiers(SignatureAttribute unsignedAttribute)Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get CRL identifiers from- Returns:
- list of
Identifier
s
-
getEncapsulatedOCSPIdentifiers
protected abstract List<Identifier> getEncapsulatedOCSPIdentifiers(SignatureAttribute unsignedAttribute)Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get OCSP identifiers from- Returns:
- list of
Identifier
s
-
getArchiveTimestampOtherReferences
protected abstract List<TimestampedReference> getArchiveTimestampOtherReferences(TimestampToken timestampToken)Returns a list ofTimestampedReference
s for the given archivetimestampToken
that cannot be extracted from signature attributes (signed or unsigned), depending on its format (signedData for CAdES or, keyInfo for XAdES)- Parameters:
timestampToken
-TimestampToken
to get archive timestamp references for- Returns:
- list of
TimestampedReference
s
-
getSignatureSignedDataReferences
Returns a list of allTimestampedReference
s found into CMS SignedData of the signature NOTE: used only in ASiC-E CAdES- Returns:
- list of
TimestampedReference
s
-
getTimestampValidationData
protected List<TimestampedReference> getTimestampValidationData(SignatureAttribute unsignedAttribute)Returns a list ofTimestampedReference
s encapsulated to the "timestamp-validation-data"unsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get timestamped references from- Returns:
- list of
TimestampedReference
s
-
addReference
protected void addReference(List<TimestampedReference> referenceList, TimestampedReference referenceToAdd)AddsreferenceToAdd
toreferenceList
without duplicates- Parameters:
referenceList
- - list ofTimestampedReference
s to be extendedreferenceToAdd
- -TimestampedReference
to be added
-
addReference
protected void addReference(List<TimestampedReference> referenceList, Identifier identifier, TimestampedObjectType category)Adds a reference for the given identifier and category- Parameters:
referenceList
- - list ofTimestampedReference
s to be extendedidentifier
- -Identifier
to be addedcategory
- -TimestampedObjectType
to be added
-
addReferences
protected void addReferences(List<TimestampedReference> referenceList, List<TimestampedReference> referencesToAdd)AddsreferencesToAdd
toreferenceList
without duplicates- Parameters:
referenceList
- - list ofTimestampedReference
s to be extendedreferencesToAdd
- -TimestampedReference
s to be added
-
addReferencesForPreviousTimestamps
protected void addReferencesForPreviousTimestamps(List<TimestampedReference> references, List<TimestampToken> timestampedTimestamps) -
addEncapsulatedValuesFromTimestamp
protected void addEncapsulatedValuesFromTimestamp(List<TimestampedReference> references, TimestampToken timestampedTimestamp)Adds to thereferences
list all validation data embedded to thetimestampedTimestamp
- Parameters:
references
- list ofTimestampedReference
s to extendtimestampedTimestamp
-TimestampToken
to extract embedded values from
-
getArchiveTimestampType
protected abstract ArchiveTimestampType getArchiveTimestampType(SignatureAttribute unsignedAttribute)ReturnsArchiveTimestampType
for the givenunsignedAttribute
- Parameters:
unsignedAttribute
-AbstractTimestampSource
to get archive timestamp type for
-
validateTimestamps
protected void validateTimestamps()Validates list of all timestamps present in the source -
getTimestampDataBuilder
Returns a relatedTimestampDataBuilder
- Returns:
TimestampDataBuilder
-
populateSources
Allows to populate all merged sources with extracted from a timestamp data- Parameters:
timestampToken
-TimestampToken
to populate data from
-