
    U\                        d dl mZmZmZ [[[	  G d de          Z G d de          Z G d de          Z G d d	e          Z G d
 de          Z	 G d de          Z
 G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d  d!e          Zd"S )#    )absolute_importprint_functionunicode_literalsc                   4    e Zd ZdZ	 i Z	 i Z	 h dZd Zd ZdS )Resultz>Result object

    Describes the result of an operation.

    >   ownnextthisappenddisownacquirethisownc                 H   | j                                         D ]=\  }}t          ||          r(t          | | |t	          ||                               >| j                                        D ]O\  }}t          ||          r:t          | |t          t          |t	          ||                                         Pt          |          D ]Q}|	                    d          s	|| j
        v r!t          | |          r2t          | |t	          ||                     Rd S )N_)_typeitemshasattrsetattrgetattr_maplistmapdir
startswith
_blacklist)selffragilekeyfuncs       -/usr/lib/python3/dist-packages/gpg/results.py__init__zResult.__init__6   s8   ))++ 	@ 	@ICw$$ @c44(=(=#>#>???** 	K 	KICw$$ Kc4D''32G2G(H(H#I#IJJJw<< 	6 	6C~~c"" cT_&<&<tS!! D#ww445555	6 	6    c           	           d                      j        j        d                     fdt	                     D                                 S )Nz{}({})z, c              3      K   | ]=}|                     d           d                    |t          |                    V  >dS )r   z{}={!r}N)r   formatr   ).0kr   s     r    	<genexpr>z"Result.__repr__.<locals>.<genexpr>J   sa       0 0\\#..0i&&q'$*:*:;; 0 0 0 0 0 0r"   )r%   	__class____name__joinr   )r   s   `r    __repr__zResult.__repr__G   s]    N#II 0 0 0 0SYY 0 0 0 0 01 1 	1r"   N)	r*   
__module____qualname____doc__r   r   r   r!   r,    r"   r    r   r   !   sb         
 E,D/  J6 6 6"1 1 1 1 1r"   r   c                       e Zd ZdS )
InvalidKeyNr*   r-   r.   r0   r"   r    r2   r2   N           Dr"   r2   c                   &    e Zd Z ee          ZdS )EncryptResult)invalid_recipientsN)r*   r-   r.   dictr2   r   r0   r"   r    r6   r6   R   s         4:...DDDr"   r6   c                       e Zd ZdS )	RecipientNr3   r0   r"   r    r:   r:   V   r4   r"   r:   c                   @    e Zd Z eee          Z ee          ZdS )DecryptResult)wrong_key_usageis_de_vs)
recipientsN)r*   r-   r.   r8   boolr   r:   r   r0   r"   r    r<   r<   Z   s4        D555E49%%%DDDr"   r<   c                       e Zd ZdS )NewSignatureNr3   r0   r"   r    rB   rB   _   r4   r"   rB   c                   (    e Zd Z eee          ZdS )
SignResult)invalid_signers
signaturesN)r*   r-   r.   r8   r2   rB   r   r0   r"   r    rD   rD   c   s"        4
|DDDDDDr"   rD   c                       e Zd ZdS )NotationNr3   r0   r"   r    rH   rH   g   r4   r"   rH   c                   B    e Zd Z eeee          Z ee          ZdS )	Signature)r=   chain_modelr>   )	notationsN)r*   r-   r.   r8   r@   r   rH   r   r0   r"   r    rJ   rJ   k   s6        D4$GGGE4(###DDDr"   rJ   c                   &    e Zd Z ee          ZdS )VerifyResult)rF   N)r*   r-   r.   r8   rJ   r   r0   r"   r    rN   rN   p   s         49%%%DDDr"   rN   c                       e Zd ZdS )ImportStatusNr3   r0   r"   r    rP   rP   t   r4   r"   rP   c                   &    e Zd Z ee          ZdS )ImportResult)importsN)r*   r-   r.   r8   rP   r   r0   r"   r    rR   rR   x   s         4%%%DDDr"   rR   c                   (    e Zd Z eee          ZdS )GenkeyResult)primarysubNr*   r-   r.   r8   r@   r   r0   r"   r    rU   rU   |   s"        D4(((EEEr"   rU   c                   &    e Zd Z ee          ZdS )KeylistResult)	truncatedNrX   r0   r"   r    rZ   rZ      s         D4   EEEr"   rZ   c                       e Zd ZdS )VFSMountResultNr3   r0   r"   r    r]   r]      r4   r"   r]   c                       e Zd ZdS )
EngineInfoNr3   r0   r"   r    r_   r_      r4   r"   r_   N)
__future__r   r   r   objectr   r2   r6   r:   r<   rB   rD   rH   rJ   rN   rP   rR   rU   rZ   r]   r_   r0   r"   r    <module>rb      s  ( I H H H H H H H H H^%5*1 *1 *1 *1 *1V *1 *1 *1Z	 	 	 	 	 	 	 	/ / / / /F / / /	 	 	 	 	 	 	 	& & & & &F & & &
	 	 	 	 	6 	 	 	E E E E E E E E	 	 	 	 	v 	 	 	$ $ $ $ $ $ $ $
& & & & &6 & & &	 	 	 	 	6 	 	 	& & & & &6 & & &) ) ) ) )6 ) ) )! ! ! ! !F ! ! !	 	 	 	 	V 	 	 		 	 	 	 	 	 	 	 	 	r"   