[][src]Function secp256k1_abc_sys::secp256k1_ecdsa_signature_serialize_der

pub unsafe extern "C" fn secp256k1_ecdsa_signature_serialize_der(
    ctx: *const secp256k1_context,
    output: *mut c_uchar,
    outputlen: *mut usize,
    sig: *const secp256k1_ecdsa_signature
) -> c_int

Serialize an ECDSA signature in DER format.

Returns: 1 if enough space was available to serialize, 0 otherwise Args: ctx: a secp256k1 context object Out: output: a pointer to an array to store the DER serialization In/Out: outputlen: a pointer to a length integer. Initially, this integer should be set to the length of output. After the call it will be set to the length of the serialization (even if 0 was returned). In: sig: a pointer to an initialized signature object