Changeset 12241 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-05-23T18:31:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java
r11944 r12241 49 49 public static class CertAmend { 50 50 private final String id; 51 private final String filename; 51 52 private final String sha256; 52 53 53 CertAmend(String path, String sha256) { 54 this.id = path; 54 CertAmend(String id, String filename, String sha256) { 55 this.id = id; 56 this.filename = filename; 55 57 this.sha256 = sha256; 56 58 } … … 62 64 public final String getId() { 63 65 return id; 66 } 67 68 /** 69 * Returns the certificate filename. 70 * @return filename for both JOSM embedded certificate and platform certificate 71 * @since 12241 72 */ 73 public final String getFilename() { 74 return filename; 64 75 } 65 76 … … 77 88 */ 78 89 private static final CertAmend[] CERT_AMEND = { 79 new CertAmend("resource://data/security/DST_Root_CA_X3.pem", 90 new CertAmend("resource://data/security/DST_Root_CA_X3.pem", "DST_Root_CA_X3.pem", 80 91 "0687260331a72403d909f105e69bcf0d32e1bd2493ffc6d9206d11bcd6770739") 81 92 }; … … 86 97 */ 87 98 private static final CertAmend[] PLATFORM_CERT_AMEND = { 88 new CertAmend("Staat der Nederlanden Root CA - G2", 99 new CertAmend("Staat der Nederlanden Root CA - G2", "Staat_der_Nederlanden_Root_CA_-_G2.crt", 89 100 "668c83947da63b724bece1743c31a0e6aed0db8ec5b31be377bb784f91b6716f"), 90 new CertAmend("Government of Netherlands G3", 101 new CertAmend("Government of Netherlands G3", "Staat_der_Nederlanden_Root_CA_-_G3.crt", 91 102 "3c4fb0b95ab8b30032f432b86f535fe172c185d0fd39865837cf36187fa6f428") 92 103 };
Note:
See TracChangeset
for help on using the changeset viewer.