Close, except it should be `int i = certificate->VerifySpkac(const_cast<const char*>(data), length);`. Also I'd do:
```cpp
if (length == 0)
  return Undefined(node_isolate);
assert(data != NULL);
```
`NULL` should never be returned if `length > 0`. If it is then there're are much bigger problems.