HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/asn1crypto/__pycache__/cms.cpython-39.pyc
a

�,�h�l�@s�dZddlmZmZmZmZzddlZWney>dZYn0ddlm	Z	m
Z
mZmZm
Z
mZmZmZddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z ddl!m"Z"ddl#m$Z$dd	l%m&Z&dd
l'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-Gdd�de�Z.Gd
d�de�Z/Gdd�de�Z0Gdd�de�Z1Gdd�de�Z2Gdd�de�Z3Gdd�de�Z4Gdd�de�Z5Gdd�de�Z6Gdd�de�Z7Gdd �d e�Z8Gd!d"�d"e�Z9Gd#d$�d$e�Z:Gd%d&�d&e�Z;Gd'd(�d(e�Z<Gd)d*�d*e�Z=Gd+d,�d,e�Z>Gd-d.�d.e�Z?Gd/d0�d0e�Z@Gd1d2�d2e�ZAGd3d4�d4e�ZBGd5d6�d6e�ZCGd7d8�d8e�ZDGd9d:�d:e�ZEGd;d<�d<e�ZFGd=d>�d>e�ZGGd?d@�d@e�ZHGdAdB�dBe�ZIGdCdD�dDe�ZJGdEdF�dFe�ZKGdGdH�dHe�ZLGdIdJ�dJe�ZMGdKdL�dLe�ZNGdMdN�dNe�ZOGdOdP�dPe�ZPGdQdR�dRe�ZQGdSdT�dTe�ZRGdUdV�dVe�ZSGdWdX�dXe�ZTGdYdZ�dZe�ZUGd[d\�d\e�ZVGd]d^�d^e�ZWGd_d`�d`e�ZXGdadb�dbe�ZYGdcdd�dde�ZZGdedf�dfe�Z[Gdgdh�dhe�Z\Gdidj�dje�Z]Gdkdl�dle�Z^Gdmdn�dne�Z_Gdodp�dpe�Z`Gdqdr�dre�ZaGdsdt�dte�ZbGdudv�dve�ZcGdwdx�dxe�ZdGdydz�dze�ZeGd{d|�d|e�ZfGd}d~�d~e�ZgGdd��d�e�ZhGd�d��d�e�ZiGd�d��d�e�ZjGd�d��d�e�ZkGd�d��d�e�ZlGd�d��d�e�ZmGd�d��d�e�ZnGd�d��d�e�ZoGd�d��d�e�ZpGd�d��d�e�ZqGd�d��d�e�ZrGd�d��d�e�ZsGd�d��d�e�ZtGd�d��d�e	e�ZuGd�d��d�e�ZvGd�d��d�e�ZwGd�d��d�e�ZxGd�d��d�e�ZyGd�d��d�e�ZzGd�d��d�e�Z{Gd�d��d�e�Z|Gd�d��d�e�Z}Gd�d��d�e�Z~Gd�d��d�e�ZGd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d��d�e�Z�Gd�d„d�e�Z�Gd�dĄd�e�Z�Gd�dƄd�e�Z�Gd�dȄd�e�Z�Gd�dʄd�e�Z�Gd�d��d�e�ZyGd�d̈́d�e�Z�Gd�dτd�e�Z�Gd�dфd�e�Z�Gd�dӄd�e�Z�Gd�dՄd�e�Z�eeqe�e�e�e�e�e�e�d֜	ec_�eqe�e�e�e�e�e�e�dלee_�e5e6e7epede9edede�e�d؜
e:_�dS)�a�
ASN.1 type classes for cryptographic message syntax (CMS). Structures are also
compatible with PKCS#7. Exports the following items:

 - AuthenticatedData()
 - AuthEnvelopedData()
 - CompressedData()
 - ContentInfo()
 - DigestedData()
 - EncryptedData()
 - EnvelopedData()
 - SignedAndEnvelopedData()
 - SignedData()

Other type classes are defined that help compose the types listed above.

Most CMS structures in the wild are formatted as ContentInfo encapsulating one of the other types.
�)�unicode_literals�division�absolute_import�print_functionN�)�_ForceNullParameters�DigestAlgorithm�EncryptionAlgorithm�EncryptionAlgorithmId�
HmacAlgorithm�KdfAlgorithm�RSAESOAEPParams�SignedDigestAlgorithm)�Any�	BitString�Choice�
Enumerated�GeneralizedTime�Integer�ObjectIdentifier�OctetBitString�OctetString�ParsableOctetString�Sequence�
SequenceOf�SetOf�UTCTime�
UTF8String)�CertificateList)�
PublicKeyInfo)�OCSPResponse)�
Attributes�Certificate�
Extensions�GeneralName�GeneralNames�Namec@s"eZdZdefdefdefgZdS)�ExtendedCertificateInfo�version�certificate�
attributesN)�__name__�
__module__�__qualname__rr"r!�_fields�r/r/�?/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/asn1crypto/cms.pyr'As�r'c@s"eZdZdefdefdefgZdS)�ExtendedCertificateZextended_certificate_info�signature_algorithm�	signatureN)r+r,r-r'rrr.r/r/r/r0r1Is�r1c@seZdZddddddd�ZdS)	�
CMSVersionZv0�v1�v2Zv3�v4Zv5�rr����N�r+r,r-�_mapr/r/r/r0r4Ws�r4c@s&eZdZddddddddd	d
d�
ZdS)
�CMSAttributeType�content_type�message_digest�signing_time�counter_signature�smime_capabilities�encrypt_key_pref�signature_time_stamp_token�cms_algorithm_protection�microsoft_nested_signature�microsoft_time_stamp_token)
z1.2.840.113549.1.9.3z1.2.840.113549.1.9.4z1.2.840.113549.1.9.5z1.2.840.113549.1.9.6z1.2.840.113549.1.9.15z1.2.840.113549.1.9.16.2.11z1.2.840.113549.1.9.16.2.14z1.2.840.113549.1.9.52z1.3.6.1.4.1.311.2.4.1z1.3.6.1.4.1.311.3.3.1Nr=r/r/r/r0r?bs�r?c@seZdZdefdefgZdS)�TimeZutc_timeZgeneralized_timeN)r+r,r-rr�
_alternativesr/r/r/r0rJ{s�rJc
@s$eZdZddddddddd	d
�	ZdS)�ContentType�data�signed_data�enveloped_data�signed_and_enveloped_data�
digested_data�encrypted_data�authenticated_data�compressed_data�authenticated_enveloped_data)	z1.2.840.113549.1.7.1z1.2.840.113549.1.7.2z1.2.840.113549.1.7.3z1.2.840.113549.1.7.4z1.2.840.113549.1.7.5z1.2.840.113549.1.7.6z1.2.840.113549.1.9.16.1.2z1.2.840.113549.1.9.16.1.9z1.2.840.113549.1.9.16.1.23Nr=r/r/r/r0rL�s�rLc@s2eZdZdefdeddd�fdeddd�fgZdS)	�CMSAlgorithmProtection�digest_algorithmr2rT��implicit�optional�
mac_algorithmr9N)r+r,r-rrrr.r/r/r/r0rV�s�rVc@seZdZeZdS)�SetOfContentTypeN)r+r,r-rL�_child_specr/r/r/r0r\�sr\c@seZdZeZdS)�SetOfOctetStringN)r+r,r-rr]r/r/r/r0r^�sr^c@seZdZeZdS)�	SetOfTimeN)r+r,r-rJr]r/r/r/r0r_�sr_c@seZdZeZdS)�SetOfAnyN)r+r,r-rr]r/r/r/r0r`�sr`c@seZdZeZdS)�SetOfCMSAlgorithmProtectionN)r+r,r-rVr]r/r/r/r0ra�srac@s,eZdZdefdgZiZdd�ZdeiZdS)�CMSAttribute�type��valuesNcCs|j�|djt�S�Nrc��
_oid_specs�get�nativer`��selfr/r/r0�_values_spec�szCMSAttribute._values_specreN)r+r,r-r?r.rhrm�_spec_callbacksr/r/r/r0rb�s��rbc@seZdZeZdS)�
CMSAttributesN)r+r,r-rbr]r/r/r/r0ro�sroc@s(eZdZdefdefdeddifgZdS)�IssuerSerial�issuer�serialZ
issuer_uidrZTN)r+r,r-r%rrr.r/r/r/r0rp�s�rpc@seZdZddd�ZdS)�AttCertVersionr5r6)rrNr=r/r/r/r0rs�s�rsc@s(eZdZdeddifdeddifgZdS)�AttCertSubject�base_certificate_id�explicitrZsubject_namerN)r+r,r-rpr%rKr/r/r/r0rt�s�rtc@seZdZdefdefgZdS)�AttCertValidityPeriodZnot_before_timeZnot_after_timeN)r+r,r-rr.r/r/r/r0rw�s�rwc@sXeZdZdeddifdefdefdefdefdefd	e	fd
e
ddifd
eddifg	ZdS)�AttributeCertificateInfoV1r(�defaultr5�subjectrqr3�
serial_number�att_cert_validity_periodr*�issuer_unique_idrZT�
extensionsN)
r+r,r-rsrtr%rrrwr!rr#r.r/r/r/r0rx�s�rxc@s"eZdZdefdefdefgZdS)�AttributeCertificateV1�ac_infor2r3N)r+r,r-rxrrr.r/r/r/r0r�s�rc@seZdZdddd�ZdS)�DigestedObjectTypeZ
public_keyZpublic_key_certZother_objy_types)rrr9Nr=r/r/r/r0r��s�r�c@s.eZdZdefdeddifdefdefgZdS)�ObjectDigestInfoZdigested_object_typeZother_object_type_idrZTrWZ
object_digestN)r+r,r-r�rrrr.r/r/r/r0r��s
�r�c@s:eZdZdeddd�fdeddd�fdeddd�fgZd	S)
�HolderrurTrX�entity_namer�object_digest_infor9N)r+r,r-rpr%r�r.r/r/r/r0r�s�r�c@s8eZdZdeddifdeddd�fdeddd�fgZd	S)
�V2FormZissuer_namerZTrur�rvrZr�rN)r+r,r-r%rpr�r.r/r/r/r0r�s�r�c@s"eZdZdefdeddifgZdS)�
AttCertIssuerZv1_formZv2_formrYrN)r+r,r-r%r�rKr/r/r/r0r�s�r�c@s"eZdZdefdefdefgZdS)�
IetfAttrValue�octets�oid�stringN)r+r,r-rrrrKr/r/r/r0r�s�r�c@seZdZeZdS)�IetfAttrValuesN)r+r,r-r�r]r/r/r/r0r�#sr�c@s$eZdZdeddd�fdefgZdS)�IetfAttrSyntaxZpolicy_authorityrTrXreN)r+r,r-r%r�r.r/r/r/r0r�'s�r�c@seZdZeZdS)�SetOfIetfAttrSyntaxN)r+r,r-r�r]r/r/r/r0r�.sr�c@s(eZdZdefdefdeddifgZdS)�SvceAuthInfoZservice�identZ	auth_inforZTN)r+r,r-r$rr.r/r/r/r0r�2s�r�c@seZdZeZdS)�SetOfSvceAuthInfoN)r+r,r-r�r]r/r/r/r0r�:sr�c@s*eZdZdeddd�fdeddifgZdS)	�
RoleSyntaxZrole_authorityrTrXZ	role_namervrN)r+r,r-r%r$r.r/r/r/r0r�>s�r�c@seZdZeZdS)�SetOfRoleSyntaxN)r+r,r-r�r]r/r/r/r0r�Esr�c@seZdZddddddd�ZdS)	�	ClassListZunmarked�unclassifiedZ
restrictedZconfidential�secretZ
top_secretr8Nr=r/r/r/r0r�Is�r�c@s(eZdZdeddifdeddifgZdS)�SecurityCategoryrcrYr�valuervrN�r+r,r-rrr.r/r/r/r0r�Ts�r�c@seZdZeZdS)�SetOfSecurityCategoryN)r+r,r-r�r]r/r/r/r0r�[sr�c@s4eZdZdefdededg�ifdeddifgZdS)	�	Clearance�	policy_idZ
class_listryr�Zsecurity_categoriesrZTN)r+r,r-rr��setr�r.r/r/r/r0r�_s�r�c@seZdZeZdS)�SetOfClearanceN)r+r,r-r�r]r/r/r/r0r�gsr�c@s(eZdZdefdefdeddifgZdS)�BigTime�majorZfractional_seconds�signrZTN)r+r,r-rr.r/r/r/r0r�ks�r�c@seZdZdefdefgZdS)�LeapDataZ	leap_time�actionN)r+r,r-r�rr.r/r/r/r0r�ss�r�c@seZdZeZdS)�
SetOfLeapDataN)r+r,r-r�r]r/r/r/r0r�zsr�c@s4eZdZdefdefdefdefdeddifgZdS)	�
TimingMetricsZntp_time�offset�delayZ
expirationZ
leap_eventrZTN)r+r,r-r�r�r.r/r/r/r0r�~s�r�c@seZdZeZdS)�SetOfTimingMetricsN)r+r,r-r�r]r/r/r/r0r��sr�c@s8eZdZdedeifdeddd�fdeddd�fgZd	S)
�TimingPolicyr��specZ
max_offsetrTr��	max_delayrN)r+r,r-rrr�r.r/r/r/r0r��s�r�c@seZdZeZdS)�SetOfTimingPolicyN)r+r,r-r�r]r/r/r/r0r��sr�c	@s"eZdZddddddddd	�Zd
S)�AttCertAttributeType�authentication_info�access_identity�charging_identity�group�role�	clearance�timing_metrics�
timing_policy)z1.3.6.1.5.5.7.10.1z1.3.6.1.5.5.7.10.2z1.3.6.1.5.5.7.10.3z1.3.6.1.5.5.7.10.4z2.5.4.72z2.5.4.55z1.3.6.1.4.1.601.10.4.1z1.3.6.1.4.1.601.10.4.2Nr=r/r/r/r0r��s�r�c	@s>eZdZdefdgZeeeeeee	e
d�Zdd�ZdeiZ
dS)�AttCertAttributercrd)r�r�r�r�r�r�r�r�cCs|j�|djt�Srfrgrkr/r/r0rm�szAttCertAttribute._values_specreN)r+r,r-r�r.r�r�r�r�r�r�rhrmrnr/r/r/r0r��s���r�c@seZdZeZdS)�AttCertAttributesN)r+r,r-r�r]r/r/r/r0r��sr�c@sReZdZdefdefdefdefdefdefde	fde
d	d
ifded	d
ifg	ZdS)
�AttributeCertificateInfoV2r(Zholderrqr3r{r|r*r}rZTr~N)
r+r,r-rsr�r�rrrwr�rr#r.r/r/r/r0r��s�r�c@s&eZdZdZdefdefdefgZdS)�AttributeCertificateV2rr�r2r3N)r+r,r-Z_bad_tagr�rrr.r/r/r/r0r��s
�r�c@seZdZdefdefgZdS)�OtherCertificateFormatZother_cert_formatZ
other_certNr�r/r/r/r0r��s�r�csVeZdZdefdeddifdeddifdeddifd	edd
ifgZ�fdd�Z	�Z
S)
�CertificateChoicesr)Zextended_certificaterYrZv1_attr_certrZv2_attr_certr9�otherr:csFtt|��|||�|jdkrBt�t�|�d���jdkrBd|_dS)aJ
        Ensures that the class and tag specified exist as an alternative. This
        custom version fixes parsing broken encodings there a V2 attribute
        # certificate is encoded as a V1

        :param class_:
            The integer class_ from the encoded value header

        :param tag:
            The integer tag from the encoded value header

        :param contents:
            A byte string of the contents of the value - used when the object
            is explicitly tagged

        :raises:
            ValueError - when value is not a valid alternative
        r9rr6r:N)	�superr��validateZ_choicers�loadr�dumprj)rl�class_�tag�contents��	__class__r/r0r��s
zCertificateChoices.validate)r+r,r-r"r1rr�r�rKr��
__classcell__r/r/r�r0r��s�r�c@seZdZeZdS)�CertificateSetN)r+r,r-r�r]r/r/r/r0r�sr�c@s,eZdZdefdeddd�fgZdZiZdS)�ContentInfor@�contentrTr��r@r�N)r+r,r-rLrr.�	_oid_pairrhr/r/r/r0r�	s
�r�c@seZdZeZdS)�SetOfContentInfoN)r+r,r-r�r]r/r/r/r0r�sr�c@s,eZdZdefdeddd�fgZdZiZdS)�EncapsulatedContentInfor@r�rTr�r�N)r+r,r-rLrr.r�rhr/r/r/r0r�s
�r�c@seZdZdefdefgZdS)�IssuerAndSerialNumberrqr{N)r+r,r-r&rr.r/r/r/r0r�!s�r�c@s"eZdZdefdeddifgZdS)�SignerIdentifier�issuer_and_serial_number�subject_key_identifierrYrN�r+r,r-r�rrKr/r/r/r0r�(s�r�c@seZdZeZdS)�DigestAlgorithmsN)r+r,r-rr]r/r/r/r0r�/sr�c@seZdZeZdS)�CertificateRevocationListsN)r+r,r-rr]r/r/r/r0r�3sr�c@s$eZdZdeddd�fdefgZdS)�
SCVPReqRes�requestrTr��responseN)r+r,r-r�r.r/r/r/r0r�7s�r�c@seZdZddd�ZdS)�OtherRevInfoFormatId�
ocsp_response�scvp)z1.3.6.1.5.5.7.16.2z1.3.6.1.5.5.7.16.4Nr=r/r/r/r0r�>s�r�c@s*eZdZdefdefgZdZeed�Z	dS)�OtherRevocationInfoFormat�other_rev_info_format�other_rev_info)r�r�)r�r�N)
r+r,r-r�rr.r�r r�rhr/r/r/r0r�Es��r�c@s"eZdZdefdeddifgZdS)�RevocationInfoChoice�crlr�rYrN)r+r,r-rr�rKr/r/r/r0r�Rs�r�c@seZdZeZdS)�RevocationInfoChoicesN)r+r,r-r�r]r/r/r/r0r�Ysr�c@sJeZdZdefdefdefdeddd�fdefd	efd
eddd�fgZ	dS)
�
SignerInfor(ZsidrWZsigned_attrsrTrXr2r3Zunsigned_attrsrN)
r+r,r-r4r�rrorrr.r/r/r/r0r�]s�r�c@seZdZeZdS)�SignerInfosN)r+r,r-r�r]r/r/r/r0r�isr�c	@sPeZdZdefdefddeddd�fded	dd�fd
efgZdd�Z	d
e	iZ
dS)�
SignedDatar(�digest_algorithms��encap_content_infoN�certificatesrTrX�crlsr�signer_infoscCs|djdkrtStS�Nr(r5�rjr�r�rkr/r/r0�_encap_content_info_specwsz#SignedData._encap_content_info_specr�N)r+r,r-r4r�r�r�r�r.r�rnr/r/r/r0r�ms�	�r�c@s,eZdZdeddd�fdeddd�fgZdS)�OriginatorInfo�certsrTrXr�rN)r+r,r-r�r�r.r/r/r/r0r��s�r�c@s"eZdZdefdeddifgZdS)�RecipientIdentifierr�r�rYrNr�r/r/r/r0r��s�r�c
@s:eZdZddddddddd	�Zd
d
ddd
ddddd�	ZdS)�KeyEncryptionAlgorithmId�rsaes_pkcs1v15�
rsaes_oaep�aes128_wrap�aes128_wrap_pad�aes192_wrap�aes192_wrap_pad�aes256_wrap�aes256_wrap_pad)�1.2.840.113549.1.1.1�1.2.840.113549.1.1.7�2.16.840.1.101.3.4.1.5�2.16.840.1.101.3.4.1.8�2.16.840.1.101.3.4.1.25�2.16.840.1.101.3.4.1.28�2.16.840.1.101.3.4.1.45�2.16.840.1.101.3.4.1.48r�r�r�r�r�r�rr)	�rsar�r�r�r�r�r�r�r�N)r+r,r-r>Z_reverse_mapr/r/r/r0r��s&��r�c@s.eZdZdefdeddifgZdZdeiZdS)�KeyEncryptionAlgorithm�	algorithm�
parametersrZT)rrr�N)	r+r,r-r�rr.r�r
rhr/r/r/r0r�s��rc@s(eZdZdefdefdefdefgZdS)�KeyTransRecipientInfor(�rid�key_encryption_algorithm�
encrypted_keyN)r+r,r-r4r�rrr.r/r/r/r0r�s
�rc@s.eZdZdefdeddifdeddifgZdS)�OriginatorIdentifierOrKeyr�r�rYrZoriginator_keyrN)r+r,r-r�rrrKr/r/r/r0r
�s�r
c@seZdZdefdefgZdS)�OtherKeyAttributeZkey_attr_idZkey_attrNr�r/r/r/r0r�s�rc@s.eZdZdefdeddifdeddifgZdS)�RecipientKeyIdentifierr��daterZTr�N�r+r,r-rrrr.r/r/r/r0r�s�rc@s"eZdZdefdeddifgZdS)�KeyAgreementRecipientIdentifierr�Zr_key_idrYrN)r+r,r-r�rrKr/r/r/r0r�s�rc@seZdZdefdefgZdS)�RecipientEncryptedKeyrr	N)r+r,r-rrr.r/r/r/r0r�s�rc@seZdZeZdS)�RecipientEncryptedKeysN)r+r,r-rr]r/r/r/r0r�src@s<eZdZdefdeddifdeddd�fd	efd
efgZdS)�KeyAgreeRecipientInfor(Z
originatorrvrZukmrTr�rZrecipient_encrypted_keysN)	r+r,r-r4r
rrrr.r/r/r/r0r�s�rc@s.eZdZdefdeddifdeddifgZdS)�
KEKIdentifierZkey_identifierr
rZTr�Nrr/r/r/r0r�s�rc@s(eZdZdefdefdefdefgZdS)�KEKRecipientInfor(Zkekidrr	N)r+r,r-r4rrrr.r/r/r/r0rs
�rc@s0eZdZdefdeddd�fdefdefgZdS)	�PasswordRecipientInfor(Zkey_derivation_algorithmrTrXrr	N)r+r,r-r4rrrr.r/r/r/r0r
s
�rc@seZdZdefdefgZdS)�OtherRecipientInfoZori_typeZ	ori_valueNr�r/r/r/r0rs�rc@sFeZdZdefdeddifdeddifdeddifd	edd
ifgZdS)�
RecipientInfoZktriZkarirYrZkekrir9Zpwrir:Zorir;N)	r+r,r-rrrrrrKr/r/r/r0rs�rc@seZdZeZdS)�RecipientInfosN)r+r,r-rr]r/r/r/r0r$src@s*eZdZdefdefdeddd�fgZdS)�EncryptedContentInfor@Zcontent_encryption_algorithmZencrypted_contentrTrXN)r+r,r-rLr	rr.r/r/r/r0r(s�rc	@s>eZdZdefdeddd�fdefdefded	dd�fgZd
S)�
EnvelopedDatar(�originator_inforTrX�recipient_infos�encrypted_content_info�unprotected_attrsrN)	r+r,r-r4r�rrror.r/r/r/r0r0s�rc
@sJeZdZdefdefdefdefdeddd�fd	ed
dd�fde	fgZ
dS)
�SignedAndEnvelopedDatar(rr�rr�rTrXr�rr�N)r+r,r-r4rr�rr�r�r�r.r/r/r/r0r:s�rc@s4eZdZdefdefddefgZdd�ZdeiZdS)	�DigestedDatar(rWr��digestcCs|djdkrtStSr�r�rkr/r/r0r�Nsz%DigestedData._encap_content_info_specr�N)	r+r,r-r4rrr.r�rnr/r/r/r0r Fs��r c@s*eZdZdefdefdeddd�fgZdS)�
EncryptedDatar(rrrTrXN)r+r,r-r4rror.r/r/r/r0r"as�r"c
@sfeZdZdefdeddd�fdefdefded	dd�fd
efde	ddd�fd
e
fde	ddd�fg	ZdS)�AuthenticatedDatar(rrTrXrr[rWrr��
auth_attrsr9�mac�unauth_attrsr:N)r+r,r-r4r�rrrr�rorr.r/r/r/r0r#is�r#c@sReZdZdefdeddd�fdefdefded	dd�fd
efdeddd�fgZ	d
S)�AuthEnvelopedDatar(rrTrXrZauth_encrypted_content_infor$rr%r&r9N)
r+r,r-r4r�rrrorr.r/r/r/r0r'ys�r'c@seZdZddiZdS)�CompressionAlgorithmIdz1.2.840.113549.1.9.16.3.8�zlibNr=r/r/r/r0r(�s�r(c@s"eZdZdefdeddifgZdS)�CompressionAlgorithmrrrZTN)r+r,r-r(rr.r/r/r/r0r*�s�r*c@s2eZdZdefdefdefgZdZedd��Z	dS)�CompressedDatar(Zcompression_algorithmr�NcCs6|jdur0tdurtd��t�|ddj�|_|jS)Nz The zlib module is not availabler�r�)�
_decompressedr)�SystemError�
decompressrjrkr/r/r0�decompressed�s

zCompressedData.decompressed)
r+r,r-r4r*r�r.r,�propertyr/r/r/r/r0r+�s�r+c@s.eZdZdefdeddifdeddifgZdS)rZsubjectKeyIdentifierr
rZTr�Nrr/r/r/r0r�s�c@s4eZdZdeddifdeddifdeddifgZdS)	�SMIMEEncryptionKeyPreferencer�rYrZrecipientKeyIdrZsubjectAltKeyIdentifierr9N)r+r,r-r�rrrKr/r/r/r0r1�s�r1c@seZdZeZdS)�SMIMEEncryptionKeyPreferencesN)r+r,r-r1r]r/r/r/r0r2�sr2c@s"eZdZdefdeddifgZdS)�SMIMECapabilityIdentifierZ
capability_idrrZTN)r+r,r-r
rr.r/r/r/r0r3�s�r3c@seZdZeZdS)�SMIMECapabilitesN)r+r,r-r3r]r/r/r/r0r4�sr4c@seZdZeZdS)�SetOfSMIMECapabilitesN)r+r,r-r4r]r/r/r/r0r5�sr5)	rMrNrOrPrQrRrSrTrU)rNrOrPrQrRrSrTrU)
r@rArBrCrFrGrHrIrErD)��__doc__�
__future__rrrrr)�ImportErrorZalgosrrr	r
rrr
r�corerrrrrrrrrrrrrrrr�r�keysrZocspr �x509r!r"r#r$r%r&r'r1r4r?rJrLrVr\r^r_r`rarbrorprsrtrwrxrr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrr
rrrrrrrrrrrrrrrr r"r#r'r(r*r+r1r2r3r4r5rhr/r/r/r0�<module>s
(
D 	

#


	
		

��
�