3Tf$ddlmZddlZddlZddlmZddlmZddl m Z GddejZ Gdd ejZ Gd d ejZGd d ejZej#ej$y)) annotationsN)utils)x509) HashAlgorithmceZdZdZdZy) LogEntryTyperN)__name__ __module__ __qualname__X509_CERTIFICATEPRE_CERTIFICATEL/usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.pyrrs OrrceZdZdZy)VersionrN)r r r v1rrrrrs Brrc eZdZdZdZdZdZdZy)SignatureAlgorithmz Signature algorithms that are valid for SCTs. These are exactly the same as SignatureAlgorithm in RFC 5246 (TLS 1.2). See: rr N)r r r __doc__ ANONYMOUSRSADSAECDSArrrrrsI C C ErrceZdZeej d dZeej d dZeej d dZeej d dZ eej ddZ eej ddZ eej d dZ eej d dZ y )SignedCertificateTimestampcy)z* Returns the SCT version. Nrselfs rversionz"SignedCertificateTimestamp.version(rcy)zM Returns an identifier indicating which log this SCT is for. Nrr!s rlog_idz!SignedCertificateTimestamp.log_id/r$rcy)z5 Returns the timestamp for this SCT. Nrr!s r timestampz$SignedCertificateTimestamp.timestamp6r$rcy)zV Returns whether this is an SCT for a certificate or pre-certificate. Nrr!s r entry_typez%SignedCertificateTimestamp.entry_type=r$rcy)zJ Returns the hash algorithm used for the SCT's signature. Nrr!s rsignature_hash_algorithmz3SignedCertificateTimestamp.signature_hash_algorithmDr$rcy)zM Returns the signing algorithm used for the SCT's signature. Nrr!s rsignature_algorithmz.SignedCertificateTimestamp.signature_algorithmKr$rcy)z5 Returns the signature for this SCT. Nrr!s r signaturez$SignedCertificateTimestamp.signatureRr$rcy)zG Returns the raw bytes of any extensions for this SCT. Nrr!s rextension_bytesz*SignedCertificateTimestamp.extension_bytesYr$rN)returnr)r3bytes)r3zdatetime.datetime)r3r)r3r)r3r)r r r propertyabcabstractmethodr#r&r(r*r,r.r0r2rrrrr's                 rr) metaclass) __future__rr6datetime cryptographyr"cryptography.hazmat.bindings._rustr rust_x509%cryptography.hazmat.primitives.hashesrEnumrrrABCMetarregisterSctrrrrCsn # @?5::  ejj   7 3;;7 t##IMM2r