dmrtd 0.3.2

eMRTD / ICAO 9303 reader core in pure Rust — BAC, PACE (ECDH-GM P-256), MRZ, LDS parsing, secure messaging. Transport-agnostic (NFC plugs in via a Transceiver trait).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! EF.DG16 (persons to notify) — stub data group.

use crate::dg_stub;

dg_stub!(EfDG16, 0x0110, 0x10, 0x70);

#[cfg(test)]
mod tests {
    use super::*;
    use crate::lds::tlv::Tlv;

    #[test]
    fn parses_valid_wrapper() {
        assert!(EfDG16::from_bytes(Tlv::encode(0x70, &[])).is_ok());
    }
}