|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.cert.PKIXCertPathChecker | +--org.edg.security.trustmanager.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.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. |
Methods inherited from class java.security.cert.PKIXCertPathChecker |
clone |
Methods inherited from class java.lang.Object |
equals, finalize, 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 checkingMethod Detail |
public void check(java.security.cert.Certificate certificate, java.util.Collection collection) throws java.security.cert.CertPathValidatorException
check
in class java.security.cert.PKIXCertPathChecker
certificate
- 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.PKIXCertPathChecker
param
- the direction, not used.
java.security.cert.CertPathValidatorException
- newer thrown.public boolean isForwardCheckingSupported()
isForwardCheckingSupported
in class java.security.cert.PKIXCertPathChecker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |