Searched refs:ContentType (Results 1 – 16 of 16) sorted by relevance
| /webrtc/dtls/src/ |
| H A D | content.rs | 11 pub enum ContentType { enum 20 impl From<u8> for ContentType { implementation 23 20 => ContentType::ChangeCipherSpec, in from() 24 21 => ContentType::Alert, in from() 25 22 => ContentType::Handshake, in from() 26 23 => ContentType::ApplicationData, in from() 27 _ => ContentType::Invalid, in from() 41 pub fn content_type(&self) -> ContentType { in content_type() argument 70 ContentType::ChangeCipherSpec => Ok(Content::ChangeCipherSpec( in unmarshal() 73 ContentType::Alert => Ok(Content::Alert(Alert::unmarshal(reader)?)), in unmarshal() [all …]
|
| H A D | application_data.rs | 17 pub fn content_type(&self) -> ContentType { in content_type() argument 18 ContentType::ApplicationData in content_type()
|
| H A D | listener.rs | 3 use crate::content::ContentType; 38 Box::pin(async move { content_type == ContentType::Handshake }) in listen()
|
| /webrtc/dtls/src/record_layer/ |
| H A D | mod.rs | 61 ContentType::Alert => Content::Alert(Alert::unmarshal(reader)?), in unmarshal() 62 ContentType::ApplicationData => { in unmarshal() 65 ContentType::ChangeCipherSpec => { in unmarshal() 68 ContentType::Handshake => Content::Handshake(Handshake::unmarshal(reader)?), in unmarshal()
|
| H A D | record_layer_test.rs | 84 content_type: ContentType::ChangeCipherSpec, in test_record_layer_round_trip()
|
| H A D | record_layer_header.rs | 39 pub content_type: ContentType,
|
| /webrtc/dtls/src/change_cipher_spec/ |
| H A D | mod.rs | 19 pub fn content_type(&self) -> ContentType { in content_type() argument 20 ContentType::ChangeCipherSpec in content_type()
|
| /webrtc/dtls/src/crypto/ |
| H A D | crypto_test.rs | 4 use crate::content::ContentType; 118 content_type: ContentType::ApplicationData, in test_ccm_encryption_and_decryption()
|
| H A D | crypto_cbc.rs | 95 if h.content_type == ContentType::ChangeCipherSpec { in decrypt()
|
| H A D | crypto_gcm.rs | 89 if h.content_type == ContentType::ChangeCipherSpec { in decrypt()
|
| H A D | crypto_ccm.rs | 149 if h.content_type == ContentType::ChangeCipherSpec { in decrypt()
|
| /webrtc/dtls/src/alert/ |
| H A D | mod.rs | 157 pub fn content_type(&self) -> ContentType { in content_type() argument 158 ContentType::Alert in content_type()
|
| /webrtc/dtls/src/handshake/ |
| H A D | mod.rs | 182 pub fn content_type(&self) -> ContentType { in content_type() argument 183 ContentType::Handshake in content_type()
|
| /webrtc/dtls/src/prf/ |
| H A D | mod.rs | 16 use crate::content::ContentType; 296 content_type: ContentType, in prf_mac() argument
|
| /webrtc/dtls/src/fragment_buffer/ |
| H A D | mod.rs | 52 if record_layer_header.content_type != ContentType::Handshake { in push()
|
| /webrtc/dtls/src/conn/ |
| H A D | conn_test.rs | 2091 ContentType::Alert, in test_protocol_version_validation() 2233 ContentType::Alert, in test_protocol_version_validation()
|