Class CustomCodeSigning
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CustomCodeSigning
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
@Generated("software.amazon.awssdk:codegen") public final class CustomCodeSigning extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
Describes a custom method used to code sign a file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomCodeSigning.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomCodeSigning.Builderbuilder()CodeSigningCertificateChaincertificateChain()The certificate chain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringhashAlgorithm()The hash algorithm used to code sign the file.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CustomCodeSigning.Builder>serializableBuilderClass()CodeSigningSignaturesignature()The signature for the file.StringsignatureAlgorithm()The signature algorithm used to code sign the file.CustomCodeSigning.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
signature
public final CodeSigningSignature signature()
The signature for the file.
- Returns:
- The signature for the file.
-
certificateChain
public final CodeSigningCertificateChain certificateChain()
The certificate chain.
- Returns:
- The certificate chain.
-
hashAlgorithm
public final 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
SHA256orSHA1, so you can pass either of them based on which was used for generating the signature.- Returns:
- 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.
-
signatureAlgorithm
public final 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
ECDSAorRSA, so you can pass either of them based on which was used for generating the signature.- Returns:
- 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.
-
toBuilder
public CustomCodeSigning.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
-
builder
public static CustomCodeSigning.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomCodeSigning.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-