[−][src]Struct rpki::cert::ResourceCert
A validated resource certificate.
This differs from a normal Cert
in that its IP and AS resources are
resolved into concrete values.
Methods
impl ResourceCert
[src]
pub fn as_cert(&self) -> &Cert
[src]
Returns a reference to the underlying certificate.
pub fn v4_resources(&self) -> &IpBlocks
[src]
Returns a reference to the IPv4 resources of this certificate.
pub fn v6_resources(&self) -> &IpBlocks
[src]
Returns a reference to the IPv6 resources of this certificate.
pub fn as_resources(&self) -> &AsBlocks
[src]
Returns a reference to the AS resources of this certificate.
pub fn tal(&self) -> &Arc<TalInfo>
[src]
Returns information about the TAL this certificate is based on.
pub fn into_tal(self) -> Arc<TalInfo>
[src]
Converts the certificate into its TAL info.
Methods from Deref<Target = Cert>
pub fn encode_ref<'a>(&'a self) -> impl Values + 'a
[src]
Returns a value encoder for a reference to the certificate.
pub fn to_captured(&self) -> Captured
[src]
Returns a captured encoding of the certificate.
Trait Implementations
impl AsRef<Cert> for ResourceCert
[src]
impl AsRef<TbsCert> for ResourceCert
[src]
impl Clone for ResourceCert
[src]
fn clone(&self) -> ResourceCert
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ResourceCert
[src]
impl Deref for ResourceCert
[src]
Auto Trait Implementations
impl Send for ResourceCert
impl Sync for ResourceCert
impl Unpin for ResourceCert
impl UnwindSafe for ResourceCert
impl RefUnwindSafe for ResourceCert
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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 = Infallible
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,