Closed jschanck closed 1 year ago
I overlooked the raw_serial() method on x509_parser::TbsCertificate. Under the hood it calls der_parser::parse_ber_integer https://docs.rs/der-parser/latest/src/der_parser/ber/parser.rs.html#280-295, which is exactly what we want.
raw_serial()
x509_parser::TbsCertificate
der_parser::parse_ber_integer
I overlooked the
raw_serial()
method onx509_parser::TbsCertificate
. Under the hood it callsder_parser::parse_ber_integer
https://docs.rs/der-parser/latest/src/der_parser/ber/parser.rs.html#280-295, which is exactly what we want.