Package es.gob.afirma.tsl.utils
Class UtilsCRL
- java.lang.Object
-
- es.gob.afirma.tsl.utils.UtilsCRL
-
public final class UtilsCRL extends java.lang.ObjectUtilities class that provides functionality to manage and work with X.509 CRL.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.3, 19/09/2022.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.cert.X509CRLbuildX509CRLfromByteArray(byte[] crlByteArray)Builds a X.509 CRL from the input byte array.static java.security.cert.X509CRLbuildX509CRLfromByteArray(java.io.InputStream isCRL)Builds a X.509 CRL from the input stream.
-
-
-
Method Detail
-
buildX509CRLfromByteArray
public static java.security.cert.X509CRL buildX509CRLfromByteArray(byte[] crlByteArray) throws CommonUtilsExceptionBuilds a X.509 CRL from the input byte array.- Parameters:
crlByteArray- Byte array that represents a X.509 CRL.- Returns:
- a X.509 CRL builded from the input byte array, or
nullif the input array isnullor empty. - Throws:
CommonUtilsException- In case of some error building the X.509 CRL.
-
buildX509CRLfromByteArray
public static java.security.cert.X509CRL buildX509CRLfromByteArray(java.io.InputStream isCRL) throws CommonUtilsExceptionBuilds a X.509 CRL from the input stream. This method does not close the input stream.- Parameters:
isCRL- Input stream that represents a X.509 CRL.- Returns:
- a X.509 CRL builded from the input stream, or
nullif the input stream isnull. - Throws:
CommonUtilsException- In case of some error building the X.509 CRL.
-
-