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: OctetString
§date: Option<GeneralizedTime>
§other: Option<OtherKeyAttribute>
Trait Implementations§
source§impl Clone for KekIdentifier
impl Clone for KekIdentifier
source§fn clone(&self) -> KekIdentifier
fn clone(&self) -> KekIdentifier
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 KekIdentifier
impl Debug for KekIdentifier
source§impl PartialEq for KekIdentifier
impl PartialEq for KekIdentifier
source§fn eq(&self, other: &KekIdentifier) -> bool
fn eq(&self, other: &KekIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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.