Package | Description |
---|---|
gov.nist.secauto.swid.builder.resource.firmware |
Modifier and Type | Method and Description |
---|---|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addCondition(FirmwareRequirement<FirmwareCondition> condition)
Adds a new condition to the list of conditions.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addDigest(DigestType type,
HashAlgorithm algorithm,
byte[] digest)
Sets the file's hash value, for the provided algorithm, to the provided value.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addDigest(DigestType type,
HashAlgorithm algorithm,
File file)
Sets the to-be-built file's hash value, for the provided algorithm, to the provided value.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addDigest(DigestType type,
HashAlgorithm algorithm,
InputStream is)
Sets the file's hash value, for the provided algorithm, to the provided value.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addDigest(FirmwarePayloadDigest digest)
Adds a new digest to the list of digests.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.addDirective(FirmwareRequirement<FirmwareDirective> directive)
Adds a new directive to the list of directives.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.componentIndex(String componentIndex)
Set the component index.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.description(String description)
Set the version of the firmware payload.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.firmwarePackage(FirmwarePayloadPackage firmwarePackage)
Set the component firmwarePackage.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.formatGuidance(byte[] bytes)
Set the firmware payload's format guidance.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.formatType(int type)
Set the format type.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.id(FirmwareIdentifier id)
Set the id of the firmware payload.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.packageIdentifier(String packageIdentifier)
Set the package identifier.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.simpleVersion(BigInteger version)
Set the simple version of the payload.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.size(BigInteger size)
Set the size.
|
FirmwarePayloadBuilder |
FirmwarePayloadBuilder.storageId(FirmwareIdentifier id)
Set the storage id.
|
Modifier and Type | Method and Description |
---|---|
List<FirmwarePayloadBuilder> |
FirmwareBuilder.getPayloads()
Retrieve the firmware payloads of the firmware manifest.
|
Modifier and Type | Method and Description |
---|---|
FirmwareBuilder |
FirmwareBuilder.addPayload(FirmwarePayloadBuilder payload)
Adds a new payload to the list of payloads.
|
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.