Changeset 34155 in osm for applications/editors/josm/plugins/trustosm/src/org/openstreetmap
- Timestamp:
- 2018-04-08T16:01:47+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/io/SigReader.java
r33536 r34155 21 21 import org.bouncycastle.openpgp.PGPObjectFactory; 22 22 import org.bouncycastle.openpgp.PGPSignatureList; 23 import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator; 23 24 import org.openstreetmap.josm.data.osm.Node; 24 25 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 161 162 162 163 ArmoredInputStream aIn = new ArmoredInputStream(new ByteArrayInputStream(clearsigned.getBytes(Charset.forName("UTF-8")))); 163 PGPObjectFactory pgpFact = new PGPObjectFactory(aIn); 164 PGPObjectFactory pgpFact = new PGPObjectFactory(aIn, new BcKeyFingerprintCalculator()); 164 165 // read plain text 165 166 ByteArrayOutputStream bout = new ByteArrayOutputStream();
Note:
See TracChangeset
for help on using the changeset viewer.