Searched refs:content_type (Results 1 – 6 of 6) sorted by relevance
| /openthread-latest/tests/scripts/thread-cert/ |
| D | Cert_8_1_06_Commissioning.py | 189 } == set(p.dtls.record.content_type) 201 } == set(p.dtls.record.content_type) 210 [CONTENT_APPLICATION_DATA] == p.dtls.record.content_type 221 [CONTENT_APPLICATION_DATA] == p.dtls.record.content_type 234 [CONTENT_ALERT] == p.dtls.record.content_type
|
| D | Cert_8_1_01_Commissioning.py | 221 } == set(p.dtls.record.content_type) 233 } == set(p.dtls.record.content_type) 242 [CONTENT_APPLICATION_DATA] == p.dtls.record.content_type 251 [CONTENT_APPLICATION_DATA] == p.dtls.record.content_type 266 [CONTENT_ALERT] == p.dtls.record.content_type
|
| D | dtls.py | 95 def __init__(self, content_type, version, epoch, sequence_number, length, fragment): argument 96 self.content_type = content_type 104 …return (struct.pack(">B", self.content_type) + self.version.to_bytes() + struct.pack(">H", self.ep… 109 content_type = ContentType(struct.unpack(">B", data.read(1))[0]) 115 return cls(content_type, version, epoch, sequence_number, length, fragment) 119 str(self.content_type), 129 def __init__(self, content_type): argument 130 self.content_type = content_type 630 …type(self).last_msg_is_change_cipher_spec = (record.content_type == ContentType.CHANGE_CIPHER_SPEC) 641 content_class = content_map[record.content_type]
|
| D | message.py | 357 if (self.type == MessageType.DTLS and self.dtls.content_type == dtls.ContentType.HANDSHAKE): 498 def next_dtls_message(self, content_type, handshake_type=None): argument 503 if msg.dtls.content_type != content_type: 505 … if (content_type == dtls.ContentType.HANDSHAKE and msg.dtls.handshake_type != handshake_type): 509 t = (handshake_type if content_type == dtls.ContentType.HANDSHAKE else content_type)
|
| D | Cert_8_1_02_Commissioning.py | 108 p.dtls.record.content_type) == {CONTENT_CHANGE_CIPHER_SPEC, CONTENT_HANDSHAKE}) 112 …lambda p: p.dtls.record.content_type == [CONTENT_ALERT] and p.dtls.alert_message.desc == 20).must_…
|
| /openthread-latest/third_party/mbedtls/repo/library/ |
| D | pkcs7.c | 490 mbedtls_pkcs7_buf content_type; in pkcs7_get_signed_data() local 491 memset(&content_type, 0, sizeof(content_type)); in pkcs7_get_signed_data() 492 ret = pkcs7_get_content_info_type(&p, end, &end_content_info, &content_type); in pkcs7_get_signed_data() 496 if (MBEDTLS_OID_CMP(MBEDTLS_OID_PKCS7_DATA, &content_type)) { in pkcs7_get_signed_data()
|