EMV certificate validator
Recover issuer and ICC certificates; check hash, structure and CA key status.
- Runs in your browser
- No sign-up
Input
Issuer public key certificate
ICC public key certificate (optional)
Result
Card still failing certification on SDA, DDA or CDA? IDNTEQ’s EMV team can help. CPV / PVT preparation and remediation
About this tool
Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.
Paste an issuer certificate (tag 90) and the tool finds the CA key that recovers it, extracts the fields, rebuilds the issuer public key from the certificate and the remainder, and checks the SHA-1 hash and the structure. Add the ICC certificate (tag 9F46) and the static data to check the next link of the chain.
Issuer certificate
With auto-detect the tool tries every verified CA key in the database whose modulus has the certificate’s length and keeps the one whose recovery starts with 6A and ends with BC; a key whose provenance could not be verified is only used when you pick it. You can also pick a key or paste a modulus and exponent. The recovered fields (issuer identifier, expiry, serial, algorithm indicators, key length) are shown, and the issuer public key is rebuilt from the leftmost digits in the certificate and the remainder (tag 92). The SHA-1 hash is recomputed over the certificate fields, the remainder and the exponent (tag 9F32) and compared with the hash in the certificate.
ICC certificate and the chain
The ICC certificate (tag 9F46) is recovered with the issuer public key, and its hash also covers the ICC key remainder (9F48), the exponent (9F47) and the static data to be authenticated: the AFL records marked for offline data authentication, plus the AIP when tag 9F4A asks for it. The issuer key is only used for this step when its own certificate has no structural problem.
A certificate that is already recovered (6A … BC) can be pasted instead, for either level; it is parsed and checked without the RSA step, so the chain is not reported as valid. When a hash does not match, the tool names the input that is usually missing: the remainder, the exponent or the static data.
Separate results: hash, structure, trust, dates
A matching hash shows that the recovered bytes are the ones the signer hashed; it does not make the certificate well formed. The structure check covers the header (6A), trailer (BC) and format byte, the expiry month, the hash and key algorithm indicators, BB padding after a key that fits, a key length that is not zero and not longer than the key that recovered the certificate, an exponent length of 1 or 3 that matches the exponent entered, an exponent of 03 or 010001, and a remainder exactly when the key needs one. The chain is valid only when both certificates pass both checks and both keys are rebuilt.
Trust is reported separately from validity: the CA key is shown as a production key, a TEST key or of unknown status, with its sources, and a chain recovered with a test key is labelled as test data. Expiry dates are compared with a reference date you can change and are shown as information. Not checked: that the issuer identifier and the PAN in the certificates match the card’s PAN, certificate revocation, and scheme acceptance of the card.
Spec references
- EMV 4.4 Book 2 §5.3–6.4 (certificate recovery and verification)
- EMV Book 2 Table 6 (issuer certificate) and Table 14 (ICC certificate)
Verified against
- Specifications
- EMV 4.4 Book 2 §5–6 (issuer and ICC certificates, Tables 6 and 14)
- EMV 4.4 Book 3 §10.3 (static data to be authenticated)
- Published examples in the tests
- None: no published example with these inputs was found. The checks below are the ones the tests run.
- Other checks in the tests
- A made-up CA → issuer → ICC chain generated with node:crypto: recovery, field offsets, rebuilt keys and SHA-1 hashes
- Structure checks: BB padding, exponent 03 or 010001 and its declared length, remainder only when needed, zero key length, N_IC ≤ N_I
- CA key status (production, test, unknown) in the trust verdict; expiry against a reference date
- Inputs
- Signed or already-recovered certificates in hex, remainders, exponents, static data; CA key auto-detected, chosen or entered.
- Not covered
- The match between the certificates and the card’s PAN, revocation lists and scheme acceptance are not checked. No published EMV certificate example has been reproduced.
- Last reviewed