X509_CRL_sign_ctx function
X509_CRL_sign_ctx signs crl with ctx and replaces the signature algorithm
and signature fields. It returns the length of the signature on success and
zero on error. The signature algorithm and parameters come from ctx, which
must have been initialized with EVP_DigestSignInit. The caller should
configure the corresponding EVP_PKEY_CTX before calling this function.
On success or failure, this function mutates ctx and resets it to the empty
state. Caller should not rely on its contents after the function returns.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509_CRL>, ffi.Pointer<EVP_MD_CTX>)>(
symbol: 'bssl_dart_X509_CRL_sign_ctx',
)
external int X509_CRL_sign_ctx(
ffi.Pointer<X509_CRL> crl,
ffi.Pointer<EVP_MD_CTX> ctx,
);