Package | Description |
---|---|
gov.nist.secauto.swid.builder.resource.firmware |
Modifier and Type | Method and Description |
---|---|
DigestType |
FirmwarePayloadDigest.getType() |
static DigestType |
DigestType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestType[] |
DigestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
byte[] value) |
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
byte[] value,
byte[] guidance) |
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
File file) |
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
File file,
byte[] guidance) |
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
InputStream is) |
FirmwarePayloadDigest(DigestType type,
HashAlgorithm algorithm,
InputStream is,
byte[] guidance) |
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.