org.mozilla.jss.ssl
public interface SSLCertificateApprovalCallback
| Nested Class Summary | |
|---|---|
| static class | SSLCertificateApprovalCallback.ValidityItem |
| static class | SSLCertificateApprovalCallback.ValidityStatus
This class holds details about the errors for each cert in
the chain that the server presented
To use this class, getReasons(), then iterate over the enumeration |
| Method Summary | |
|---|---|
| boolean | approve(X509Certificate cert, SSLCertificateApprovalCallback.ValidityStatus status)
This method is called when the server sends it's certificate to
the client.
|
Parameters: cert the peer's server certificate status the ValidityStatus object containing a list of all the problems with the cert
Returns: true allow the connection to continue
false terminate the connection (Expect an IOException
on the outstanding read()/write() on the socket)