mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-30 14:18:44 +00:00
Volume: Add a GetCertificateChain function
This commit is contained in:
parent
abb3c5bccd
commit
c028a84531
6 changed files with 46 additions and 7 deletions
|
@ -36,6 +36,8 @@ public:
|
|||
const IOS::ES::TicketReader&
|
||||
GetTicket(const Partition& partition = PARTITION_NONE) const override;
|
||||
const IOS::ES::TMDReader& GetTMD(const Partition& partition = PARTITION_NONE) const override;
|
||||
const std::vector<u8>&
|
||||
GetCertificateChain(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetGameID(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetGameTDBID(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetMakerID(const Partition& partition = PARTITION_NONE) const override;
|
||||
|
@ -63,11 +65,13 @@ private:
|
|||
std::unique_ptr<BlobReader> m_reader;
|
||||
IOS::ES::TicketReader m_ticket;
|
||||
IOS::ES::TMDReader m_tmd;
|
||||
std::vector<u8> m_cert_chain;
|
||||
u32 m_cert_chain_offset = 0;
|
||||
u32 m_ticket_offset = 0;
|
||||
u32 m_tmd_offset = 0;
|
||||
u32 m_opening_bnr_offset = 0;
|
||||
u32 m_hdr_size = 0;
|
||||
u32 m_cert_size = 0;
|
||||
u32 m_cert_chain_size = 0;
|
||||
u32 m_ticket_size = 0;
|
||||
u32 m_tmd_size = 0;
|
||||
u32 m_data_size = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue