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 interface
CustomCodeSigning.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomCodeSigning.Builder
builder()
CodeSigningCertificateChain
certificateChain()
The certificate chain.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
String
hashAlgorithm()
The hash algorithm used to code sign the file.int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends CustomCodeSigning.Builder>
serializableBuilderClass()
CodeSigningSignature
signature()
The signature for the file.String
signatureAlgorithm()
The signature algorithm used to code sign the file.CustomCodeSigning.Builder
toBuilder()
String
toString()
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
SHA256
orSHA1
, 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
SHA256
orSHA1
, 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
ECDSA
orRSA
, 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
ECDSA
orRSA
, so you can pass either of them based on which was used for generating the signature.
-
toBuilder
public CustomCodeSigning.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-