A trust anchor (a.k.a. root CA).
Traditionally, certificate verification libraries have represented trust
anchors as full X.509 root certificates. However, those certificates
contain a lot more data than is needed for verifying certificates. The
TrustAnchor
representation allows an application to store just the
essential elements of trust anchors. The webpki::trust_anchor_util
module
provides functions for converting X.509 certificates to to the minimized
TrustAnchor
representation, either at runtime or in a build script.
The value of the subject
field of the trust anchor.
The value of the subjectPublicKeyInfo
field of the trust anchor.
The value of a DER-encoded NameConstraints, containing name
constraints to apply to the trust anchor, if any.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static