public interface SSLCertificateApprovalCallback
Modifier and Type | Interface and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
boolean |
approve(X509Certificate cert,
SSLCertificateApprovalCallback.ValidityStatus status)
This method is called when the server sends it's certificate to
the client.
|
boolean approve(X509Certificate cert, SSLCertificateApprovalCallback.ValidityStatus status)
cert
- the peer's server certificatestatus
- the ValidityStatus object containing a list
of all the problems with the cert