i2d_DHparams function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<DH>, Pointer<Pointer<UnsignedChar>>)>(ffi.Pointer<DH>, ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>>)>(symbol: 'bssl_dart_i2d_DHparams')
int i2d_DHparams(
  1. Pointer<DH> in$,
  2. Pointer<Pointer<UnsignedChar>> outp
)

i2d_DHparams marshals |in| to a DER-encoded DHParameter structure (PKCS #3), as described in |i2d_SAMPLE|.

Use |DH_marshal_parameters| instead.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(ffi.Pointer<DH>, ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>>)
>(symbol: 'bssl_dart_i2d_DHparams')
external int i2d_DHparams(
  ffi.Pointer<DH> in$,
  ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> outp,
);