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

Method __pubkey__

pgpy/packet/fields.py:396–397  ·  view source on GitHub ↗

return the requisite *PublicKey class from the cryptography library

(self)

Source from the content-addressed store, hash-verified

394
395 @abc.abstractmethod
396 def __pubkey__(self):
397 """return the requisite *PublicKey class from the cryptography library"""
398
399 def __len__(self):
400 return sum(len(getattr(self, i)) for i in self.__pubfields__)

Callers 2

encryptMethod · 0.45
encrypt_skMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected