Home
last modified time | relevance | path

Searched defs:CborType (Results 1 – 25 of 69) sorted by relevance

123

/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/moz_cbor/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { impl
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/www/firefox/firefox-99.0/third_party/rust/moz_cbor/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { impl
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/moz_cbor/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { impl
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/moz_cbor-0.1.1/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { implementation
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/moz_cbor/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { implementation
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/moz_cbor/src/
H A Dserializer.rs76 fn encode_array(output: &mut Vec<u8>, array: &[CborType]) { in encode_array()
86 fn encode_map(output: &mut Vec<u8>, map: &BTreeMap<CborType, CborType>) { in encode_map() argument
94 fn encode_tag(output: &mut Vec<u8>, tag: &u64, val: &CborType) { in encode_tag()
105 impl CborType { implementation
H A Ddecoder.rs60 fn read_negative_int(&mut self) -> Result<CborType, CborError> { in read_negative_int()
70 fn read_array(&mut self) -> Result<CborType, CborError> { in read_array()
84 fn read_byte_string(&mut self) -> Result<CborType, CborError> { in read_byte_string()
94 fn read_map(&mut self) -> Result<CborType, CborError> { in read_map()
109 fn read_null(&mut self) -> Result<CborType, CborError> { in read_null()
127 pub fn decode_item(&mut self) -> Result<CborType, CborError> { in decode_item()
158 pub fn decode(bytes: &[u8]) -> Result<CborType, CborError> { in decode()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/cose/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/cose-0.1.4/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/www/firefox/firefox-99.0/third_party/rust/cose/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/cose/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/cose/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/cose/src/
H A Ddecoder.rs41 map: &BTreeMap<CborType, CborType>, in get_map_value() argument
42 key: &CborType, in get_map_value()
43 ) -> Result<CborType, CoseError> { in get_map_value()
87 cose_signature: &CborType, in decode_signature_struct()
89 protected_body_head: &CborType, in decode_signature_struct()
H A Dutil.rs16 protected_body_header_serialized: CborType, in get_sig_struct_bytes()
17 protected_signature_header_serialized: CborType, in get_sig_struct_bytes()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/cose/examples/sign_verify/
H A Dutil_test.rs13 pub fn signature_type_to_cbor_value(signature_type: &SignatureAlgorithm) -> CborType { in signature_type_to_cbor_value()
22 pub fn build_protected_sig_header(ee_cert: &[u8], alg: &SignatureAlgorithm) -> CborType { in build_protected_sig_header()
37 pub fn build_protected_header(cert_chain: &[&[u8]]) -> CborType { in build_protected_header()
49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()

123