Struct cryptographic_message_syntax::asn1::rfc5652::KekIdentifier
source · [−]pub struct KekIdentifier {
pub key_identifier: OctetString,
pub date: Option<GeneralizedTime>,
pub other: Option<OtherKeyAttribute>,
}Expand description
Key encryption key identifier.
KEKIdentifier ::= SEQUENCE {
keyIdentifier OCTET STRING,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL }Fields
key_identifier: OctetStringdate: Option<GeneralizedTime>other: Option<OtherKeyAttribute>Trait Implementations
sourceimpl Clone for KekIdentifier
impl Clone for KekIdentifier
sourcefn clone(&self) -> KekIdentifier
fn clone(&self) -> KekIdentifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for KekIdentifier
impl Debug for KekIdentifier
sourceimpl PartialEq<KekIdentifier> for KekIdentifier
impl PartialEq<KekIdentifier> for KekIdentifier
sourcefn eq(&self, other: &KekIdentifier) -> bool
fn eq(&self, other: &KekIdentifier) -> bool
impl Eq for KekIdentifier
impl StructuralEq for KekIdentifier
impl StructuralPartialEq for KekIdentifier
Auto Trait Implementations
impl RefUnwindSafe for KekIdentifier
impl Send for KekIdentifier
impl Sync for KekIdentifier
impl Unpin for KekIdentifier
impl UnwindSafe for KekIdentifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.