[][src]Enum krill::daemon::ca::CmdDet

pub enum CmdDet<S: Signer> {
    MakeTrustAnchor(Vec<Https>, Arc<RwLock<S>>),
    ChildAdd(ChildHandleOption<IdCert>, ResourceSet),
    ChildUpdateResources(ChildHandleResourceSet),
    ChildUpdateId(ChildHandleIdCert),
    ChildCertify(ChildHandleIssuanceRequestArc<RwLock<S>>),
    ChildRevokeKey(ChildHandleRevocationRequestArc<RwLock<S>>),
    ChildRemove(ChildHandleArc<RwLock<S>>),
    GenerateNewIdKey(Arc<RwLock<S>>),
    AddParent(ParentHandleParentCaContact),
    UpdateParentContact(ParentHandleParentCaContact),
    RemoveParent(ParentHandle),
    UpdateResourceClasses(ParentHandleEntitlementsArc<RwLock<S>>),
    UpdateRcvdCert(ResourceClassNameRcvdCertArc<RwLock<S>>),
    KeyRollInitiate(DurationArc<RwLock<S>>),
    KeyRollActivate(DurationArc<RwLock<S>>),
    KeyRollFinish(ResourceClassNameRevocationResponse),
    RouteAuthorizationsUpdate(RouteAuthorizationUpdatesArc<RwLock<S>>),
    Republish(Arc<RwLock<S>>),
    RepoUpdate(RepositoryContactArc<RwLock<S>>),
    RepoRemoveOld(Arc<RwLock<S>>),
}

Variants

MakeTrustAnchor(Vec<Https>, Arc<RwLock<S>>)
ChildUpdateResources(ChildHandleResourceSet)
ChildUpdateId(ChildHandleIdCert)
ChildCertify(ChildHandleIssuanceRequestArc<RwLock<S>>)
ChildRevokeKey(ChildHandleRevocationRequestArc<RwLock<S>>)
ChildRemove(ChildHandleArc<RwLock<S>>)
GenerateNewIdKey(Arc<RwLock<S>>)
UpdateParentContact(ParentHandleParentCaContact)
RemoveParent(ParentHandle)
UpdateResourceClasses(ParentHandleEntitlementsArc<RwLock<S>>)
UpdateRcvdCert(ResourceClassNameRcvdCertArc<RwLock<S>>)
KeyRollInitiate(DurationArc<RwLock<S>>)
KeyRollActivate(DurationArc<RwLock<S>>)
RouteAuthorizationsUpdate(RouteAuthorizationUpdatesArc<RwLock<S>>)
Republish(Arc<RwLock<S>>)
RepoUpdate(RepositoryContactArc<RwLock<S>>)
RepoRemoveOld(Arc<RwLock<S>>)

Implementations

impl<S: Signer> CmdDet<S>[src]

pub fn make_trust_anchor(
    handle: &Handle,
    uris: Vec<Https>,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

Turns this CA into a TrustAnchor

pub fn child_add(
    handle: &Handle,
    child_handle: Handle,
    child_id_cert: Option<IdCert>,
    child_resources: ResourceSet
) -> Cmd<S>
[src]

Adds a child to this CA. Will return an error in case you try to give the child resources not held by the CA.

pub fn child_update_resources(
    handle: &Handle,
    child_handle: ChildHandle,
    resources: ResourceSet
) -> Cmd<S>
[src]

pub fn child_update_id(
    handle: &Handle,
    child_handle: ChildHandle,
    id: IdCert
) -> Cmd<S>
[src]

pub fn child_certify(
    handle: &Handle,
    child_handle: ChildHandle,
    request: IssuanceRequest,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

Certify a child. Will return an error in case the child is unknown, or in case resources are not held by the child.

pub fn child_revoke_key(
    handle: &Handle,
    child_handle: ChildHandle,
    request: RevocationRequest,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

Revoke a key for a child.

pub fn child_remove(
    handle: &Handle,
    child_handle: ChildHandle,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn update_id(handle: &Handle, signer: Arc<RwLock<S>>) -> Cmd<S>[src]

pub fn add_parent(
    handle: &Handle,
    parent: ParentHandle,
    info: ParentCaContact
) -> Cmd<S>
[src]

pub fn update_parent(
    handle: &Handle,
    parent: ParentHandle,
    info: ParentCaContact
) -> Cmd<S>
[src]

pub fn remove_parent(handle: &Handle, parent: ParentHandle) -> Cmd<S>[src]

pub fn upd_resource_classes(
    handle: &Handle,
    parent: ParentHandle,
    entitlements: Entitlements,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn upd_received_cert(
    handle: &Handle,
    class_name: ResourceClassName,
    cert: RcvdCert,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn key_roll_init(
    handle: &Handle,
    duration: Duration,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn key_roll_activate(
    handle: &Handle,
    staging: Duration,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn key_roll_finish(
    handle: &Handle,
    rcn: ResourceClassName,
    res: RevocationResponse
) -> Cmd<S>
[src]

pub fn publish(handle: &Handle, signer: Arc<RwLock<S>>) -> Cmd<S>[src]

pub fn update_repo(
    handle: &Handle,
    contact: RepositoryContact,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

pub fn remove_old_repo(handle: &Handle, signer: Arc<RwLock<S>>) -> Cmd<S>[src]

pub fn route_authorizations_update(
    handle: &Handle,
    updates: RouteAuthorizationUpdates,
    signer: Arc<RwLock<S>>
) -> Cmd<S>
[src]

Trait Implementations

impl<S: Clone + Signer> Clone for CmdDet<S>[src]

impl<S: Signer> CommandDetails for CmdDet<S>[src]

impl<S: Debug + Signer> Debug for CmdDet<S>[src]

impl<S: Signer> Display for CmdDet<S>[src]

impl<S: Signer> From<CmdDet<S>> for StorableCaCommand[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for CmdDet<S>

impl<S> Send for CmdDet<S>

impl<S> Sync for CmdDet<S>

impl<S> Unpin for CmdDet<S>

impl<S> UnwindSafe for CmdDet<S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.