Class XAdESTimestampSource
java.lang.Object
eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource
eu.europa.esig.dss.validation.timestamp.SignatureTimestampSource<XAdESSignature,XAdESAttribute>
eu.europa.esig.dss.xades.validation.timestamp.XAdESTimestampSource
- All Implemented Interfaces:
TimestampSource
,Serializable
public class XAdESTimestampSource extends SignatureTimestampSource<XAdESSignature,XAdESAttribute>
The timestamp source for a XAdES signature
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.timestamp.SignatureTimestampSource
archiveTimestamps, certificateSource, contentTimestamps, crlSource, ocspSource, refsOnlyTimestamps, sigAndRefsTimestamps, signature, signatureTimestamps, unsignedPropertiesReferences
-
Constructor Summary
Constructors Constructor Description XAdESTimestampSource(XAdESSignature signature, Element signatureElement, XAdESPaths xadesPaths)
Default constructor -
Method Summary
Modifier and Type Method Description protected SignatureProperties<XAdESAttribute>
buildSignedSignatureProperties()
Creates the 'signed-signature-properties' element of the signatureprotected SignatureProperties<XAdESAttribute>
buildUnsignedSignatureProperties()
Creates the 'unsigned-signature-properties' element of the signaturebyte[]
getArchiveTimestampData(String canonicalizationMethod)
Returns concatenated data for an ArchiveTimestampprotected 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)protected ArchiveTimestampType
getArchiveTimestampType(XAdESAttribute unsignedAttribute)
ReturnsArchiveTimestampType
for the givenunsignedAttribute
protected List<CertificateRef>
getCertificateRefs(XAdESAttribute unsignedAttribute)
Returns a list ofCertificateRef
s from the givenunsignedAttribute
protected List<AdvancedSignature>
getCounterSignatures(XAdESAttribute unsignedAttribute)
Extracts Counter Signatures from the givenunsignedAttribute
protected List<CRLRef>
getCRLRefs(XAdESAttribute unsignedAttribute)
Returns a list of CRL revocation refs from the givenunsignedAttribute
protected List<Identifier>
getEncapsulatedCertificateIdentifiers(XAdESAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected List<Identifier>
getEncapsulatedCRLIdentifiers(XAdESAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected List<Identifier>
getEncapsulatedOCSPIdentifiers(XAdESAttribute unsignedAttribute)
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
protected List<TimestampedReference>
getIndividualContentTimestampedReferences(XAdESAttribute signedAttribute)
Returns a list ofTimestampedReference
s for an "individual-data-objects-timestamp" NOTE: Used only in XAdESprotected List<TimestampedReference>
getKeyInfoReferences()
Returns references from the KeyInfo encapsulated elementsprotected List<OCSPRef>
getOCSPRefs(XAdESAttribute unsignedAttribute)
Returns a list of OCSP revocation refs from the givenunsignedAttribute
byte[]
getSignatureTimestampData(String canonicalizationMethod)
Returns concatenated data for a SignatureTimestampList<TimestampedReference>
getSignatureTimestampReferences()
Returns a list ofTimestampedReference
for a "signature-timestamp" elementprotected XAdESTimestampDataBuilder
getTimestampDataBuilder()
Returns a relatedTimestampDataBuilder
byte[]
getTimestampX1Data(String canonicalizationMethod)
Returns concatenated data for a SigAndRefsTimestampbyte[]
getTimestampX2Data(String canonicalizationMethod)
Returns concatenated data for a RefsOnlyTimestampprotected boolean
isAllDataObjectsTimestamp(XAdESAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdESprotected boolean
isArchiveTimestamp(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "archive-timestamp" elementprotected boolean
isAttrAuthoritiesCertValues(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "AttrAuthoritiesCertValues" elementprotected boolean
isAttributeCertificateRef(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "attribute-certificate-ref" elementprotected boolean
isAttributeRevocationRef(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "attribute-revocation-ref" elementprotected boolean
isAttributeRevocationValues(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "AttributeRevocationValues" elementprotected boolean
isCertificateValues(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "certificate-values" elementprotected boolean
isCompleteCertificateRef(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "complete-certificate-ref" elementprotected boolean
isCompleteRevocationRef(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "complete-revocation-ref" elementprotected boolean
isContentTimestamp(XAdESAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "content-timestamp" element NOTE: Applicable only for CAdESprotected boolean
isCounterSignature(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "counter-signature" elementprotected boolean
isIndividualDataObjectsTimestamp(XAdESAttribute signedAttribute)
Determines if the givensignedAttribute
is an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdESprotected boolean
isRefsOnlyTimestamp(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "refs-only-timestamp" elementprotected boolean
isRevocationValues(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "revocation-values" elementprotected boolean
isSigAndRefsTimestamp(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "sig-and-refs-timestamp" elementprotected boolean
isSignaturePolicyStore(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "signature-policy-store" elementprotected boolean
isSignatureTimestamp(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "signature-timestamp" elementprotected boolean
isTimeStampValidationData(XAdESAttribute unsignedAttribute)
Determines if the givenunsignedAttribute
is an instance of "timestamp-validation-data" elementprotected TimestampToken
makeTimestampToken(XAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)
Creates a timestamp token from the providedsignatureAttribute
protected List<TimestampToken>
makeTimestampTokens(XAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)
Creates timestamp tokens from the providedsignatureAttribute
Methods inherited from class eu.europa.esig.dss.validation.timestamp.SignatureTimestampSource
addExternalTimestamp, createAndValidate, getAllTimestamps, getArchiveTimestampInitialReferences, getArchiveTimestamps, getContentTimestamps, getCounterSignatureReferences, getCounterSignaturesReferences, getDocumentTimestamps, getSignatureSignedDataReferences, getSignatureTimestamps, getSignedSignatureProperties, getSignerDataReferences, getSigningCertificateTimestampReferences, getTimestampCertificateSources, getTimestampCertificateSourcesExceptLastArchiveTimestamp, getTimestampCRLSources, getTimestampedCertificateRefs, getTimestampedCertificateRefs, getTimestampedCertificateValues, getTimestampedCRLRefs, getTimestampedOCSPRefs, getTimestampedRevocationRefs, getTimestampedRevocationValues, getTimestampOCSPSources, getTimestampsX1, getTimestampsX2, getTimestampValidationData, getUnsignedPropertiesReferences, getUnsignedSignatureProperties, incorporateArchiveTimestampReferences, isTimestamped, makeTimestampTokens, makeTimestampTokensFromSignedAttributes, makeTimestampTokensFromUnsignedAttributes, populateSources, populateSources, validateTimestamps
Methods inherited from class eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource
addReference, addReference, addReferences, createReferencesForCertificates, createReferencesForIdentifiers, getEncapsulatedReferencesFromTimestamps, getEncapsulatedValuesFromTimestamp, getReferencesFromTimestamp
-
Constructor Details
-
XAdESTimestampSource
public XAdESTimestampSource(XAdESSignature signature, Element signatureElement, XAdESPaths xadesPaths)Default constructor- Parameters:
signature
-XAdESSignature
signatureElement
-Element
xadesPaths
-XAdESPaths
-
-
Method Details
-
buildSignedSignatureProperties
Description copied from class:SignatureTimestampSource
Creates the 'signed-signature-properties' element of the signature- Specified by:
buildSignedSignatureProperties
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Returns:
SignatureProperties
-
buildUnsignedSignatureProperties
Description copied from class:SignatureTimestampSource
Creates the 'unsigned-signature-properties' element of the signature- Specified by:
buildUnsignedSignatureProperties
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Returns:
SignatureProperties
-
getTimestampDataBuilder
Description copied from class:SignatureTimestampSource
Returns a relatedTimestampDataBuilder
- Specified by:
getTimestampDataBuilder
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Returns:
TimestampDataBuilder
-
getSignatureTimestampData
Returns concatenated data for a SignatureTimestamp- Parameters:
canonicalizationMethod
-String
canonicalization method to use- Returns:
- byte array
-
getTimestampX1Data
Returns concatenated data for a SigAndRefsTimestamp- Parameters:
canonicalizationMethod
-String
canonicalization method to use- Returns:
- byte array
-
getTimestampX2Data
Returns concatenated data for a RefsOnlyTimestamp- Parameters:
canonicalizationMethod
-String
canonicalization method to use- Returns:
- byte array
-
getArchiveTimestampData
Returns concatenated data for an ArchiveTimestamp- Parameters:
canonicalizationMethod
-String
canonicalization method to use- Returns:
- byte array
-
isContentTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givensignedAttribute
is an instance of "content-timestamp" element NOTE: Applicable only for CAdES- Specified by:
isContentTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isAllDataObjectsTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givensignedAttribute
is an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdES- Specified by:
isAllDataObjectsTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isIndividualDataObjectsTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givensignedAttribute
is an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdES- Specified by:
isIndividualDataObjectsTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Data Objects Timestamp, FALSE otherwise
-
isSignatureTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "signature-timestamp" element- Specified by:
isSignatureTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Signature Timestamp, FALSE otherwise
-
isCompleteCertificateRef
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "complete-certificate-ref" element- Specified by:
isCompleteCertificateRef
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Complete Certificate Ref, FALSE otherwise
-
isAttributeCertificateRef
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "attribute-certificate-ref" element- Specified by:
isAttributeCertificateRef
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Attribute Certificate Ref, FALSE otherwise
-
isCompleteRevocationRef
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "complete-revocation-ref" element- Specified by:
isCompleteRevocationRef
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Complete Revocation Ref, FALSE otherwise
-
isAttributeRevocationRef
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "attribute-revocation-ref" element- Specified by:
isAttributeRevocationRef
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Attribute Revocation Ref, FALSE otherwise
-
isRefsOnlyTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "refs-only-timestamp" element- Specified by:
isRefsOnlyTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Refs Only TimeStamp, FALSE otherwise
-
isSigAndRefsTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "sig-and-refs-timestamp" element- Specified by:
isSigAndRefsTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Sig And Refs TimeStamp, FALSE otherwise
-
isCertificateValues
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "certificate-values" element- Specified by:
isCertificateValues
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Certificate Values, FALSE otherwise
-
isRevocationValues
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "revocation-values" element- Specified by:
isRevocationValues
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is a Revocation Values, FALSE otherwise
-
isAttrAuthoritiesCertValues
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "AttrAuthoritiesCertValues" element- Specified by:
isAttrAuthoritiesCertValues
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an AttrAuthoritiesCertValues, FALSE otherwise
-
isAttributeRevocationValues
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "AttributeRevocationValues" element- Specified by:
isAttributeRevocationValues
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an AttributeRevocationValues, FALSE otherwise
-
isArchiveTimestamp
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "archive-timestamp" element- Specified by:
isArchiveTimestamp
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureAttribute
to process- Returns:
- TRUE if the
unsignedAttribute
is an Archive TimeStamp, FALSE otherwise
-
isTimeStampValidationData
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "timestamp-validation-data" element- Specified by:
isTimeStampValidationData
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to process- Returns:
- TRUE if the
unsignedAttribute
is a TimeStamp Validation Data, FALSE otherwise
-
isCounterSignature
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "counter-signature" element- Specified by:
isCounterSignature
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to process- Returns:
- TRUE if the
unsignedAttribute
is a Counter signature, FALSE otherwise
-
isSignaturePolicyStore
Description copied from class:SignatureTimestampSource
Determines if the givenunsignedAttribute
is an instance of "signature-policy-store" element- Specified by:
isSignaturePolicyStore
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to process- Returns:
- TRUE if the
unsignedAttribute
is a Counter signature, FALSE otherwise
-
makeTimestampTokens
protected List<TimestampToken> makeTimestampTokens(XAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)Description copied from class:SignatureTimestampSource
Creates timestamp tokens from the providedsignatureAttribute
- Overrides:
makeTimestampTokens
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signatureAttribute
-SignatureAttribute
to create timestamp fromtimestampType
- a targetTimestampType
references
- list ofTimestampedReference
s covered by the current timestamp- Returns:
- a list of
TimestampToken
s
-
makeTimestampToken
protected TimestampToken makeTimestampToken(XAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references)Description copied from class:SignatureTimestampSource
Creates a timestamp token from the providedsignatureAttribute
- Specified by:
makeTimestampToken
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signatureAttribute
-SignatureAttribute
to create timestamp fromtimestampType
- a targetTimestampType
references
- list ofTimestampedReference
s covered by the current timestamp- Returns:
TimestampToken
-
getIndividualContentTimestampedReferences
protected List<TimestampedReference> getIndividualContentTimestampedReferences(XAdESAttribute signedAttribute)Description copied from class:SignatureTimestampSource
Returns a list ofTimestampedReference
s for an "individual-data-objects-timestamp" NOTE: Used only in XAdES- Specified by:
getIndividualContentTimestampedReferences
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
signedAttribute
-SignatureTimestampSource
- Returns:
- a list of
TimestampedReference
s
-
getArchiveTimestampOtherReferences
protected List<TimestampedReference> getArchiveTimestampOtherReferences(TimestampToken timestampToken)Description copied from class:SignatureTimestampSource
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)- Specified by:
getArchiveTimestampOtherReferences
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
timestampToken
-TimestampToken
to get archive timestamp references for- Returns:
- list of
TimestampedReference
s
-
getSignatureTimestampReferences
Description copied from class:SignatureTimestampSource
Returns a list ofTimestampedReference
for a "signature-timestamp" element- Overrides:
getSignatureTimestampReferences
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Returns:
- list of
TimestampedReference
s
-
getKeyInfoReferences
Returns references from the KeyInfo encapsulated elements- Returns:
- list of
TimestampedReference
s
-
getCertificateRefs
Description copied from class:SignatureTimestampSource
Returns a list ofCertificateRef
s from the givenunsignedAttribute
- Specified by:
getCertificateRefs
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get certRefs from- Returns:
- list of
CertificateRef
s
-
getCRLRefs
Description copied from class:SignatureTimestampSource
Returns a list of CRL revocation refs from the givenunsignedAttribute
- Specified by:
getCRLRefs
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get CRLRef- Returns:
- list of
CRLRef
s
-
getOCSPRefs
Description copied from class:SignatureTimestampSource
Returns a list of OCSP revocation refs from the givenunsignedAttribute
- Specified by:
getOCSPRefs
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get OCSPRefs from- Returns:
- list of
OCSPRef
s
-
getEncapsulatedCertificateIdentifiers
Description copied from class:SignatureTimestampSource
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Specified by:
getEncapsulatedCertificateIdentifiers
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get certificate identifiers from- Returns:
- list of
Identifier
s
-
getEncapsulatedCRLIdentifiers
Description copied from class:SignatureTimestampSource
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Specified by:
getEncapsulatedCRLIdentifiers
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get CRL identifiers from- Returns:
- list of
Identifier
s
-
getEncapsulatedOCSPIdentifiers
Description copied from class:SignatureTimestampSource
Returns a list ofIdentifier
s obtained from the givenunsignedAttribute
- Specified by:
getEncapsulatedOCSPIdentifiers
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get OCSP identifiers from- Returns:
- list of
Identifier
s
-
getArchiveTimestampType
Description copied from class:SignatureTimestampSource
ReturnsArchiveTimestampType
for the givenunsignedAttribute
- Specified by:
getArchiveTimestampType
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
to get archive timestamp type for- Returns:
ArchiveTimestampType
-
getCounterSignatures
Description copied from class:SignatureTimestampSource
Extracts Counter Signatures from the givenunsignedAttribute
- Specified by:
getCounterSignatures
in classSignatureTimestampSource<XAdESSignature,XAdESAttribute>
- Parameters:
unsignedAttribute
-SignatureTimestampSource
containing counter signatures- Returns:
- a list of
AdvancedSignature
containing counter signatures
-