X509_STORE_CTX_get1_certs function
- @RecordUse.new()
- @Native<Pointer<
stack_st_X509> Function(Pointer<X509_STORE_CTX> ctx, Pointer<X509_NAME> name)>(ffi.Pointer<X509_STORE_CTX>, ffi.Pointer<X509_NAME>)>(symbol: 'bssl_dart_X509_STORE_CTX_get1_certs')
- Pointer<
X509_STORE_CTX> ctx, - Pointer<
X509_NAME> name
X509_STORE_CTX_get1_certs returns a newly-allocated stack containing all
trusted certificates in ctx's X509_STORE whose subject matches name, or
NULL on error. The caller must release the result with sk_X509_pop_free and
X509_free when done.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<stack_st_X509> Function(
ffi.Pointer<X509_STORE_CTX>,
ffi.Pointer<X509_NAME>,
)
>(symbol: 'bssl_dart_X509_STORE_CTX_get1_certs')
external ffi.Pointer<stack_st_X509> X509_STORE_CTX_get1_certs(
ffi.Pointer<X509_STORE_CTX> ctx,
ffi.Pointer<X509_NAME> name,
);