|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CcTrustManagerCallback
This callback is used to handle SSL Certificate problems when initiating a connection to a remote CCRC WAN server over HTTPS. The callback is not invoked if the certificate is stored and trusted on the client already.
Nested Class Summary | |
---|---|
static class |
CcTrustManagerCallback.CertificateResponse
The caller provides a response in reply to the callback to indicate how to handle the certificate problem. |
static class |
CcTrustManagerCallback.CertificateStatus
Provides the caller details about what is wrong with a certificate |
Method Summary | |
---|---|
CcTrustManagerCallback.CertificateResponse |
getCertificateResponse(java.security.cert.X509Certificate cert,
List<CcTrustManagerCallback.CertificateStatus> status,
java.security.cert.CertificateException certEx)
Callback is invoked when there is a problem with the certificate provided by the server. |
Method Detail |
---|
CcTrustManagerCallback.CertificateResponse getCertificateResponse(java.security.cert.X509Certificate cert, List<CcTrustManagerCallback.CertificateStatus> status, java.security.cert.CertificateException certEx)
CertificateException
and the
CertificateStatus
for more details. Respond to the
certificate problem using a CertificateResponse
cert
- Java x.509 certificatestatus
- List of certificate problemscertEx
- Java certificate exception
|
Generated Wed 21-Oct-2015 10:58 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |