MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / from_buffer

Method from_buffer

windows/crypto/cryptmsg.py:126–130  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

124 # constructor
125 @classmethod
126 def from_buffer(self, data):
127 hmsg = winproxy.CryptMsgOpenToDecode(windows.crypto.DEFAULT_ENCODING, 0, 0, None, None, None)
128 newmsg = CryptMessage(hmsg)
129 newmsg.update(data, final=True)
130 return newmsg
131
132 def __del__(self):
133 return winproxy.CryptMsgClose(self)

Callers 15

get_paramMethod · 0.45
get_certMethod · 0.45
headerMethod · 0.45
enumerate_kernel_modulesFunction · 0.45
from_raw_bufferMethod · 0.45
from_raw_bufferMethod · 0.45
_instance_generatorMethod · 0.45
queryinfoFunction · 0.45
arraypropertyFunction · 0.45

Calls 2

updateMethod · 0.95
CryptMessageClass · 0.85

Tested by

no test coverage detected