Interface CustomCodeSigning.Builder

    • Method Detail

      • signature

        CustomCodeSigning.Builder signature​(CodeSigningSignature signature)

        The signature for the file.

        Parameters:
        signature - The signature for the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateChain

        CustomCodeSigning.Builder certificateChain​(CodeSigningCertificateChain certificateChain)

        The certificate chain.

        Parameters:
        certificateChain - The certificate chain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hashAlgorithm

        CustomCodeSigning.Builder hashAlgorithm​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • signatureAlgorithm

        CustomCodeSigning.Builder signatureAlgorithm​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.