(c, children, lvl=0)
| 1668 | """ |
| 1669 | |
| 1670 | def _rec_show(c, children, lvl=0): |
| 1671 | s = "" |
| 1672 | # Process the current CA |
| 1673 | if c: |
| 1674 | if not c.isSelfSigned(): |
| 1675 | s += "%s [Not Self Signed]\n" % c.subject_str |
| 1676 | else: |
| 1677 | s += "%s [Self Signed]\n" % c.subject_str |
| 1678 | s = lvl * " " + s |
| 1679 | lvl += 1 |
| 1680 | # Process all sub-CAs at a lower level |
| 1681 | for child, subchildren in children: |
| 1682 | s += _rec_show(child, subchildren, lvl=lvl) |
| 1683 | return s |
| 1684 | |
| 1685 | showed = _rec_show(None, self.tree) |
| 1686 | if ret: |
nothing calls this directly
no test coverage detected