':py:meth:`X509Name.der` returns the DER encoded form of the name.'

def test_der(self):

    a = self._x509name(CN='foo', C='US')
    self.assertEqual(a.der(), b('0\x1b1\x0b0 DCTB \x06\x03U\x04\x06\x13\x02US1\x0c0\n\x06\x03U\x04\x03\x13\x03foo'))
