1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use super::{MakeCritical, RawControl};

/// ManageDsaITcontrol ([RFC 3296](https://tools.ietf.org/html/rfc3296)).
///
/// This control can only be used for requests; there is no corresponding
/// response control.
pub struct ManageDsaIt;

pub const MANAGE_DSA_IT_OID: &str = "2.16.840.1.113730.3.4.2";

impl MakeCritical for ManageDsaIt {}

impl From<ManageDsaIt> for RawControl {
    fn from(_mdi: ManageDsaIt) -> RawControl {
        RawControl {
            ctype: MANAGE_DSA_IT_OID.to_owned(),
            crit: false,
            val: None,
        }
    }
}