Expand description
Utilities for efficiently embedding trust anchors in programs.
Functionsยง
- cert_
der_ as_ trust_ anchor - Interprets the given DER-encoded certificate as a
TrustAnchor
. The certificate is not validated. In particular, there is no check that the certificate is self-signed or even that the certificate has the cA basic constraint. - generate_
code_ for_ trust_ anchors - Generates code for hard-coding the given trust anchors into a program. This
is designed to be used in a build script.
name
is the name of the public static variable that will contain the TrustAnchor array.