Package eu.europa.esig.dss.pades
Class PAdESUtils
java.lang.Object
eu.europa.esig.dss.pades.PAdESUtils
public final class PAdESUtils extends Object
-
Constructor Summary
Constructors Constructor Description PAdESUtils()
-
Method Summary
Modifier and Type Method Description static InMemoryDocument
getOriginalPDF(PAdESSignature padesSignature)
Returns the original signed content for thepadesSignature
static InMemoryDocument
getOriginalPDF(PdfRevision pdfRevision)
Returns the original signed content for thepdfRevision
static RevocationInfoArchival
getRevocationInfoArchivals(org.bouncycastle.asn1.ASN1Encodable encodable)
ReturnsRevocationInfoArchival
from the given encodable
-
Constructor Details
-
PAdESUtils
public PAdESUtils()
-
-
Method Details
-
getOriginalPDF
Returns the original signed content for thepadesSignature
- Parameters:
padesSignature
-PAdESSignature
- Returns:
InMemoryDocument
-
getOriginalPDF
Returns the original signed content for thepdfRevision
- Parameters:
pdfRevision
-PdfRevision
- Returns:
InMemoryDocument
-
getRevocationInfoArchivals
public static RevocationInfoArchival getRevocationInfoArchivals(org.bouncycastle.asn1.ASN1Encodable encodable)ReturnsRevocationInfoArchival
from the given encodable- Parameters:
encodable
- the encoded data to be parsed- Returns:
- an instance of RevocationValues or null if the parsing failled
-