|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_7_0.IUnknown
org.virtualbox_7_0.IUefiVariableStore
public class IUefiVariableStore
The IUefiVariableStore interface allows inspecting and manipulating the content
of an existing UEFI variable store in a NVRAM file. This is used only in theINvramStore.getUefiVariableStore()
attribute.
Interface ID: {D134C6B6-4479-430D-BB73-68A452BA3E67}
Field Summary |
---|
Fields inherited from class org.virtualbox_7_0.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IUefiVariableStore(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
void |
addKek(byte[] keyEncryptionKey,
java.lang.String owner,
SignatureType signatureType)
Convenience method to add a new Key Encryption Key (KEK) for Secure Boot. |
void |
addSignatureToDb(byte[] signature,
java.lang.String owner,
SignatureType signatureType)
Convenience method to add a new entry to the signature database. |
void |
addSignatureToDbx(byte[] signature,
java.lang.String owner,
SignatureType signatureType)
Convenience method to add a new entry to the forbidden signature database. |
void |
addVariable(java.lang.String name,
java.lang.String owner,
java.util.List<UefiVariableAttributes> attributes,
byte[] data)
Adds a new variable to the non volatile storage area. |
void |
changeVariable(java.lang.String name,
byte[] data)
Changes the data of the given variable. |
void |
deleteVariable(java.lang.String name,
java.lang.String owner)
Deletes the given variable from the non volatile storage area. |
void |
enrollDefaultMsSignatures()
Convenience method to enroll the standard Microsoft KEK and signatures in the signature databases. |
void |
enrollOraclePlatformKey()
Enroll the default platform key from Oracle for enabling Secure Boot. |
void |
enrollPlatformKey(byte[] platformKey,
java.lang.String owner)
Convenience method to enroll a new platform key (PK) for enabling Secure Boot. |
java.lang.Boolean |
getSecureBootEnabled()
Flag whether secure boot is currently enabled for the VM. |
static IUefiVariableStore |
queryInterface(IUnknown obj)
|
void |
queryVariableByName(java.lang.String name,
Holder<java.lang.String> owner,
Holder<java.util.List<UefiVariableAttributes>> attributes,
Holder<byte[]> data)
Queries the variable content variable by the given name. |
void |
queryVariables(Holder<java.util.List<java.lang.String>> names,
Holder<java.util.List<java.lang.String>> owners)
Queries all variables in the non volatile storage and returns their names. |
void |
setSecureBootEnabled(java.lang.Boolean value)
Flag whether secure boot is currently enabled for the VM. |
Methods inherited from class org.virtualbox_7_0.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IUefiVariableStore(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail |
---|
public java.lang.Boolean getSecureBootEnabled()
public void setSecureBootEnabled(java.lang.Boolean value)
value
- Booleanpublic static IUefiVariableStore queryInterface(IUnknown obj)
public void addVariable(java.lang.String name, java.lang.String owner, java.util.List<UefiVariableAttributes> attributes, byte[] data)
name
- Name of the variable.owner
- UUID of the variable owner.attributes
- Attributes of the variable.data
- The variable data.public void deleteVariable(java.lang.String name, java.lang.String owner)
name
- Name of the variable.owner
- UUID of the variable owner.public void changeVariable(java.lang.String name, byte[] data)
name
- Name of the variable.data
- The new variable data.public void queryVariableByName(java.lang.String name, Holder<java.lang.String> owner, Holder<java.util.List<UefiVariableAttributes>> attributes, Holder<byte[]> data)
name
- Name of the variable to look for.owner
- UUID of the variable owner returned on success.attributes
- Attributes of the variable.data
- The variable data returned on success.public void queryVariables(Holder<java.util.List<java.lang.String>> names, Holder<java.util.List<java.lang.String>> owners)
names
- The variable names returned on success.owners
- UUID of the variable owners returned on success.public void enrollOraclePlatformKey()
public void enrollPlatformKey(byte[] platformKey, java.lang.String owner)
platformKey
- The platform key (PK) to enroll.owner
- UUID of the PK owner.public void addKek(byte[] keyEncryptionKey, java.lang.String owner, SignatureType signatureType)
keyEncryptionKey
- The Key Encryption Key (KEK) to add.owner
- UUID of the KEK owner.signatureType
- Type of the signature.public void addSignatureToDb(byte[] signature, java.lang.String owner, SignatureType signatureType)
signature
- The signature to add.owner
- UUID of the signature owner.signatureType
- Type of the signature.public void addSignatureToDbx(byte[] signature, java.lang.String owner, SignatureType signatureType)
signature
- The signature to add.owner
- UUID of the signature owner.signatureType
- Type of the signature.public void enrollDefaultMsSignatures()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |