Class PAdESCertificateSource
java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.spi.x509.TokenCertificateSource
eu.europa.esig.dss.spi.SignatureCertificateSource
eu.europa.esig.dss.spi.x509.CMSCertificateSource
eu.europa.esig.dss.cades.validation.CAdESCertificateSource
eu.europa.esig.dss.pades.validation.PAdESCertificateSource
- All Implemented Interfaces:
CertificateSource,Serializable
CertificateSource that will retrieve the certificate from a PAdES Signature
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.SignatureCertificateSource
candidatesForSigningCertificateFields inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
certificateMatcher -
Constructor Summary
ConstructorsConstructorDescriptionPAdESCertificateSource(PdfSignatureRevision pdfSignatureRevision, String vriDictionaryName, org.bouncycastle.cms.SignerInformation signerInformation) The default constructor for PAdESCertificateSource. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list ofCertificateRefs included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)Gets the map of certificate PDF object ids and the certificateTokensRetrieves the list of all certificates from CertificateValues (XAdES/CAdES)Retrieves the list ofCertificateRefs included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)Retrieves the list of all certificates from the DSS dictionary (PAdES)Retrieves the list of all certificates from the VRI dictionary (PAdES)Methods inherited from class eu.europa.esig.dss.spi.x509.CMSCertificateSource
extractCandidatesForSigningCertificateMethods inherited from class eu.europa.esig.dss.spi.SignatureCertificateSource
getAttrAuthoritiesCertValues, getAttributeCertificates, getCandidatesForSigningCertificate, getCertificateSourceType, getCompleteCertificates, getKeyInfoCertificates, getSignedDataCertificates, getSigningCertificateRefs, getSigningCertificates, getTimeStampValidationDataCertValuesMethods 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, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isCertificateSourceEqual, isCertificateSourceEquivalent, isKnown, isTrusted, removeCertificate, reset
-
Constructor Details
-
PAdESCertificateSource
public PAdESCertificateSource(PdfSignatureRevision pdfSignatureRevision, String vriDictionaryName, org.bouncycastle.cms.SignerInformation signerInformation) The default constructor for PAdESCertificateSource.- Parameters:
pdfSignatureRevision- the usedPdfSignatureRevisionvriDictionaryName-Stringthe name of the corresponding /VRi dictionary to the validating signaturesignerInformation- the currentSignerInformation
-
-
Method Details
-
getCertificateMap
Gets the map of certificate PDF object ids and the certificateTokens- Returns:
- a map between certificate PDF object ids and tokens
-
getCertificateValues
Description copied from class:SignatureCertificateSourceRetrieves the list of all certificates from CertificateValues (XAdES/CAdES)- Overrides:
getCertificateValuesin classSignatureCertificateSource- Returns:
- the list of all certificates present in the CertificateValues
-
getCompleteCertificateRefs
Description copied from class:SignatureCertificateSourceRetrieves the list ofCertificateRefs included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)- Overrides:
getCompleteCertificateRefsin classSignatureCertificateSource- Returns:
- the list of certificate references
-
getAttributeCertificateRefs
Description copied from class:SignatureCertificateSourceRetrieves the list ofCertificateRefs included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)- Overrides:
getAttributeCertificateRefsin classSignatureCertificateSource- Returns:
- the list of certificate references
-
getDSSDictionaryCertValues
Description copied from class:SignatureCertificateSourceRetrieves the list of all certificates from the DSS dictionary (PAdES)- Overrides:
getDSSDictionaryCertValuesin classSignatureCertificateSource- Returns:
- the list of all certificates present in the DSS dictionary
-
getVRIDictionaryCertValues
Description copied from class:SignatureCertificateSourceRetrieves the list of all certificates from the VRI dictionary (PAdES)- Overrides:
getVRIDictionaryCertValuesin classSignatureCertificateSource- Returns:
- the list of all certificates present in the VRI dictionary
-