UefiKeySignatures Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.UefiKeySignatures

Implements

public final class UefiKeySignatures
implements JsonSerializable<UefiKeySignatures>

Additional UEFI key signatures that will be added to the image in addition to the signature templates.

Constructor Summary

Constructor Description
UefiKeySignatures()

Creates an instance of UefiKeySignatures class.

Method Summary

Modifier and Type Method and Description
List<UefiKey> db()

Get the db property: The database of UEFI keys for this image version.

List<UefiKey> dbx()

Get the dbx property: The database of revoked UEFI keys for this image version.

static UefiKeySignatures fromJson(JsonReader jsonReader)

Reads an instance of UefiKeySignatures from the JsonReader.

List<UefiKey> kek()

Get the kek property: The Key Encryption Keys of this image version.

UefiKey pk()

Get the pk property: The Platform Key of this image version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UefiKeySignatures withDb(List<UefiKey> db)

Set the db property: The database of UEFI keys for this image version.

UefiKeySignatures withDbx(List<UefiKey> dbx)

Set the dbx property: The database of revoked UEFI keys for this image version.

UefiKeySignatures withKek(List<UefiKey> kek)

Set the kek property: The Key Encryption Keys of this image version.

UefiKeySignatures withPk(UefiKey pk)

Set the pk property: The Platform Key of this image version.

Methods inherited from java.lang.Object

Constructor Details

UefiKeySignatures

public UefiKeySignatures()

Creates an instance of UefiKeySignatures class.

Method Details

db

public List db()

Get the db property: The database of UEFI keys for this image version.

Returns:

the db value.

dbx

public List dbx()

Get the dbx property: The database of revoked UEFI keys for this image version.

Returns:

the dbx value.

fromJson

public static UefiKeySignatures fromJson(JsonReader jsonReader)

Reads an instance of UefiKeySignatures from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UefiKeySignatures if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UefiKeySignatures.

kek

public List kek()

Get the kek property: The Key Encryption Keys of this image version.

Returns:

the kek value.

pk

public UefiKey pk()

Get the pk property: The Platform Key of this image version.

Returns:

the pk value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDb

public UefiKeySignatures withDb(List db)

Set the db property: The database of UEFI keys for this image version.

Parameters:

db - the db value to set.

Returns:

the UefiKeySignatures object itself.

withDbx

public UefiKeySignatures withDbx(List dbx)

Set the dbx property: The database of revoked UEFI keys for this image version.

Parameters:

dbx - the dbx value to set.

Returns:

the UefiKeySignatures object itself.

withKek

public UefiKeySignatures withKek(List kek)

Set the kek property: The Key Encryption Keys of this image version.

Parameters:

kek - the kek value to set.

Returns:

the UefiKeySignatures object itself.

withPk

public UefiKeySignatures withPk(UefiKey pk)

Set the pk property: The Platform Key of this image version.

Parameters:

pk - the pk value to set.

Returns:

the UefiKeySignatures object itself.

Applies to