Package eu.europa.esig.dss.pdf
Class SingleDssDict
java.lang.Object
eu.europa.esig.dss.pdf.AbstractPdfDssDict
eu.europa.esig.dss.pdf.SingleDssDict
- All Implemented Interfaces:
PdfDssDict
,Serializable
This class is a representation of a DSS (Document Security Store) Dictionary embedded in a PDF file.
The dictionary is unique in a PDF file and can contain : VRI dictionary, certificates (Certs), OCSP responses (OCSPs)
and CRLs.
This dictionary is filled in PAdES-BASELINE-LT extension process.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static SingleDssDict
Extract a DSS dictionary from aPdfDict
protected String
Gets the certificate array dictionary nameprotected String
Gets the CRL array dictionary nameprotected String
Gets the dictionary name (DSS or VRI)protected String
Gets the OCSP array dictionary namegetVRIs()
Returns a list of VRI dictionariesint
hashCode()
Methods inherited from class eu.europa.esig.dss.pdf.AbstractPdfDssDict
getCERTs, getCRLs, getOCSPs
-
Constructor Details
-
SingleDssDict
Default constructor- Parameters:
dssDictionary
-PdfDict
-
-
Method Details
-
extract
Extract a DSS dictionary from aPdfDict
- Parameters:
documentDict
-PdfDict
- Returns:
SingleDssDict
-
getDictionaryName
Description copied from class:AbstractPdfDssDict
Gets the dictionary name (DSS or VRI)- Specified by:
getDictionaryName
in classAbstractPdfDssDict
- Returns:
String
-
getCertArrayDictionaryName
Description copied from class:AbstractPdfDssDict
Gets the certificate array dictionary name- Specified by:
getCertArrayDictionaryName
in classAbstractPdfDssDict
- Returns:
String
-
getCRLArrayDictionaryName
Description copied from class:AbstractPdfDssDict
Gets the CRL array dictionary name- Specified by:
getCRLArrayDictionaryName
in classAbstractPdfDssDict
- Returns:
String
-
getOCSPArrayDictionaryName
Description copied from class:AbstractPdfDssDict
Gets the OCSP array dictionary name- Specified by:
getOCSPArrayDictionaryName
in classAbstractPdfDssDict
- Returns:
String
-
getVRIs
Description copied from interface:PdfDssDict
Returns a list of VRI dictionaries- Returns:
- a list of
PdfVriDict
s
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractPdfDssDict
-
equals
- Overrides:
equals
in classAbstractPdfDssDict
-