[][src]Struct krill::daemon::ca::CertifiedKey

pub struct CertifiedKey { /* fields omitted */ }

Describes a Key that is certified. I.e. it received an incoming certificate and has at least a MFT and CRL.

Implementations

impl CertifiedKey[src]

pub fn create<S: Signer>(
    incoming_cert: RcvdCert,
    repo_info: &RepoInfo,
    name_space: &str,
    signer: &S
) -> KrillResult<Self>
[src]

pub fn as_info(&self) -> CertifiedKeyInfo[src]

pub fn key_id(&self) -> &KeyIdentifier[src]

pub fn incoming_cert(&self) -> &RcvdCert[src]

pub fn set_incoming_cert(&mut self, incoming_cert: RcvdCert)[src]

pub fn current_set(&self) -> &CurrentObjectSet[src]

pub fn request(&self) -> Option<&IssuanceRequest>[src]

pub fn add_request(&mut self, req: IssuanceRequest)[src]

pub fn wants_update(
    &self,
    new_resources: &ResourceSet,
    new_not_after: Time
) -> bool
[src]

pub fn close_to_next_update(&self) -> bool[src]

pub fn with_new_cert(self, cert: RcvdCert) -> Self[src]

pub fn apply_delta(&mut self, delta: CurrentObjectSetDelta)[src]

Trait Implementations

impl Clone for CertifiedKey[src]

impl Debug for CertifiedKey[src]

impl<'de> Deserialize<'de> for CertifiedKey[src]

impl Eq for CertifiedKey[src]

impl PartialEq<CertifiedKey> for CertifiedKey[src]

impl Serialize for CertifiedKey[src]

impl StructuralEq for CertifiedKey[src]

impl StructuralPartialEq for CertifiedKey[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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, 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.