Package eu.europa.esig.dss.xades
Class XAdESSignatureUtils
java.lang.Object
eu.europa.esig.dss.xades.XAdESSignatureUtils
Contains util methods for dealing with XAdES
-
Method Summary
Modifier and TypeMethodDescriptionstatic XAdESAttributegetLastSealingEvidenceRecordAttribute(XAdESUnsignedSigProperties unsignedSigProperties) Returns the latest "SealingEvidenceRecords" unsigned property, when presentstatic List<DSSDocument> getSignerDocuments(XAdESSignature signature) Returns list of original signed documentsstatic booleanisKeyInfoCovered(XAdESSignature signature) This method verifies whether the ds:KeyInfo element is signed by the signature
-
Method Details
-
getSignerDocuments
Returns list of original signed documents- Parameters:
signature- [XAdESSignatureto find signed documents for- Returns:
- list of
DSSDocuments
-
isKeyInfoCovered
This method verifies whether the ds:KeyInfo element is signed by the signature- Parameters:
signature-XAdESSignatureto verify- Returns:
- TRUE if ds:KeyInfo element is signed, FALSE otherwise
-
getLastSealingEvidenceRecordAttribute
public static XAdESAttribute getLastSealingEvidenceRecordAttribute(XAdESUnsignedSigProperties unsignedSigProperties) Returns the latest "SealingEvidenceRecords" unsigned property, when present- Parameters:
unsignedSigProperties-XAdESUnsignedSigPropertiesto analyze- Returns:
XAdESAttributewhen a "SealingEvidenceRecords" unsigned property is present, NULL otherwise
-