Class PdfCompositeDssDictCertificateSource

java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.spi.x509.TokenCertificateSource
eu.europa.esig.dss.pades.validation.dss.PdfCompositeDssDictCertificateSource
All Implemented Interfaces:
eu.europa.esig.dss.spi.x509.CertificateSource, Serializable

public class PdfCompositeDssDictCertificateSource extends eu.europa.esig.dss.spi.x509.TokenCertificateSource
Represents a merged result of extracted certificate sources from /DSS revisions of a PDF document
See Also:
  • Field Summary

    Fields inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource

    certificateMatcher
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor instantiation an object with empty mpa of certificate token objects
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Set<eu.europa.esig.dss.model.x509.CertificateToken>
    This method returns a set of CertificateTokens with the given PDF object id
    void
    This method allows adding certificates extracted from a /DSS revision

    Methods inherited from class eu.europa.esig.dss.spi.x509.TokenCertificateSource

    addCertificate, addCertificateIdentifier, addCertificateRef, findTokensFromRefs, getAllCertificateIdentifiers, getAllCertificateRefs, getCertificateRefOrigins, getCertificateRefsByOrigin, getCertificateToken, getCertificateTokensByOrigin, getCurrentCertificateIdentifier, getOrphanCertificateRefs, getReferencesForCertificateToken, isOrphan

    Methods inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource

    addCertificate, doesCertificateReferenceMatch, findTokensFromCertRef, getByCertificateDigest, getByPublicKey, getBySignerIdentifier, getBySki, getBySubject, getCertificates, getCertificateSourceType, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isCertificateSourceEqual, isCertificateSourceEquivalent, isKnown, isTrusted, removeCertificate, reset

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PdfCompositeDssDictCertificateSource

      public PdfCompositeDssDictCertificateSource()
      Default constructor instantiation an object with empty mpa of certificate token objects
  • Method Details

    • populateFromDssDictionary

      public void populateFromDssDictionary(PdfDssDict dssDictionary)
      This method allows adding certificates extracted from a /DSS revision
      Parameters:
      dssDictionary - PdfDssDict representing a /DSS revision's content
    • getCertificateTokensByObjectId

      protected Set<eu.europa.esig.dss.model.x509.CertificateToken> getCertificateTokensByObjectId(Long objectId)
      This method returns a set of CertificateTokens with the given PDF object id
      Parameters:
      objectId - Long PDF id of the object to be extracted
      Returns:
      set of CertificateTokens