Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIST Test Personal Identity Verification (PIV) Cards Version 2



David Cooper


In order to facilitate the development of applications and middleware that support the Personal Identity Verification (PIV) Card, NIST has developed a set of test PIV Cards and a supporting public key infrastructure (PKI). This set of test cards includes not only examples that are similar to cards issued today but also examples of cards with features that are expected to appear in cards that will be issued in the future. This document provides an overview of the test cards, the infrastructure that has been developed to support their use, and detailed specifications for each test card and for each certificate issued by the test PKI.
NIST Interagency/Internal Report (NISTIR) - 8347
Report Number


HSPD-12, Personal Identity Verification, PIV, PKI, public key infrastructure.


Cooper, D. (2021), NIST Test Personal Identity Verification (PIV) Cards Version 2, NIST Interagency/Internal Report (NISTIR), National Institute of Standards and Technology, Gaithersburg, MD, [online],, (Accessed July 19, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created April 2, 2021, Updated November 29, 2022