MCPcopy Create free account
hub / github.com/SecurityInnovation/PGPy / __init__

Method __init__

pgpy/packet/fields.py:1152–1160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1150 yield i
1151
1152 def __init__(self):
1153 super(PrivKey, self).__init__()
1154
1155 self.s2k = String2Key()
1156 self.encbytes = bytearray()
1157 self.chksum = bytearray()
1158
1159 for field in self.__privfields__:
1160 setattr(self, field, MPI(0))
1161
1162 def __bytearray__(self):
1163 _bytes = bytearray()

Callers

nothing calls this directly

Calls 3

String2KeyClass · 0.85
MPIClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected