cxx wrapper for ssl sign/verify