@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomCodeSigning extends Object implements Serializable, Cloneable, StructuredPojo
Describes a custom method used to code sign a file.
Constructor and Description |
---|
CustomCodeSigning() |
Modifier and Type | Method and Description |
---|---|
CustomCodeSigning |
clone() |
boolean |
equals(Object obj) |
CodeSigningCertificateChain |
getCertificateChain()
The certificate chain.
|
String |
getHashAlgorithm()
The hash algorithm used to code sign the file.
|
CodeSigningSignature |
getSignature()
The signature for the file.
|
String |
getSignatureAlgorithm()
The signature algorithm used to code sign the file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
|
void |
setHashAlgorithm(String hashAlgorithm)
The hash algorithm used to code sign the file.
|
void |
setSignature(CodeSigningSignature signature)
The signature for the file.
|
void |
setSignatureAlgorithm(String signatureAlgorithm)
The signature algorithm used to code sign the file.
|
String |
toString()
Returns a string representation of this object.
|
CustomCodeSigning |
withCertificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
|
CustomCodeSigning |
withHashAlgorithm(String hashAlgorithm)
The hash algorithm used to code sign the file.
|
CustomCodeSigning |
withSignature(CodeSigningSignature signature)
The signature for the file.
|
CustomCodeSigning |
withSignatureAlgorithm(String signatureAlgorithm)
The signature algorithm used to code sign the file.
|
public void setSignature(CodeSigningSignature signature)
The signature for the file.
signature
- The signature for the file.public CodeSigningSignature getSignature()
The signature for the file.
public CustomCodeSigning withSignature(CodeSigningSignature signature)
The signature for the file.
signature
- The signature for the file.public void setCertificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
certificateChain
- The certificate chain.public CodeSigningCertificateChain getCertificateChain()
The certificate chain.
public CustomCodeSigning withCertificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.
certificateChain
- The certificate chain.public void setHashAlgorithm(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.public String getHashAlgorithm()
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.
SHA256
or SHA1
, so you can pass
either of them based on which was used for generating the signature.public CustomCodeSigning withHashAlgorithm(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.public void setSignatureAlgorithm(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.public String getSignatureAlgorithm()
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.
ECDSA
or RSA
, so you can
pass either of them based on which was used for generating the signature.public CustomCodeSigning withSignatureAlgorithm(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.public String toString()
toString
in class Object
Object.toString()
public CustomCodeSigning clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.