Add x509v3 bindings (Refs #77)

Ready for review