TestCertApprovalCallback, TestCertificateApprovalCallbackpublic interface SSLCertificateApprovalCallback
| Modifier and Type | Interface | 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 | 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