X509_verify function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509>, Pointer<EVP_PKEY>)>(ffi.Pointer<X509>, ffi.Pointer<EVP_PKEY>)>(symbol: 'bssl_dart_X509_verify')
int X509_verify(
  1. Pointer<X509> x509,
  2. Pointer<EVP_PKEY> pkey
)

X509_verify checks that x509 has a valid signature by pkey. It returns one if the signature is valid and zero otherwise. Note this function only checks the signature itself and does not perform a full certificate validation.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509>, ffi.Pointer<EVP_PKEY>)>(
  symbol: 'bssl_dart_X509_verify',
)
external int X509_verify(
  ffi.Pointer<X509> x509,
  ffi.Pointer<EVP_PKEY> pkey,
);