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

pub struct PublisherRequest { /* fields omitted */ }

Type representing a <publisher_request/>

This is the XML message with identity information that a CA sends to a Publication Server.

For more info, see: https://tools.ietf.org/html/rfc8183#section-5.2.3

Methods

impl PublisherRequest[src]

pub fn new(
    tag: Option<String>,
    publisher_handle: PublisherHandle,
    id_cert: IdCert
) -> Self
[src]

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

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

pub fn unpack(self) -> (Option<String>, PublisherHandle, IdCert)[src]

impl PublisherRequest[src]

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

impl PublisherRequest[src]

Encoding

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

Encodes a <publisher_request> to a Vec

pub fn save(&self, full_path: &PathBuf) -> Result<(), Error>[src]

Saves this as an XML file

Trait Implementations

impl Into<IdCert> for PublisherRequest[src]

impl Clone for PublisherRequest[src]

impl Eq for PublisherRequest[src]

impl PartialEq<PublisherRequest> for PublisherRequest[src]

impl Debug for PublisherRequest[src]

impl StructuralPartialEq for PublisherRequest[src]

impl StructuralEq for PublisherRequest[src]

impl Serialize for PublisherRequest[src]

impl<'de> Deserialize<'de> for PublisherRequest[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, 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