X509_get_ext function
X509_get_ext returns the extension in |x| at index |loc|, or NULL if |loc| is out of bounds. This function returns a non-const pointer for OpenSSL compatibility, but callers should not mutate the result.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Pointer<X509_EXTENSION> Function(ffi.Pointer<X509>, ffi.Int)>(
symbol: 'bssl_dart_X509_get_ext',
)
external ffi.Pointer<X509_EXTENSION> X509_get_ext(
ffi.Pointer<X509> x,
int loc,
);