o
    ýÞhÌ  ã                   @   sR   d Z ddlmZmZmZ G dd„ dejƒZG dd„ dejƒZG dd„ dejƒZd	S )
znASN.1 definitions.

Not all ASN.1-handling code use these definitions, but when it does, they should be here.
é    )ÚunivÚ	namedtypeÚtagc                   @   s0   e Zd Ze e de ¡ ¡e de ¡ ¡¡Z	dS )ÚPubKeyHeaderÚoidÚ
parametersN)
Ú__name__Ú
__module__Ú__qualname__r   Ú
NamedTypesÚ	NamedTyper   ÚObjectIdentifierÚNullÚcomponentType© r   r   úH/var/www/html/premium_crap/venv/lib/python3.10/site-packages/rsa/asn1.pyr      s
    þr   c                   @   sB   e Zd Ze e deƒ ¡e de ¡ j	e
jdddd�d�¡¡ZdS )ÚOpenSSLPubKeyÚheaderÚkeyr   é   )ÚtagClassÚ	tagFormatÚtagId)ÚimplicitTagN)r   r	   r
   r   r   r   r   r   ÚOctetStringÚsubtyper   ÚTagr   r   r   r   r   r      s    þýr   c                   @   s4   e Zd ZdZe e de ¡ ¡e de ¡ ¡¡Z	dS )Ú	AsnPubKeyz£ASN.1 contents of DER encoded public key:

    RSAPublicKey ::= SEQUENCE {
         modulus           INTEGER,  -- n
         publicExponent    INTEGER,  -- e
    ÚmodulusÚpublicExponentN)
r   r	   r
   Ú__doc__r   r   r   r   ÚIntegerr   r   r   r   r   r   )   s    þr   N)	r    Úpyasn1.typer   r   r   ÚSequencer   r   r   r   r   r   r   Ú<module>   s
   