/AWS1/CL_IOTCUSTOMCODESIGNING¶
Describes a custom method used to code sign a file.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_signature TYPE REF TO /AWS1/CL_IOTCODESIGNINGSIG /AWS1/CL_IOTCODESIGNINGSIG¶
The signature for the file.
io_certificatechain TYPE REF TO /AWS1/CL_IOTCODESIGNINGCRTCH00 /AWS1/CL_IOTCODESIGNINGCRTCH00¶
The certificate chain.
iv_hashalgorithm TYPE /AWS1/IOTHASHALGORITHM /AWS1/IOTHASHALGORITHM¶
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
SHA256orSHA1, so you can pass either of them based on which was used for generating the signature.
iv_signaturealgorithm TYPE /AWS1/IOTSIGNATUREALGORITHM /AWS1/IOTSIGNATUREALGORITHM¶
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
ECDSAorRSA, so you can pass either of them based on which was used for generating the signature.
Queryable Attributes¶
signature¶
The signature for the file.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SIGNATURE() |
Getter for SIGNATURE |
certificateChain¶
The certificate chain.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CERTIFICATECHAIN() |
Getter for CERTIFICATECHAIN |
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
SHA256orSHA1, so you can pass either of them based on which was used for generating the signature.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HASHALGORITHM() |
Getter for HASHALGORITHM, with configurable default |
ASK_HASHALGORITHM() |
Getter for HASHALGORITHM w/ exceptions if field has no value |
HAS_HASHALGORITHM() |
Determine if HASHALGORITHM has a value |
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
ECDSAorRSA, so you can pass either of them based on which was used for generating the signature.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SIGNATUREALGORITHM() |
Getter for SIGNATUREALGORITHM, with configurable default |
ASK_SIGNATUREALGORITHM() |
Getter for SIGNATUREALGORITHM w/ exceptions if field has no |
HAS_SIGNATUREALGORITHM() |
Determine if SIGNATUREALGORITHM has a value |