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

Function CryptEncodeObjectEx

windows/winproxy/apis/crypt32.py:169–171  ·  view source on GitHub ↗
(dwCertEncodingType, lpszStructType, pvStructInfo, dwFlags, pEncodePara, pvEncoded, pcbEncoded)

Source from the content-addressed store, hash-verified

167
168@Crypt32Proxy()
169def CryptEncodeObjectEx(dwCertEncodingType, lpszStructType, pvStructInfo, dwFlags, pEncodePara, pvEncoded, pcbEncoded):
170 lpszStructType = gdef.LPCSTR(lpszStructType) if isinstance(lpszStructType, int_types) else lpszStructType
171 return CryptEncodeObjectEx.ctypes_function(dwCertEncodingType, lpszStructType, pvStructInfo, dwFlags, pEncodePara, pvEncoded, pcbEncoded)
172
173@Crypt32Proxy()
174def CryptQueryObject(dwObjectType, pvObject, dwExpectedContentTypeFlags, dwExpectedFormatTypeFlags, dwFlags, pdwMsgAndCertEncodingType, pdwContentType, pdwFormatType, phCertStore, phMsg, ppvContext):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected