Class PAdESCertificateSource
java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.spi.x509.TokenCertificateSource
eu.europa.esig.dss.validation.SignatureCertificateSource
eu.europa.esig.dss.validation.CMSCertificateSource
eu.europa.esig.dss.cades.validation.CAdESCertificateSource
eu.europa.esig.dss.pades.validation.PAdESCertificateSource
- All Implemented Interfaces:
CertificateSource
,Serializable
public class PAdESCertificateSource extends CAdESCertificateSource
CertificateSource that will retrieve the certificate from a PAdES Signature
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignatureCertificateSource
candidatesForSigningCertificate
-
Constructor Summary
Constructors Constructor Description PAdESCertificateSource(PdfSignatureRevision pdfSignatureRevision, org.bouncycastle.cms.SignerInformation signerInformation)
The default constructor for PAdESCertificateSource. -
Method Summary
Modifier and Type Method Description List<CertificateRef>
getAttributeCertificateRefs()
Retrieves the list ofCertificateRef
s included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)Map<Long,CertificateToken>
getCertificateMap()
List<CertificateToken>
getCertificateValues()
Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)List<CertificateRef>
getCompleteCertificateRefs()
Retrieves the list ofCertificateRef
s included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)List<CertificateToken>
getDSSDictionaryCertValues()
Retrieves the list of all certificates from the DSS dictionary (PAdES)List<CertificateToken>
getVRIDictionaryCertValues()
Retrieves the list of all certificates from the VRI dictionary (PAdES)Methods inherited from class eu.europa.esig.dss.validation.CMSCertificateSource
extractCandidatesForSigningCertificate, extractSigningCertificateReferences
Methods inherited from class eu.europa.esig.dss.validation.SignatureCertificateSource
getAttrAuthoritiesCertValues, getAttributeCertificates, getCandidatesForSigningCertificate, getCertificateSourceType, getCompleteCertificates, getKeyInfoCertificates, getSignedDataCertificates, getSigningCertificateRefs, getSigningCertificates, getTimeStampValidationDataCertValues
Methods inherited from class eu.europa.esig.dss.spi.x509.TokenCertificateSource
addCertificate, addCertificateIdentifier, addCertificateRef, findTokensFromRefs, getAllCertificateIdentifiers, getAllCertificateRefs, getCertificateRefOrigins, getCertificateRefsByOrigin, getCertificateToken, getCertificateTokensByOrigin, getCurrentCertificateIdentifier, getOrphanCertificateRefs, getReferencesForCertificateToken
Methods inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
addCertificate, getByCertificateIdentifier, getByPublicKey, getBySki, getBySubject, getCertificates, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isKnown, isTrusted, reset
-
Constructor Details
-
PAdESCertificateSource
public PAdESCertificateSource(PdfSignatureRevision pdfSignatureRevision, org.bouncycastle.cms.SignerInformation signerInformation)The default constructor for PAdESCertificateSource.- Parameters:
pdfSignatureRevision
- the usedPdfSignatureRevision
signerInformation
- the currentSignerInformation
-
-
Method Details
-
getCertificateMap
-
getCertificateValues
Description copied from class:SignatureCertificateSource
Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)- Overrides:
getCertificateValues
in classSignatureCertificateSource
- Returns:
- the list of all certificates present in the CertificateValues
-
getCompleteCertificateRefs
Description copied from class:SignatureCertificateSource
Retrieves the list ofCertificateRef
s included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)- Overrides:
getCompleteCertificateRefs
in classSignatureCertificateSource
- Returns:
- the list of certificate references
-
getAttributeCertificateRefs
Description copied from class:SignatureCertificateSource
Retrieves the list ofCertificateRef
s included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)- Overrides:
getAttributeCertificateRefs
in classSignatureCertificateSource
- Returns:
- the list of certificate references
-
getDSSDictionaryCertValues
Description copied from class:SignatureCertificateSource
Retrieves the list of all certificates from the DSS dictionary (PAdES)- Overrides:
getDSSDictionaryCertValues
in classSignatureCertificateSource
- Returns:
- the list of all certificates present in the DSS dictionary
-
getVRIDictionaryCertValues
Description copied from class:SignatureCertificateSource
Retrieves the list of all certificates from the VRI dictionary (PAdES)- Overrides:
getVRIDictionaryCertValues
in classSignatureCertificateSource
- Returns:
- the list of all certificates present in the VRI dictionary
-