Skip to content

CustomCodeSigning

Source code in docs_src/capo_iot/types/custom_code_signing.py
class CustomCodeSigning(TypedDict, closed=True):
    signature: NotRequired["capo_iot.types.code_signing_signature.CodeSigningSignature"]
    """<p>The signature for the file.</p>"""
    certificate_chain: NotRequired[
        "capo_iot.types.code_signing_certificate_chain.CodeSigningCertificateChain"
    ]
    """<p>The certificate chain.</p>"""
    hash_algorithm: NotRequired["capo_iot.types.hash_algorithm.HashAlgorithm"]
    """<p>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 <code>SHA256</code> or <code>SHA1</code>, so you can pass either of them based on which was used for generating the signature.</p>"""
    signature_algorithm: NotRequired[
        "capo_iot.types.signature_algorithm.SignatureAlgorithm"
    ]
    """<p>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 <code>ECDSA</code> or <code>RSA</code>, so you can pass either of them based on which was used for generating the signature.</p>"""

certificate_chain instance-attribute

certificate_chain: NotRequired[CodeSigningCertificateChain]

The certificate chain.

hash_algorithm instance-attribute

hash_algorithm: NotRequired[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.

signature instance-attribute

signature: NotRequired[CodeSigningSignature]

The signature for the file.

signature_algorithm instance-attribute

signature_algorithm: NotRequired[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.