Class CRLUtilsStreamImpl
java.lang.Object
eu.europa.esig.dss.crl.AbstractCRLUtils
eu.europa.esig.dss.crl.stream.impl.CRLUtilsStreamImpl
- All Implemented Interfaces:
ICRLUtils
The DSS implementation of
ICRLUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildCRLValidity
(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.getRevocationInfo
(CRLValidity crlValidity, BigInteger serialNumber) This method verifies the revocation status for a given serial numberMethods inherited from class eu.europa.esig.dss.crl.AbstractCRLUtils
buildCRLBinary, extractExpiredCertsOnCRL, extractIssuingDistributionPointBinary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.crl.ICRLUtils
buildCRLBinary
-
Constructor Details
-
CRLUtilsStreamImpl
public CRLUtilsStreamImpl()Default constructor
-
-
Method Details
-
buildCRLValidity
public CRLValidity buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) throws IOException Description copied from interface:ICRLUtils
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 onCRLValidity
is created and accordingly updated.- Specified by:
buildCRLValidity
in interfaceICRLUtils
- Parameters:
crlBinary
- (@code CRLBinary) to build theCRLValidity
and verify token (cannot be null)issuerToken
-CertificateToken
used to sign theX509CRL
(cannot be null)- Returns:
CRLValidity
- Throws:
IOException
- if an IO error occurred
-
getRevocationInfo
Description copied from interface:ICRLUtils
This method verifies the revocation status for a given serial number- Specified by:
getRevocationInfo
in 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
-