(self, blob, final)
| 114 | |
| 115 | |
| 116 | def update(self, blob, final): |
| 117 | # Test isinstance string ? |
| 118 | if isinstance(blob, (windows.pycompat.anybuff, bytearray)): |
| 119 | blob = windows.pycompat.raw_encode(blob) |
| 120 | buffer = windows.utils.BUFFER(gdef.BYTE).from_buffer_copy(blob) |
| 121 | return winproxy.CryptMsgUpdate(self, buffer, len(blob), final) |
| 122 | return winproxy.CryptMsgUpdate(self, blob.pbData, blob.cbData, final) |
| 123 | |
| 124 | # constructor |
| 125 | @classmethod |
no test coverage detected