pub struct TrustedKey {
pub key_id: String,
pub pem: String,
pub algorithm: String,
}Expand description
Structured form of a trusted public key. Stored inside
SigningConfiguration.trusted_keys so PutSigningConfiguration
validates PEMs up front and DescribeImageSigningStatus doesn’t
re-parse on every call.
Fields§
§key_id: String§pem: String§algorithm: StringCosmetic label for the key-usage algorithm. Only ECDSA-P256 is supported for verification today; other values are stored round-trippably but won’t match a signature.
Trait Implementations§
Source§impl Clone for TrustedKey
impl Clone for TrustedKey
Source§fn clone(&self) -> TrustedKey
fn clone(&self) -> TrustedKey
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 TrustedKey
impl Debug for TrustedKey
Source§impl Default for TrustedKey
impl Default for TrustedKey
Source§fn default() -> TrustedKey
fn default() -> TrustedKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrustedKey
impl<'de> Deserialize<'de> for TrustedKey
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
Auto Trait Implementations§
impl Freeze for TrustedKey
impl RefUnwindSafe for TrustedKey
impl Send for TrustedKey
impl Sync for TrustedKey
impl Unpin for TrustedKey
impl UnsafeUnpin for TrustedKey
impl UnwindSafe for TrustedKey
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