X509_STORE_CTX_init function
- @RecordUse.new()
- @Native<Int Function(Pointer<
X509_STORE_CTX> , Pointer<X509_STORE> , Pointer<X509> , Pointer<stack_st_X509> )>(ffi.Pointer<X509_STORE_CTX>, ffi.Pointer<X509_STORE>, ffi.Pointer<X509>, ffi.Pointer<stack_st_X509>)>(symbol: 'bssl_dart_X509_STORE_CTX_init')
- Pointer<
X509_STORE_CTX> ctx, - Pointer<
X509_STORE> store, - Pointer<
X509> x509, - Pointer<
stack_st_X509> chain,
X509_STORE_CTX_init initializes ctx to verify x509, using trusted
certificates and parameters in store. It returns one on success and zero on
error. chain is a list of untrusted intermediate certificates to use in
verification.
ctx stores pointers to store, x509, and chain. Each of these objects
must outlive ctx and may not be mutated for the duration of the certificate
verification.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<X509_STORE_CTX>,
ffi.Pointer<X509_STORE>,
ffi.Pointer<X509>,
ffi.Pointer<stack_st_X509>,
)
>(symbol: 'bssl_dart_X509_STORE_CTX_init')
external int X509_STORE_CTX_init(
ffi.Pointer<X509_STORE_CTX> ctx,
ffi.Pointer<X509_STORE> store,
ffi.Pointer<X509> x509,
ffi.Pointer<stack_st_X509> chain,
);