Sources and verification
Every primary text the utility-pki profiles come from, with version, date and link, and how each rule is tested.
Primary texts
Every rule comes from these documents, which were checked table by table. All of them are free to download.
| Document | Version | Used for |
|---|---|---|
| BSI TR-03116-3 | Stand 2025, 13.12.2024 | TLS rules of BSI_TR_03116_3 and BDEW_AS4; certificate keys and signature algorithms |
| BSI TR-03109-4 | 1.2.1, 09.08.2017 | SM-PKI certificate profile (Annex A), validity periods (Tab. 11) |
| Certificate Policy SM-PKI | 1.1.2, 25.01.2023 | names (Tab. 20–27), SubjectAltName (A.7.1), revocation (4.9) |
| BDEW AS4-Profil | 1.2, 01.04.2026, applies from 01.10.2026 | TLS for AS4 (2.2.6.1), key pairs and MP-ID (2.3.4.4) |
| Regelungen zum Übertragungsweg AS4 | 2.6, 01.04.2026 | SNI (3), certificate content (5.2), successor certificates (5.3), CRLs (5.4) |
| BSI TR-02102-2 | 2026-01 | BSI_TR_02102_2 |
OpenSSL ciphers -V -stdname, list -tls-groups, SSL_CONF_cmd(3) | 4.1.0 | the OpenSSL names of openssl() |
How the rules are tested
- Tables. Every encoded table has a test that names it, for example
tr_03116_3_tables_7_to_16. - Certificates. Each certificate rule has a fixture that breaks only that rule; the fixtures are generated with OpenSSL by
tests/data/gen.sh. A conforming certificate must pass with zero findings. - OpenSSL. Every name in the export table is pinned by a test, and
just opensslpasses every exported value to a real OpenSSL, which rejects unknown names. - Robustness. The DER reader is fuzzed with libFuzzer (
just fuzz), and every truncation and single-byte corruption of a valid certificate is tested. - No panics. The release build for a Cortex-M is scanned for panic symbols in CI.
- No dependencies. CI checks that the dependency tree is empty with every feature.
The security requirements behind these tests are listed in the threat model.