Commit graph

21 commits

Author SHA1 Message Date
silverpill
c87c5da17c Rename SignatureType to ProofType 2023-03-13 21:29:48 +00:00
silverpill
7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill
344025ae2f Move ChainId to Currency conversion code to utils::caip2 module 2023-02-08 00:25:54 +00:00
silverpill
94d99e81c4 Support MitraJcsRsaSignature2022 and MitraJcsEip191Signature2022 signature suites 2023-01-07 23:06:23 +00:00
silverpill
533cd81aa6 Switch to rust edition 2021 2022-12-15 19:54:51 +00:00
silverpill
3b092631ca Add signature type to the output of get_json_signature function 2022-11-23 14:56:29 +00:00
silverpill
3f3518001d Implement Display trait for ChainId and DidPkh 2022-11-22 22:41:23 +00:00
silverpill
4a5bcba127 Change signature format in minisign integrity proofs 2022-11-19 15:52:20 +00:00
silverpill
bd4a9a0de9 Move multibase encoder and decoder to utils::multibase 2022-11-18 23:05:27 +00:00
silverpill
8ad88f84b2 Support integrity proofs created with minisign 2022-11-11 00:53:23 +00:00
silverpill
64546ecabe Refactor signature verifiers 2022-11-11 00:53:23 +00:00
silverpill
db00ad1623 Move signature suites to identity::signatures module 2022-11-11 00:53:23 +00:00
silverpill
38bb3e38e9 Expose all identity proofs when building Account object 2022-11-11 00:53:23 +00:00
silverpill
cd93858488 Use canonicalized JSON for identity claims 2022-11-11 00:53:23 +00:00
silverpill
14a123ad7e Implement minisign identity proofs 2022-11-11 00:53:19 +00:00
silverpill
9d86d58274 Add methods for conversions between did:key and Ed25519 key 2022-11-10 17:35:47 +00:00
silverpill
efb51c1be6 Decode multibase value when parsing did:key 2022-11-10 13:06:54 +00:00
silverpill
1bfb951df8 Move create_identity_claim to identity::claims module
Make it work with any DID type
2022-11-10 09:46:06 +00:00
silverpill
a5c9da78ef Add DidKey type 2022-11-09 18:53:52 +00:00
silverpill
dae6e9437b Use general Did type intsead of DidPkh in identity proofs 2022-11-09 18:15:50 +00:00
silverpill
4e53a5c4e4 Move DidPkh type to identity module 2022-11-08 22:45:59 +00:00