X509_CRL_get0_by_serial function
- @RecordUse.new()
- @Native<Int Function(Pointer<
X509_CRL> , Pointer<Pointer< , Pointer<X509_REVOKED> >ASN1_OCTET_STRING> )>(ffi.Pointer<X509_CRL>, ffi.Pointer<ffi.Pointer<X509_REVOKED>>, ffi.Pointer<ASN1_INTEGER>)>(symbol: 'bssl_dart_X509_CRL_get0_by_serial')
- Pointer<
X509_CRL> crl, - Pointer<
Pointer< out,X509_REVOKED> > - Pointer<
ASN1_OCTET_STRING> serial
X509_CRL_get0_by_serial finds the entry in crl whose serial number is
serial. If found, it sets *out to the entry and returns one. If not
found, it returns zero.
On success, *out continues to be owned by crl. It is an error to free or
otherwise modify *out.
TODO(crbug.com/42290473): Ideally crl would be const. It is broadly
thread-safe, but changes the order of entries in crl. It cannot be called
concurrently with i2d_X509_CRL.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<X509_CRL>,
ffi.Pointer<ffi.Pointer<X509_REVOKED>>,
ffi.Pointer<ASN1_INTEGER>,
)
>(symbol: 'bssl_dart_X509_CRL_get0_by_serial')
external int X509_CRL_get0_by_serial(
ffi.Pointer<X509_CRL> crl,
ffi.Pointer<ffi.Pointer<X509_REVOKED>> out,
ffi.Pointer<ASN1_INTEGER> serial,
);