NAME_CONSTRAINTS_check function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509>, Pointer<NAME_CONSTRAINTS>)>(ffi.Pointer<X509>, ffi.Pointer<NAME_CONSTRAINTS>)>(symbol: 'bssl_dart_NAME_CONSTRAINTS_check')
int NAME_CONSTRAINTS_check(
  1. Pointer<X509> x509,
  2. Pointer<NAME_CONSTRAINTS> nc
)

NAME_CONSTRAINTS_check checks if x509 satisfies name constraints in nc. It returns X509_V_OK on success and some X509_V_ERR_* constant on error.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509>, ffi.Pointer<NAME_CONSTRAINTS>)>(
  symbol: 'bssl_dart_NAME_CONSTRAINTS_check',
)
external int NAME_CONSTRAINTS_check(
  ffi.Pointer<X509> x509,
  ffi.Pointer<NAME_CONSTRAINTS> nc,
);