pub struct EpochKey {
pub key: SymmetricKey,
pub start_time_us: u64,
}Available on crate feature
rustcrypto only.Expand description
One epoch key and the moment it becomes the one a sender uses (§4.17.3).
Fields§
§key: SymmetricKeyThe key an administrator generated with Crypto_DRBG.
start_time_us: u64“absolute UTC time in microseconds encoded using the epoch-us representation”.
§4.17.3.1: “An epoch key marked with the maximum start time SHALL be disabled” — which
is DISABLED.
Implementations§
Trait Implementations§
impl Eq for EpochKey
impl StructuralPartialEq for EpochKey
Auto Trait Implementations§
impl Forget for EpochKey
impl Freeze for EpochKey
impl Move for EpochKey
impl RefUnwindSafe for EpochKey
impl Send for EpochKey
impl Sync for EpochKey
impl Unpin for EpochKey
impl UnsafeUnpin for EpochKey
impl UnwindSafe for EpochKey
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