ECDSA_SIG_marshal function
ECDSA_SIG_marshal marshals |sig| as a DER-encoded ECDSA-Sig-Value and appends the result to |cbb|. It returns one on success and zero on error.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBB>, ffi.Pointer<ECDSA_SIG>)>(
symbol: 'bssl_dart_ECDSA_SIG_marshal',
)
external int ECDSA_SIG_marshal(
ffi.Pointer<CBB> cbb,
ffi.Pointer<ECDSA_SIG> sig,
);