Merge pull request #1960 from reaperhulk/x509-cert-interface-expansion

add extensions to the interface for Certificate