ASN1_digest function

  1. @Native<Int Function(Pointer<NativeFunction<Int Function(Pointer<Void>, Pointer<Pointer<UnsignedChar>>)>>, Pointer<evp_md_st>, Pointer<Char>, Pointer<UnsignedChar>, Pointer<UnsignedInt>)>(ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>>)>>, ffi.Pointer<evp_md_st>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<ffi.UnsignedInt>)>()
int ASN1_digest(
  1. Pointer<NativeFunction<Int Function(Pointer<Void>, Pointer<Pointer<UnsignedChar>>)>> i2d,
  2. Pointer<evp_md_st> type,
  3. Pointer<Char> data,
  4. Pointer<UnsignedChar> md,
  5. Pointer<UnsignedInt> len,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<
      ffi.NativeFunction<
        ffi.Int Function(
          ffi.Pointer<ffi.Void>,
          ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>>,
        )
      >
    >,
    ffi.Pointer<evp_md_st>,
    ffi.Pointer<ffi.Char>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Pointer<ffi.UnsignedInt>,
  )
>()
external int ASN1_digest(
  ffi.Pointer<
    ffi.NativeFunction<
      ffi.Int Function(
        ffi.Pointer<ffi.Void>,
        ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>>,
      )
    >
  >
  i2d,
  ffi.Pointer<evp_md_st> type,
  ffi.Pointer<ffi.Char> data,
  ffi.Pointer<ffi.UnsignedChar> md,
  ffi.Pointer<ffi.UnsignedInt> len,
);