Class ASiCWithCAdESExtractResultUtils
java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCWithCAdESExtractResultUtils
public class ASiCWithCAdESExtractResultUtils extends Object
-
Method Summary
Modifier and Type Method Description static DSSDocument
getSignedDocument(ASiCExtractResult extractResult, String signatureFilename)
Returns a list of signed documents by a signature with a givensignatureFilename
static boolean
isCoveredByManifest(ASiCExtractResult extractResult, String signatureFilename)
Checks if a signature with the given filename is covered by a manifest
-
Method Details
-
getSignedDocument
public static DSSDocument getSignedDocument(ASiCExtractResult extractResult, String signatureFilename)Returns a list of signed documents by a signature with a givensignatureFilename
- Parameters:
extractResult
-ASiCExtractResult
representing an ASiC container extraction resultsignatureFilename
-String
a filename of a signature to get extracted document for- Returns:
- a list of
DSSDocument
s
-
isCoveredByManifest
public static boolean isCoveredByManifest(ASiCExtractResult extractResult, String signatureFilename)Checks if a signature with the given filename is covered by a manifest- Parameters:
extractResult
-ASiCExtractResult
the ASiC container extraction resultsignatureFilename
-String
a filename of a signature to check- Returns:
- TRUE if the signature is covered by a manifest, FALSE otherwise
-