Ignore:
Timestamp:
2017-04-17T14:07:04+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #14649 - load Dutch Government (G2 & G3) certificates from Windows keystore if not found in Java keystore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r11642 r11943  
    99import java.security.NoSuchAlgorithmException;
    1010import java.security.cert.CertificateException;
     11import java.security.cert.X509Certificate;
    1112import java.util.List;
     13
     14import org.openstreetmap.josm.io.CertificateAmendment.CertAmend;
    1215
    1316/**
     
    154157
    155158    /**
     159     * Returns the {@code X509Certificate} matching the given certificate amendment information.
     160     * @param certAmend certificate amendment
     161     * @return the {@code X509Certificate} matching the given certificate amendment information, or {@code null}
     162     * @throws KeyStoreException in case of error
     163     * @throws IOException in case of error
     164     * @throws CertificateException in case of error
     165     * @throws NoSuchAlgorithmException in case of error
     166     * @since 11940
     167     */
     168    default X509Certificate getX509Certificate(CertAmend certAmend)
     169            throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
     170        return null;
     171    }
     172
     173    /**
    156174     * Returns the platform-dependent default cache directory.
    157175     * @return the platform-dependent default cache directory
Note: See TracChangeset for help on using the changeset viewer.