Class OCSPCertificateSource
java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.spi.x509.TokenCertificateSource
eu.europa.esig.dss.spi.x509.revocation.RevocationCertificateSource
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPCertificateSource
- All Implemented Interfaces:
CertificateSource,Serializable
public class OCSPCertificateSource extends RevocationCertificateSource
Represents a Source of certificates embedded into an OCSP Token
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OCSPCertificateSource(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) -
Method Summary
Modifier and Type Method Description CandidatesForSigningCertificategetCandidatesForSigningCertificate(CertificateToken certificateIssuer)Returns candidates for the OCSP Response's signing certificateCertificateSourceTypegetCertificateSourceType()This method returns the certificate source type associated to the implementation class.Methods 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
-
OCSPCertificateSource
public OCSPCertificateSource(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp)
-
-
Method Details
-
getCandidatesForSigningCertificate
public CandidatesForSigningCertificate getCandidatesForSigningCertificate(CertificateToken certificateIssuer)Returns candidates for the OCSP Response's signing certificate- Parameters:
certificateIssuer-CertificateTokenthe issuer of a certificate covered by the OCSP- Returns:
CandidatesForSigningCertificate
-
getCertificateSourceType
Description copied from interface:CertificateSourceThis method returns the certificate source type associated to the implementation class.- Specified by:
getCertificateSourceTypein interfaceCertificateSource- Overrides:
getCertificateSourceTypein classCommonCertificateSource- Returns:
- the certificate origin
-