public interface CcTrustManagerCallback
| Modifier and Type | Interface and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
String |
chooseClientCertificate(java.security.KeyStore keyStore,
String[] keyType,
java.security.Principal[] issuers)
Choose a valid client certificate
|
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.
|
String chooseClientCertificate(java.security.KeyStore keyStore, String[] keyType, java.security.Principal[] issuers)
keyStore - The keyStore or nullkeyType - the key algorithm type name(s), ordered with the most-preferred key type first.issuers - the list of acceptable CA issuer subject names or null if it does not matter which issuers are used.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 CertificateResponsecert - Java x.509 certificatestatus - List of certificate problemscertEx - Java certificate exceptionCopyright © IBM 2016. All rights reserved.