DSA_marshal_parameters function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<CBB>, Pointer<DSA>)>(ffi.Pointer<CBB>, ffi.Pointer<DSA>)>(symbol: 'bssl_dart_DSA_marshal_parameters')
int DSA_marshal_parameters(
  1. Pointer<CBB> cbb,
  2. Pointer<DSA> dsa
)

DSA_marshal_parameters marshals |dsa| as a DER-encoded Dss-Parms structure (RFC 3279) and appends the result to |cbb|. It returns one on success and zero on failure.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBB>, ffi.Pointer<DSA>)>(
  symbol: 'bssl_dart_DSA_marshal_parameters',
)
external int DSA_marshal_parameters(
  ffi.Pointer<CBB> cbb,
  ffi.Pointer<DSA> dsa,
);