Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- run: |
cargo install cargo-rdme
cargo rdme install-rust-toolchain-for-intralinks
cargo rdme --check --intralinks-all-features
cargo rdme --intralinks-features validate,verify,verify-aws -c

doc:
name: Build documentation
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Github CI](https://github.com/rusticata/x509-parser/workflows/Continuous%20integration/badge.svg)](https://github.com/rusticata/x509-parser/actions)
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.85+-lightgray.svg)](#rust-version-requirements)

<!-- To generate the README, use `cargo rdme install-rust-toolchain-for-intralinks && cargo rdme --intralinks-all-features` -->
<!-- To generate the README, use `cargo rdme install-rust-toolchain-for-intralinks && cargo rdme --intralinks-features validate,verify,verify-aws` -->
<!-- cargo-rdme start -->

# X.509 Parser
Expand All @@ -33,7 +33,7 @@ The [`parse_der`](https://docs.rs/asn1_rs/latest/asn1_rs/from_der/trait.DerParse
object, which can be built from the input bytes. This helps tracking offsets (in case of
error).
For convenience,
the [`X509Certificate::from_der`] method (part of the [`FromDer`](https://docs.rs/asn1_rs/latest/asn1_rs/from_der/trait.FromDer.html) trait)
the [`X509Certificate::from_der`](https://docs.rs/x509-parser/latest/x509_parser/certificate/struct.X509Certificate.html#method.from_der) method (part of the [`FromDer`](https://docs.rs/asn1_rs/latest/asn1_rs/from_der/trait.FromDer.html) trait)
does the same directly on the input bytes, but it can loose the precise error location.

An alternative method is to use [`X509CertificateParser`](https://docs.rs/x509-parser/latest/x509_parser/certificate/struct.X509CertificateParser.html),
Expand Down
Loading