Commit 788684e
feat: implement PKI KeyStore adapter with enterprise features
* Add PKI-specific keystore adapter layer over capsula-key EnhancedKeyStore
* Implement policy constraints for certificate types, validity periods, and key usage
* Add certificate-key association management and bidirectional mapping
* Support certificate templates with configurable defaults and extensions
* Include enterprise features: statistics, policy validation, batch operations
* Add comprehensive test coverage with 4 core tests passing
* Support multi-algorithm keys (RSA, P-256, Ed25519) with PKI-specific policies
* Integrate seamlessly with existing PKI workflows and certificate management
* Add PolicyViolation error type for constraint enforcement
Resolves keystore functionality gaps identified in TODO.md milestone tracking.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 364ff2f commit 788684e
File tree
3 files changed
+540
-0
lines changed- crates/capsula-pki/src
- keystore
3 files changed
+540
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
0 commit comments