crash.software
Projects
Pull Requests
Issues
Builds
CatSniffer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
CatSniffer
Files
🤬
Sign In
e0e16f8a
ROOT
/
firmware
/
ot-cc13x2-cc26x2
/
openthread
/
tests
/
scripts
/
thread-cert
/
dtls.py
Search
History
646 lines
|
ISO-8859-1
|
19 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
IntEnum
reduce
io
struct
BuildableFromBytes
ConvertibleToBytes
HandshakeType
(IntEnum)
HELLO_REQUEST
CLIENT_HELLO
SERVER_HELLO
HELLO_VERIFY_REQUEST
CERTIFICATE
SERVER_KEY_EXCHANGE
CERTIFICATE_REQUEST
SERVER_HELLO_DONE
CERTIFICATE_VERIFY
CLIENT_KEY_EXCHANGE
FINISHED
ContentType
(IntEnum)
CHANGE_CIPHER_SPEC
ALERT
HANDSHAKE
APPLICATION_DATA
AlertLevel
(IntEnum)
WARNING
FATAL
AlertDescription
(IntEnum)
CLOSE_NOTIFY
UNEXPECTED_MESSAGE
BAD_RECORD_MAC
DECRYPTION_FAILED_RESERVED
RECORD_OVERFLOW
DECOMPRESSION_FAILURE
HANDSHAKE_FAILURE
NO_CERTIFICATE_RESERVED
BAD_CERTIFICATE
UNSUPPORTED_CERTIFICATE
CERTIFICATE_REVOKED
CERTIFICATE_EXPIRED
CERTIFICATE_UNKNOWN
ILLEGAL_PARAMETER
UNKNOWN_CA
ACCESS_DENIED
DECODE_ERROR
DECRYPT_ERROR
EXPORT_RESTRICTION_RESERVED
PROTOCOL_VERSION
INSUFFICIENT_SECURITY
INTERNAL_ERROR
USER_CANCELED
NO_RENEGOTIATION
UNSUPPORTED_EXTENSION
Record
(ConvertibleToBytes,BuildableFromBytes)
content_type
version
epoch
sequence_number
length
fragment
__init__
(self,content_type,version,epoch,sequence_number,length,fragment)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
Message
(ConvertibleToBytes,BuildableFromBytes)
content_type
__init__
(self,content_type)
to_bytes
(self)
from_bytes
(cls,data)
HandshakeMessage
(Message)
handshake_type
length
message_seq
fragment_offset
fragment_length
body
__init__
(self,handshake_type,length,message_seq,fragment_offset,fragment_length,body,)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
ProtocolVersion
(ConvertibleToBytes,BuildableFromBytes)
major
minor
__init__
(self,major,minor)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
Random
(ConvertibleToBytes,BuildableFromBytes)
random_bytes_length
gmt_unix_time
random_bytes
__init__
(self,gmt_unix_time,random_bytes)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
VariableVector
(ConvertibleToBytes)
subrange
ele_cls
elements
__init__
(self,subrange,ele_cls,elements)
length
(self)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,ele_cls,subrange,data)
_decode_length
(cls,subrange,data)
_encode_length
(cls,length,subrange)
_calc_length_in_byte
(cls,ceiling)
Opaque
(ConvertibleToBytes,BuildableFromBytes)
byte
__init__
(self,byte)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
CipherSuite
(ConvertibleToBytes,BuildableFromBytes)
cipher
__init__
(self,cipher)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
CompressionMethod
(ConvertibleToBytes,BuildableFromBytes)
NULL
__init__
(self)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
Extension
(ConvertibleToBytes,BuildableFromBytes)
extension_type
extension_data
__init__
(self,extension_type,extension_data)
__eq__
(self,other)
to_bytes
(self)
from_bytes
(cls,data)
ClientHello
(HandshakeMessage)
client_version
random
session_id
cookie
cipher_suites
compression_methods
extensions
__init__
(self,client_version,random,session_id,cookie,cipher_suites,compression_methods,extensions,)
to_bytes
(self)
from_bytes
(cls,data)
HelloVerifyRequest
(HandshakeMessage)
server_version
cookie
__init__
(self,server_version,cookie)
to_bytes
(self)
from_bytes
(cls,data)
ServerHello
(HandshakeMessage)
server_version
random
session_id
cipher_suite
compression_method
extensions
__init__
(self,server_version,random,session_id,cipher_suite,compression_method,extensions,)
to_bytes
(self)
from_bytes
(cls,data)
ServerHelloDone
(HandshakeMessage)
__init__
(self)
to_bytes
(self)
from_bytes
(cls,data)
HelloRequest
(HandshakeMessage)
__init__
(self)
Certificate
(HandshakeMessage)
__init__
(self)
ServerKeyExchange
(HandshakeMessage)
__init__
(self)
CertificateRequest
(HandshakeMessage)
__init__
(self)
CertificateVerify
(HandshakeMessage)
__init__
(self)
ClientKeyExchange
(HandshakeMessage)
__init__
(self)
Finished
(HandshakeMessage)
__init__
(self,verify_data)
AlertMessage
(Message)
level
description
__init__
(self,level,description)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
ChangeCipherSpecMessage
(Message)
__init__
(self)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
ApplicationDataMessage
(Message)
raw
body
__init__
(self,raw)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
handshake_map
content_map
MessageFactory
(object)
last_msg_is_change_cipher_spec
__init__
(self)
parse
(self,data,message_info)
All occurrences
Please wait...
Page is in error, reload to recover