|
||||||||||
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 storec 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) throws java.security.cert.CertificateException, java.io.IOException
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.
java.security.cert.CertificateException
java.io.IOException
Method Detail |
---|
public void checkUpdate() throws java.io.IOException, java.security.cert.CertificateException
RevocationChecker
checkUpdate
in class RevocationChecker
java.io.IOException
- if file or network reading fails.
java.security.cert.CertificateException
- if e.g. CRL parsing fails.public void check(java.security.cert.X509Certificate cert) throws java.io.IOException, java.security.cert.CertificateException, CertificateRevokedException
RevocationChecker
check
in class RevocationChecker
cert
- 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 |