Commit Graph

135 Commits

Author SHA1 Message Date
Paul Schaub fd426b533c
Restructure test artifacts into sop-java testFixtures 2023-01-27 00:35:38 +01:00
Paul Schaub f1c6fd67d3 Update sop-java/README 2023-01-13 18:53:14 +01:00
Paul Schaub e3b618a0a8 Wip: Add TempDirProvider 2023-01-13 18:53:14 +01:00
Paul Schaub 3eb2503852 Add back missing exception constructor 2023-01-13 18:53:14 +01:00
Paul Schaub a63b29fe80 WiP: Implement first prototypes of all SOP commands for external binaries 2023-01-13 18:53:14 +01:00
Paul Schaub efec4d9110 Wip: working extract-cert, fix generate-key parameter passing 2023-01-13 18:53:14 +01:00
Paul Schaub 3bc19b27ad toString() of enum options: Ensure lowercase 2023-01-13 18:50:36 +01:00
Paul Schaub c00109c2bf Rename InlineSignAs.CleartextSigned to clearsigned, make options lowercase
Fixes #16
2022-11-11 12:48:26 +01:00
Paul Schaub 137d2e7f85
Add Verification.fromString(string), equals(other) and hashCode() 2022-11-07 16:21:34 +01:00
Paul Schaub dad75bb522
Clean up toString() method 2022-11-07 16:21:01 +01:00
Paul Schaub aa953428ee Be less finnicky about session key formats 2022-11-06 20:30:03 +01:00
Paul Schaub c32ef9830b
Properly throw CannotDecrypt exception with error message 2022-11-06 14:41:37 +01:00
Paul Schaub 61ab35ad52
Reference exit codes directly in junit tests 2022-06-11 11:18:45 +02:00
Paul Schaub 0c24c2301d
Add KeyCannotSign(message) constructor 2022-06-10 16:55:53 +02:00
Paul Schaub eefb445916
Reformat and restructure exceptions 2022-06-10 16:16:37 +02:00
Paul Schaub e175ee6208
Fix return types of sign builders 2022-06-09 00:46:40 +02:00
Paul Schaub 2135455cda
Don't throw KeyIsProtected 2022-06-07 08:55:44 +02:00
Paul Schaub 4934e472e2
Wip: Refactor command implementation and enable i18n for CLI 2022-06-06 20:06:14 +02:00
Paul Schaub a7f02d58cc
Wip 2022-05-29 21:17:03 +02:00
Paul Schaub 580c3af350
Add InlineSign API 2022-05-24 21:44:46 +02:00
Paul Schaub e8d7d1b5f4
Move withKeyPassword method in Sign around 2022-05-24 21:36:02 +02:00
Paul Schaub 72c3b3218d
Add API for verification of inline signed messages 2022-05-24 21:34:50 +02:00
Paul Schaub fd9192995f
Rename DetachInbandSignatureAndMessage to InlineDetach 2022-05-24 21:19:37 +02:00
Paul Schaub 0bfc12c1e1
Add withKeypassword() methods to Decrypt 2022-05-24 21:18:47 +02:00
Paul Schaub 0699ae740a
Add withKeyPassword() methods to Sign 2022-05-24 21:18:37 +02:00
Paul Schaub 146a2bd761
Add withKeyPassword() methods to GenerateKey 2022-05-24 21:13:30 +02:00
Paul Schaub be2fd9de49
Add javadoc to SignAs 2022-05-24 21:07:50 +02:00
Paul Schaub 33c8e5edc5
Switch to version agnostic SOP spec URLs 2022-05-07 22:17:41 +02:00
Paul Schaub e154b3e535
Add missing javadoc 2022-04-11 12:35:56 +02:00
Paul Schaub 4177780653
Host javadoc on javadoc.io 2022-02-11 14:27:29 +01:00
Paul Schaub 8877bae675
Implement detection of non-UTF8 passwords 2022-02-09 23:59:45 +01:00
Paul Schaub 117117b735
Treat password and sessionkkey arguments as indirect data types 2022-02-09 15:12:23 +01:00
Paul Schaub a2f2069380
Move and update project badges 2022-01-15 14:55:02 +01:00
Paul Schaub 9950668792
Switch sop-java from 'java' to 'java-library' plugin 2022-01-12 01:26:31 +01:00
Paul Schaub 8e3ee6c284
Initial commit 2022-01-11 13:46:05 +01:00