Commit Graph

330 Commits (0156907773cbecce5842822356e34ac04b67a14c)

Author SHA1 Message Date
Richard Körber a775cf868f Move Let's Encrypt provider to main module.
There is no good reason to place providers in separate modules.
2015-12-16 00:45:32 +01:00
Richard Körber c45c29226e Simplified challenge creation 2015-12-16 00:45:14 +01:00
Richard Körber 1b3248f3cf Make example runnable via maven 2015-12-16 00:44:55 +01:00
Richard Körber 5c68fcae40 Fix javadoc errors 2015-12-16 00:44:31 +01:00
Richard Körber 0f4d5e114d Refactor, use new HttpConnector for connecting to server 2015-12-13 19:37:27 +01:00
Richard Körber b12ee4a28a Add unit tests for AcmeClientProviders 2015-12-13 19:36:24 +01:00
Richard Körber 62ed304f3a Refactor, make AbstractAcmeClientProvider easier to use (and test) 2015-12-13 19:35:21 +01:00
Richard Körber f88bdf7e5f Use java.net.HttpURLConnection as category class for tests that require a network connection. 2015-12-13 19:35:07 +01:00
Richard Körber 7097f23a2d Add unit tests for acme4j-client 2015-12-13 19:34:58 +01:00
Richard Körber 1267684614 Fail if no keypair is set 2015-12-13 19:25:57 +01:00
Richard Körber 535543e7b1 Check content-type header 2015-12-13 19:25:35 +01:00
Richard Körber 618dc27fbf Validate nonce header 2015-12-13 19:25:28 +01:00
Richard Körber fbadeb62bf Rename readResourceMap to readDirectory 2015-12-13 19:25:18 +01:00
Richard Körber fb3f56921d Avoid parameter variable name clashes 2015-12-13 19:24:28 +01:00
Richard Körber 26b86b8f72 Fail if auth key is read without prior authorization 2015-12-13 19:22:18 +01:00
Richard Körber 2d5261f592 Use String for expiry date, as Date would require joda-time 2015-12-13 19:21:35 +01:00
Richard Körber 04fe570811 Return null if no URI is set 2015-12-13 19:21:01 +01:00
Richard Körber 181042c42b Use staging server for example 2015-12-13 19:20:49 +01:00
Richard Körber b7af1060cd Add unit tests for AcmeClientFactory 2015-12-13 19:20:30 +01:00
Richard Körber 0410257042 Throw an AcmeException if the acme URI cannot be resolved 2015-12-13 19:20:14 +01:00
Richard Körber 298dfbc161 Add unit tests for Authorization 2015-12-13 19:19:08 +01:00
Richard Körber 3ee7a06e6f Extend findCombination behavior.
The mandant passes in all challenge types it supports, and the method returns the shortest combination required for validation.
2015-12-13 19:18:39 +01:00
Richard Körber 5459676431 Add unit tests for ClaimBuilder 2015-12-13 19:17:26 +01:00
Richard Körber 59092daaba Add more unit tests 2015-12-11 18:36:22 +01:00
Richard Körber a59f31603d Add some protected methods for unit testing. Fix bug in URI resolving. 2015-12-11 18:36:01 +01:00
Richard Körber bc8c1e822d Add unit tests for letsencrypt module 2015-12-10 23:46:15 +01:00
Richard Körber 1e9855bf05 Use URI instead of plain string parsing 2015-12-10 23:45:12 +01:00
Richard Körber 1d56065495 Add unit tests for utils module 2015-12-10 23:44:44 +01:00
Richard Körber 7e07a0e2e4 Project start 2015-12-09 01:24:03 +01:00
Richard Körber df44e2b80a Initial commit 2015-12-04 21:28:12 +01:00