Struct krill::commons::api::CertifiedKeyInfo
source · pub struct CertifiedKeyInfo { /* private fields */ }
Expand description
Describes a Key that is certified. I.e. it received an incoming certificate and has at least a MFT and CRL.
Implementations§
source§impl CertifiedKeyInfo
impl CertifiedKeyInfo
pub fn new(key_id: KeyIdentifier, incoming_cert: ReceivedCert) -> Self
pub fn key_id(&self) -> &KeyIdentifier
pub fn incoming_cert(&self) -> &ReceivedCert
pub fn request(&self) -> Option<&IssuanceRequest>
Trait Implementations§
source§impl Clone for CertifiedKeyInfo
impl Clone for CertifiedKeyInfo
source§fn clone(&self) -> CertifiedKeyInfo
fn clone(&self) -> CertifiedKeyInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CertifiedKeyInfo
impl Debug for CertifiedKeyInfo
source§impl<'de> Deserialize<'de> for CertifiedKeyInfo
impl<'de> Deserialize<'de> for CertifiedKeyInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CertifiedKeyInfo
impl PartialEq for CertifiedKeyInfo
source§fn eq(&self, other: &CertifiedKeyInfo) -> bool
fn eq(&self, other: &CertifiedKeyInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CertifiedKeyInfo
impl Serialize for CertifiedKeyInfo
impl Eq for CertifiedKeyInfo
impl StructuralEq for CertifiedKeyInfo
impl StructuralPartialEq for CertifiedKeyInfo
Auto Trait Implementations§
impl RefUnwindSafe for CertifiedKeyInfo
impl Send for CertifiedKeyInfo
impl Sync for CertifiedKeyInfo
impl Unpin for CertifiedKeyInfo
impl UnwindSafe for CertifiedKeyInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.