Class PdfDssDictCertificateSource

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

public class PdfDssDictCertificateSource extends eu.europa.esig.dss.spi.x509.TokenCertificateSource
The certificate source extracted from a DSS dictionary
See Also:
  • Field Summary

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

    certificateMatcher
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    PdfDssDictCertificateSource(PdfCompositeDssDictCertificateSource compositeCertificateSource, PdfDssDict dssDictionary, String vriDictionaryName)
    Default constructor with VRI name (to be used for a signature)
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<Long,eu.europa.esig.dss.model.x509.CertificateToken>
    Gets a map of PDF object ids and corresponding certificate tokens
    List<eu.europa.esig.dss.model.x509.CertificateToken>
    Gets list of DSS dictionary certificate tokens
    List<eu.europa.esig.dss.model.x509.CertificateToken>
    Gets list of certificate tokens extracted from all VRI dictionaries

    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

  • Method Details

    • getCertificateMap

      public Map<Long,eu.europa.esig.dss.model.x509.CertificateToken> getCertificateMap()
      Gets a map of PDF object ids and corresponding certificate tokens
      Returns:
      a map of PDF object ids and corresponding certificate tokens
    • getDSSDictionaryCertValues

      public List<eu.europa.esig.dss.model.x509.CertificateToken> getDSSDictionaryCertValues()
      Gets list of DSS dictionary certificate tokens
      Returns:
      a list of CertificateTokens
    • getVRIDictionaryCertValues

      public List<eu.europa.esig.dss.model.x509.CertificateToken> getVRIDictionaryCertValues()
      Gets list of certificate tokens extracted from all VRI dictionaries
      Returns:
      a list of CertificateTokens