Commit Graph

2197 Commits

Author SHA1 Message Date
Paul Schaub 05cef99f40
Rename key generation typealiases 2024-03-08 11:38:53 +01:00
Paul Schaub 42516d53b8
Do not call static method of super class 2024-03-08 11:27:25 +01:00
Paul Schaub 1a80a2f31a
Separate out V4 OpenPgpKeyGenerator implementation 2024-03-08 11:18:24 +01:00
Paul Schaub b77d82e6b8
Add tests for CharSequence extension functions 2024-03-08 09:28:14 +01:00
Paul Schaub b049930824
Add documentation 2024-03-08 09:28:14 +01:00
Paul Schaub f1aa910431
Per-key protection and default binding signatures 2024-03-08 09:28:14 +01:00
Paul Schaub b4240ac9f7
Improve Key Generation API 2024-03-08 09:28:14 +01:00
Paul Schaub 20002efbf6
Add test for key using SHA-1 self sigs 2024-03-08 09:28:14 +01:00
Paul Schaub 1aeab82c2d
Test primary-ness of user-attributes 2024-03-08 09:28:14 +01:00
Paul Schaub 214a36ab34
Fix comments and add test 2024-03-08 09:28:13 +01:00
Paul Schaub 838ff9c499
Generate test key with key expiration time 2024-03-08 09:28:13 +01:00
Paul Schaub 31eda327c6
SignatureSubpackets: Add set*Expiration() methods taking Duration arguments 2024-03-08 09:28:13 +01:00
Paul Schaub b27a8b71ec
Improve tests with extension functions 2024-03-08 09:28:13 +01:00
Paul Schaub e7784b10a4
Fix package name of extension functions 2024-03-08 09:28:13 +01:00
Paul Schaub 6cfeba064e
Sanitize key flags 2024-03-08 09:28:12 +01:00
Paul Schaub 61c6c2116a
AbstractSignatureBuilder: Catch incapable keys early 2024-03-08 09:28:12 +01:00
Paul Schaub 3f518eb1e0
Suppress unchecked cast warning 2024-03-08 09:28:12 +01:00
Paul Schaub dd0c3f10c5
Rename builder class for more logic IDE completions 2024-03-08 09:28:12 +01:00
Paul Schaub 94dfd6633e
Rework return types and improve method visibility 2024-03-08 09:28:12 +01:00
Paul Schaub 9215987f24
Improve visibility by hiding methods 2024-03-08 09:28:12 +01:00
Paul Schaub 3fee627be9
Remove unused test image 2024-03-08 09:28:11 +01:00
Paul Schaub 694a10992c
Add JPEG image attribute adding 2024-03-08 09:28:11 +01:00
Paul Schaub 4afc30c462
More tests 2024-03-08 09:28:11 +01:00
Paul Schaub 95bd9532bd
Increase readability 2024-03-08 09:28:11 +01:00
Paul Schaub 13f9702b9b
Fix method hierarchy of addBindingSignature() 2024-03-08 09:28:11 +01:00
Paul Schaub 7f07503064
Add test for back-sig generation 2024-03-08 09:28:11 +01:00
Paul Schaub 79c8eff940
Fix method name 2024-03-08 09:28:10 +01:00
Paul Schaub f21f257c2c
Parameter sanitization and tests 2024-03-08 09:28:10 +01:00
Paul Schaub 902d5f2973
Small documentation additions 2024-03-08 09:28:10 +01:00
Paul Schaub d6aa003008
Rename buildV4 method 2024-03-08 09:28:10 +01:00
Paul Schaub 9b5754879a
Add more documentation 2024-03-08 09:28:10 +01:00
Paul Schaub f6629e95dc
Delete intermediate experiments 2024-03-08 09:28:10 +01:00
Paul Schaub 0c8febd17d
Fix typo 2024-03-08 09:28:09 +01:00
Paul Schaub 7c00356794
Replace all KeyRingTemplates builders with new API 2024-03-08 09:28:09 +01:00
Paul Schaub 4063fcb6ad
Add documentation 2024-03-08 09:28:09 +01:00
Paul Schaub f7d389c8d3
Restructure hierarchy of OpenPgpKeyGenerator classes 2024-03-08 09:28:09 +01:00
Paul Schaub 900860c1fa
Flatten class hierarchy 2024-03-08 09:28:09 +01:00
Paul Schaub db01d566fd
Test new key generation API 2024-03-08 09:28:08 +01:00
Paul Schaub 177249dd53
Add PGPKeyPair.plusCertification() methods 2024-03-08 09:28:08 +01:00
Paul Schaub 787d2987f0
Add PGPKeyPairExtensions containing key format conversion methods 2024-03-08 09:28:08 +01:00
Paul Schaub b5f8864861
SignatureBuilders: Add constructors taking PGPKeyPairs 2024-03-08 09:28:08 +01:00
Paul Schaub 62a20b2742
please checkstyle 2024-03-08 09:28:08 +01:00
Paul Schaub 4e02996c08
Small improvements 2024-03-08 09:28:08 +01:00
Paul Schaub 7ff63142b4
Instanciate Policy instead of reusing singleton 2024-03-08 09:28:07 +01:00
Paul Schaub 4a0eef0924
Documentation and primary userIDs 2024-03-08 09:28:07 +01:00
Paul Schaub d7ce9764c3
Progress 2024-03-08 09:28:07 +01:00
Paul Schaub a368a44f11
WIP: flexible, generic API 2024-03-08 09:28:07 +01:00
Paul Schaub 6703a514c8
Playing around with mixed opinionated/unopinionated API 2024-03-08 09:28:07 +01:00
Paul Schaub 251f30fae8
Rename function 2024-03-08 09:28:06 +01:00
Paul Schaub 9785582bd2
Improve readability of primaryUserId adjustment 2024-03-08 09:28:06 +01:00