Commit Graph

24 Commits

Author SHA1 Message Date
Ten0 6a7eec9030 Add support for x5t#S256 header (#203) 2022-02-02 22:10:11 +01:00
Vincent Prouillet a11106faff Add types for JWK/JWKS based on biscuit (#195)
* Add types for JWK/JWKS based on biscuit

* Address comments

* Fix issues
2022-02-02 22:10:11 +01:00
Jarred Nicholls fd2c314d3c Add tests for Header::x5c_der(), and modify its return type to be fallible. (#185) 2022-02-02 22:10:11 +01:00
Jarred Nicholls 8bdc5215ea Add an access method to decode the Header x5c field into DER PKIX format. (#184) 2022-02-02 22:10:11 +01:00
Saber Haj Rabiee 45fb43c1f7 removed unnecessary conversions (#180)
* removed unnecessary conversions
2022-02-02 22:10:11 +01:00
Oliver Thallmair de5a1903b0 add x5c header (#182)
* add x5c header

* fix format
2022-02-02 22:10:11 +01:00
Craig Colegrove 693a100128
Derive Hash for Header and Algorithm (#137) 2020-06-16 12:04:22 +02:00
Vincent Prouillet 1f6d0ffb2c Refactor decoding 2019-11-11 20:16:34 +01:00
Vincent Prouillet b27981549f Not working yet jwk decoding 2019-11-09 11:42:40 +00:00
Vincent Prouillet 34ea194179 Move crypto to a dir 2019-11-08 19:00:19 +00:00
Vincent Prouillet 73d96357c3 Simplify header decoding 2019-11-03 16:13:22 +00:00
Vincent Prouillet 417e00780d Use serde with derive feature 2019-11-03 15:46:08 +00:00
Vincent Prouillet b8627260b2 Update to edition 2018 2019-07-06 20:36:32 +02:00
Vincent Prouillet 84ee604e88 trait -> enum 2019-06-16 17:51:43 +02:00
Vincent Prouillet 8f0809318d rustfmt 2018-10-28 19:58:35 +01:00
Vincent Prouillet 3985915da6 Update error-chain and make typ public 2017-09-07 16:46:40 +09:00
Vincent Prouillet 5839cb4552 Don't serialize typ if None 2017-08-26 09:54:20 +09:00
Vincent Prouillet 983380d1ab Make typ an Option in Header 2017-08-25 17:51:44 +09:00
Clement RENAULT eda92188c9 default: Better usage of the default Trait 2017-06-13 10:25:21 +02:00
Vincent Prouillet 35fd9d63cc Add some docs 2017-04-13 10:08:07 +09:00
Vincent Prouillet 67497950c6 RSA working 2017-04-11 12:41:21 +09:00
Vincent Prouillet e3a4294e85 Move to serde + base64
Remove Part trait
Move tests to tests directory
Reorganise code
2017-04-11 12:40:40 +09:00
Vincent Prouillet 2253cdec4f wip crypto 2015-11-01 19:32:43 +00:00
Vincent Prouillet 7585a7f0f9 Initial commit 2015-10-31 15:37:15 +00:00