Skip to content

feat(model): add KeyHierarchy and KeySpec validation#88

Open
jithinkunjachan wants to merge 11 commits intomainfrom
feat/add-key-validation
Open

feat(model): add KeyHierarchy and KeySpec validation#88
jithinkunjachan wants to merge 11 commits intomainfrom
feat/add-key-validation

Conversation

@jithinkunjachan
Copy link
Copy Markdown
Contributor

Introduce KeyHierarchy and KeySpec structs to model cryptographic key hierarchies and their properties.

Introduce KeyHierarchy and KeySpec structs to model cryptographic key
hierarchies and their properties. Add validation logic to enforce
constraints such as non-empty names, unique key kinds, valid roles,
algorithms, and usage lists. Include comprehensive unit tests to verify
error handling and correct validation behavior.
@jithinkunjachan jithinkunjachan self-assigned this Mar 24, 2026
@jithinkunjachan jithinkunjachan requested a review from apatsap March 24, 2026 08:35
@jithinkunjachan jithinkunjachan marked this pull request as ready for review March 24, 2026 08:35
@jithinkunjachan jithinkunjachan marked this pull request as draft March 24, 2026 08:58
* add type for keyusage, keyalgorithm and keyrole
* add bitwise operations for usage
@jithinkunjachan jithinkunjachan marked this pull request as ready for review March 24, 2026 10:39
@jithinkunjachan jithinkunjachan marked this pull request as draft March 24, 2026 14:55
@jithinkunjachan jithinkunjachan marked this pull request as ready for review March 25, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants