pub struct CmpConfig {
pub enabled: bool,
pub allow_ir: bool,
pub allow_cr: bool,
pub allow_kur: bool,
pub allow_rr: bool,
pub allow_mac_protection: bool,
pub mac_algorithm: String,
pub reference_cert_profile: Option<String>,
}Expand description
[cmp] section — CMP v3 certificate management endpoint.
[cmp]
enabled = true
allow_ir = true
allow_cr = true
allow_kur = true
allow_rr = false
allow_mac_protection = true
mac_algorithm = "hmac-sha256"Fields§
§enabled: boolEnable the CMP endpoint.
allow_ir: boolAllow initialization requests (new enrollment).
allow_cr: boolAllow certification requests.
allow_kur: boolAllow key update requests.
allow_rr: boolAllow revocation requests via CMP.
allow_mac_protection: boolAllow MAC-based protection for initial enrollment.
mac_algorithm: StringMAC algorithm for shared-secret protection.
reference_cert_profile: Option<String>Certificate profile for cross-certification requests.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CmpConfig
impl<'de> Deserialize<'de> for CmpConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CmpConfig
impl RefUnwindSafe for CmpConfig
impl Send for CmpConfig
impl Sync for CmpConfig
impl Unpin for CmpConfig
impl UnsafeUnpin for CmpConfig
impl UnwindSafe for CmpConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more