Class UefiKeySignatures
java.lang.Object
com.azure.resourcemanager.compute.models.UefiKeySignatures
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UefiKeySignatures>
public final class UefiKeySignatures
extends Object
implements com.azure.json.JsonSerializable<UefiKeySignatures>
Additional UEFI key signatures that will be added to the image in addition to the signature templates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondb()Get the db property: The database of UEFI keys for this image version.dbx()Get the dbx property: The database of revoked UEFI keys for this image version.static UefiKeySignaturesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UefiKeySignatures from the JsonReader.kek()Get the kek property: The Key Encryption Keys of this image version.pk()Get the pk property: The Platform Key of this image version.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the db property: The database of UEFI keys for this image version.Set the dbx property: The database of revoked UEFI keys for this image version.Set the kek property: The Key Encryption Keys of this image version.Set the pk property: The Platform Key of this image version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
UefiKeySignatures
public UefiKeySignatures()Creates an instance of UefiKeySignatures class.
-
-
Method Details
-
pk
Get the pk property: The Platform Key of this image version.- Returns:
- the pk value.
-
withPk
Set the pk property: The Platform Key of this image version.- Parameters:
pk- the pk value to set.- Returns:
- the UefiKeySignatures object itself.
-
kek
Get the kek property: The Key Encryption Keys of this image version.- Returns:
- the kek value.
-
withKek
Set the kek property: The Key Encryption Keys of this image version.- Parameters:
kek- the kek value to set.- Returns:
- the UefiKeySignatures object itself.
-
db
Get the db property: The database of UEFI keys for this image version.- Returns:
- the db value.
-
withDb
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.
-
dbx
Get the dbx property: The database of revoked UEFI keys for this image version.- Returns:
- the dbx value.
-
withDbx
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<UefiKeySignatures>- Throws:
IOException
-
fromJson
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.
-