Modules / Cryptography & HSM

HSM Service

Put every key operation behind one authenticated, tenant-isolated cryptographic service.

What it does

Applications and the CA reach HSM keys through an API rather than direct PKCS#11 access. Clients authenticate with RFC 9421 HTTP message signatures, tenants are isolated, and several service instances can run against different HSMs or slots.

Key capabilities

  • PKCS#11 provider integration with device and slot selection
  • Tenant isolation that fails closed (cross-tenant requests return not found)
  • RFC 9421 HTTP message signature client authentication
  • Multiple standalone instances with automatic diagnostics and readiness states

How it connects

CA / Credential Service → HSM Service → PKCS#11 provider

What you get

One audited gateway to your HSM. Private keys never leave the hardware.

The PQCTrust HSM Service is the only component that talks to your HSM. Applications call its REST API with their own credentials and signed requests; the service checks tenant, permission and approval before every operation.

Non-extractable keys

RSA, ECDSA and ML-DSA keys generated on the token as sensitive and non-extractable; only public keys can be exported.

Signing operations

Content, hash, CMS and PDF signing with RSA PKCS#1 v1.5, RSA-PSS, ECDSA and ML-DSA, with idempotency keys so a retry is never signed twice.

Certificates through PQCTrust CA

CSRs signed inside the HSM, with enrolment, renewal, revocation, hold and release through PQCTrust CA, and certificates attached to their keys.

Strong client authentication

OAuth 2.0 client credentials, RFC 9421 signed requests, IP allow-lists and secret rotation with overlap.

Tenants, roles and dual control

Ten built-in roles, separate tenant key spaces, and a second approver to destroy keys in production and always for root CA keys.

Several HSM devices

Any number of PKCS#11 devices, with token identity bound to each slot, health probes every 30 seconds and new keys placed by device health.

Why it matters

  • Applications never touch the HSM or see key material.
  • Each tenant sees only its own keys, certificates and credentials.
  • Know who did what, with which key, from a hash-chained audit.
  • One key custody service for your CA, signing and own applications.

MODULE NEXT STEP

Discuss HSM Service for your environment.

Tell us which workflows, providers and integrations matter. We will scope the module, its dependencies and the commercial options.