pub enum SigningAlgorithm {
EcdsaSha256P256,
EcdsaSha384P384,
}Expand description
What signature algorithm a PlatformSigner produces.
AWS KMS does not support Ed25519, so the platform root uses ECDSA over NIST P-256 or P-384. P-256 is the default (smaller signatures, faster verify on the host fleet) — P-384 is available for higher-assurance deployments.
Variants§
EcdsaSha256P256
ECDSA over NIST P-256 with SHA-256. Default.
EcdsaSha384P384
ECDSA over NIST P-384 with SHA-384. Higher-assurance opt-in.
Implementations§
Source§impl SigningAlgorithm
impl SigningAlgorithm
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Stable wire-form for use inside crate::rotation::RotationEventPayload.
Trait Implementations§
Source§impl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
Source§fn clone(&self) -> SigningAlgorithm
fn clone(&self) -> SigningAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SigningAlgorithm
impl Debug for SigningAlgorithm
Source§impl<'de> Deserialize<'de> for SigningAlgorithm
impl<'de> Deserialize<'de> for SigningAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SigningAlgorithm
impl PartialEq for SigningAlgorithm
Source§fn eq(&self, other: &SigningAlgorithm) -> bool
fn eq(&self, other: &SigningAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SigningAlgorithm
impl Serialize for SigningAlgorithm
impl Copy for SigningAlgorithm
impl Eq for SigningAlgorithm
impl StructuralPartialEq for SigningAlgorithm
Auto Trait Implementations§
impl Freeze for SigningAlgorithm
impl RefUnwindSafe for SigningAlgorithm
impl Send for SigningAlgorithm
impl Sync for SigningAlgorithm
impl Unpin for SigningAlgorithm
impl UnsafeUnpin for SigningAlgorithm
impl UnwindSafe for SigningAlgorithm
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