pub struct EnrollConfig {
pub name: Name,
pub ca_prefix: Name,
pub validity_secs: u64,
pub challenge: ChallengeParams,
pub storage: Option<PathBuf>,
}Expand description
Configuration for NDNCERT enrollment.
Fields§
§name: NameThe NDN name to enroll (should end with /KEY/v=<n>).
ca_prefix: NameThe CA prefix (e.g. /com/acme/fleet/CA).
validity_secs: u64Certificate validity in seconds.
challenge: ChallengeParamsThe challenge response to use.
storage: Option<PathBuf>Optional storage path for the resulting PIB.
Auto Trait Implementations§
impl !Freeze for EnrollConfig
impl RefUnwindSafe for EnrollConfig
impl Send for EnrollConfig
impl Sync for EnrollConfig
impl Unpin for EnrollConfig
impl UnwindSafe for EnrollConfig
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