'If passed ``FILETYPE_ASN1`` for the format, ``CRL.export`` returns a
"DER" format string representing a serial number, a revoked reason, and
certificate issuer information.'

def test_export_der(self):

    crl = self._get_crl()
    dumped_crl = crl.export(self.cert, self.pkey, FILETYPE_ASN1)
    text = _runopenssl(dumped_crl, 'crl', '-noout', '-text', '-inform', 'DER')
    text.index(b('Serial    Number:    03AB'))
    text.index(b('Superseded'))
    text.index(b('Issuer:    /C=US/ST=IL/L=Chicago/O=Testing/CN=Testing    Root    CA'))
