X509_CRL_set_version function
X509_CRL_set_version sets |crl|'s version to |version|, which should be one of the |X509_CRL_VERSION_*| constants. It returns one on success and zero on error.
If unsure, use |X509_CRL_VERSION_2|. Note that, unlike certificates, CRL versions are only defined up to v2. Callers should not use |X509_VERSION_3|.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509_CRL>, ffi.Long)>(
symbol: 'bssl_dart_X509_CRL_set_version',
)
external int X509_CRL_set_version(
ffi.Pointer<X509_CRL> crl,
int version,
);