Lines Matching refs:crl

78  * The class is used to manage crl store in LDAP server
79 * This class does get crl and update crl with CRLDistribution
138 X509CRL crl = null;
144 crl = getCRLFromCache(certificate);
151 if (crl == null) {
153 debug.message("AMCRLStore.getCRL: crl is null");
160 crl = getCRLFromEntry(crlEntry);
163 if (storeParam.isDoUpdateCRLs() && needCRLUpdate(crl)) {
171 if (crl != null) {
172 crlIDPExt = getCRLIDPExt(crl);
199 debug.message("AMCRLStore.getCRL: new crl = " + tmpcrl);
207 crl = tmpcrl;
214 updateCRLCache(certificate, crl);
221 return crl;
238 * @param crl
240 public void updateCRLCache(X509Certificate certificate, X509CRL crl) {
243 if (crl == null) {
246 cachedcrls.put(issuer, crl);
262 X509CRL crl = null;
296 debug.message("AMCRLStore.getCRLFromEntry: crl size = " +
300 crl = (X509CRL) cf.generateCRL(new ByteArrayInputStream(bytes));
305 return crl;
329 * It checks whether the crl has IssuingDistributionPointExtension
332 * @param crl
334 private IssuingDistributionPointExtension getCRLIDPExt(X509CRL crl) {
337 if (crl == null) {
342 debug.message("AMCRLStore.getCRLIDPExt: crl = " + crl);
346 crl.getExtensionValue(
429 X509CRL crl = null;
432 crl = (X509CRL) cf.generateCRL(new ByteArrayInputStream(Crls));
438 return crl;
535 byte[] crl = null;
588 crl = crlAttribute.firstValue().toByteArray();
594 return crl;
601 byte[] crl = null;
661 crl = bos.toByteArray();
664 debug.message("AMCRLStore.getCRLByHttpURI: crl.length = " +
665 crl.length);
671 return crl;
676 private boolean needCRLUpdate(X509CRL crl) {
678 if (crl == null) {
682 nextCRLUpdate = crl.getNextUpdate();
721 X509CRL crl = null;
739 return crl;
749 return crl;
765 crl = store.getCRL(cert);
772 return crl;