|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--JSPservletPkg.CRLchecker
CRL LDAP checker invoked by JSPloader for a given X509 certificate.
Copyright (c) 2000-2001
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
JSPloader
Field Summary | |
private java.security.cert.X509Certificate[] |
caCerts
X509 CA Certificates |
private java.security.cert.X509CRL |
crl
X509 Certificate Revocation List |
private JSPhandler |
handler
JSPhandler this CRLchecker has been created on behalf of |
private long |
nextCheck
Time of next check when CRL is null or CAURL is set but caCerts is null. |
private static long |
scantime
Defines how often the LDAP server is queried in case of failure. |
Constructor Summary | |
CRLchecker(JSPhandler handler)
Constructor. |
Method Summary | |
long |
check(java.security.cert.Certificate[] certs)
Checks a certificate is not on CRL and get next CRL update time. |
private JSPloaderException |
refresh()
Read the CRL from the LDAP directory. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.security.cert.X509CRL crl
private java.security.cert.X509Certificate[] caCerts
private JSPhandler handler
private long nextCheck
private static final long scantime
Constructor Detail |
public CRLchecker(JSPhandler handler)
handler
- JSPhandlerMethod Detail |
private JSPloaderException refresh()
public long check(java.security.cert.Certificate[] certs) throws JSPloaderException
certs
- Certificate array to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |