[−][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 manifest_uris(&self) -> impl Iterator<Item = UriGeneralName>
[src]
Returns an iterator over the manifest URIs of this certificate.
pub fn repository_uri(&self) -> Option<Rsync>
[src]
Returns the repository rsync URI of this certificate if available.
pub fn signed_object_uri(&self) -> Option<Rsync>
[src]
Returns the signed object rsync URI of this certificate if available.
pub fn validity(&self) -> &Validity
[src]
Returns a reference to the validity.
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 subject(&self) -> &Name
[src]
Returns a reference to the subject.
pub fn subject_key_identifier(&self) -> &OctetString
[src]
Returns a reference to the subject key identifier.
pub fn subject_public_key_info(&self) -> &PublicKey
[src]
Returns a reference to the entire public key information structure.
pub fn crl_distribution(&self) -> Option<&UriGeneralNames>
[src]
Returns a reference to the certificate’s CRL distributionb point.
If present, this will be an rsync
URI.
pub fn serial_number(&self) -> &Unsigned
[src]
Returns a reference to the certificate’s serial number.
Trait Implementations
impl AsRef<Cert> for ResourceCert
[src]
impl Clone for ResourceCert
[src]
fn clone(&self) -> ResourceCert
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ResourceCert
[src]
impl Deref for ResourceCert
[src]
Auto Trait Implementations
impl Send for ResourceCert
impl Sync for ResourceCert
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,