Skip to main content

extract_signature_value

Function extract_signature_value 

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

Extract the signature value from a DER-encoded X.509 certificate.

Returns the raw signature bytes (the content of the BIT STRING, with the leading unused-bits byte stripped).