AWSIoTCustomCodeSigning
Objective-C
@interface AWSIoTCustomCodeSigning
Swift
class AWSIoTCustomCodeSigning
Describes a custom method used to code sign a file.
-
The certificate chain.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCodeSigningCertificateChain *_Nullable certificateChain;
Swift
var certificateChain: AWSIoTCodeSigningCertificateChain? { get set }
-
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
orSHA1
, so you can pass either of them based on which was used for generating the signature.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable hashAlgorithm;
Swift
var hashAlgorithm: String? { get set }
-
The signature for the file.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCodeSigningSignature *_Nullable signature;
Swift
var signature: AWSIoTCodeSigningSignature? { get set }
-
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
orRSA
, so you can pass either of them based on which was used for generating the signature.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable signatureAlgorithm;
Swift
var signatureAlgorithm: String? { get set }