cosmian_kms_base_hsm

Crates.iocosmian_kms_base_hsm
lib.rscosmian_kms_base_hsm
version5.9.0
created_at2025-05-09 06:13:33.562042+00
updated_at2025-09-15 16:11:50.494637+00
descriptionBase PKCS#11 HSM integration implementation
homepage
repositoryhttps://github.com/Cosmian/kms
max_upload_size
id1666272
size159,287
(Manuthor)

documentation

README

Base HSM Implementation

This crate contains the implementation of a PKCS#11 client for a Hardware Security Modules (HSMs).

It provides a set of traits that define the operations that an HSM must support, as well as a set of data structures that represent the keys and metadata that an HSM can manage.

Implemented Operations

  • Key Generation: Create symmetric (AES) and asymmetric (RSA) keys
  • Key Pair Generation: Create public/private key pairs
  • Key Export: Export HSM objects
  • Key Deletion: Remove keys from the HSM
  • Key Search: Find keys based on object type filters
  • Encryption/Decryption: Perform cryptographic operations
  • Key Information: Retrieve key types and metadata

Supported Algorithms

  • AES: 128-bit and 256-bit keys
  • RSA: 1024-bit, 2048-bit, 3072-bit, and 4096-bit keys
Commit count: 1212

cargo fmt