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 String
UNABLE_TO_GET_CRL_ENCODED
-
Constructor Summary
Constructors Constructor Description CRLUtils()
-
Method Summary
Modifier and Type Method Description 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 boolean
ISDIGEST(byte[] expectedDigest, CRL crl)
static boolean
ISDIGEST(String algorithm, byte[] expectedDigest, CRL crl)
static boolean
ISDIGEST(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, byte[] expectedDigest, CRL crl)
static boolean
isIssuer(Object issuer, CRL crl)
static boolean
validOnPeriod(Time timeReference, CRL crl)
static boolean
verifyIssuer(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:
NoSuchAlgorithmException
CRLException
-
digest
public static byte[] digest(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, X509CRL crl) throws NoSuchAlgorithmException, CRLException- Throws:
NoSuchAlgorithmException
CRLException
-
digest
public static byte[] digest(String algorithm, CRL crl) throws NoSuchAlgorithmException, CRLException- Throws:
NoSuchAlgorithmException
CRLException
-
DIGEST
-
DIGEST
-
DIGEST
-
ISDIGEST
-
ISDIGEST
public static boolean ISDIGEST(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier, byte[] expectedDigest, CRL crl) -
ISDIGEST
-