DH_marshal_parameters function
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,
);