Package eu.europa.esig.dss.crl.x509.impl
Class CRLUtilsX509CRLImpl
- java.lang.Object
-
- eu.europa.esig.dss.crl.AbstractCRLUtils
-
- eu.europa.esig.dss.crl.x509.impl.CRLUtilsX509CRLImpl
-
- All Implemented Interfaces:
ICRLUtils
public class CRLUtilsX509CRLImpl extends AbstractCRLUtils implements ICRLUtils
-
-
Constructor Summary
Constructors Constructor Description CRLUtilsX509CRLImpl()
-
Method Summary
Modifier and Type Method Description CRLValiditybuildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken)This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out.X509CRLEntrygetRevocationInfo(CRLValidity crlValidity, BigInteger serialNumber)This method verifies the revocation status for a given serial number-
Methods inherited from class eu.europa.esig.dss.crl.AbstractCRLUtils
extractExpiredCertsOnCRL, extractIssuingDistributionPointBinary
-
-
-
-
Method Detail
-
buildCRLValidity
public CRLValidity buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) throws IOException
This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out. A dedicated object based onCRLValidityis created and accordingly updated.- Specified by:
buildCRLValidityin interfaceICRLUtils- Parameters:
crlBinary-CRLBinaryof the CRL to be created (cannot be null)issuerToken-CertificateTokenused to sign theX509CRL(cannot be null)- Returns:
CRLValidity- Throws:
IOException- if an IO error occurred
-
getRevocationInfo
public X509CRLEntry getRevocationInfo(CRLValidity crlValidity, BigInteger serialNumber)
Description copied from interface:ICRLUtilsThis method verifies the revocation status for a given serial number- Specified by:
getRevocationInfoin interfaceICRLUtils- Parameters:
crlValidity- the CRL ValidityserialNumber- the certificate serial number to search- Returns:
- the X509CRLEntry with the revocation date, the reason, or null if the serial number is not found
-
-