fn toDer(self: Signature, buf: *[der_encoded_max_length]u8) []u8

Encode the signature using the DER format. The maximum length of the DER encoding is der_encoded_max_length. The function returns a slice, that can be shorter than der_encoded_max_length.

Parameters