How to use the pgpy.decorators.sdproperty function in PGPy

To help you get started, we’ve selected a few PGPy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SecurityInnovation / PGPy / pgpy / packet / packets.py View on Github external
    @sdproperty
    def sigtype(self):
        return self._sigtype
github SecurityInnovation / PGPy / pgpy / packet / packets.py View on Github external
    @sdproperty
    def signer(self):
        return self._signer
github SecurityInnovation / PGPy / pgpy / packet / subpackets / signature.py View on Github external
    @sdproperty
    def fingerprint(self):
        return self._fingerprint
github SecurityInnovation / PGPy / pgpy / types.py View on Github external
    @sdproperty
    def llen(self):
        l = self.length
        lf = self._lenfmt

        if lf == 1:
            # new-format length
            if 192 > l:
                return 1

            elif 8384 > self.length:  # >= 192 is implied
                return 2

            else:
                return 5

        else: