Add bindings for x509v3
Move macro things to macros