Class AbstractPdfDssDict

java.lang.Object
eu.europa.esig.dss.pdf.AbstractPdfDssDict
All Implemented Interfaces:
PdfDssDict, Serializable
Direct Known Subclasses:
PdfVriDict, SingleDssDict

public abstract class AbstractPdfDssDict extends Object implements PdfDssDict
An abstract implementation of PdfDssDict
See Also:
  • Constructor Details

    • AbstractPdfDssDict

      protected AbstractPdfDssDict(PdfDict dssDictionary)
      Default constructor
      Parameters:
      dssDictionary - PdfDict
  • Method Details

    • getDictionaryName

      protected abstract String getDictionaryName()
      Gets the dictionary name (DSS or VRI)
      Returns:
      String
    • getCertArrayDictionaryName

      protected abstract String getCertArrayDictionaryName()
      Gets the certificate array dictionary name
      Returns:
      String
    • getCRLArrayDictionaryName

      protected abstract String getCRLArrayDictionaryName()
      Gets the CRL array dictionary name
      Returns:
      String
    • getOCSPArrayDictionaryName

      protected abstract String getOCSPArrayDictionaryName()
      Gets the OCSP array dictionary name
      Returns:
      String
    • getCRLs

      public Map<Long,CRLBinary> getCRLs()
      Description copied from interface: PdfDssDict
      Returns a map of uniques identifiers and CRL binaries
      Specified by:
      getCRLs in interface PdfDssDict
      Returns:
      a map of identifiers and CRL binaries
    • getOCSPs

      public Map<Long,OCSPResponseBinary> getOCSPs()
      Description copied from interface: PdfDssDict
      Returns a map of unique identifiers and OCSPResponseBinarys
      Specified by:
      getOCSPs in interface PdfDssDict
      Returns:
      a map of identifiers and OCSPResponseBinarys
    • getCERTs

      public Map<Long,CertificateToken> getCERTs()
      Description copied from interface: PdfDssDict
      Returns a map of unique identifiers and Certificate Tokens
      Specified by:
      getCERTs in interface PdfDssDict
      Returns:
      a map of identifiers and CertificateTokens
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object