|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvalidCertHandler
A handler, which might get attached to a LocalTrustManager
to accept
e.g. SSL connections with provided a certificate path, whoms validation
failed.
Method Summary | |
---|---|
boolean |
accept(X509Certificate[] chain,
CertificateException ex)
Handles the invalid certificate chain and corresponding exception. |
Method Detail |
---|
boolean accept(X509Certificate[] chain, CertificateException ex) throws CertificateException
chain
- certificate chain, which could not be validated.ex
- exception thrown during validation.
true
if the calling trust manager entity should add the
first certificate in the chain (aka client or server certificate) to
its trusted certificate list.
CertificateException
- if the chain should be treated as invalid.
In this case one should re-throw the given exception.
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |