OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Data Structures | |
struct | DERImg4Environment |
struct | DERImg4ManifestInfo |
Enumerations | |
enum | DERImg4Return { DR_SecurityError = -1 } |
Functions | |
DERReturn | DERImg4ParseManifest (DERImg4ManifestInfo *ManInfo, const void *ManifestBuffer, size_t ManifestSize, uint32_t ObjType) |
Copyright (C) 2019, Download-Fritz. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file libDERImg4.h.
enum DERImg4Return |
Enumerator | |
---|---|
DR_SecurityError |
Definition at line 24 of file libDERImg4.h.
DERReturn DERImg4ParseManifest | ( | DERImg4ManifestInfo * | ManInfo, |
const void * | ManBuffer, | ||
size_t | ManSize, | ||
uint32_t | ObjType ) |
Verify and parse the IMG4 Manifest in ManBuffer and output its information. On success, the Manifest is guaranteed to be digitally signed with the platform-provided DERImg4RootCertificate.
[out] | ManInfo | Output Manifest information structure. |
[in] | ManifestBuffer | Buffer containing the Manifest data. |
[in] | ManifestSize | Size, in bytes, of ManBuffer. |
[in] | ObjType | The object type to inspect. |
DR_Success | ManBuffer contains a valid, signed IMG4 Manifest and its information has been returned into ManInfo. |
other | An error has occured. |
Verify and parse the IMG4 Manifest in ManBuffer and output its information. On success, the Manifest is guaranteed to be digitally signed with the platform-provided DERImg4RootCertificate.
[out] | ManInfo | Output Manifest information structure. |
[in] | ManBuffer | Buffer containing the Manifest data. |
[in] | ManSize | Size, in bytes, of ManBuffer. |
[in] | ObjType | The object type to inspect. |
DR_Success | ManBuffer contains a valid, signed IMG4 Manifest and its information has been returned into ManInfo. |
other | An error has occured. |
Definition at line 1230 of file DER_Img4Manifest.c.