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

Method __init__

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

Source from the content-addressed store, hash-verified

876 self._count = val
877
878 def __init__(self):
879 super(String2Key, self).__init__()
880 self.usage = 0
881 self.encalg = 0
882 self.specifier = 0
883 self.iv = None
884
885 # specifier-specific fields
886 # simple, salted, iterated
887 self.halg = 0
888
889 # salted, iterated
890 self.salt = bytearray()
891
892 # iterated
893 self.count = 0
894
895 # GNU extension default type: ignored if specifier != GNUExtension
896 self.gnuext = 1
897
898 # GNU extension smartcard
899 self.scserial = None
900
901 def __bytearray__(self):
902 _bytes = bytearray()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected