pub fn serialize<S, T>(values: &[T], serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
T: Encode,Available on crate feature
serde only.Expand description
Serialize a Vec of DER-encodable values as a sequence.
§Errors
Returns the serializer’s error if the underlying serializer fails or if DER encoding of any element fails.