Skip to main content

extract_tbs_cert

Function extract_tbs_cert 

Source
pub fn extract_tbs_cert(cert_der: &[u8]) -> Result<&[u8], Error>
Expand description

Extract the raw TBSCertificate bytes (tag + length + value) from a DER-encoded X.509 certificate.

This is the portion of the certificate that is covered by the signature.