public static interface CustomCodeSigning.Builder extends SdkPojo, CopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
| Modifier and Type | Method and Description |
|---|---|
CustomCodeSigning.Builder |
certificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
|
default CustomCodeSigning.Builder |
certificateChain(Consumer<CodeSigningCertificateChain.Builder> certificateChain)
The certificate chain.
|
CustomCodeSigning.Builder |
hashAlgorithm(String hashAlgorithm)
The hash algorithm used to code sign the file.
|
CustomCodeSigning.Builder |
signature(CodeSigningSignature signature)
The signature for the file.
|
default CustomCodeSigning.Builder |
signature(Consumer<CodeSigningSignature.Builder> signature)
The signature for the file.
|
CustomCodeSigning.Builder |
signatureAlgorithm(String signatureAlgorithm)
The signature algorithm used to code sign the file.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomCodeSigning.Builder signature(CodeSigningSignature signature)
The signature for the file.
signature - The signature for the file.default CustomCodeSigning.Builder signature(Consumer<CodeSigningSignature.Builder> signature)
The signature for the file.
This is a convenience method that creates an instance of theCodeSigningSignature.Builder avoiding
the need to create one manually via CodeSigningSignature.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to signature(CodeSigningSignature).
signature - a consumer that will call methods on CodeSigningSignature.Buildersignature(CodeSigningSignature)CustomCodeSigning.Builder certificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
certificateChain - The certificate chain.default CustomCodeSigning.Builder certificateChain(Consumer<CodeSigningCertificateChain.Builder> certificateChain)
The certificate chain.
This is a convenience method that creates an instance of theCodeSigningCertificateChain.Builder
avoiding the need to create one manually via CodeSigningCertificateChain.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to certificateChain(CodeSigningCertificateChain).
certificateChain - a consumer that will call methods on CodeSigningCertificateChain.BuildercertificateChain(CodeSigningCertificateChain)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.
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.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.
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.Copyright © 2022. All rights reserved.