ó
¾^Yc           @   sŠ  d  d l  m Z m Z m Z m Z m Z d  d l m Z d e j f d     YZ	 d e j
 f d     YZ e j d7  Z e j d8  Z e j d9  Z e j d:  Z e j d;  Z e j d<  Z e j d=  Z e j d>  Z e j d?  Z d e j f d     YZ d e j f d     YZ d e j f d     YZ d e j f d     YZ d e j f d     YZ d e j f d     YZ  d e j f d     YZ! d e j
 f d     YZ" d  e j f d!     YZ# d" e j$ f d#     YZ% d$ e j f d%     YZ& d& e j f d'     YZ' d( e j f d)     YZ( d* e j f d+     YZ) d, e j f d-     YZ* d. e j f d/     YZ+ d0 e j f d1     YZ, d2 e j f d3     YZ- d4 e j f d5     YZ. d6 S(@   i’’’’(   t   tagt	   namedtypet   namedvalt   univt   useful(   t   rfc2459t	   CRLReasonc           B   s2   e  Z e j d d d d d d d d d d 
 Z RS(   t   unspecifiedi    t   keyCompromisei   t   cACompromisei   t   affiliationChangedi   t
   supersededi   t   cessationOfOperationi   t   certificateHoldi   t   removeFromCRLi   t   privilegeWithdrawni	   t   aACompromisei
   (   R   i    (   R   i   (   R	   i   (   R
   i   (   R   i   (   R   i   (   R   i   (   R   i   (   R   i	   (   R   i
   (   t   __name__t
   __module__R   t   NamedValuest   namedValues(    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR       s   t   GeneralNamec           B   s   e  Z RS(    (   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR   3   s   i   i   i   i   i   i	   i0   i   i   t   AcceptableResponsesc           B   s   e  Z e j   Z RS(    (   R   R   R   t   ObjectIdentifiert   componentType(    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR   D   s   t   ArchiveCutoffc           B   s   e  Z RS(    (   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR   H   s   t   UnknownInfoc           B   s   e  Z RS(    (   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR   L   s   t   RevokedInfoc        
   B   s\   e  Z e j e j d  e j    e j d e   j	 d e
 j e
 j e
 j d     Z RS(   t   revocationTimet   revocationReasont   explicitTagi    (   R   R   R   t
   NamedTypest	   NamedTypeR   t   GeneralizedTimet   OptionalNamedTypeR   t   subtypeR    t   Tagt   tagClassContextt   tagFormatSimpleR   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR   P   s   t   CertIDc           B   sh   e  Z e j e j d  e j    e j d e j    e j d e j    e j d e j	     Z
 RS(   t   hashAlgorithmt   issuerNameHasht   issuerKeyHasht   serialNumber(   R   R   R   R   R    R   t   AlgorithmIdentifierR   t   OctetStringt   CertificateSerialNumberR   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR'   X   s
   t
   CertStatusc           B   s°   e  Z e j e j d  e j   j d e j	 e j
 e j d    e j d e   j d e j	 e j
 e j d    e j d e   j d e j	 e j
 e j d     Z RS(   t   goodt   implicitTagi    t   revokedi   t   unknowni   (   R   R   R   R   R    R   t   NullR#   R    R$   R%   R&   R   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR/   a   s   	-	*	t   SingleResponsec           B   s¹   e  Z e j e j d  e    e j d e    e j d e j    e j	 d e j   j
 d e j e j e j d    e j	 d e j   j
 d e j e j e j d     Z RS(   t   certIDt
   certStatust
   thisUpdatet
   nextUpdateR   i    t   singleExtensionsi   (   R   R   R   R   R    R'   R/   R   R!   R"   R#   R    R$   R%   R&   R   t
   ExtensionsR   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR5   l   s   t   KeyHashc           B   s   e  Z RS(    (   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR<   x   s   t   ResponderIDc        
   B   s}   e  Z e j e j d  e j   j d e j	 e j
 e j d    e j d e   j d e j	 e j
 e j d     Z RS(   t   byNameR1   i   t   byKeyi   (   R   R   R   R   R    R   t   NameR#   R    R$   R%   R&   R<   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR=   |   s
   	-	t   Versionc           B   s   e  Z e j d  Z RS(   t   v1i    (   RB   i    (   R   R   R   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRA      s   t   ResponseDatac           B   sĀ   e  Z e j e j d  e d  j d e j e j	 e j
 d    e j d e    e j d e j    e j d e j e     e j d e j   j d e j e j	 e j
 d     Z RS(	   t   versionRB   R   i    t   responderIDt
   producedAtt	   responsest   responseExtensionsi   (   R   R   R   R   t   DefaultedNamedTypeRA   R#   R    R$   R%   R&   R    R=   R   R!   R   t
   SequenceOfR5   R"   R   R;   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRC      s   t   BasicOCSPResponsec           B   s   e  Z e j e j d  e    e j d e j    e j d e j	    e j
 d e j e j    j d e j e j e j d     Z RS(   t   tbsResponseDatat   signatureAlgorithmt	   signaturet   certsR   i    (   R   R   R   R   R    RC   R   R,   R   t	   BitStringR"   RJ   t   CertificateR#   R    R$   R%   R&   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRK      s   !t   ResponseBytesc           B   s>   e  Z e j e j d  e j    e j d e j     Z RS(   t   responseTypet   response(	   R   R   R   R   R    R   R   R-   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRR      s   t   OCSPResponseStatusc        	   B   s)   e  Z e j d d d d d d d  Z RS(   t
   successfuli    t   malformedRequesti   t   internalErrori   t   tryLateri   t   undefinedStatusi   t   sigRequiredi   t   unauthorizedi   (   RV   i    (   RW   i   (   RX   i   (   RY   i   (   RZ   i   (   R[   i   (   s   unauthorizedi   (   R   R   R   R   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRU   ¦   s   t   OCSPResponsec        
   B   sY   e  Z e j e j d  e    e j d e   j d e	 j
 e	 j e	 j d     Z RS(   t   responseStatust   responseBytesR   i    (   R   R   R   R   R    RU   R"   RR   R#   R    R$   R%   R&   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR]   ²   s   t   Requestc        
   B   s\   e  Z e j e j d  e    e j d e j   j	 d e
 j e
 j e
 j d     Z RS(   t   reqCertt   singleRequestExtensionsR   i    (   R   R   R   R   R    R'   R"   R   R;   R#   R    R$   R%   R&   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyR`   ŗ   s   t	   Signaturec           B   s}   e  Z e j e j d  e j    e j d e j    e j	 d e j
 e j    j d e j e j e j d     Z RS(   RM   RN   RO   R   i    (   R   R   R   R   R    R   R,   R   RP   R"   RJ   RQ   R#   R    R$   R%   R&   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRc   Ā   s
   !t
   TBSRequestc           B   sĪ   e  Z e j e j d  e d  j d e j e j	 e j
 d    e j d e   j d e j e j	 e j
 d    e j d e j e     e j d e j   j d e j e j	 e j
 d     Z RS(	   RD   RB   R   i    t   requestorNamei   t   requestListt   requestExtensionsi   (   R   R   R   R   RI   RA   R#   R    R$   R%   R&   R"   R   R    R   RJ   R`   R   R;   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRd   Ė   s   t   OCSPRequestc        
   B   sY   e  Z e j e j d  e    e j d e   j d e	 j
 e	 j e	 j d     Z RS(   t
   tbsRequestt   optionalSignatureR   i    (   R   R   R   R   R    Rd   R"   Rc   R#   R    R$   R%   R&   R   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyRh   ×   s   N(	   i   i   i   i   i   i   i   i   i	   (	   i   i   i   i   i   i   i   i0   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (
   i   i   i   i   i   i   i   i0   i   i   (/   t   pyasn1.typeR    R   R   R   R   t   pyasn1_modulesR   t
   EnumeratedR   R-   R   R   t   id_kp_OCSPSigningt   id_pkix_ocspt   id_pkix_ocsp_basict   id_pkix_ocsp_noncet   id_pkix_ocsp_crlt   id_pkix_ocsp_responset   id_pkix_ocsp_nocheckt   id_pkix_ocsp_archive_cutofft   id_pkix_ocsp_service_locatorRJ   R   R!   R   R4   R   t   SequenceR   R'   t   ChoiceR/   R5   R<   R=   t   IntegerRA   RC   RK   RR   RU   R]   R`   Rc   Rd   Rh   (    (    (    s>   /tmp/pip-build-kpPAdC/pyasn1-modules/pyasn1_modules/rfc2560.pyt   <module>   s>   (		
	