EVP_SignFinal function
- @RecordUse.new()
- @Native<Int Function(Pointer<
EVP_MD_CTX> , Pointer<Uint8> , Pointer<UnsignedInt> , Pointer<EVP_PKEY> )>(ffi.Pointer<EVP_MD_CTX>, ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.UnsignedInt>, ffi.Pointer<EVP_PKEY>)>(symbol: 'bssl_dart_EVP_SignFinal')
- Pointer<
EVP_MD_CTX> ctx, - Pointer<
Uint8> sig, - Pointer<
UnsignedInt> out_sig_len, - Pointer<
EVP_PKEY> pkey,
EVP_SignFinal signs the data that has been included by one or more calls to
EVP_SignUpdate, using the key pkey, and writes it to sig. On entry,
sig must point to at least EVP_PKEY_size(pkey) bytes of space. The
actual size of the signature is written to *out_sig_len.
It returns one on success and zero otherwise.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<EVP_MD_CTX>,
ffi.Pointer<ffi.Uint8>,
ffi.Pointer<ffi.UnsignedInt>,
ffi.Pointer<EVP_PKEY>,
)
>(symbol: 'bssl_dart_EVP_SignFinal')
external int EVP_SignFinal(
ffi.Pointer<EVP_MD_CTX> ctx,
ffi.Pointer<ffi.Uint8> sig,
ffi.Pointer<ffi.UnsignedInt> out_sig_len,
ffi.Pointer<EVP_PKEY> pkey,
);