%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python37/lib/python3.7/site-packages/asn1crypto/__pycache__/
Upload File :
Create Path :
Current File : //opt/alt/python37/lib/python3.7/site-packages/asn1crypto/__pycache__/tsp.cpython-37.pyc

B

��W��@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(�?/opt/alt/python37/lib/python3.7/site-packages/asn1crypto/tsp.pyr8src@seZdZdefdefgZdS)�MessageImprint�hash_algorithmZhashed_messageN)r$r%r&rr�_fieldsr(r(r(r)r*Csr*c@s<eZdZdeddifdedddd�fdedd	dd�fgZd
S)�AccuracyZseconds�optionalTZmillis�implicitr)�tag_type�tagr.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)r2Rsr2c@seZdZeZdS)�
ExtensionsN)r$r%r&r2�_child_specr(r(r(r)r4Zsr4c@sreZdZdefdefdefdefdefdeddifd	e	d
difdeddifd
e
dddd�fdedddd�fg
ZdS)�TSTInfo�versionZpolicy�message_imprint�
serial_numberZgen_timeZaccuracyr.TZorderingr3F�nonceZtsaZexplicitr)r0r1r.�
extensionsr/rN)
r$r%r&rrr*rrr-rrr4r,r(r(r(r)r6^sr6c@sPeZdZdefdefdeddifdeddifdedd	ifd
edddd
�fgZ	dS)�TimeStampReqr7r8Z
req_policyr.Tr:Zcert_reqr3Fr;r/r)r0r1r.N)
r$r%r&rr*rrrr4r,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&rr5r(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)rE�srEc@seZdZdefdefgZdS)�
TimeStampResprFZtime_stamp_tokenN)r$r%r&rEr
r,r(r(r(r)rG�srGc@s:eZdZdefdeddifdeddifdeddifgZdS)�MetaDataZhash_protected�	file_namer.TZ
media_typeZother_meta_dataN)r$r%r&rrrrr,r(r(r(r)rH�srHc@s"eZdZdefdeddifgZdS)�TimeStampAndCRL�
time_stamp�crlr.TN)r$r%r&rrr,r(r(r(r)rJ�srJc@seZdZeZdS)�TimeStampTokenEvidenceN)r$r%r&rJr5r(r(r(r)rM�srMc@seZdZeZdS)�DigestAlgorithmsN)r$r%r&rr5r(r(r(r)rN�srNc@seZdZdefdefgZdS)�EncryptionInfoZencryption_info_typeZencryption_info_valueN)r$r%r&rr
r,r(r(r(r)rO�srOc@seZdZeZdS)�PartialHashtreeN)r$r%r&rr5r(r(r(r)rP�srPc@seZdZeZdS)�PartialHashtreesN)r$r%r&rPr5r(r(r(r)rQ�srQc@sFeZdZdedddd�fdedddd�fdedd	dd�fd
efgZdS)�ArchiveTimeStampZdigest_algorithmr/rT)r0r1r.Z
attributesrZreduced_hashtreer rKN)r$r%r&rrrQr
r,r(r(r(r)rR�srRc@seZdZeZdS)�ArchiveTimeStampSequenceN)r$r%r&rRr5r(r(r(r)rS�srSc	@sBeZdZdefdefdedddd�fdedd	dd�fd
efgZdS)�EvidenceRecordr7Zdigest_algorithmsZcrypto_infosr/rT)r0r1r.Zencryption_inforZarchive_time_stamp_sequenceN)	r$r%r&rrNrrOrSr,r(r(r(r)rT�s
rTc@seZdZdefdefgZdS)�
OtherEvidenceZoe_typeZoe_valueN)r$r%r&rr
r,r(r(r(r)rU�srUc@s:eZdZdeddd�fdeddd�fdeddd�fgZd	S)
�EvidenceZtst_evidencer/r)r0r1Zers_evidencerZother_evidencer N)r$r%r&rMrTrUZ
_alternativesr(r(r(r)rV�srVc@s@eZdZdefdeddifdeddifdeddifdefgZdS)	�TimeStampedDatar7Zdata_urir.TZ	meta_dataZcontentZtemporal_evidenceN)	r$r%r&rrrHrrVr,r(r(r(r)rW�s
rWc@seZdZdefdefgZdS)�IssuerSerialZissuerr9N)r$r%r&rrr,r(r(r(r)rX�srXc@s"eZdZdefdeddifgZdS)�	ESSCertID�	cert_hash�
issuer_serialr.TN)r$r%r&rrXr,r(r(r(r)rYsrYc@seZdZeZdS)�
ESSCertIDsN)r$r%r&rYr5r(r(r(r)r\sr\c@s"eZdZdefdeddifgZdS)�SigningCertificate�certs�policiesr.TN)r$r%r&r\rr,r(r(r(r)r]sr]c@seZdZeZdS)�SetOfSigningCertificatesN)r$r%r&r]r5r(r(r(r)r`sr`c@s2eZdZdedddiifdefdeddifgZd	S)
�ESSCertIDv2r+r3�	algorithmZsha256rZr[r.TN)r$r%r&rrrXr,r(r(r(r)rasrac@seZdZeZdS)�ESSCertIDv2sN)r$r%r&rar5r(r(r(r)rcsrcc@s"eZdZdefdeddifgZdS)�SigningCertificateV2r^r_r.TN)r$r%r&rcrr,r(r(r(r)rd#srdc@seZdZeZdS)�SetOfSigningCertificatesV2N)r$r%r&rdr5r(r(r(r)re*sreZtst_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
rrrrrrrrrrrrrLrZx509rrrrrr*r-r2r4r6r<r=r>r?rErGrHrJrMrNrOrPrQrRrSrTrUrVrWrXrYr\r]r`rarcrdreZ
_oid_specsr'r(r(r(r)�<module>sb<
		











Zerion Mini Shell 1.0