Lines Matching refs:crl

76  * The class is used to manage crl store in LDAP server
77 * This class does get crl and update crl with CRLDistribution
136 X509CRL crl = null;
142 crl = getCRLFromCache(certificate);
149 if (crl == null) {
151 debug.message("AMCRLStore.getCRL: crl is null");
158 crl = getCRLFromEntry(crlEntry);
161 if (storeParam.isDoUpdateCRLs() && needCRLUpdate(crl)) {
169 if (crl != null) {
170 crlIDPExt = getCRLIDPExt(crl);
197 debug.message("AMCRLStore.getCRL: new crl = " + tmpcrl);
205 crl = tmpcrl;
212 updateCRLCache(certificate, crl);
219 return crl;
236 * @param crl
238 public void updateCRLCache(X509Certificate certificate, X509CRL crl) {
241 if (crl == null) {
244 cachedcrls.put(issuer, crl);
260 X509CRL crl = null;
294 debug.message("AMCRLStore.getCRLFromEntry: crl size = " +
298 crl = (X509CRL) cf.generateCRL(new ByteArrayInputStream(bytes));
303 return crl;
327 * It checks whether the crl has IssuingDistributionPointExtension
330 * @param crl
332 private IssuingDistributionPointExtension getCRLIDPExt(X509CRL crl) {
335 if (crl == null) {
340 debug.message("AMCRLStore.getCRLIDPExt: crl = " + crl);
344 crl.getExtensionValue(
427 X509CRL crl = null;
430 crl = (X509CRL) cf.generateCRL(new ByteArrayInputStream(Crls));
436 return crl;
533 byte[] crl = null;
586 crl = crlAttribute.firstValue().toByteArray();
592 return crl;
599 byte[] crl = null;
659 crl = bos.toByteArray();
662 debug.message("AMCRLStore.getCRLByHttpURI: crl.length = " +
663 crl.length);
669 return crl;
674 private boolean needCRLUpdate(X509CRL crl) {
676 if (crl == null) {
680 nextCRLUpdate = crl.getNextUpdate();
719 X509CRL crl = null;
737 return crl;
747 return crl;
763 crl = store.getCRL(cert);
770 return crl;