|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.cert.PKIXCertPathChecker
org.glite.security.trustmanager.CRLCertChecker
public class CRLCertChecker
The CRLCertChecker is used to check a certificate agaisnt Certificate Revocation Lists (CRLs) and thus determine if the certificate is revoked or not.
| Constructor Summary | |
|---|---|
CRLCertChecker(java.util.Vector crls,
boolean crlRequired)
Creates a new instance of CRLCertChecker and sets the CRLs to use. |
|
| Method Summary | |
|---|---|
void |
check(java.security.cert.Certificate certificate,
java.util.Collection collection)
Checks that the certificate is not revoked. |
java.util.Vector |
getCrls()
Returns the verctor of crls. |
java.util.Set |
getSupportedExtensions()
Returns the Set of supported extensions. |
void |
init(boolean param)
This method is used to initialize the checker and to set the direction of checking (forward or reverse). |
boolean |
isForwardCheckingSupported()
This method returns true if forward checking is supported. |
void |
setCrls(java.util.Vector crls)
Sets the vector of crls to use for crl checking. |
| Methods inherited from class java.security.cert.PKIXCertPathChecker |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRLCertChecker(java.util.Vector crls,
boolean crlRequired)
crls - the Vector of CRLs to use for checking.crlRequired - defines if the crls are required or just used if available.| Method Detail |
|---|
public void check(java.security.cert.Certificate certificate,
java.util.Collection collection)
throws java.security.cert.CertPathValidatorException
check in class java.security.cert.PKIXCertPathCheckercertificate - The certificate to check.collection - The collection of unresolved certificate extensions. Not used.
java.security.cert.CertPathValidatorException - Thrown if the certificate is revoked or otherwise malformed or unreadable.public java.util.Set getSupportedExtensions()
getSupportedExtensions in class java.security.cert.PKIXCertPathChecker
public void init(boolean param)
throws java.security.cert.CertPathValidatorException
init in class java.security.cert.PKIXCertPathCheckerparam - the direction, not used.
java.security.cert.CertPathValidatorException - newer thrown.public boolean isForwardCheckingSupported()
isForwardCheckingSupported in class java.security.cert.PKIXCertPathCheckerpublic java.util.Vector getCrls()
public void setCrls(java.util.Vector crls)
crls - The crls to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||