more robust parser for SKE
(self, parser)
| 225 | """ServerKeyExchange class with more robust formatting capability.""" |
| 226 | |
| 227 | def parse(self, parser): |
| 228 | """more robust parser for SKE""" |
| 229 | try: |
| 230 | super(ServerKeyExchange, self).parse(parser) |
| 231 | except AssertionError: |
| 232 | pass |
| 233 | return self |
| 234 | |
| 235 | def __format__(self, formatstr): |
| 236 | """Return human-readable representation of the object.""" |