buf = BytesIO()
agg_octet_string(evgens, ("encapContentInfo", "eContent"), raw, buf.write)
self.assertSequenceEqual(buf.getvalue(), data)
buf = BytesIO()
agg_octet_string(evgens, ("encapContentInfo", "eContent"), raw, buf.write)
self.assertSequenceEqual(buf.getvalue(), data)
ci.encode_cer(fd.write)
print("CMS written", time() - start)
self.verify(cert_path, cms_path)
ci.encode_cer(fd.write)
print("CMS written", time() - start)
self.verify(cert_path, cms_path)
@skipIf(PY2, "no mmaped memoryview support in PY2")
@skipIf("PYDERASN_TEST_CMS_HUGE" not in environ, "PYDERASN_TEST_CMS_HUGE is not set")
@skipIf(PY2, "no mmaped memoryview support in PY2")
@skipIf("PYDERASN_TEST_CMS_HUGE" not in environ, "PYDERASN_TEST_CMS_HUGE is not set")