%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core18/current/usr/lib/python3/dist-packages/asn1crypto/__pycache__/
Upload File :
Create Path :
Current File : //snap/core18/current/usr/lib/python3/dist-packages/asn1crypto/__pycache__/tsp.cpython-36.pyc

3

M��Y��@s"dZddlmZmZmZmZddlmZddlm	Z	m
Z
mZmZm
Z
ddlmZmZmZmZmZmZmZmZmZmZmZmZmZddlmZddlmZm Z m!Z!m"Z"Gd	d
�d
e�Z#Gdd�de�Z$Gd
d�de�Z%Gdd�de�Z&Gdd�de�Z'Gdd�de�Z(Gdd�de�Z)Gdd�de�Z*Gdd�de�Z+Gdd�de�Z,Gdd�de�Z-Gdd �d e�Z.Gd!d"�d"e�Z/Gd#d$�d$e�Z0Gd%d&�d&e�Z1Gd'd(�d(e�Z2Gd)d*�d*e�Z3Gd+d,�d,e�Z4Gd-d.�d.e�Z5Gd/d0�d0e�Z6Gd1d2�d2e�Z7Gd3d4�d4e�Z8Gd5d6�d6e�Z9Gd7d8�d8e�Z:Gd9d:�d:e�Z;Gd;d<�d<e�Z<Gd=d>�d>e�Z=Gd?d@�d@e�Z>GdAdB�dBe�Z?GdCdD�dDe�Z@GdEdF�dFe�ZAGdGdH�dHe�ZBGdIdJ�dJe�ZCGdKdL�dLe�ZDe(e
jEdM<e;e
jEdN<e;ejEdN<dMejFdO<dNejFdP<dQe
jFdR<e@e	jEdQ<dSe
jFdT<eDe	jEdS<dUS)Va�
ASN.1 type classes for the time stamp protocol (TSP). Exports the following
items:

 - TimeStampReq()
 - TimeStampResp()

Also adds TimeStampedData() support to asn1crypto.cms.ContentInfo(),
TimeStampedData() and TSTInfo() support to
asn1crypto.cms.EncapsulatedContentInfo() and some oids and value parsers to
asn1crypto.cms.CMSAttribute().

Other type classes are defined that help compose the types listed above.
�)�unicode_literals�division�absolute_import�print_function�)�DigestAlgorithm)�CMSAttribute�CMSAttributeType�ContentInfo�ContentType�EncapsulatedContentInfo)
�Any�	BitString�Boolean�Choice�GeneralizedTime�	IA5String�Integer�ObjectIdentifier�OctetString�Sequence�
SequenceOf�SetOf�
UTF8String)�CertificateList)�
Attributes�CertificatePolicies�GeneralName�GeneralNamesc@seZdZddddddd�ZdS)	�VersionZv0Zv1Zv2Zv3Zv4Zv5)rr����N)�__name__�
__module__�__qualname__�_map�r(r(�0/usr/lib/python3/dist-packages/asn1crypto/tsp.pyr8src@seZdZdefdefgZdS)�MessageImprint�hash_algorithmZhashed_messageN)r$r%r&rr�_fieldsr(r(r(r)r*Csr*c@s8eZdZdeddifdeddd�fdeddd�fgZd	S)
�AccuracyZseconds�optionalTZmillisr)�implicitr.ZmicrosrN)r$r%r&rr,r(r(r(r)r-Jsr-c@s(eZdZdefdeddifdefgZdS)�	ExtensionZextn_idZcritical�defaultFZ
extn_valueN)r$r%r&rrrr,r(r(r(r)r0Rsr0c@seZdZeZdS)�
ExtensionsN)r$r%r&r0�_child_specr(r(r(r)r2Zsr2c@sneZdZdefdefdefdefdefdeddifd	e	d
difdeddifd
e
ddd�fdeddd�fg
ZdS)�TSTInfo�versionZpolicy�message_imprint�
serial_numberZgen_timeZaccuracyr.TZorderingr1F�nonceZtsar)Zexplicitr.�
extensionsr)r/r.N)
r$r%r&rrr*rrr-rrr2r,r(r(r(r)r4^sr4c
@sNeZdZdefdefdeddifdeddifdedd	ifd
eddd�fgZ	d
S)�TimeStampReqr5r6Z
req_policyr.Tr8Zcert_reqr1Fr9r)r/r.N)
r$r%r&rr*rrrr2r,r(r(r(r)r:msr:c@seZdZddddddd�ZdS)	�	PKIStatusZgrantedZgranted_with_modsZ	rejectionZwaitingZrevocation_warningZrevocation_notification)rrr r!r"r#N)r$r%r&r'r(r(r(r)r;xsr;c@seZdZeZdS)�PKIFreeTextN)r$r%r&rr3r(r(r(r)r<�sr<c	@s"eZdZddddddddd	�Zd
S)�PKIFailureInfoZbad_algZbad_requestZbad_data_formatZtime_not_availableZunaccepted_policyZunaccepted_extensionsZadd_info_not_availableZsystem_failure)rr r#�����N)r$r%r&r'r(r(r(r)r=�sr=c@s.eZdZdefdeddifdeddifgZdS)�
PKIStatusInfo�statusZ
status_stringr.TZ	fail_infoN)r$r%r&r;r<r=r,r(r(r(r)rC�srCc@seZdZdefdefgZdS)�
TimeStampResprDZtime_stamp_tokenN)r$r%r&rCr
r,r(r(r(r)rE�srEc@s:eZdZdefdeddifdeddifdeddifgZdS)�MetaDataZhash_protected�	file_namer.TZ
media_typeZother_meta_dataN)r$r%r&rrrrr,r(r(r(r)rF�srFc@s"eZdZdefdeddifgZdS)�TimeStampAndCRL�
time_stamp�crlr.TN)r$r%r&rrr,r(r(r(r)rH�srHc@seZdZeZdS)�TimeStampTokenEvidenceN)r$r%r&rHr3r(r(r(r)rK�srKc@seZdZeZdS)�DigestAlgorithmsN)r$r%r&rr3r(r(r(r)rL�srLc@seZdZdefdefgZdS)�EncryptionInfoZencryption_info_typeZencryption_info_valueN)r$r%r&rr
r,r(r(r(r)rM�srMc@seZdZeZdS)�PartialHashtreeN)r$r%r&rr3r(r(r(r)rN�srNc@seZdZeZdS)�PartialHashtreesN)r$r%r&rNr3r(r(r(r)rO�srOc@s@eZdZdeddd�fdeddd�fdeddd�fd	efgZd
S)�ArchiveTimeStampZdigest_algorithmrT)r/r.Z
attributesrZreduced_hashtreer rIN)r$r%r&rrrOr
r,r(r(r(r)rP�srPc@seZdZeZdS)�ArchiveTimeStampSequenceN)r$r%r&rPr3r(r(r(r)rQ�srQc@s>eZdZdefdefdeddd�fdeddd�fd	efgZd
S)�EvidenceRecordr5Zdigest_algorithmsZcrypto_infosrT)r/r.Zencryption_inforZarchive_time_stamp_sequenceN)	r$r%r&rrLrrMrQr,r(r(r(r)rR�s
rRc@seZdZdefdefgZdS)�
OtherEvidenceZoe_typeZoe_valueN)r$r%r&rr
r,r(r(r(r)rS�srSc@s4eZdZdeddifdeddifdeddifgZdS)	�EvidenceZtst_evidencer/rZers_evidencerZother_evidencer N)r$r%r&rKrRrSZ
_alternativesr(r(r(r)rT�srTc@s@eZdZdefdeddifdeddifdeddifdefgZdS)	�TimeStampedDatar5Zdata_urir.TZ	meta_dataZcontentZtemporal_evidenceN)	r$r%r&rrrFrrTr,r(r(r(r)rU�s
rUc@seZdZdefdefgZdS)�IssuerSerialZissuerr7N)r$r%r&rrr,r(r(r(r)rV�srVc@s"eZdZdefdeddifgZdS)�	ESSCertID�	cert_hash�
issuer_serialr.TN)r$r%r&rrVr,r(r(r(r)rWsrWc@seZdZeZdS)�
ESSCertIDsN)r$r%r&rWr3r(r(r(r)rZsrZc@s"eZdZdefdeddifgZdS)�SigningCertificate�certs�policiesr.TN)r$r%r&rZrr,r(r(r(r)r[sr[c@seZdZeZdS)�SetOfSigningCertificatesN)r$r%r&r[r3r(r(r(r)r^sr^c@s2eZdZdedddiifdefdeddifgZd	S)
�ESSCertIDv2r+r1�	algorithmZsha256rXrYr.TN)r$r%r&rrrVr,r(r(r(r)r_sr_c@seZdZeZdS)�ESSCertIDv2sN)r$r%r&r_r3r(r(r(r)rasrac@s"eZdZdefdeddifgZdS)�SigningCertificateV2r\r]r.TN)r$r%r&rarr,r(r(r(r)rb#srbc@seZdZeZdS)�SetOfSigningCertificatesV2N)r$r%r&rbr3r(r(r(r)rc*srcZtst_infoZtimestamped_dataz1.2.840.113549.1.9.16.1.4z1.2.840.113549.1.9.16.1.31Zsigning_certificatez1.2.840.113549.1.9.16.2.12Zsigning_certificate_v2z1.2.840.113549.1.9.16.2.47N)G�__doc__Z
__future__rrrrZalgosrZcmsrr	r
rrZcorer
rrrrrrrrrrrrrJrZx509rrrrrr*r-r0r2r4r:r;r<r=rCrErFrHrKrLrMrNrOrPrQrRrSrTrUrVrWrZr[r^r_rarbrcZ
_oid_specsr'r(r(r(r)�<module>sb<
		











Zerion Mini Shell 1.0