Changeset 15469 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
- Timestamp:
- 2019-10-22T23:32:51+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
r15193 r15469 10 10 import java.io.InputStreamReader; 11 11 import java.nio.charset.StandardCharsets; 12 import java.security.KeyStore;13 12 import java.security.KeyStoreException; 14 13 import java.security.NoSuchAlgorithmException; … … 162 161 default String getOSBuildNumber() { 163 162 return ""; 164 }165 166 /**167 * Setup system keystore to add JOSM HTTPS certificate (for remote control).168 * @param entryAlias The entry alias to use169 * @param trustedCert the JOSM certificate for localhost170 * @return {@code true} if something has changed as a result of the call (certificate installation, etc.)171 * @throws KeyStoreException in case of error172 * @throws IOException in case of error173 * @throws CertificateException in case of error174 * @throws NoSuchAlgorithmException in case of error175 * @since 7343176 */177 default boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)178 throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {179 // TODO setup HTTPS certificate on Unix and OS X systems180 return false;181 163 } 182 164
Note:
See TracChangeset
for help on using the changeset viewer.