Commit Graph

21 Commits

Author SHA1 Message Date
Richard Körber
16b02efe23 Merge acme4j-utils into acme4j-client
The separation of acme4j-client and acme4j-utils was a design decision
that should avoid BouncyCastle to be a hard dependency of acme4j-client.
Anyhow acme4j is not really usable without BouncyCastle, so acme4j-utils
is used in almost all projects anyway.

This merge allows to extend the client API with some nice methods that
will make it easier to use.
2023-05-19 09:58:08 +02:00
Richard Körber
c26d6b1f8a Optimize AssertJ exception checks 2023-05-07 09:25:04 +02:00
Richard Körber
09a72d606b Review and extend JavaDocs 2023-04-29 15:11:00 +02:00
Richard Körber
aeb68c0cb4 Remove deprecated methods 2023-04-23 13:13:27 +02:00
Richard Körber
0d55898379 Port codebase to Java 11 2023-04-23 13:13:27 +02:00
Richard Körber
65613afbd3 Temporarily disable blocking unit tests 2023-04-21 11:48:22 +02:00
Richard Körber
db8eb4d012 Code cleanup
- Remove unused code
- Fix deprecated warnings
2023-02-11 16:45:13 +01:00
Richard Körber
aae98d7ce8 Add unit tests
- Unit tests for RFC-7508 type signatures
- Unit tests for evaluation of trusted headers
2023-02-11 16:42:48 +01:00
Richard Körber
9bddc07ed3 Add EmailProcessor.Builder for configuring verification 2023-01-28 16:10:02 +01:00
Richard Körber
0dff988b26 Add generateResponse without mail Session 2023-01-28 16:09:05 +01:00
Richard Körber
6f0a5c8707 Enhance validation of S/MIME challenge messages [WIP]
- Fully support S/MIME header protection
- Validation of signature using cacerts, certificates or other
  trust stores
- Improved checks of protected headers

Still missing:

- Unit tests
- EmailProcessor supporting all new features
2023-01-28 13:28:28 +01:00
Richard Körber
ef5ca28fd9 Minor optimizations 2022-11-25 13:14:33 +01:00
Richard Körber
636ccc37e0 Add support for S/MIME signature validation 2022-11-18 15:56:06 +01:00
Richard Körber
8d9ab54782 Add methods to set attributes to SMIMECSRBuilder 2022-06-29 19:17:22 +02:00
Richard Körber
a25b8c1b8d Use Assertj instead of Hamcrest 2022-05-14 12:39:27 +02:00
Richard Körber
f3c7e8a46c Upgrade all tests to JUnit 5 2022-05-14 12:24:21 +02:00
Richard Körber
00ee9e4dd5 Use assertThrows instead of try/fail constructs 2022-05-07 11:25:59 +02:00
Richard Körber
9115dc743f Fix NPE if Auto-Submitted header is missing 2022-01-22 15:16:37 +01:00
Richard Körber
30a9b53746 Make spotbugs annotations static required 2022-01-22 14:45:58 +01:00
Richard Körber
51233b9612 Move from JavaMail to Jakarta Mail 2022-01-22 14:40:16 +01:00
Richard Körber
9630737757 Add experimental support for RFC 8823 (S/MIME certs) 2021-07-03 10:06:35 +02:00