DSA_SIG_marshal function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<CBB>, Pointer<DSA_SIG>)>(ffi.Pointer<CBB>, ffi.Pointer<DSA_SIG>)>(symbol: 'bssl_dart_DSA_SIG_marshal')
int DSA_SIG_marshal(
  1. Pointer<CBB> cbb,
  2. Pointer<DSA_SIG> sig
)

DSA_SIG_marshal marshals |sig| as a DER-encoded DSA-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<DSA_SIG>)>(
  symbol: 'bssl_dart_DSA_SIG_marshal',
)
external int DSA_SIG_marshal(
  ffi.Pointer<CBB> cbb,
  ffi.Pointer<DSA_SIG> sig,
);