Class XAdESCertificateSource
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.xades.validation.XAdESCertificateSource
- All Implemented Interfaces:
CertificateSource,Serializable
public class XAdESCertificateSource extends SignatureCertificateSource
This class provides the mechanism to retrieve certificates contained in a XAdES signature.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignatureCertificateSource
candidatesForSigningCertificate -
Constructor Summary
Constructors Constructor Description XAdESCertificateSource(Element signatureElement, XAdESPaths xadesPaths)The default constructor for XAdESCertificateSource. -
Method Summary
Modifier and Type Method Description protected CandidatesForSigningCertificateextractCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)Extracts candidates to be a signing certificate from the sourceMethods inherited from class eu.europa.esig.dss.validation.SignatureCertificateSource
getAttrAuthoritiesCertValues, getAttributeCertificateRefs, getAttributeCertificates, getCandidatesForSigningCertificate, getCertificateSourceType, getCertificateValues, getCompleteCertificateRefs, getCompleteCertificates, getDSSDictionaryCertValues, getKeyInfoCertificates, getSignedDataCertificates, getSigningCertificateRefs, getSigningCertificates, getTimeStampValidationDataCertValues, getVRIDictionaryCertValuesMethods inherited from class eu.europa.esig.dss.spi.x509.TokenCertificateSource
addCertificate, addCertificateIdentifier, addCertificateRef, findTokensFromRefs, getAllCertificateIdentifiers, getAllCertificateRefs, getCertificateRefOrigins, getCertificateRefsByOrigin, getCertificateToken, getCertificateTokensByOrigin, getCurrentCertificateIdentifier, getOrphanCertificateRefs, getReferencesForCertificateTokenMethods 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
-
XAdESCertificateSource
The default constructor for XAdESCertificateSource. All certificates are extracted during instantiation.- Parameters:
signatureElement-Elementthat contains an XML signaturexadesPaths- adaptedXAdESPaths
-
-
Method Details
-
extractCandidatesForSigningCertificate
protected CandidatesForSigningCertificate extractCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)Description copied from class:SignatureCertificateSourceExtracts candidates to be a signing certificate from the source- Specified by:
extractCandidatesForSigningCertificatein classSignatureCertificateSource- Parameters:
providedSigningCertificateToken-CertificateTokenprovided by a user (if defined)- Returns:
CandidatesForSigningCertificate
-