X509_get_ext_by_NID function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509>, Int, Int)>(ffi.Pointer<X509>, ffi.Int, ffi.Int)>(symbol: 'bssl_dart_X509_get_ext_by_NID')
int X509_get_ext_by_NID(
  1. Pointer<X509> x,
  2. int nid,
  3. int lastpos
)

X509_get_ext_by_NID behaves like |X509v3_get_ext_by_NID| but searches for extensions in |x|.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509>, ffi.Int, ffi.Int)>(
  symbol: 'bssl_dart_X509_get_ext_by_NID',
)
external int X509_get_ext_by_NID(
  ffi.Pointer<X509> x,
  int nid,
  int lastpos,
);