1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Distinguished Encoding Rules (DER) objects and parser
//!
//! All functions in this crate use BER parsing functions (see the `ber` module)
//! internally, adding constraints verification where needed.
//!
//! The objects `BerObject` and `DerObject` are the same (type alias): all BER functions,
//! combinators and macros can be used, and provide additional tools for DER parsing.
use crate;
pub use crate*;
pub use crate*;
pub use crate*;
/// DER Object class of tag (same as `BerClass`)
pub type DerClass = BerClass;
/// DER tag (same as BER tag)
pub type DerTag = BerTag;
/// Representation of a DER-encoded (X.690) object
///
/// Note that a DER object is just a BER object, with additional constraints.
pub type DerObject<'a> = ;
/// DER object header (identifier and length)
///
/// This is the same object as `BerObjectHeader`.
pub type DerObjectHeader<'a> = ;
/// BER object content
///
/// This is the same object as `BerObjectContent`.
pub type DerObjectContent<'a> = ;