|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glite.security.util.RevocationChecker
org.glite.security.util.FileCRLChecker
public class FileCRLChecker
The RevocationChecker implementation for checking the certificate revocation against file system stored CRLs with .r0 file ending and CA hash value as file prefix.
| Constructor Summary | |
|---|---|
FileCRLChecker(java.security.cert.X509Certificate caCert,
java.lang.String caBaseFilename,
int caNumber,
CaseInsensitiveProperties props)
Generates a new instance of the checker. |
|
| Method Summary | |
|---|---|
void |
check(java.security.cert.X509Certificate cert)
Checks the certificate for revocation. |
void |
checkUpdate()
If the implementation is file based for example, this will check whether the file has changed and if yes, reloads it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileCRLChecker(java.security.cert.X509Certificate caCert,
java.lang.String caBaseFilename,
int caNumber,
CaseInsensitiveProperties props)
caCert - caBaseFilename - the base CA filename that is used to load the crl.caNumber - the number of ca with the same DN.props - the properties to use in case they need to be used for flags etc.| Method Detail |
|---|
public void checkUpdate()
RevocationChecker
checkUpdate in class RevocationChecker
public void check(java.security.cert.X509Certificate cert)
throws java.io.IOException,
java.security.cert.CertificateException,
CertificateRevokedException
RevocationChecker
check in class RevocationCheckercert - The certificate to check.
java.io.IOException - in case the CRL reading or info loading fails.
java.security.cert.CertificateException - in case CRL is malformed, certificate is malformed or revocation check fails.
CertificateRevokedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||