
    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y")#    )absolute_importprint_functionunicode_literalsc                   2    e Zd ZdZ	 i Z	 i Z	 h dZd Zd Zy)Resultz>Result object

    Describes the result of an operation.

    >   ownnextthisappenddisownacquirethisownc                    | j                   j                         D ]/  \  }}t        ||      st        | | |t	        ||                   1 | j
                  j                         D ]<  \  }}t        ||      st        | |t        t        |t	        ||                         > t        |      D ]F  }|j                  d      s|| j                  v r#t        | |      r0t        | |t	        ||             H y )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   s    ))+ 	@ICw$c4(=#>?	@ * 	KICw$c4D''32G(H#IJ	K w< 	6C~~c"cT__&<tS!D#ww45	6    c           	           dj                   j                  j                  dj                   fdt	               D                    S )Nz{}({})z, c              3   x   K   | ]1  }|j                  d       sdj                  |t        |             3 yw)r   z{}={!r}N)r   formatr   ).0kr   s     r    	<genexpr>z"Result.__repr__.<locals>.<genexpr>J   s8      0\\#.  &&q'$*:; 0s   7:)r%   	__class____name__joinr   )r   s   `r    __repr__zResult.__repr__G   s=    NN##II 0SY 0 01 	1r"   N)	r*   
__module____qualname____doc__r   r   r   r!   r,    r"   r    r   r   !   s-    
 E,D/J6"1r"   r   c                       e Zd Zy)
InvalidKeyNr*   r-   r.   r0   r"   r    r2   r2   N       r"   r2   c                       e Zd Z ee      Zy)EncryptResult)invalid_recipientsN)r*   r-   r.   dictr2   r   r0   r"   r    r6   r6   R   s    :.Dr"   r6   c                       e Zd Zy)	RecipientNr3   r0   r"   r    r:   r:   V   r4   r"   r:   c                   2    e Zd Z eee      Z ee      Zy)DecryptResult)wrong_key_usageis_de_vs)
recipientsN)r*   r-   r.   r8   boolr   r:   r   r0   r"   r    r<   r<   Z   s    5E9%Dr"   r<   c                       e Zd Zy)NewSignatureNr3   r0   r"   r    rB   rB   _   r4   r"   rB   c                        e Zd Z eee      Zy)
SignResult)invalid_signers
signaturesN)r*   r-   r.   r8   r2   rB   r   r0   r"   r    rD   rD   c   s    
|DDr"   rD   c                       e Zd Zy)NotationNr3   r0   r"   r    rH   rH   g   r4   r"   rH   c                   4    e Zd Z eeee      Z ee      Zy)	Signature)r=   chain_modelr>   )	notationsN)r*   r-   r.   r8   r@   r   rH   r   r0   r"   r    rJ   rJ   k   s    4$GE(#Dr"   rJ   c                       e Zd Z ee      Zy)VerifyResult)rF   N)r*   r-   r.   r8   rJ   r   r0   r"   r    rN   rN   p   s    9%Dr"   rN   c                       e Zd Zy)ImportStatusNr3   r0   r"   r    rP   rP   t   r4   r"   rP   c                       e Zd Z ee      Zy)ImportResult)importsN)r*   r-   r.   r8   rP   r   r0   r"   r    rR   rR   x   s    %Dr"   rR   c                        e Zd Z eee      Zy)GenkeyResult)primarysubNr*   r-   r.   r8   r@   r   r0   r"   r    rU   rU   |   s    4(Er"   rU   c                       e Zd Z ee      Zy)KeylistResult)	truncatedNrX   r0   r"   r    rZ   rZ      s    4 Er"   rZ   c                       e Zd Zy)VFSMountResultNr3   r0   r"   r    r]   r]      r4   r"   r]   c                       e Zd Zy)
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^%5*1V *1Z	 	/F /	 	&F &
	6 	E E	v 	$ $
&6 &	6 	&6 &)6 )!F !	V 		 	r"   