public class TestClientCertificateSelectionCallback extends java.lang.Object implements SSLClientCertificateSelectionCallback
Constructor and Description |
---|
TestClientCertificateSelectionCallback() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
select(java.util.Vector<java.lang.String> nicknames)
this method will be called form the native callback code
when a certificate is requested.
|
public TestClientCertificateSelectionCallback()
public java.lang.String select(java.util.Vector<java.lang.String> nicknames)
select
in interface SSLClientCertificateSelectionCallback
nicknames
- A Vector of Strings. These strings are an
aid to the user to select the correct nickname. This list is
made from the list of all certs which are valid, match the
CA's trusted by the server, and which you have the private
key of. If nicknames.length is 0, you should present an
error to the user saying 'you do not have any unexpired
certificates'.