Merge pull request #2102 from alex/more-bindings

added a few more x509 bindings for SAN encoding