a U\ @sddlmZmZmZ[[[GdddeZGdddeZGdddeZGdd d eZGd d d eZ Gd d d eZ GdddeZ GdddeZ GdddeZ GdddeZGdddeZGdddeZGdddeZGdddeZGdddeZGd d!d!eZd"S)#)absolute_importprint_functionunicode_literalsc@s0eZdZdZiZiZhdZddZddZdS)Resultz>Result object Describes the result of an operation. >thisnextZdisownappendZthisownZownacquirec Cs|jD](\}}t||r t|||t||q |jD].\}}t||r>t||tt|t||q>t|D]8}| dsv||j vrqvt||rqvt||t||qvdS)N_) _typeitemshasattrsetattrgetattr_maplistmapdir startswith _blacklist)selfZfragilekeyfuncr1/usr/lib64/python3.9/site-packages/gpg/results.py__init__6s    zResult.__init__cs(djjdfddtDS)Nz{}({})z, c3s*|]"}|dsd|t|VqdS)r z{}={!r}N)rformatr).0krrr Js z"Result.__repr__..)r __class____name__joinrrrrr__repr__GszResult.__repr__N) r" __module__ __qualname____doc__r rrrr$rrrrr!s  rc@s eZdZdS) InvalidKeyNr"r%r&rrrrr(Nsr(c@seZdZeedZdS) EncryptResult)Zinvalid_recipientsN)r"r%r&dictr(rrrrrr*Rsr*c@s eZdZdS) RecipientNr)rrrrr,Vsr,c@s"eZdZeeedZeedZdS) DecryptResult)wrong_key_usageis_de_vs)Z recipientsN)r"r%r&r+boolr r,rrrrrr-Zs r-c@s eZdZdS) NewSignatureNr)rrrrr1_sr1c@seZdZeeedZdS) SignResult)Zinvalid_signers signaturesN)r"r%r&r+r(r1rrrrrr2csr2c@s eZdZdS)NotationNr)rrrrr4gsr4c@s$eZdZeeeedZeedZdS) Signature)r.Z chain_modelr/)Z notationsN)r"r%r&r+r0r r4rrrrrr5ksr5c@seZdZeedZdS) VerifyResult)r3N)r"r%r&r+r5rrrrrr6psr6c@s eZdZdS) ImportStatusNr)rrrrr7tsr7c@seZdZeedZdS) ImportResult)ZimportsN)r"r%r&r+r7rrrrrr8xsr8c@seZdZeeedZdS) GenkeyResult)ZprimarysubNr"r%r&r+r0r rrrrr9|sr9c@seZdZeedZdS) KeylistResult)Z truncatedNr;rrrrr<sr<c@s eZdZdS)VFSMountResultNr)rrrrr=sr=c@s eZdZdS) EngineInfoNr)rrrrr>sr>N)Z __future__rrrobjectrr(r*r,r-r1r2r4r5r6r7r8r9r<r=r>rrrrs" -