Project: stp

com.ibm.rational.wvcm.stp.cc
Interface CcTrustManagerCallback


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

getCertificateResponse

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. Check the CertificateException and the CertificateStatus for more details. Respond to the certificate problem using a CertificateResponse

Parameters:
cert - Java x.509 certificate
status - List of certificate problems
certEx - Java certificate exception
Returns:
CertificateResponse accept/install/reject

Generated Wed 21-Oct-2015 10:58 PM

Copyright © IBM 2015. All rights reserved.