DH_marshal_parameters function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<CBB>, Pointer<DH>)>(ffi.Pointer<CBB>, ffi.Pointer<DH>)>(symbol: 'bssl_dart_DH_marshal_parameters')
int DH_marshal_parameters(
  1. Pointer<CBB> cbb,
  2. Pointer<DH> dh
)

DH_marshal_parameters marshals |dh| as a DER-encoded DHParameter structure (PKCS #3) 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<DH>)>(
  symbol: 'bssl_dart_DH_marshal_parameters',
)
external int DH_marshal_parameters(
  ffi.Pointer<CBB> cbb,
  ffi.Pointer<DH> dh,
);