Who holds the secret: cryptographic keys, hardware security modules and certificates
How a payment firm protects the keys that sign and encrypt payments, why the keys live in hardware, and how certificates and their authorities are trusted and withdrawn.
L1–L4 are part of the Pro pass
L0 Explain simply
Larkpay is a payment company. Every it sends to Bank Alfa carries a . (SYNTHETIC / TRAINING ONLY. Larkpay, Bank Alfa and Maya Chen are invented.)
The signature works like a wax seal. Bank Alfa checks the seal to know that Larkpay sent the file and that nobody changed it on the way.
The seal depends on a secret called a key. Whoever holds the key can seal files that look like Larkpay's. So the key must never leak.
Larkpay keeps its key inside a special locked box made of hardware. The box can use the key to sign, but it will not hand the key to anyone. Even the staff cannot read it out.
To set up the key, two people each hold half of a secret. Neither half is any use alone. They must come together, so no single person can copy the key.
Keys also have a lifespan. After a set time Larkpay replaces them. And the seal's owner is vouched for by a certificate, which is like an identity card from a trusted office. If the card is stolen, the office can cancel it.
PLAIN WORDS · 2 in this section
- lifespan
- how long something lasts
- vouched
- confirmed as true by someone trusted
PICTURE IT
A bank vault with a stamp that cannot be removed
Picture a company that stamps its letters with a unique wax seal. The seal stamp lives in a vault. A clerk puts a letter in a slot and a stamped letter comes out. The stamp itself never leaves the vault, and the vault locks and alarms if someone tries to break in.
The vault was set up by two officers. Each holds half of the combination, so neither can open it alone. The stamp is melted down and replaced every year or so.
A registry office keeps a book that says which seal belongs to which company. If a stamp is stolen, the registry strikes the entry out and tells everyone who checks.
THE REAL JOB Keys in hardware, shared custody, a limited life and certificates that can be withdrawn keep a signature trustworthy.
- Key made in the device
- Custodians load it
- It signs payments
- It is replaced on schedule
- A stolen one is revoked
HOW THE PICTURE MAPS
| In the picture | In the payment |
|---|---|
| The seal stamp | A private signing key |
| The vault with the slot | A hardware security module |
| Two officers holding half the combination each | Dual control and split knowledge |
| Replacing the stamp each year | The cryptoperiod |
| The registry book of seals | A certificate authority |
| Striking out a stolen seal | Certificate revocationWho: Larkpay |
WHERE THIS PICTURE STOPS
- A wax seal can be forged by copying its look. A digital signature cannot be forged without the key.
- A vault is one place. Many firms hold keys in several devices, and each needs the same care.
- A registry office is one office. Real certificate authorities form chains and are many.
- The picture shows custody. It leaves out the mathematics of signing.
HOOK
Vault the key, split the keeper, strike the stolen.
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Make, split, rotate, revoke.
| In the trick | What it stands for |
|---|---|
| make | generate the key inside the hardware device |
| split | custodians each hold a piece |
| rotate | replace the key at the end of its cryptoperiod |
| revoke | cancel a certificate if the key leaks |
The four words leave out who can call the device, which is the real access control.
TELL A FRIEND
A key that signs payments is kept inside a tamper-resistant device and set up by people who each hold a piece. Keys are replaced on schedule, and certificates can be withdrawn if a key leaks.
OFTEN MIXED UP WITH Proving an API call is genuine: mutual Transport Layer Security (TLS), tokens and signed messages. The API message security topic shows how a call is proved genuine. This topic is about the keys and certificates that proof depends on.
CURRENT AS CHECKED
2 FIGURES
NIST Cryptographic Module Validation Program: transition from FIPS 140-2 to FIPS 140-3 validations
NIST’s CMVP transition table states that FIPS 140-2 validated modules were acceptable for new US/Canadian federal systems through 21 September2026 and moved to the Historical list on 22 September2026. Previously validated modules can continue in existing systems under applicable policy. This is not a universal ban on every bank’s installed module. Check the exact module/version, approved mode, security policy and actual procurement/scheme requirements.
CHECKED 2026-11-06RECHECK BY 2027-03-31
Sources & standards — 1 source
- Regulatory guidance
Cryptographic Module Validation Program — FIPS 140-2 transition ↗ — US National Institute of Standards and Technology · Primary current CMVP transition table opened6 November2026;21September last day for new systems,22September Historical transition; existing-system scope.
Primary current transition table opened6 November2026: acceptable for new systems through 21 September2026, Historical22 September2026; existing validated systems continue under applicable policy.
NIST SP 800-57 Part 1: edition in force and next revision
NIST SP 800-57 Part 1 Revision 5 is the final edition at the access date. An initial public draft of Revision 6 was seen in search results, dated around December 2025, and may change the text.
Check the NIST publications page for the current edition.
CHECKED 2026-10-11RECHECK BY 2027-03-31
Sources & standards — 1 source
- Scheme-specific rule
Recommendation for Key Management: Part 1 General, Revision 5 ↗ — National Institute of Standards and Technology · NIST SP 800-57 Part 1 Revision 5, Recommendation for Key Management: keys have a life cycle from generation and storage through use to destruction; the cryptoperiod is the window a key is authorised for use, limiting data exposed to analysis and the damage if one key is compromised; archived keys are kept as long as the data they protect; a private signature key is destroyed when its cryptoperiod expires; a Revision 6 initial public draft exists (search excerpts, page not opened)
A Revision 6 initial public draft exists and may change the text. Seen as WebSearch excerpts on the access date; the page was not opened.
PRACTISE AND KEEP
Sources for this topic — 8 sources
- Scheme-specific rule
Recommendation for Key Management: Part 1 General, Revision 5 ↗ — National Institute of Standards and Technology · NIST SP 800-57 Part 1 Revision 5, Recommendation for Key Management: keys have a life cycle from generation and storage through use to destruction; the cryptoperiod is the window a key is authorised for use, limiting data exposed to analysis and the damage if one key is compromised; archived keys are kept as long as the data they protect; a private signature key is destroyed when its cryptoperiod expires; a Revision 6 initial public draft exists (search excerpts, page not opened)
A Revision 6 initial public draft exists and may change the text. Seen as WebSearch excerpts on the access date; the page was not opened.
- Scheme-specific rule
FIPS 140-3, Security Requirements for Cryptographic Modules ↗ — National Institute of Standards and Technology · FIPS 140-3, Security Requirements for Cryptographic Modules: four qualitative security levels; Level 3 adds tamper response and zeroization; modules are validated through the Cryptographic Module Validation Program and algorithms separately; the programme pages say FIPS 140-2 validations stay acceptable through 21 September 2026 (a NIST transition page gives 22 September 2026 for the move to the historical list) (search excerpts, page not opened)
Level details beyond the excerpts are not taught. Seen as WebSearch excerpts on the access date; the page was not opened.
- Scheme-specific rule
PCI PTS HSM Security Requirements ↗ — PCI Security Standards Council · PCI Security Standards Council HSM and PIN security documents: secret or private keys are loaded into HSMs under dual control and split knowledge; only assigned custodians see clear-text key components, and no one person may hold enough components to form a key; an HSM must be FIPS 140-2 Level 3 or higher or PCI approved per an older FAQ (search excerpts of mixed versions, page not opened)
Excerpts mixed several versions of PCI documents. Seen as WebSearch excerpts on the access date; the page was not opened.
- Scheme-specific rule
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile ↗ — Internet Engineering Task Force · RFC 5280, Internet X.509 PKI Certificate and CRL Profile: roles of end entities, certification authorities, registration authorities, CRL issuers and repositories; a relying party checks that a certificate chains to a trusted root and is not revoked (search excerpts, page not opened)
The validation algorithm itself was not seen. Seen as WebSearch excerpts on the access date; the page was not opened.
- Scheme-specific rule
RFC 6960: X.509 Internet Public Key Infrastructure Online Certificate Status Protocol (OCSP) ↗ — Internet Engineering Task Force · RFC 6960, Online Certificate Status Protocol: gives the status of an individual certificate and can be more timely than a certificate revocation list (search excerpts, page not opened)
Only a snippet was seen. Seen as WebSearch excerpts on the access date; the page was not opened.
- Scheme-specific rule
Swift hardware security module ↗ — Swift · Swift hardware security module page: the HSM protects SwiftNet PKI credentials; private keys are generated and stored encrypted inside it; model counts differ between pages (search excerpts, page not opened)
Model counts differ between pages and are not stated. Seen as WebSearch excerpts on the access date; the page was not opened.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Larkpay, Bank Alfa and Maya Chen are invented. The vault and registry picture is an illustration. The six questions at level 4 are this site's reasoning. Every source was read as a search excerpt and no page was opened. PCI details come from mixed versions.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Scheme-specific rule
Request for Comments (RFC) 5652: Cryptographic Message Syntax (CMS) ↗ — Internet Engineering Task Force · RFC 5652: a content-encryption key is encrypted for each recipient (search excerpt, page not opened)
Seen as WebSearch excerpts on the access date; the page was not opened. The exact key transport syntax was not seen.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.