pub unsafe extern "C" fn s2n_cert_get_utf8_string_from_extension_data(
    extension_data: *const u8,
    extension_len: u32,
    out_data: *mut u8,
    out_len: *mut u32
) -> c_int
Expand description

Returns the UTF8 String representation of the DER encoded ASN.1 X.509 certificate extension data.

@param extension_data A pointer to the DER encoded ASN.1 X.509 certificate extension value being read. @param extension_len represents the length of the input buffer extension_data. @param out_data A pointer to the output buffer which will hold the UTF8 String representation of the DER encoded ASN.1 X.509 certificate extension data returned. @param out_len This value is both an input and output parameter and represents the length of the output buffer out_data. When used as an input parameter, the caller must use this parameter to convey the maximum length of out_data. When used as an output parameter, out_len holds the actual length of UTF8 String returned.