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
public class AIACertificateSource extends CommonCertificateSource
The certificate source requesting issuer certificates by AIA
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
certificateMatcher
-
Constructor Summary
Constructors Constructor Description AIACertificateSource(CertificateToken certificate, DataLoader dataLoader)
Default constructor -
Method Summary
Modifier and Type Method Description CertificateSourceType
getCertificateSourceType()
This method returns the certificate source type associated to the implementation class.CertificateToken
getIssuerFromAIA()
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, getByCertificateIdentifier, getByPublicKey, getBySki, getBySubject, getCertificates, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isKnown, isTrusted, reset
-
Constructor Details
-
AIACertificateSource
Default constructor- Parameters:
certificate
-CertificateToken
to get the issuer fordataLoader
-DataLoader
to use 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
-