pub enum SigningKeyKind {
KSecret,
KDate,
KRegion,
KService,
KSigning,
}
Expand description
The types of signing key available.
See SigningKey
for information on the types of keys and how they are derived.
Variants§
KSecret
KSecret: the raw secret key.
KDate
KDate: HMAC_SHA256("AWS4" + KSecret, request_date)
, where request_date
is the date of
the request in the UTC time zone formatted as “YYYYMMDD”.
KRegion
KRegion: HMAC_SHA256(KDate, region)
.
KService
KService: HMAC_SHA256(KRegion, service)
.
KSigning
KSigning: HMAC_SHA256(KService, "aws4_request")
.
Trait Implementations§
Source§impl Clone for SigningKeyKind
impl Clone for SigningKeyKind
Source§fn clone(&self) -> SigningKeyKind
fn clone(&self) -> SigningKeyKind
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 SigningKeyKind
impl Debug for SigningKeyKind
Source§impl Display for SigningKeyKind
impl Display for SigningKeyKind
Source§impl PartialEq for SigningKeyKind
impl PartialEq for SigningKeyKind
impl Copy for SigningKeyKind
impl Eq for SigningKeyKind
impl StructuralPartialEq for SigningKeyKind
Auto Trait Implementations§
impl Freeze for SigningKeyKind
impl RefUnwindSafe for SigningKeyKind
impl Send for SigningKeyKind
impl Sync for SigningKeyKind
impl Unpin for SigningKeyKind
impl UnwindSafe for SigningKeyKind
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