Skip to main content

svn_x509_oid_to_string

Function svn_x509_oid_to_string 

Source
pub unsafe extern "C" fn svn_x509_oid_to_string(
    oid: *const c_uchar,
    oid_len: apr_size_t,
    scratch_pool: *mut apr_pool_t,
    result_pool: *mut apr_pool_t,
) -> *const c_char
Expand description

Given an @a oid return a null-terminated C string representation. For example an OID with the bytes “\x2A\x86\x48\x86\xF7\x0D\x01\x09\x01” would be converted to the string “1.2.840.113549.1.9.1”. Returns NULL if the @a oid can’t be represented as a string.

@since New in 1.9.