Class: Aws::IoT::Types::CustomCodeSigning

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass CustomCodeSigning data as a hash:

{
  signature: {
    inline_document: "data",
  },
  certificate_chain: {
    certificate_name: "CertificateName",
    inline_document: "InlineDocument",
  },
  hash_algorithm: "HashAlgorithm",
  signature_algorithm: "SignatureAlgorithm",
}

Describes a custom method used to code sign a file.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_chainTypes::CodeSigningCertificateChain

The certificate chain.



5609
5610
5611
5612
5613
5614
5615
5616
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5609

class CustomCodeSigning < Struct.new(
  :signature,
  :certificate_chain,
  :hash_algorithm,
  :signature_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#hash_algorithmString

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.

Returns:

  • (String)


5609
5610
5611
5612
5613
5614
5615
5616
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5609

class CustomCodeSigning < Struct.new(
  :signature,
  :certificate_chain,
  :hash_algorithm,
  :signature_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#signatureTypes::CodeSigningSignature

The signature for the file.



5609
5610
5611
5612
5613
5614
5615
5616
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5609

class CustomCodeSigning < Struct.new(
  :signature,
  :certificate_chain,
  :hash_algorithm,
  :signature_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#signature_algorithmString

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.

Returns:

  • (String)


5609
5610
5611
5612
5613
5614
5615
5616
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5609

class CustomCodeSigning < Struct.new(
  :signature,
  :certificate_chain,
  :hash_algorithm,
  :signature_algorithm)
  SENSITIVE = []
  include Aws::Structure
end