(security_policy, data)
| 27 | |
| 28 | @staticmethod |
| 29 | def from_binary(security_policy, data): |
| 30 | h = header_from_binary(data) |
| 31 | return MessageChunk.from_header_and_body(security_policy, h, data) |
| 32 | |
| 33 | @staticmethod |
| 34 | def from_header_and_body(security_policy, header, buf): |