OpenCore
1.0.4
OpenCore Bootloader
|
#include "libDER/libDER.h"
#include "libDER/asn1Types.h"
#include "libDER/DER_CertCrl.h"
#include "libDER/DER_Decode.h"
#include "libDER/DER_Keys.h"
#include "libDER/oids.h"
#include "libDERImg4.h"
#include "DER_Img4Manifest.h"
#include "Img4oids.h"
Go to the source code of this file.
Data Structures | |
struct | Image4CertificateInfo |
Enumerations | |
enum | { Img4ManifestPropSetTypeManp = 0 , Img4ManifestPropSetTypeObjp = 1 } |
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 DER_Img4Manifest.c.
anonymous enum |
Enumerator | |
---|---|
Img4ManifestPropSetTypeManp | |
Img4ManifestPropSetTypeObjp |
Definition at line 33 of file DER_Img4Manifest.c.
DERReturn DERImg4DecodeProperty | ( | const DERItem * | PropItem, |
DERTag | PropName, | ||
DERImg4Property * | Property ) |
Definition at line 658 of file DER_Img4Manifest.c.
DERReturn DERImg4DecodePropertyInteger32 | ( | const DERItem * | PropItem, |
uint32_t | PropName, | ||
uint32_t * | Value ) |
Definition at line 761 of file DER_Img4Manifest.c.
DERReturn DERImg4DecodePropertyInteger64 | ( | const DERItem * | PropItem, |
uint32_t | PropName, | ||
uint64_t * | Value ) |
Definition at line 790 of file DER_Img4Manifest.c.
DERReturn DERImg4FindDecodeProperty | ( | const DERItem * | PropSetItem, |
DERTag | PropName, | ||
DERTag | PropValueTag, | ||
DERImg4Property * | Property ) |
Definition at line 602 of file DER_Img4Manifest.c.
DERReturn DERImg4FindPropertyItem | ( | const DERItem * | PropSetItem, |
DERTag | PropName, | ||
DERItem * | PropItem ) |
Definition at line 571 of file DER_Img4Manifest.c.
DERReturn DERImg4ManifestDecodeProperties | ( | DERImg4ManifestInfo * | ManInfo, |
const DERItem * | PropSetItem, | ||
uint32_t | PropSetType ) |
Definition at line 1152 of file DER_Img4Manifest.c.
DERReturn DERImg4ManifestDecodeProperty | ( | const DERItem * | PropItem, |
uint32_t | PropName, | ||
DERImg4ManifestInfo * | ManInfo, | ||
uint32_t | PropSetType ) |
Definition at line 954 of file DER_Img4Manifest.c.
DERReturn DERImg4ManifestDecodePropertyBoolean | ( | const DERItem * | PropItem, |
uint32_t | PropName, | ||
bool * | Value ) |
Definition at line 726 of file DER_Img4Manifest.c.
DERReturn DERImg4ManifestVerifyCertIssuer | ( | const Image4CertificateInfo * | ChildCertInfo, |
const Image4CertificateInfo * | ParentCertInfo ) |
Definition at line 377 of file DER_Img4Manifest.c.
DERReturn DERImg4ManifestVerifySignature | ( | DERItem * | ManCertRoleItem, |
const DERImg4Manifest * | Manifest ) |
Definition at line 443 of file DER_Img4Manifest.c.
Definition at line 118 of file DER_Img4Manifest.c.
Definition at line 71 of file DER_Img4Manifest.c.
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] | 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.
DERReturn DERImg4ValidateCertificateRole | ( | const DERItem * | ManPropSetItem, |
const DERItem * | ObjPropSetItem, | ||
const DERItem * | ManBodyCertItem ) |
Definition at line 819 of file DER_Img4Manifest.c.
Definition at line 39 of file DER_Img4Manifest.c.
Definition at line 55 of file DER_Img4Manifest.c.