Struct scratchstack_aws_signature::KDateKey
source · [−]pub struct KDateKey { /* private fields */ }
Expand description
The kDate
key: an AWS secret key, prefixed with “AWS4”, then HMAC-SHA256 hashed with the date.
Implementations
sourceimpl KDateKey
impl KDateKey
sourcepub fn to_kregion(&self, region: &str) -> KRegionKey
pub fn to_kregion(&self, region: &str) -> KRegionKey
Create a new KRegionKey
from this KDateKey
and a region.
sourcepub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
pub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
Create a new KServiceKey
from this KDateKey
, a region, and a service.
sourcepub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
pub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
Create a new KSigningKey
from this KDateKey
, a region, and a service.
Trait Implementations
impl Copy for KDateKey
impl Eq for KDateKey
impl StructuralEq for KDateKey
impl StructuralPartialEq for KDateKey
Auto Trait Implementations
impl RefUnwindSafe for KDateKey
impl Send for KDateKey
impl Sync for KDateKey
impl Unpin for KDateKey
impl UnwindSafe for KDateKey
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