Commit 364ff2f
feat: implement enhanced KeyStore with Key trait integration
* Add comprehensive EnhancedKeyStore implementation with PKI-specific metadata
* Extend Key trait with as_any() method for safe type downcasting
* Support all key types: Ed25519, P256, RSA with PKCS#8 serialization
* Implement hybrid metadata persistence (cache + attribute storage)
* Add PKI-specific features: usage restrictions, validity periods, certificate associations
* Include comprehensive test coverage for all supported key algorithms
* Bridge gap between raw key storage and high-level PKI operations
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6cee34d commit 364ff2f
File tree
6 files changed
+440
-8
lines changed- crates/capsula-key/src
- key
- store
6 files changed
+440
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
0 commit comments