mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-28 16:58:56 +00:00
added function to check emptiness of file handle
This commit is contained in:
parent
6d15d1effa
commit
b04e038869
@ -101,6 +101,17 @@ public class UefiGuid {
|
|||||||
return UefiConstants.SIZE_16;
|
return UefiConstants.SIZE_16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Checks whether the handle to the file needed to look up the UUID is valid. If empty,
|
||||||
|
* this likely means the file was not accessible to due to existence or permissions.
|
||||||
|
*
|
||||||
|
* @return true if the reference to the file handle needed to look up the UUID is empty
|
||||||
|
*/
|
||||||
|
public boolean isUefiVendorRefEmpty() {
|
||||||
|
return uefiVendorRef.isEmpty();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a String that represents a specification name referenced by the
|
* Returns a String that represents a specification name referenced by the
|
||||||
* EFI_CONFIGURATION_TABLE VendorGUID field. For structure of
|
* EFI_CONFIGURATION_TABLE VendorGUID field. For structure of
|
||||||
|
Loading…
Reference in New Issue
Block a user