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

Method nb_cert

windows/crypto/cryptmsg.py:38–43  ·  view source on GitHub ↗

The number of certificate embded in the :class:`CryptObject` :type: :class:`int`

(self)

Source from the content-addressed store, hash-verified

36
37 @property
38 def nb_cert(self):
39 """The number of certificate embded in the :class:`CryptObject`
40
41 :type: :class:`int`
42 """
43 return self.get_param(gdef.CMSG_CERT_COUNT_PARAM)
44
45 def get_raw_cert(self, index=0):
46 return self.get_param(gdef.CMSG_CERT_PARAM, index)

Callers

nothing calls this directly

Calls 1

get_paramMethod · 0.95

Tested by

no test coverage detected