Merge pull request #2585 from reaperhulk/san-iterable

support indexing on GeneralNames and SubjectAlternativeName