[][src]Struct krill::commons::api::RepoInfo

pub struct RepoInfo { /* fields omitted */ }

Implementations

impl RepoInfo[src]

pub fn new(base_uri: Rsync, rpki_notify: Https) -> Self[src]

pub fn base_uri(&self) -> &Rsync[src]

pub fn ca_repository(&self, name_space: &str) -> Rsync[src]

Returns the ca repository uri for this RepoInfo and a given namespace. If the namespace is an empty str, it is omitted from the path.

pub fn rpki_manifest(
    &self,
    name_space: &str,
    signing_key: &KeyIdentifier
) -> Rsync
[src]

Returns the rpki manifest uri for this RepoInfo and a given namespace. If the namespace is an empty str, it is omitted from the path.

pub fn crl_distribution_point(
    &self,
    name_space: &str,
    signing_key: &KeyIdentifier
) -> Rsync
[src]

Returns the CRL Distribution Point (rsync URI) for this RepoInfo, given the namespace and signing key.

pub fn rpki_notify(&self) -> Https[src]

Returns the rpki notify uri. (Note that this is the same for all namespaces).

pub fn resolve(&self, name_space: &str, file_name: &str) -> Rsync[src]

pub fn mft_name(signing_key: &KeyIdentifier) -> ObjectName[src]

pub fn crl_name(signing_key: &KeyIdentifier) -> ObjectName[src]

Trait Implementations

impl Clone for RepoInfo[src]

impl Debug for RepoInfo[src]

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

impl Eq for RepoInfo[src]

impl PartialEq<RepoInfo> for RepoInfo[src]

impl Serialize for RepoInfo[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.