fD      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABC2 BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneD\Attempt to decode a bytestring representing an DER ASN.1 serialized object into the object.E7Encode an ASN.1 Object to the DER serialized bytestringDEDEDENone:HMFGHIFGHFGHI BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-Inferred JKLMNOPQRST KLMNOQRST JKLMNOPQRST BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-InferredUVWXYZ[\UVUV Safe-Inferred]^$_`abcdefghijklmnopqrstuvwxyz{|}~]^]^None None   None     BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-Inferred DirectionRole#Compression identification$Cipher identification%Session data to resume* A session ID+Versions known to TLSDSSL2 is just defined, but this version is and will not be supported.#$%&'()*+,-./0#$%&'()*+,-./0#$%&'()*+0/.-,  BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone13Certificate Usage callback possible returns values.2usage of certificate rejected3usage of certificate accepted4&Certificate and Chain rejection reason 12345678"1234567813248765  BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-Inferred9A session manager;Aused on server side to decide whether to resume a client session.<#used when a session is established.=#used when a session is invalidated.9:;<=>9:;<=>9:;<=> BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-Inferred?'record some data about this connection.A$number of handshakes on this contextB#bytes received since last handshakeCbytes sent since last handshake ?@ABC ?@ABC?@ABCNone:M'DEF+(for the md5 context, for the sha1 context)6DEFDFE BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone+`Bdeprecated alert, should never be sent by compliant implementationf@TLS Exceptions related to bad user usage or asynchronous errorsgjUsage error when the connection has not been established and the user is trying to send or receive datah(Handshake failed for the reason attachediGEarly termination exception with the reason and the error associatedj5TLSError that might be returned through the TLS stackohandshake policy failed.rmainly for instance of Error     GHIJKLMNOPQRSTUVWXYZ[\]^_`abc !"#$%&'()*+de,-./0fghijklmnopqrstuvwx123yz{|}~456789:;<=>?@ABCDEFGHIJKLMNOPQRST%&'()*+,-./0     GHIJKLMNOPQRSTUVWXYZ[\]^_`abc !"#$%&'()*+de,-./0fghijklmnopqrstuvwx12yz{|}~456789:;<=>?@BCDEFG5        Gcba`_^]\[ZYXWVUTSRQPONMLKJIH "!#$%&'()*+de,0/.-fihgjrqponmlksxwvut123yz~}|{456789<;:=?>@ABCDEFGHIJKLMNOPQRS BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneA collection of hooks actions.)called at each handshake message received1called at each certificate chain message received/hooks on IO and packets, receiving and sending.Hooks for logging8This is called when sending and receiving packets and IOUVWX VUVWX BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNonetry to create a new credential object from a public certificate and the associated private key that are stored on the filesystem in PEM format. similar to V but take the certificate and private key from memory instead of from the filesystem. !public certificate (X.509 format)private key associatedYZ[\]^_YZ[ YZ[\]^_ BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone!`abcdefghijklmnopqrstuvwxyz{|}~(`abcdefghijklmnopqrstuwxyz{|}~`dcbaefghijklmnopqrstuvwxyz{|}~ BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneNoneMThis is a strict version of andThis is a strict version of &&.verify that 2 bytestrings are equals. it's a non lazy version, that will compare every bytes. arguments with different length will bail out early    BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneConnection IO backend,Flush the connection sending buffer, if any.Close the connection.)Send a bytestring through the connection.6Receive specified number of bytes from the connection.   BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone:MCipher algorithmCheck if a specific 2 is allowed to be used with the version specified2-$  BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNonecurrent protocol versioncurrent key exchange type+support Next Protocol Negotiation extensionin certain cases, we haven't manage to decode ServerKeyExchange properly, because the decoding was too eager and the cipher wasn't been set yet. we keep the Server Key Exchange in it unparsed format, and this function is able to really decode the server key xchange if it's unparsed.M"I BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone-Application Layer Protocol Negotiation (ALPN)Next Protocol NegotiationSecure Renegotiation?Max fragment extension with length from 512 bytes to 4096 bytesServer Name extension including the name type and the associated name. the associated name decoding is dependant of its name type. name type = 0 : hostnameKExtension class to transform bytes to and from a high level Extension type..all supported extensions by the implementationV      !"#$%&'()*+,-./0123456789:;<=Y_`abcdefghijklmnopqrstuvwxyz{|}~     !#$-./0;      !"#$%&'()*+,-./0123456789:;<= BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone6BHM;>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwx9H>ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw'>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwx BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknown Safe-Inferred:M0This is the default compression which is a NOOP.Aevery compression need to be wrapped in this, to fit in structure>supported compression algorithms need to be part of this class+return the associated ID for this algorithmzdeflate (compress) a bytestring using a compression context and return the result along with the new compression context.winflate (decompress) a bytestring using a compression context and return the result along the new compression context.intersect a list of ids commonly given by the other side with a list of compression the function keeps the list of compression in order, to be able to find quickly the prefered compression.default null compressionyz{| # yz{| BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneQA set of callbacks run by the server for various corners of the TLS establishmentThis action is called when a client certificate chain is received from the client. When it returns a CertificateUsageReject value, the handshake is aborted.JThis action is called when the client certificate cannot be verified. A }S argument indicates a wrong signature, a 'Just e' message signals a crypto error.iAllow the server to choose the cipher relative to the the client version and the client list of ciphers.xThis could be useful with old clients and as a workaround to the BEAST (where RC4 is sometimes prefered with TLS < 1.1)'The client cipher list cannot be empty.Msuggested next protocols accoring to the next protocol negotiation extension.Qat each new handshake, we call this hook to see if we allow handshake to happens.NA set of callbacks run by the clients for various corners of TLS establishment This action is called when the server sends a certificate request. The parameter is the information from the request. The action should select a certificate chain of one of the given certificate types where the last certificate in the chain should be signed by one of the given distinguished names. Each certificate should be signed by the following one, except for the last. At least the first of the certificates in the chain must have a corresponding private key, because that is used for signing the certificate verify message.Note that is is the responsibility of this action to select a certificate matching one of the requested certificate types. Returning a non-matching one will lead to handshake failure later.Returning a certificate chain not matching the distinguished names may lead to problems or not, depending whether the server accepts it.DList all the supported algorithms, versions, ciphers, etc supported.Supported Versions by this context On the client side, the highest version will be used to establish the connection. On the server side, the highest version that is less or equal than the client version will be chosed.Supported cipher methodssupported compressions methodsrAll supported hash/signature algorithms pair for client certificate verification, ordered by decreasing priority.'Set if we support secure renegotiation.Set if we support session."request a certificate from client.This is a list of certificates from which the disinguished names are sent in certificate request messages. For TLS1.0, it should not be empty.~Server Optional Diffie Hellman parameters. If this value is not properly set, no Diffie Hellman key exchange will take place. Define the name of the server, along with an extra service identification blob. this is important that the hostname part is properly filled for security reason, as it allow to properly associate the remote side with the given certificate during a handshake.The extra blob is useful to differentiate services running on the same host, but that might have different certificates given. It's only used as part of the X509 validation infrastructure.Allow the use of the Server Name Indication TLS extension during handshake, which allow the client to specify which host name, it's trying to access. This is useful to distinguish CNAME aliasing (e.g. web virtual host).1try to establish a connection using this session.;     ~<12345678     ~     ~ BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone6B BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone<Represent a TLS record.Xturn a plaintext record into a compressed record using the compression function suppliedTturn a compressed record into a ciphertext record using the cipher function suppliedXturn a ciphertext fragment into a compressed fragment using the cipher function supplied^turn a compressed fragment into a plaintext fragment using the decompression function supplied&turn a record into an header and bytes*turn a header and a fragment into a recordturn a record into a headerdestuvwxD BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone6B7Set to Just-value when certificate request was received4Set to true when a client certificate chain was sent/Set to true when a certificate request was sent6Generate the master secret from the pre master secret.Set master secret and as a side effect generate the key block with all the right parameters, and setup the pending tx/rx state.7chosen transmission version2the role (Client or Server) of the generating sidethe pre master secretchosen version/  BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneJA TLS Context keep tls specific state, parameters and backend information.6return the backend object associated with this context8prepared list of allowed ciphers according to parametershas the handle EOFed or not.0has the handshake been done and been successful.-empty packet workaround for CBC guessability.enable the reception of compatibility SSLv2 client hello. the flag will be set to false regardless of its initial value after the first packet received.current tx statecurrent rx stateoptional handshake statehooks for this context;lock to use for writing data (including updating the state);lock to use for reading data (including updating the state)mlock used during read/write when receiving and sending packet. it is usually nested in a write or read lock.=Information related to a running context, e.g. current cipher%Information about the current context7     ]%&'()*?@ABC               ! BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone" BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone !"#$% !"#$% !"#$%# BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone&'()&)&'()$ BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone*+,-./01*+,-./01*+,-./01% BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone234567822345678& BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone39:;<=99:;<=' BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone29( BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone3>?>>?) BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone@makePacketData\ create a Header and a content bytestring related to a packet this doesn't change any stateAmarshall packet dataBjwritePacket transform a packet into marshalled data related to current state and updating state on the go@ABCDB@ABCD* BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone+EJrecvRecord receive a full TLS record (header + data), from the other side..The record is disengaged from the record layerFreceive one packet from the context that contains 1 or many messages (many only in case of handshake). if will returns a TLSError if the packet is unexpected or malformedGSend one packet to the contextHIE1flag to enable SSLv2 compat ClientHello reception TLS contextFGHFGHIEFG+None+J1when a new handshake is done, wrap up & clean up.K?process a list of handshakes message in the recv state machine.LMNOPQRSJT<message possibly sent between ChangeCipherSpec and Finished.UVKWXLMNOPQRSJTUVKW LONMPQRSJTUVKWX, BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone+Y7send client Data after receiving all server data (hello certificateskey).> [certificate]> client key exchange> [cert verify]Z<onServerHello process the ServerHello message on the client.1) check the version chosen by the server is one allowed by parameters. 2) check that our compression and cipher algorithms are part of the list we sent 3) check extensions received are part of the one we sent 4) process the session parameter to see if the server want to start a new session or can resume 5) process NPN extension 6) if no resume switch to processCertificate SM or in resume switch to expectChangeCipher [\Y]^Z_`abcd[\ [\Y]^Z_`abcd- BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone+e)Put the server context in handshake mode.Expect a client hello message as parameter. This is useful when the client hello has been already poped from the recv layer to inspect the packet.When the function returns, a new handshake has been succesfully negociated. On any error, a HandshakeFailed exception is raised.handshake protocol ( - receiving, -K sending, [] optional): (no session) (session resumption) <- client hello <- client hello -> server hello -> server hello -> [certificate] -> [server key xchg] -> [cert request] -> hello done <- [certificate] <- client key xchg <- [cert verify]  -change cipher -$ change cipher <- [NPN]  -finish -Z finish -> change cipher <- change cipher -> finish <- finishf>receive Client data in handshake until the Finished handshake.v<- [certificate] <- client key xchg <- [cert verify] <- change cipher <- [NPN] <- finishgehfigegehfi. BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNonesHandshake for a new TLS connection This is to be called at the beginning of a connection, and during renegotiation[\ge/ BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone!@create a new context using the backend and parameters specified.""create a new context on an handle.#!create a new context on a socket. jklmn!NBackend abstraction with specific method to interact with the connection type.Parameters of the context.5Random number generator associated with this context."Handle of the connection.Parameters of the context.5Random number generator associated with this context.#Socket of the connection.Parameters of the context.5Random number generator associated with this context.$%&opB      !"#$%&  jklmn!"#$%&op0 BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneM'notify the context that this side wants to close connection. this is important that it is called before closing the handle, otherwise the session might not be resumable (for version < TLS1.2).&this doesn't actually close the handle(iIf the Next Protocol Negotiation extension has been used, this will return get the protocol agreed upon.)[sendData sends a bunch of data. It will automatically chunk data to acceptable packet size*krecvData get data out of Data packet, and automatically renegotiate if a Handshake ClientHello is received+/same as recvData but returns a lazy bytestring.'()*+FG'()*+'()*+1 BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneT%&'()*+,-./0     GHIJKLMNOPQRSTUVWXYZ[\]^_`abc !"#$%&'()*+de,-./0fghijklmnopqrstuvwx12yz{|}~456789:;<=>?@BCDEFG`abcdefghijklmnopqrstuwxyz{|}~>BFG BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone&  !"$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+-     ?@ABC13248765yz~}|{sxwvutde*%&'()9:;<=> !"#$%&'()*+#$+0/.-,jrqponmlkDFEGcba`_^]\[ZYXWVUTSRQPONMLKJIHfihg "!  BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNoneL,xall encrypted ciphers supported ordered from strong to weak. this choice of ciphersuite should satisfy most normal need-list of medium ciphers.. the strongest ciphers supported./DHE-RSA cipher suite18all unencrypted ciphers, do not use on insecure network.2@unencrypted cipher using RSA for key exchange and MD5 for digest3Aunencrypted cipher using RSA for key exchange and SHA1 for digest4/RC4 cipher, RSA key exchange and MD5 for digest50RC4 cipher, RSA key exchange and SHA1 for digest6>AES cipher (128 bit key), RSA key exchange and SHA1 for digest7>AES cipher (256 bit key), RSA key exchange and SHA1 for digest8@AES cipher (128 bit key), RSA key exchange and SHA256 for digest9@AES cipher (256 bit key), RSA key exchange and SHA256 for digest:MAES cipher (128 bit key), DHE key exchanged signed by RSA and SHA1 for digest;MAES cipher (256 bit key), DHE key exchanged signed by RSA and SHA1 for digest<MAES cipher (128 bit key), DHE key exchanged signed by DSA and SHA1 for digest=MAES cipher (256 bit key), DHE key exchanged signed by DSA and SHA1 for digestA?3DES cipher (168 bit key), RSA key exchange and SHA1 for digest2qrstuvwxyz{|}~,-./0123456789:;<=>?@ABC,-./0123456789:;<=>?@ABC,-.1/032456789A:;?@<=>BC2qrstuvwxyz{|}~,-./0123456789:;<=>?@ABC2 BSD-style#Vincent Hanquez <vincent@snarc.org> experimentalunknownNone,-./0123456789:;<=>?@ABC34534634738938:38;38<38=38>?@A?@B?@C?@D?@E?@F?@G?@H?@I?@J?@J?@K?@L?@M?@N?@O?@O?PQ?PR?PS?PT?PU?PV?PW?PX?PX Y Z [ [ \ ] ^ _ ` a b c d e f g h i j k l m n n o p q rsstuvwxyz{|}~      !!"#$%&'(()*+,-.//01234567 8 9 : : ; < = > ? @ A.B/C/D/E/F/G/H/I0J0K0L0M0NOPQRSTUVWXYZ[\]^_`abcdefghiijklmnopqrstuvwxyz{yz|yz}~~~                                    33333333333333?@?@?       !"#$%&'()*+,-./0012334456789:;<=>?@ABCDEFGGHHIIJKLMNNOPPQRSTUVWXYZ[\]^_`abcdefghijklmn3opqrstuvwxyz{|}~      !!   "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRRSTTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxKyz{|}~             8                             ! " #!$!%"&"'"(")"*"+#,#-#.#/$0$1$2$3$4$5$6$7%8%9%:%;%<%=%>&?&@&A&B&C(D(E)F)G)H)I)J*K*L*M*N*O+P+Q+R+S+T+U+V+W+X+Y+Z+[+\+]+^,_,`,a,b,c,d,e,f,g,h,i,j-k-l-m-n-o/p/q/r/n/s/t/uvwxyz{|}~ tls-1.2.14 Network.TLSNetwork.TLS.Extra.CipherNetwork.TLS.Util.ASN1Network.TLS.RNGNetwork.TLS.MACNetwork.TLS.ErrTNetwork.TLS.Extension.ECNetwork.TLS.Util.SerializationNetwork.TLS.Crypto.ECDHNetwork.TLS.Crypto.DHNetwork.TLS.TypesNetwork.TLS.X509Network.TLS.SessionNetwork.TLS.MeasurementNetwork.TLS.CryptoNetwork.TLS.StructNetwork.TLS.HooksNetwork.TLS.CredentialsNetwork.TLS.WireNetwork.TLS.CapNetwork.TLS.UtilNetwork.TLS.BackendNetwork.TLS.CipherNetwork.TLS.PacketNetwork.TLS.ExtensionNetwork.TLS.StateNetwork.TLS.CompressionNetwork.TLS.ParametersNetwork.TLS.Record.StateNetwork.TLS.Record.TypesNetwork.TLS.Handshake.StateNetwork.TLS.Context.Internal!Network.TLS.Handshake.CertificateNetwork.TLS.Handshake.KeyNetwork.TLS.Handshake.ProcessNetwork.TLS.Handshake.SignatureNetwork.TLS.Record.EngageNetwork.TLS.Record.DisengageNetwork.TLS.RecordNetwork.TLS.ReceivingNetwork.TLS.SendingNetwork.TLS.IONetwork.TLS.Handshake.CommonNetwork.TLS.Handshake.ClientNetwork.TLS.Handshake.ServerNetwork.TLS.HandshakeNetwork.TLS.ContextNetwork.TLS.CoreNetwork.TLS.InternalNetwork.TLS.Extra x509-1.5.0.1Data.X509.PrivateKey PrivKeyRSA PrivKeyDSAPrivKeyData.X509.PublicKey PubKeyRSA PubKeyDSAPubKeyDH PubKeyECDSA PubKeyUnknownPubKeyx509-validation-1.5.1Data.X509.Validation checkFQHNcheckLeafKeyPurposecheckLeafKeyUsage checkLeafV3checkExhaustivecheckCAConstraintscheckStrictOrdering checkAtTimecheckTimeValidityValidationCheckshookFilterReasonhookValidateNamehookValidateTimehookMatchSubjectIssuerValidationHooksData.X509.Validation.CacheexceptionValidationCacheValidationCachePassValidationCacheDeniedValidationCacheUnknownValidationCacheResultcacheAdd cacheQueryValidationCache CompressionIDCipherID SessionDatasessionVersion sessionCipher sessionSecret SessionIDVersionTLS12TLS11TLS10SSL3SSL2CertificateUsageCertificateUsageRejectCertificateUsageAcceptCertificateRejectReasonCertificateRejectOtherCertificateRejectUnknownCACertificateRejectRevokedCertificateRejectExpiredSessionManager sessionResumesessionEstablishsessionInvalidatenoSessionManager Measurement nbHandshakes bytesReceived bytesSentKxError KxUnsupportedRSAErrorAlertDescriptionBadCertificateHashValueBadCertificateStatusResponseUnrecognizedNameCertificateUnobtainableUnsupportedExtensionNoRenegotiation UserCanceled InternalErrorInsufficientSecurityProtocolVersionExportRestriction DecryptError DecodeError AccessDenied UnknownCaIllegalParameterCertificateUnknownCertificateExpiredCertificateRevokedUnsupportedCertificateBadCertificateHandshakeFailureDecompressionFailureRecordOverflowDecryptionFailed BadRecordMacUnexpectedMessage CloseNotifyHeader TLSExceptionConnectionNotEstablishedHandshakeFailed TerminatedTLSErrorError_Packet_ParsingError_Packet_unexpected Error_Packet Error_EOFError_HandshakePolicyError_CertificateError_Protocol Error_Misc ProtocolType ProtocolType_DeprecatedHandshakeProtocolType_AppDataProtocolType_HandshakeProtocolType_AlertProtocolType_ChangeCipherSpecHashAndSignatureAlgorithmSignatureAlgorithmSignatureOtherSignatureECDSA SignatureDSS SignatureRSASignatureAnonymous HashAlgorithm HashOther HashSHA512 HashSHA384 HashSHA256 HashSHA224HashSHA1HashMD5HashNoneCertificateTypeCertificateType_UnknownCertificateType_fortezza_dms CertificateType_DSS_Ephemeral_DH CertificateType_RSA_Ephemeral_DHCertificateType_DSS_Fixed_DHCertificateType_RSA_Fixed_DHCertificateType_DSS_SignCertificateType_RSA_SignHookshookRecvHandshakehookRecvCertificates hookLoggingLoggingloggingPacketSentloggingPacketRecv loggingIOSent loggingIORecv Credentials CredentialcredentialLoadX509credentialLoadX509FromMemory HasBackendBackend backendFlush backendClose backendSend backendRecvCiphercipherID cipherName cipherHash cipherBulkcipherKeyExchange cipherMinVerHashhashNamehashSizehashFBulkbulkName bulkKeySize bulkIVSize bulkBlockSizebulkFCipherKeyExchangeTypeCipherKeyExchange_ECDHE_ECDSACipherKeyExchange_ECDH_RSACipherKeyExchange_ECDH_ECDSACipherKeyExchange_DH_RSACipherKeyExchange_DH_DSSCipherKeyExchange_DHE_DSSCipherKeyExchange_ECDHE_RSACipherKeyExchange_DHE_RSACipherKeyExchange_DH_AnonCipherKeyExchange_RSA BulkFunctions BulkAeadF BulkStreamF BulkBlockFAdditionalDataNonceIVKeyhasMAC hasRecordIVcipherKeyBlockSizecipherAllowedForVersioncipherExchangeNeedMoreDataMaxFragmentEnumMaxFragment4096MaxFragment2048MaxFragment1024MaxFragment512NullCompression Compression CompressionCcompressionCIDcompressionCDeflatecompressionCInflate compressionIDcompressionDeflatecompressionInflatecompressionIntersectIDnullCompression ServerHooksonClientCertificateonUnverifiedClientCertonCipherChoosingonSuggestNextProtocolsonNewHandshakeonALPNClientSuggest ClientHooksonCertificateRequestonNPNServerSuggestonServerCertificate onSuggestALPNSharedsharedCredentialssharedSessionManager sharedCAStoresharedValidationCache SupportedsupportedVersionssupportedCipherssupportedCompressionssupportedHashSignaturessupportedSecureRenegotiationsupportedSession ServerParamsserverWantClientCertserverCACertificatesserverDHEParams serverShared serverHooksserverSupported ClientParamsclientUseMaxFragmentLengthclientServerIdentificationclientUseServerNameIndicationclientWantSessionResume clientShared clientHooksclientSupporteddefaultParamsClientContext ctxConnection Information infoVersion infoCipherinfoCompression contextFlush contextClosecontextGetInformationcontextModifyHooks handshake TLSParams contextNewcontextNewOnHandlecontextNewOnSocketcontextHookSetHandshakeRecvcontextHookSetCertificateRecvcontextHookSetLoggingbyegetNegotiatedProtocolsendDatarecvData recvData'ciphersuite_allciphersuite_mediumciphersuite_strongciphersuite_dhe_rsaciphersuite_dhe_dssciphersuite_unencryptedcipher_null_MD5cipher_null_SHA1cipher_RC4_128_MD5cipher_RC4_128_SHA1cipher_AES128_SHA1cipher_AES256_SHA1cipher_AES128_SHA256cipher_AES256_SHA256cipher_DHE_RSA_AES128_SHA1cipher_DHE_RSA_AES256_SHA1cipher_DHE_DSS_AES128_SHA1cipher_DHE_DSS_AES256_SHA1cipher_DHE_DSS_RC4_SHA1cipher_DHE_RSA_AES128_SHA256cipher_DHE_RSA_AES256_SHA256cipher_RSA_3DES_EDE_CBC_SHA1cipher_DHE_RSA_AES128GCM_SHA256!cipher_ECDHE_RSA_AES128GCM_SHA256decodeASN1ObjectencodeASN1ObjectStateRNG withTLSRNG$fShowStateRNGHMACmacSSLhmachmacMD5hmacSHA1 hmacSHA256hmacIterprf_SHA1prf_MD5 prf_MD5SHA1 prf_SHA256ErrTrunErrT mtl-2.1.3.1Control.Monad.Error.Class catchError throwError MonadErrortransformers-0.3.0.0Control.Monad.Trans.ErrorErrornoMsgstrMsg toCurveName fromCurveNamecrypto-pubkey-types-0.4.3Crypto.Types.PubKey.ECC SEC_p112r1 SEC_p112r2 SEC_p128r1 SEC_p128r2 SEC_p160k1 SEC_p160r1 SEC_p160r2 SEC_p192k1 SEC_p192r1 SEC_p224k1 SEC_p224r1 SEC_p256k1 SEC_p256r1 SEC_p384r1 SEC_p521r1 SEC_t113r1 SEC_t113r2 SEC_t131r1 SEC_t131r2 SEC_t163k1 SEC_t163r1 SEC_t163r2 SEC_t193r1 SEC_t193r2 SEC_t233k1 SEC_t233r1 SEC_t239k1 SEC_t283k1 SEC_t283r1 SEC_t409k1 SEC_t409r1 SEC_t571k1 SEC_t571r1 CurveNamecrypto-numbers-0.2.7Crypto.Number.Serialize lengthBytesi2ospOf_i2ospos2ipECDHKey ECDHParams ECDHPrivate ECDHPublic ecdhPublic ecdhPrivate ecdhParamsecdhGenerateKeyPair ecdhGetShared ecdhUnwrapecdhUnwrapPublic pointSizeDHKeyDHParams DHPrivateDHPublicdhPublic dhPrivatedhParamsdhGenerateKeyPair dhGetShareddhUnwrapdhUnwrapPublic DirectionRoleRxTx ServerRole ClientRole invertRoleisNullCertificateChaingetCertificateChainLeafwrapCertificateChecks Data.X509getCertificateSignedCertificateData.X509.CertificateChainCertificateChainData.X509.CertcertExtensions certPubKey certSubjectDN certValidity certIssuerDNcertSignatureAlg certSerial certVersion Certificatex509-store-1.5.0Data.X509.CertificateStoreCertificateStorevalidateDefault FailedReasonData.X509.Validation.Types ServiceIDnewMeasurementaddBytesReceived addBytesSentresetBytesCountersincrementNbHandshakes HashMD5SHA1HashCtxHashCtxC hashCName hashCInit hashCUpdatehashCUpdateSSL hashCFinal PrivateKey PublicKeyhashInit hashUpdate hashUpdateSSL hashFinal hashMD5SHA1hashSHA1 hashSHA256 hashSHA512generalizeRSAWithRNG kxEncrypt kxDecryptkxVerifykxSign$fHashCtxCHashSHA512$fHashCtxCHashSHA256$fHashCtxCHashSHA1$fHashCtxCHashMD5SHA1 $fShowHashCtxcrypto-pubkey-0.2.8Crypto.PubKey.HashDescr digestToASN1 hashFunction HashDescr EnumSafe16fromEnumSafe16 toEnumSafe16 EnumSafe8 fromEnumSafe8 toEnumSafe8 TypeValuable valOfType valToType HandshakeHsNextProtocolNegotiationFinished CertVerify CertRequest ServerKeyXchg ClientKeyXchgServerHelloDone HelloRequest Certificates ServerHello ClientHelloDeprecatedRecordClientKeyXchgAlgorithmDataCKX_ECDHCKX_DHCKX_RSAServerKeyXchgAlgorithmData SKX_Unknown SKX_Unparsed SKX_DH_RSA SKX_DH_DSSSKX_RSA SKX_ECDHE_RSA SKX_DHE_RSA SKX_DHE_DSS SKX_DH_AnonServerRSAParams rsa_modulus rsa_exponentServerECDHParamsServerDHParams HandshakeTypeHandshakeType_NPNHandshakeType_FinishedHandshakeType_ClientKeyXchgHandshakeType_CertVerifyHandshakeType_ServerHelloDoneHandshakeType_CertRequestHandshakeType_ServerKeyXchgHandshakeType_CertificateHandshakeType_ServerHelloHandshakeType_ClientHelloHandshakeType_HelloRequest AlertLevelAlertLevel_FatalAlertLevel_Warning ExtensionRaw ExtensionID FinishedDataSession ClientRandom ServerRandomPacketAppDataChangeCipherSpecAlertDigitallySigned Signature CipherDatacipherDataContent cipherDataMACcipherDataPadding CipherType CipherAEAD CipherBlock CipherStream ConnectionEndConnectionClientConnectionServerBytesconstrRandom32 serverRandom clientRandom packetTypetypeOfHandshake numericalVerverOfNum $fTypeValuableSignatureAlgorithm$fTypeValuableHashAlgorithm$fTypeValuableCertificateType$fTypeValuableAlertDescription$fTypeValuableAlertLevel$fTypeValuableHandshakeType$fTypeValuableProtocolType$fTypeValuableCipherType$fTypeValuableConnectionEnd$fExceptionTLSException$fExceptionTLSError$fErrorTLSErrorData.X509.DistinguishedNameDistinguishedNamedefaultLogging defaultHooks$fDefaultHooks$fDefaultLogging credentialsListSigningAlgorithmscredentialsFindForSigningcredentialsFindForDecryptingcredentialCanDecryptcredentialCanSigngetSignatureAlg$fMonoidCredentials GetResultGotSuccessRemaining GotSuccess GotPartialGotErrorGetContinuationrunGet runGetErr runGetMaybetryGet getWords8 getWord16 getWords16 getWord24 getOpaque8 getOpaque16 getOpaque24 getInteger16getList processBytes putWords8 putWord16 putWord32 putWords16 putWord24putBytes putOpaque8 putOpaque16 putOpaque24 putInteger16 encodeWord16 encodeWord32 encodeWord64cereal-0.4.1.1Data.Serialize.GetgetWord8getBytesisEmpty remainingGetData.Serialize.PutputWord8runPutPuthasHelloExtensionshasExplicitBlockIVand'&&!bytesEqsubtakelast partition3 partition6fromJust fmapEithercatchExceptioninitializeBackend getBackend$fHasBackendHandle$fHasBackendSocket$fHasBackendBackend $fEqCipher $fShowCipher$fEqHash $fShowHash$fEqBulk $fShowBulkcParamsVersioncParamsKeyXchgTypecParamsSupportNPN&decodeReallyServerKeyXchgAlgorithmDataPRF CurrentParams getVersion putVersion getHeaderType putHeaderTypegetHandshakeType decodeHeaderdecodeDeprecatedHeaderLengthdecodeDeprecatedHeader encodeHeaderencodeHeaderNoVer decodeAlert decodeAlerts encodeAlertsdecodeHandshakeRecorddecodeHandshakedecodeDeprecatedHandshakedecodeHelloRequestdecodeClientHellodecodeServerHellodecodeServerHelloDonedecodeCertificatesdecodeFinisheddecodeNextProtocolNegotiationdecodeCertRequestdecodeCertVerifydecodeClientKeyXchgdecodeServerKeyXchg_DHdecodeServerKeyXchg_RSA decodeServerKeyXchgAlgorithmDatadecodeServerKeyXchgencodeHandshakeencodeHandshakesencodeHandshakeHeaderencodeHandshakeContent getRandom32getServerRandom32getClientRandom32 putRandom32putClientRandom32putServerRandom32 getSession putSession getExtensions putExtension putExtensionsgetSignatureHashAlgorithmputSignatureHashAlgorithmgetServerDHParamsputServerDHParamsgetServerECDHParamsputServerECDHParamsgetDigitallySignedputDigitallySigneddecodeChangeCipherSpecencodeChangeCipherSpecdecodePreMasterSecretencodePreMasterSecretgenerateMasterSecret_SSLgenerateMasterSecret_TLSgenerateMasterSecretgenerateKeyBlock_TLSgenerateKeyBlock_SSLgenerateKeyBlockgenerateFinished_TLSgenerateFinished_SSLgenerateClientFinishedgenerateServerFinishedgenerateCertificateVerify_SSLencodeSignedDHParamsencodeSignedECDHParams#ApplicationLayerProtocolNegotiationNextProtocolNegotiationSecureRenegotiationMaxFragmentLength ServerName ExtensionsupportedExtensionsSignatureAlgorithms HeartBeatModeHeartBeat_PeerNotAllowedToSendHeartBeat_PeerAllowedToSend HeartBeat SessionTicket EcPointFormat'EcPointFormat_AnsiX962_compressed_char2'EcPointFormat_AnsiX962_compressed_primeEcPointFormat_UncompressedEcPointFormatsSupported NamedCurve*NamedCurve_arbitrary_explicit_char2_curves*NamedCurve_arbitrary_explicit_prime_curvesSECEllipticCurvesSupportedServerNameTypeServerNameOtherServerNameHostName extensionIDextensionDecodeextensionEncodeextensionID_ServerNameextensionID_MaxFragmentLength extensionID_ClientCertificateUrlextensionID_TrustedCAKeysextensionID_TruncatedHMACextensionID_StatusRequestextensionID_UserMappingextensionID_ClientAuthzextensionID_ServerAuthzextensionID_CertTypeextensionID_EllipticCurvesextensionID_EcPointFormatsextensionID_SRPextensionID_SignatureAlgorithmsextensionID_SRTPextensionID_Heartbeat/extensionID_ApplicationLayerProtocolNegotiationextensionID_StatusRequestv2&extensionID_SignedCertificateTimestamp!extensionID_ClientCertificateType!extensionID_ServerCertificateTypeextensionID_PaddingextensionID_EncryptThenMAC extensionID_ExtendedMasterSecretextensionID_SessionTicket#extensionID_NextProtocolNegotiationextensionID_SecureRenegotiationdefinedExtensionsavailableEllipticCurves$fExtensionSignatureAlgorithms$fExtensionHeartBeat$fEnumSafe8HeartBeatMode$fExtensionSessionTicket"$fExtensionEcPointFormatsSupported$fEnumSafe8EcPointFormat"$fExtensionEllipticCurvesSupported$fEnumSafe16NamedCurve.$fExtensionApplicationLayerProtocolNegotiation"$fExtensionNextProtocolNegotiation$fExtensionSecureRenegotiation$fExtensionMaxFragmentLength$fExtensionServerNameTLSStrunTLSStTLSState stSessionstSessionResumingstSecureRenegotiationstClientVerifiedDatastServerVerifiedDatastExtensionNPNstExtensionALPNstHandshakeRecordContstNegotiatedProtocolstServerNextProtocolSuggeststClientALPNSuggeststClientEllipticCurveSuggeststClientEcPointFormatSuggeststClientCertificateChain stRandomGen stVersionstClientContext runTLSState newTLSStateupdateVerifiedDatafinishHandshakeTypeMaterialfinishHandshakeMaterialcertVerifyHandshakeTypeMaterialcertVerifyHandshakeMaterial setSessionisSessionResuming setVersionsetVersionIfUnsetgetVersionWithDefaultsetSecureRenegotiationgetSecureRenegotiationsetExtensionNPNgetExtensionNPNsetExtensionALPNgetExtensionALPNsetNegotiatedProtocolsetServerNextProtocolSuggestgetServerNextProtocolSuggestsetClientALPNSuggestgetClientALPNSuggestsetClientEllipticCurveSuggestgetClientEllipticCurveSuggestsetClientEcPointFormatSuggestgetClientEcPointFormatSuggestsetClientCertificateChaingetClientCertificateChaingetVerifiedDataisClientContext genRandomwithRNG$fMonadStateTLSStateTLSSt$fCompressionCNullCompression$fEqCompression$fShowCompressionbase Data.MaybeNothing CommonParamsdefaultParamsServerdefaultSupporteddefaultClientHooksdefaultServerHooks$fDefaultServerHooks$fShowServerHooks$fDefaultClientHooks$fShowClientHooks$fDefaultShared $fShowShared$fDefaultSupported$fDefaultServerParamsRecordM runRecordM RecordStatestCipher stCompression stCryptState stMacStateMacState msSequence CryptStatecstKeycstIV cstMacSecretgetRecordVersionnewRecordStateincrRecordState setRecordIVwithCompression computeDigest makeDigest$fMonadErrorTLSErrorRecordM$fMonadStateRecordStateRecordM$fFunctorRecordM$fMonadRecordM$fApplicativeRecordMRecordfragmentCompressfragmentCipherfragmentUncipherfragmentUncompress recordToRaw rawToRecordrecordToHeader Ciphertext Compressed PlaintextFragmentfragmentPlaintextfragmentCiphertextonRecordFragment fragmentMap$fByteableFragmenthstClientCertRequesthstClientCertSenthstCertReqSentsetMasterSecretFromPresetMasterSecret HandshakeM runHandshakeMClientCertRequestDataHandshakeStatehstClientVersionhstClientRandomhstServerRandomhstMasterSecret hstKeyStatehstServerDHParams hstDHPrivatehstServerECDHParamshstECDHPrivatehstHandshakeDigesthstHandshakeMessageshstClientCertChainhstPendingTxStatehstPendingRxStatehstPendingCipherhstPendingCompressionHandshakeKeyStatehksRemotePublicKeyhksLocalPrivateKeynewEmptyHandshake runHandshake setPublicKey setPrivateKeygetRemotePublicKeygetLocalPrivateKeysetServerDHParamssetServerECDHParamssetCertReqSentgetCertReqSentsetClientCertSentgetClientCertSentsetClientCertChaingetClientCertChainsetClientCertRequestgetClientCertRequestgetPendingCipheraddHandshakeMessagegetHandshakeMessagesupdateHandshakeDigestgetHandshakeDigestcomputeKeyBlocksetServerHelloParameters$$fMonadStateHandshakeStateHandshakeM ctxCiphersctxEOF_ctxEstablished_ctxNeedEmptyPacketctxSSLv2ClientHello ctxTxState ctxRxState ctxHandshakectxHooks ctxLockWrite ctxLockRead ctxLockState ctxSupported ctxSharedctxStatectxMeasurementctxDoHandshakectxDoHandshakeWith updateMeasure withMeasure contextSend contextRecvctxEOFctxHasSSLv2ClientHelloctxDisableSSLv2ClientHellosetEOFctxEstablished ctxWithHookssetEstablishedwithLog throwCorefailOnEitherError usingState usingState_ usingHState getHState runTxState runRxState getStateRNG withReadLock withWriteLock withRWLock withStateLockcertificateRejectedrejectOnException encryptRSAsignRSA decryptRSA verifyRSA generateDHE generateECDHEprocessHandshakeprocessClientKeyXchgprocessClientFinishedstartHandshakegetHashAndASN1%prepareCertificateVerifySignatureDatasignatureHashDatasignatureCreatesignatureVerifysignatureVerifyWithHashDescrgenerateSignedDHParamsgenerateSignedECDHParams engageRecordcompressRecord encryptRecordencryptContent encryptBlock encryptStream encryptAeaddisengageRecorduncompressRecord decryptRecord getCipherData decryptData processPacketswitchRxEncryption makeRecord encodeRecord writePacket prepareRecordswitchTxEncryption recvRecord recvPacket sendPacket checkValid readExacthandshakeTerminateonRecvStateHandshake RecvState RecvStateDoneRecvStateHandshake RecvStateNexthandshakeFailed errorToAlert unexpected newSessionsendChangeCipherAndFinishrecvChangeCipherAndFinishrecvPacketHandshake runRecvStategetSessionDatasendClientData onServerHellohandshakeClientWithhandshakeClientprocessServerExtensionthrowMiscErrorOnExceptionprocessCertificateexpectChangeCipher expectFinishprocessServerKeyExchangeprocessCertificateRequestprocessServerHelloDonehandshakeServerWithrecvClientDatahandshakeServer doHandshakefindHighestVersionFromgetTLSCommonParams getTLSRole getCiphersdoHandshakeWith$fTLSParamsServerParams$fTLSParamsClientParamsaes_cbc_encryptaes_cbc_decryptaes128_cbc_encryptaes128_cbc_decryptaes256_cbc_encryptaes256_cbc_decryptaes128_gcm_encryptaes128_gcm_decrypttripledes_ede_cbc_encrypttripledes_ede_cbc_decrypt tripledes_key tripledes_ivtoIVtoCtx initF_rc4 encryptF_rc4 decryptF_rc4 bulk_nullbulk_rc4 bulk_aes128bulk_aes128gcm bulk_aes256bulk_tripledes_edehash_md5 hash_sha1 hash_sha256