pub struct KeyIdentifier<'a> { /* private fields */ }Expand description
Common KEK/recipient key identifier and its original optional metadata.
Implementations§
Source§impl<'a> KeyIdentifier<'a>
impl<'a> KeyIdentifier<'a>
Sourcepub fn identifier(&self) -> &Octets<'a>
pub fn identifier(&self) -> &Octets<'a>
Original key identifier octets, preserving constructed BER fragments. The immutable owner also supplies the optional fields’ source context.
Sourcepub fn date(&self) -> Option<EncodedValue<'a>>
pub fn date(&self) -> Option<EncodedValue<'a>>
Original optional GeneralizedTime, validated under the actual BER/DER
contract. No lossy second/nanosecond projection or key-age policy.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for KeyIdentifier<'a>
impl<'a> !RefUnwindSafe for KeyIdentifier<'a>
impl<'a> !Send for KeyIdentifier<'a>
impl<'a> !Sync for KeyIdentifier<'a>
impl<'a> !UnwindSafe for KeyIdentifier<'a>
impl<'a> Unpin for KeyIdentifier<'a>
impl<'a> UnsafeUnpin for KeyIdentifier<'a>
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