utility-pki

Documentation

Check TLS configurations, handshakes and SM-PKI certificates against BDEW AS4, BSI TR-03116-3 and BSI TR-02102-2 with utility-pki.

utility-pki turns the TLS and certificate rules of the German energy sector into Rust data, and checks four things against them:

  • the configuration you deploy;
  • the OpenSSL settings that produce it;
  • every negotiated session;
  • every certificate.

Every rule comes from the primary text and cites its table.

New here? Start with Getting started for the four calls in five minutes. If AS4, the SM-PKI or the MP-ID are new to you, read Background first.

The type-level reference is the API documentation on docs.rs.