amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.Types.CustomCodeSigning

Description

 
Synopsis

Documentation

data CustomCodeSigning Source #

Describes a custom method used to code sign a file.

See: newCustomCodeSigning smart constructor.

Constructors

CustomCodeSigning' 

Fields

  • certificateChain :: Maybe CodeSigningCertificateChain

    The certificate chain.

  • hashAlgorithm :: Maybe Text

    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 :: Maybe CodeSigningSignature

    The signature for the file.

  • signatureAlgorithm :: Maybe Text

    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.

Instances

Instances details
FromJSON CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

ToJSON CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

Generic CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

Associated Types

type Rep CustomCodeSigning :: Type -> Type #

Read CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

Show CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

NFData CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

Methods

rnf :: CustomCodeSigning -> () #

Eq CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

Hashable CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

type Rep CustomCodeSigning Source # 
Instance details

Defined in Amazonka.IoT.Types.CustomCodeSigning

type Rep CustomCodeSigning = D1 ('MetaData "CustomCodeSigning" "Amazonka.IoT.Types.CustomCodeSigning" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "CustomCodeSigning'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificateChain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeSigningCertificateChain)) :*: S1 ('MetaSel ('Just "hashAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeSigningSignature)) :*: S1 ('MetaSel ('Just "signatureAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCustomCodeSigning :: CustomCodeSigning Source #

Create a value of CustomCodeSigning with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:certificateChain:CustomCodeSigning', customCodeSigning_certificateChain - The certificate chain.

$sel:hashAlgorithm:CustomCodeSigning', customCodeSigning_hashAlgorithm - 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.

$sel:signature:CustomCodeSigning', customCodeSigning_signature - The signature for the file.

$sel:signatureAlgorithm:CustomCodeSigning', customCodeSigning_signatureAlgorithm - 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.

customCodeSigning_hashAlgorithm :: Lens' CustomCodeSigning (Maybe Text) Source #

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.

customCodeSigning_signatureAlgorithm :: Lens' CustomCodeSigning (Maybe Text) Source #

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.