Skip to main content

serialize_rdn

Function serialize_rdn 

Source
pub fn serialize_rdn<S>(
    xs: &[(KeyStringOrOID, Vec<u8>)],
    s: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

serialize RDN attribute values as string if possible falling back to array of numbers of necessary

ยงErrors

fails if serialize_seq or serialize_element calls fail