Merge pull request #2565 from reaperhulk/crl-interface

add create_x509_crl interface