Function c509_certificate::wasm_binding::decode

source ·
pub fn decode(c509: &[u8]) -> Result<JsValue, JsValue>
Expand description

Wrapper for decoding vector of C509 back to readable object.

§Errors

Returns an error if the provided vector is not a valid C509 certificate.