CBS_is_valid_asn1_integer function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<CBS>, Pointer<Int>)>(ffi.Pointer<CBS>, ffi.Pointer<ffi.Int>)>(symbol: 'bssl_dart_CBS_is_valid_asn1_integer')
int CBS_is_valid_asn1_integer(
  1. Pointer<CBS> cbs,
  2. Pointer<Int> out_is_negative
)

CBS_is_valid_asn1_integer returns one if cbs is a valid ASN.1 INTEGER, body and zero otherwise. On success, if out_is_negative is non-NULL, *out_is_negative will be set to one if cbs is negative and zero otherwise.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBS>, ffi.Pointer<ffi.Int>)>(
  symbol: 'bssl_dart_CBS_is_valid_asn1_integer',
)
external int CBS_is_valid_asn1_integer(
  ffi.Pointer<CBS> cbs,
  ffi.Pointer<ffi.Int> out_is_negative,
);