X509_STORE_set_purpose function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509_STORE>, Int)>(ffi.Pointer<X509_STORE>, ffi.Int)>(symbol: 'bssl_dart_X509_STORE_set_purpose')
int X509_STORE_set_purpose(
  1. Pointer<X509_STORE> store,
  2. int purpose
)

X509_STORE_set_purpose configures the purpose check for |store|. See |X509_VERIFY_PARAM_set_purpose| for details.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509_STORE>, ffi.Int)>(
  symbol: 'bssl_dart_X509_STORE_set_purpose',
)
external int X509_STORE_set_purpose(
  ffi.Pointer<X509_STORE> store,
  int purpose,
);