i2d_ASN1_INTEGER function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<ASN1_OCTET_STRING>, Pointer<Pointer<Uint8>>)>(ffi.Pointer<ASN1_INTEGER>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>)>(symbol: 'bssl_dart_i2d_ASN1_INTEGER')
int i2d_ASN1_INTEGER(
  1. Pointer<ASN1_OCTET_STRING> in$,
  2. Pointer<Pointer<Uint8>> outp
)

i2d_ASN1_INTEGER marshals |in| as a DER-encoded ASN.1 INTEGER, as described in |i2d_SAMPLE|.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<ASN1_INTEGER>,
    ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
  )
>(symbol: 'bssl_dart_i2d_ASN1_INTEGER')
external int i2d_ASN1_INTEGER(
  ffi.Pointer<ASN1_INTEGER> in$,
  ffi.Pointer<ffi.Pointer<ffi.Uint8>> outp,
);