X509_LOOKUP_file function

  1. @RecordUse.new()
  2. @Native<Pointer<X509_LOOKUP_METHOD> Function()>()>(symbol: 'bssl_dart_X509_LOOKUP_file')
Pointer<X509_LOOKUP_METHOD> X509_LOOKUP_file()

X509_LOOKUP_file creates X509_LOOKUPs that may be used with X509_LOOKUP_load_file.

Although this is modeled as an X509_LOOKUP, this function is redundant. It has the same effect as loading a certificate or CRL from the filesystem, in the caller's desired format, and then adding it with X509_STORE_add_cert and X509_STORE_add_crl.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<X509_LOOKUP_METHOD> Function()>(
  symbol: 'bssl_dart_X509_LOOKUP_file',
)
external ffi.Pointer<X509_LOOKUP_METHOD> X509_LOOKUP_file();