Package eu.europa.esig.dss.validation
Class AIACertificateSource
java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.validation.AIACertificateSource
- All Implemented Interfaces:
CertificateSource
,Serializable
The certificate source requesting issuer certificates by AIA
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
certificateMatcher
-
Constructor Summary
ConstructorDescriptionAIACertificateSource
(CertificateToken certificate, AIASource aiaSource) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the certificate source type associated to the implementation class.Get the issuer's certificate from Authority Information Access through id-ad-caIssuers extension.Methods inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
addCertificate, findTokensFromCertRef, getByCertificateDigest, getByPublicKey, getBySignerIdentifier, getBySki, getBySubject, getCertificates, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isCertificateSourceEqual, isCertificateSourceEquivalent, isKnown, isTrusted, removeCertificate, reset
-
Constructor Details
-
AIACertificateSource
Default constructor- Parameters:
certificate
-CertificateToken
to get the issuer foraiaSource
-AIASource
to obtain the issuer certificate
-
-
Method Details
-
getIssuerFromAIA
Get the issuer's certificate from Authority Information Access through id-ad-caIssuers extension.- Returns:
CertificateToken
representing the issuer certificate or null.
-
getCertificateSourceType
Description copied from interface:CertificateSource
This method returns the certificate source type associated to the implementation class.- Specified by:
getCertificateSourceType
in interfaceCertificateSource
- Overrides:
getCertificateSourceType
in classCommonCertificateSource
- Returns:
- the certificate origin
-