X509_check_private_key function

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

X509_check_private_key returns one if |x509|'s public key matches |pkey| and zero otherwise.

Implementation

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