1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-07-03 08:42:33 +02:00
Commit graph

50 commits

Author SHA1 Message Date
Heiko Schaefer 31e7704f89
Depth: Add fun value() to get the raw value 2023-07-12 17:05:33 +02:00
Heiko Schaefer 7032fe4a97
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-12 17:05:33 +02:00
Heiko Schaefer d413506c89
Network: toString formatting fix 2023-07-12 17:05:33 +02:00
Heiko Schaefer 268afef1d3
Fingerprint: Implement Comparable 2023-07-12 17:05:33 +02:00
Heiko Schaefer dd4845d88d
Path, Paths, RegexSet: Implement toString 2023-07-12 17:05:32 +02:00
Paul Schaub 34f7f7123f
Add Network.Builder class 2023-07-12 17:05:32 +02:00
Paul Schaub 6f4b7f9344
Small comments 2023-07-12 17:05:32 +02:00
Paul Schaub 570bb1a512
Dip the regex set into caramell - hmmm 2023-07-12 17:05:32 +02:00
Paul Schaub 38d9351620
Pour comments onto Path 2023-07-12 17:05:32 +02:00
Paul Schaub 13dc66f8e3
Sugar for the Fingerprint 2023-07-12 17:05:31 +02:00
Paul Schaub 4488f37394
Add sugar to Depth 2023-07-12 17:05:31 +02:00
Paul Schaub 1773bbcd32
Make Depth constructor private 2023-07-12 17:05:31 +02:00
Paul Schaub f27f1133f7
Improve legibility of CertificationSet code 2023-07-12 17:05:31 +02:00
Paul Schaub 41f4e3c453
Throw away older certifications in map constructor of CertificationSet 2023-07-12 17:05:31 +02:00
Paul Schaub a6955eb81a
Fix CertificationSet.add() and add test 2023-07-12 17:05:30 +02:00
Paul Schaub 6f5ca47709
fix comment 2023-07-12 17:05:30 +02:00
Paul Schaub 85b5624499
Only keep most recent signatures for datum in CertificationSet 2023-07-12 17:05:30 +02:00
Paul Schaub bb63c0e3bd
Work on API structure and first baby steps of formatting the Authenticate output 2023-07-12 17:03:57 +02:00
Paul Schaub 586cc1afb6
RevocationState.isEffective(creationTime) is now also true 2023-07-12 17:03:56 +02:00
Paul Schaub b9727a9436
Add equals() and hashCode() methods to Depth 2023-07-12 17:03:55 +02:00
Paul Schaub 2dcc1ae56e
Transform CertificationSet.certifications to backing property to achieve read-onlyness 2023-07-12 17:03:55 +02:00
Paul Schaub 3ddb73c1d6
Simplify ReferenceTime.now() 2023-07-12 17:03:53 +02:00
Paul Schaub 8d68a29836
Indexed for-loop 2023-07-12 17:03:53 +02:00
Heiko Schaefer 008f1b22ef
Fix off by one 2023-07-12 17:03:52 +02:00
Paul Schaub a057d21ca3
Update kDoc of RevocatioNState 2023-07-12 17:03:52 +02:00
Paul Schaub ae92b01cbb
Remove pgpainless-core dependency from wot-dijkstra 2023-07-12 17:03:52 +02:00
Heiko Schaefer f973065f06
Cherry-picked baa9d10fd2b1e8e07253f4f3576cfb5fff875c44 2023-07-12 17:03:50 +02:00
Paul Schaub 44774ac727
Add kDoc to Kotlin classes 2023-07-12 17:03:50 +02:00
Paul Schaub 1c56bf177b
Fix value name regexes in Certification 2023-07-12 17:03:49 +02:00
Paul Schaub f3e3d22841
Port ReferenceTime interface to Kotlin 2023-07-12 17:03:49 +02:00
Paul Schaub 18f2e420be
Add empty construcor to Paths 2023-07-12 17:03:49 +02:00
Paul Schaub 0eefd29446
Use Matcher.find() instead of Matcher.match() 2023-07-12 17:03:49 +02:00
Paul Schaub 2922bc5bd6
Port wot-dijkstra Java classes to Kotlin 2023-07-12 17:03:49 +02:00
Paul Schaub 936718b09d
Rewrite CertSynopsis in Kotlin 2023-07-12 17:03:48 +02:00
Paul Schaub 9f4b11174e
CertSynopsis: Change userId set to map with revocation states 2023-07-12 17:03:48 +02:00
Paul Schaub b98707320d
Add getNumberOfEdges() and getNumberOfSignatures() to get insight into Network objects 2023-07-12 17:03:47 +02:00
Paul Schaub 8d18fc9775
Network.toString(): Print edges, not reverse edges 2023-07-12 17:03:47 +02:00
Paul Schaub ab0835d176
Introduce CertificationFactory.
This is done in an attempt to minimize the number of BC/PGPainless dependencies in wot-dijkstra
2023-07-12 17:03:46 +02:00
Paul Schaub 3a994625e9
Add todos 2023-07-12 17:03:46 +02:00
Paul Schaub d163a2b0a6
It clicked for me; Simplified edge/reverseEdge finding 2023-07-12 17:03:46 +02:00
Paul Schaub 857de5e2e2
Add documentation to Network 2023-07-12 17:03:45 +02:00
Paul Schaub 5d613ab6a6
Remove old Dijkstra implementation 2023-07-12 17:03:45 +02:00
Paul Schaub 1723830565
Remove Kotlin experiments 2023-07-12 17:03:45 +02:00
Paul Schaub 341d6fbecc
Make checkstyle happy 2023-07-12 17:03:45 +02:00
Paul Schaub 4b81ee7307
Refactoring in an attempt to both understand the code and make it more readable 2023-07-12 17:03:45 +02:00
Paul Schaub e1d3180e1e
Add toString() methods to WOT network classes 2023-07-12 17:03:44 +02:00
Paul Schaub 4c04e1ee3f
Move Network initialization, test vectors to pgpainless-wot 2023-07-12 17:03:44 +02:00
Paul Schaub a902e70451
Add example classes to demonstrate usage of Kotlin code from Java and vice versa 2023-07-12 17:03:44 +02:00
Paul Schaub ae3fedfa6b
Please checkstyle 2023-07-12 17:03:43 +02:00
Paul Schaub 90e87ccab4
Checkout wot-dijkstra and pgpainless-wot from wot branch 2023-07-12 17:03:42 +02:00