Package eu.europa.esig.dss.crl
Class AbstractCRLUtils
java.lang.Object
eu.europa.esig.dss.crl.AbstractCRLUtils
- Direct Known Subclasses:
CRLUtilsStreamImpl
,CRLUtilsX509CRLImpl
public abstract class AbstractCRLUtils extends Object
The abstract class containing common code for CRL parsing
-
Constructor Summary
Constructors Constructor Description AbstractCRLUtils()
-
Method Summary
Modifier and Type Method Description CRLBinary
buildCRLBinary(byte[] binaries)
Builds theCRLBinary
objectprotected void
extractExpiredCertsOnCRL(CRLValidity validity, byte[] expiredCertsOnCRLBinaries)
Parses and sets the 'expiredCertsOnCRL' valueprotected void
extractIssuingDistributionPointBinary(CRLValidity validity, byte[] issuingDistributionPointBinary)
Parses and sets the issuing distribution point binaries
-
Constructor Details
-
AbstractCRLUtils
public AbstractCRLUtils()
-
-
Method Details
-
buildCRLBinary
Builds theCRLBinary
object- Parameters:
binaries
- byte array representing the CRL (DER or PEM encoded)- Returns:
CRLBinary
-
extractExpiredCertsOnCRL
Parses and sets the 'expiredCertsOnCRL' value- Parameters:
validity
-CRLValidity
to set the value toexpiredCertsOnCRLBinaries
- the 'expiredCertsOnCRL' value
-
extractIssuingDistributionPointBinary
protected void extractIssuingDistributionPointBinary(CRLValidity validity, byte[] issuingDistributionPointBinary)Parses and sets the issuing distribution point binaries- Parameters:
validity
-CRLValidity
to set the value toissuingDistributionPointBinary
- the the issuing distribution point binaries
-