public interface VerifyCertificateCallback extends NetworkSyncCallback<VerifyCertificateCallback.Params,VerifyCertificateCallback.Response>
The callback can be used to verify SSL certificates using the different strategies defined in
the VerifyCertificateCallback.Response
.
Use the VerifyCertificateCallback.Response.valid()
method to notify the engine that the certificate is valid.
Use the VerifyCertificateCallback.Response.invalid(CertVerificationStatus...)
method to notify the engine that
the certificate is invalid.
Use the VerifyCertificateCallback.Response.defaultAction()
method to allow the engine to verify the certificate
by itself.
If the callback throws an exception, the VerifyCertificateCallback.Response.defaultAction()
method will be
invoked.
Modifier and Type | Interface and Description |
---|---|
static interface |
VerifyCertificateCallback.Params
The parameters of the
VerifyCertificateCallback . |
static interface |
VerifyCertificateCallback.Response
A response for
VerifyCertificateCallback . |
on