pub struct CaProfile {
pub ca_prefix: String,
pub ca_info: String,
pub public_key: String,
pub challenges: Vec<String>,
pub default_validity_secs: u64,
pub max_validity_secs: u64,
}Expand description
CA information returned by /<ca>/CA/INFO.
Fields§
§ca_prefix: StringThe CA’s NDN prefix as a URI string (e.g. /com/acme/fleet/CA).
ca_info: StringHuman-readable description of this CA.
public_key: StringBase64url-encoded public key of the CA’s signing key.
challenges: Vec<String>Supported challenge types.
default_validity_secs: u64Default certificate validity in seconds.
max_validity_secs: u64Maximum certificate validity in seconds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CaProfile
impl<'de> Deserialize<'de> for CaProfile
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 CaProfile
impl RefUnwindSafe for CaProfile
impl Send for CaProfile
impl Sync for CaProfile
impl Unpin for CaProfile
impl UnwindSafe for CaProfile
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