Class CRLUtils
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.CRLUtils
public class CRLUtils extends Object
-
Field Summary
Fields Modifier and Type Field Description static StringUNABLE_TO_GET_CRL_ENCODED -
Constructor Summary
Constructors Constructor Description CRLUtils() -
Method Summary
Modifier and Type Method Description static Optional<X509CRL>crlB64ToCRL(String crlB64)static byte[]digest(String algorithm, CRL crl)static byte[]digest(X509CRL crl)static byte[]digest(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, X509CRL crl)static byte[]DIGEST(String algorithm, CRL crl)static byte[]DIGEST(X509CRL crl)static byte[]DIGEST(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, CRL crl)static booleanISDIGEST(byte[] expectedDigest, CRL crl)static booleanISDIGEST(String algorithm, byte[] expectedDigest, CRL crl)static booleanISDIGEST(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, byte[] expectedDigest, CRL crl)static booleanisIssuer(Object issuer, CRL crl)static booleanvalidOnPeriod(Time timeReference, CRL crl)static booleanverifyIssuer(PublicKey publicKey, CRL crl)
-
Field Details
-
UNABLE_TO_GET_CRL_ENCODED
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CRLUtils
public CRLUtils()
-
-
Method Details
-
verifyIssuer
-
isIssuer
-
validOnPeriod
-
digest
- Throws:
NoSuchAlgorithmExceptionCRLException
-
digest
public static byte[] digest(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, X509CRL crl) throws NoSuchAlgorithmException, CRLException- Throws:
NoSuchAlgorithmExceptionCRLException
-
digest
public static byte[] digest(String algorithm, CRL crl) throws NoSuchAlgorithmException, CRLException- Throws:
NoSuchAlgorithmExceptionCRLException
-
DIGEST
-
DIGEST
-
DIGEST
-
ISDIGEST
-
ISDIGEST
public static boolean ISDIGEST(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, byte[] expectedDigest, CRL crl) -
ISDIGEST
-
crlB64ToCRL
-