[−][src]Struct krill::daemon::ca::ChildDetails
Contains information about a child CA needed by a parent CertAuth.
Note that the actual IssuedCert corresponding to the KeyIdentifier and ResourceClassName are kept in the parent's [ResourceClass].
Methods
impl ChildDetails
[src]
pub fn new(id_cert: Option<IdCert>, resources: ResourceSet) -> Self
[src]
pub fn id_cert(&self) -> Option<&IdCert>
[src]
pub fn set_id_cert(&mut self, id_cert: IdCert)
[src]
pub fn resources(&self) -> &ResourceSet
[src]
pub fn set_resources(&mut self, resources: ResourceSet)
[src]
pub fn issued(&self, rcn: &ResourceClassName) -> Vec<KeyIdentifier>
[src]
pub fn is_issued(&self, ki: &KeyIdentifier) -> bool
[src]
pub fn add_issue_response(&mut self, rcn: ResourceClassName, ki: KeyIdentifier)
[src]
pub fn add_revoke_response(&mut self, ki: KeyIdentifier)
[src]
pub fn verify_key_allowed(
&self,
ki: &KeyIdentifier,
rcn: &ResourceClassName
) -> Result<()>
[src]
&self,
ki: &KeyIdentifier,
rcn: &ResourceClassName
) -> Result<()>
Returns an error in case the key is already in use in another class.
Trait Implementations
impl Into<ChildCaInfo> for ChildDetails
[src]
fn into(self) -> ChildCaInfo
[src]
impl Clone for ChildDetails
[src]
fn clone(&self) -> ChildDetails
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ChildDetails
[src]
impl PartialEq<ChildDetails> for ChildDetails
[src]
fn eq(&self, other: &ChildDetails) -> bool
[src]
fn ne(&self, other: &ChildDetails) -> bool
[src]
impl Debug for ChildDetails
[src]
impl StructuralPartialEq for ChildDetails
[src]
impl StructuralEq for ChildDetails
[src]
impl Serialize for ChildDetails
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ChildDetails
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ChildDetails
impl Sync for ChildDetails
impl Unpin for ChildDetails
impl UnwindSafe for ChildDetails
impl RefUnwindSafe for ChildDetails
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,