diff options
author | Ade Lee <alee@redhat.com> | 2012-01-11 12:57:53 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-01-11 13:49:04 -0500 |
commit | 10cfe7756e967ac91c66d33b392aeab9cf3780fb (patch) | |
tree | d5ac9b58442265d2ce5ef60e31f041ddacba1b4f /pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java | |
parent | edcb24f65cc3700e75d0a1d14dc2483f210b0ee4 (diff) | |
download | pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.gz pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.xz pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.zip |
Formatting (no line wrap in comments or code)
Diffstat (limited to 'pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java')
-rw-r--r-- | pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java b/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java index 078bb5882..ff541b6c6 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java +++ b/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java @@ -1,4 +1,5 @@ package com.netscape.pkisilent.http; + // --- BEGIN COPYRIGHT BLOCK --- // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -21,28 +22,24 @@ import java.util.Vector; import org.mozilla.jss.ssl.SSLClientCertificateSelectionCallback; +public class CertSelection implements SSLClientCertificateSelectionCallback { -public class CertSelection implements SSLClientCertificateSelectionCallback -{ - - // make the select() call to use this client cert - public static String client_cert = null; + // make the select() call to use this client cert + public static String client_cert = null; - public void setClientCert(String nickname) - { - client_cert = nickname; - } + public void setClientCert(String nickname) { + client_cert = nickname; + } - public String select(@SuppressWarnings("rawtypes") Vector nicknames) - { + public String select(@SuppressWarnings("rawtypes") Vector nicknames) { - // when this method is called by SSLSocket we get a vector - // of nicknames to select similar to the way the browser presents - // the list. + // when this method is called by SSLSocket we get a vector + // of nicknames to select similar to the way the browser presents + // the list. - // We will just use the one thats set by setClientCert() + // We will just use the one thats set by setClientCert() - return client_cert; - } + return client_cert; + } }; // end class |