pub struct PolicySigningConfig {
pub enabled: bool,
pub algorithm: PolicySignatureAlgorithm,
pub key_path: Option<String>,
pub key_env: Option<String>,
pub key_id: Option<String>,
}Expand description
Policy snapshot signing config in cockpit.toml.
Fields§
§enabled: boolEnable policy snapshot signing.
algorithm: PolicySignatureAlgorithmSignature algorithm.
key_path: Option<String>Path to signing key bytes.
key_env: Option<String>Environment variable containing signing key bytes.
key_id: Option<String>Optional key identifier attached to produced evidence.
Trait Implementations§
Source§impl Clone for PolicySigningConfig
impl Clone for PolicySigningConfig
Source§fn clone(&self) -> PolicySigningConfig
fn clone(&self) -> PolicySigningConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicySigningConfig
impl Debug for PolicySigningConfig
Source§impl Default for PolicySigningConfig
impl Default for PolicySigningConfig
Source§fn default() -> PolicySigningConfig
fn default() -> PolicySigningConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicySigningConfig
impl<'de> Deserialize<'de> for PolicySigningConfig
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
Source§impl PartialEq for PolicySigningConfig
impl PartialEq for PolicySigningConfig
Source§impl Serialize for PolicySigningConfig
impl Serialize for PolicySigningConfig
impl Eq for PolicySigningConfig
impl StructuralPartialEq for PolicySigningConfig
Auto Trait Implementations§
impl Freeze for PolicySigningConfig
impl RefUnwindSafe for PolicySigningConfig
impl Send for PolicySigningConfig
impl Sync for PolicySigningConfig
impl Unpin for PolicySigningConfig
impl UnsafeUnpin for PolicySigningConfig
impl UnwindSafe for PolicySigningConfig
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