Struct aws_sdk_iot::types::CustomCodeSigning
source · #[non_exhaustive]pub struct CustomCodeSigning {
pub signature: Option<CodeSigningSignature>,
pub certificate_chain: Option<CodeSigningCertificateChain>,
pub hash_algorithm: Option<String>,
pub signature_algorithm: Option<String>,
}Expand description
Describes a custom method used to code sign a file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.signature: Option<CodeSigningSignature>The signature for the file.
certificate_chain: Option<CodeSigningCertificateChain>The certificate chain.
hash_algorithm: Option<String>The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses SHA256 or SHA1, so you can pass either of them based on which was used for generating the signature.
signature_algorithm: Option<String>The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses ECDSA or RSA, so you can pass either of them based on which was used for generating the signature.
Implementations§
source§impl CustomCodeSigning
impl CustomCodeSigning
sourcepub fn signature(&self) -> Option<&CodeSigningSignature>
pub fn signature(&self) -> Option<&CodeSigningSignature>
The signature for the file.
sourcepub fn certificate_chain(&self) -> Option<&CodeSigningCertificateChain>
pub fn certificate_chain(&self) -> Option<&CodeSigningCertificateChain>
The certificate chain.
sourcepub fn hash_algorithm(&self) -> Option<&str>
pub fn hash_algorithm(&self) -> Option<&str>
The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses SHA256 or SHA1, so you can pass either of them based on which was used for generating the signature.
sourcepub fn signature_algorithm(&self) -> Option<&str>
pub fn signature_algorithm(&self) -> Option<&str>
The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses ECDSA or RSA, so you can pass either of them based on which was used for generating the signature.
source§impl CustomCodeSigning
impl CustomCodeSigning
sourcepub fn builder() -> CustomCodeSigningBuilder
pub fn builder() -> CustomCodeSigningBuilder
Creates a new builder-style object to manufacture CustomCodeSigning.
Trait Implementations§
source§impl Clone for CustomCodeSigning
impl Clone for CustomCodeSigning
source§fn clone(&self) -> CustomCodeSigning
fn clone(&self) -> CustomCodeSigning
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomCodeSigning
impl Debug for CustomCodeSigning
source§impl PartialEq for CustomCodeSigning
impl PartialEq for CustomCodeSigning
source§fn eq(&self, other: &CustomCodeSigning) -> bool
fn eq(&self, other: &CustomCodeSigning) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomCodeSigning
Auto Trait Implementations§
impl Freeze for CustomCodeSigning
impl RefUnwindSafe for CustomCodeSigning
impl Send for CustomCodeSigning
impl Sync for CustomCodeSigning
impl Unpin for CustomCodeSigning
impl UnwindSafe for CustomCodeSigning
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more