Module jpms_dss_pades
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
ConstructorsConstructorDescriptionDefault constructor instantiation an object with empty mpa of certificate token objects -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<eu.europa.esig.dss.model.x509.CertificateToken>getCertificateTokensByObjectId(Long objectId) This method returns a set ofCertificateTokens with the given PDF object idvoidpopulateFromDssDictionary(PdfDssDict dssDictionary) This method allows adding certificates extracted from a /DSS revisionMethods inherited from class eu.europa.esig.dss.spi.x509.TokenCertificateSource
addCertificate, addCertificateIdentifier, addCertificateRef, findTokensFromRefs, getAllCertificateIdentifiers, getAllCertificateRefs, getCertificateRefOrigins, getCertificateRefsByOrigin, getCertificateToken, getCertificateTokensByOrigin, getCurrentCertificateIdentifier, getOrphanCertificateRefs, getReferencesForCertificateToken, isOrphanMethods 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
-
Constructor Details
-
PdfCompositeDssDictCertificateSource
public PdfCompositeDssDictCertificateSource()Default constructor instantiation an object with empty mpa of certificate token objects
-
-
Method Details
-
populateFromDssDictionary
This method allows adding certificates extracted from a /DSS revision- Parameters:
dssDictionary-PdfDssDictrepresenting a /DSS revision's content
-
getCertificateTokensByObjectId
protected Set<eu.europa.esig.dss.model.x509.CertificateToken> getCertificateTokensByObjectId(Long objectId) This method returns a set ofCertificateTokens with the given PDF object id- Parameters:
objectId-LongPDF id of the object to be extracted- Returns:
- set of
CertificateTokens
-