[][src]Struct krill::commons::remote::rfc8183::ChildRequest

pub struct ChildRequest { /* fields omitted */ }

Type representing a <child_request /> defined in section 5.2.1 of RFC8183.

Methods

impl ChildRequest[src]

pub fn new(child_handle: Handle, id_cert: IdCert) -> Self[src]

pub fn unwrap(self) -> (Option<String>, Handle, IdCert)[src]

pub fn tag(&self) -> Option<&String>[src]

pub fn child_handle(&self) -> &Handle[src]

pub fn id_cert(&self) -> &IdCert[src]

impl ChildRequest[src]

pub fn validate<R>(reader: R) -> Result<Self, Error> where
    R: Read
[src]

Parses a <child_request /> message, and validates the embedded certificate. MUST be a validly signed TA cert.

impl ChildRequest[src]

pub fn encode_vec(&self) -> Vec<u8>[src]

Encodes the <child_request/> to a Vec

pub fn to_xml(&self) -> String[src]

Encode to XML string

Trait Implementations

impl Clone for ChildRequest[src]

impl Eq for ChildRequest[src]

impl PartialEq<ChildRequest> for ChildRequest[src]

impl Debug for ChildRequest[src]

impl Display for ChildRequest[src]

impl StructuralPartialEq for ChildRequest[src]

impl StructuralEq for ChildRequest[src]

impl Serialize for ChildRequest[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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