When a resident presents a mobile driver's license at an airport or a benefits office, something happens in the background that makes that moment possible: a cryptographic proof, verified instantly. That proof is built on public key infrastructure (PKI) the trust layer underneath every verifiable digital credential.
Most people will never encounter PKI directly. For agencies building digital identity programs, though, it's worth understanding. It's the infrastructure that makes credentials trustworthy, and knowing how it works helps inform better program decisions.
The Problem PKI Solves
Digital identity depends on one basic question: how does a verifier know that a credential is genuine?
With a physical driver's license, a bartender checks the hologram, signature, and photo. With a verifiable digital credential, there's no physical object to inspect. Credentials are data, and data can be copied, altered, or forged.
PKI addresses this by replacing physical security features with cryptographic ones. Rather than a hologram that's difficult to replicate, a verifiable digital credential carries a mathematical signature that can't be forged. Rather than trusting a piece of plastic, a verifier trusts a mathematical proof, one that can be checked without contacting the issuer each time. Trust is built into the credential itself.
How PKI Works
PKI is built on asymmetric cryptography. Each issuing authority, say, a state DMV, holds two mathematically linked keys: a private key, which only the issuer controls, and a public key, which anyone can use to verify signatures.
When the DMV issues a mobile driver's license, it signs the credential with its private key, a cryptographic stamp that says "I authorized this." When a bank or airport verifier checks that credential, it uses the DMV's public key to confirm the signature is valid and that the data hasn't been altered since issuance.
The private key never leaves the issuer. The public key is distributed openly. The mathematical relationship between them means that only the private key could have produced a signature that the public key confirms, and that it's computationally infeasible to reverse-engineer one from the other.
This is what makes verifiable digital credentials work at scale. A single DMV can issue millions of credentials, and millions of verifiers can independently verify those credentials, without creating bottlenecks, direct integrations between issuer and verifier, or privacy-invasive tracking systems.
Certificates: Proving Who Holds the Key
Distributing public keys creates its own challenge. How does a verifier know that a public key genuinely belongs to the California DMV and not someone claiming to be the California DMV?
This is where digital certificates come in. A certificate binds a public key to an identity, confirmed by a certificate authority (CA) that vouches for the relationship. Think of it as a passport for a cryptographic key: it doesn't just say "here is a public key," it says "this public key belongs to this entity, and a trusted third party has verified that."
Someone attempting to impersonate a state DMV (or a close misspelling of one) wouldn't have a valid certificate from a trusted CA, so the verification would fail. The certificate is what protects against forgery at the identity layer, not just the data layer.
PKI in Government Digital Services
PKI isn't a new technology. It has secured internet commerce, email, and government systems for decades. What's changing is that the same infrastructure is now being applied directly to citizen-facing identity programs.
For mobile driver's licenses, PKI enables offline verification. Because public keys can be preloaded onto verifier devices, a credential can be checked using locally distributed issuer certificates, no call to a central server required. Whether a given deployment operates fully offline or includes network-assisted status checks depends on the use case and risk requirements, but the cryptographic foundation is the same either way. In designs that avoid real-time server calls, residents are protected from phone-home surveillance.
PKI also enables revocation. If a driver's license is suspended, the issuer can publish that status to a revocation list. Verifiers check not only that a credential was legitimately issued, but that it remains valid at the time of presentation.
This combination, offline verification, cryptographic authenticity, and revocation support, is what makes PKI foundational to the ISO/IEC 18013-5 standard that underlies mDLs in the United States and internationally.
PKI as a Governance Question
For agency program managers and state technology leaders, PKI is worth thinking about beyond its technical dimensions. The decisions around it (who controls the signing keys, where they're stored, how they're protected, and what happens during recovery) have real implications for how a credential program functions and how residents experience it.
Key management sits at the center of these decisions. Getting the governance right means credentials remain trustworthy, revocable, and verifiable without requiring surveillance. It's the kind of foundational work that's easier to do well from the start than to revisit later.
The Foundation Underneath the Credential
PKI operates invisibly in well-functioning systems. Residents presenting a mobile driver's license see a smooth, seamless interaction. Verifiers see a confirmation. Nobody sees the cryptographic operations underneath.
That invisibility is a feature, it means the system is working as intended. Residents can quickly and privately prove who they are. Verifiers get a reliable answer. The interaction is simple because the infrastructure underneath is sound.
For the agencies and policymakers building these systems, PKI is the foundation that makes it all possible. The standards, ISO/IEC 18013-5, W3C Verifiable Credentials, and others, are well established. The work now is building the governance structures that keep this infrastructure trustworthy over time, for the people who rely on it.
If your agency is building or evaluating a digital identity program, SpruceID can help with the infrastructure decisions that matter most, from trust architecture and key management to credential formats and interoperability.
Building digital services that scale take the right foundation.
About SpruceID: SpruceID builds digital trust infrastructure for government. We help states and cities modernize identity, security, and service delivery — from digital wallets and SSO to fraud prevention and workflow optimization. Our standards-based technology and public-sector expertise ensure every project advances a more secure, interoperable, and citizen-centric digital future.