From 5c310d1fef9ab7fc92721bb283ee94fd88075deb Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Sun, 18 Apr 2021 23:19:06 -0400 Subject: Add prototype for sceNpDrmGetRifPspKey --- include/kernel/npdrm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/kernel/npdrm.h') diff --git a/include/kernel/npdrm.h b/include/kernel/npdrm.h index 11bf43f..99a6772 100644 --- a/include/kernel/npdrm.h +++ b/include/kernel/npdrm.h @@ -55,6 +55,19 @@ int sceNpDrmGetRifName(char *name, SceUInt64 aid); */ int sceNpDrmGetFixedRifName(char *name, SceUInt64 aid); +/** + * Get license key info + * + * @param[in] license - The pointer of license data. see:SceNpDrmLicense + * @param[out] klicense - The pointer of klicense output buffer. size is 0x10. + * @param[out] flags - The pointer of flags output. + * @param[out] lic_start_time - The pointer of license start time output. + * @param[out] lic_exp_time - The pointer of license exp time output. + * + * @return 0 on success, < 0 on error. +*/ +int sceNpDrmGetRifPspKey(const void *license, void *klicense, int *flags, SceUInt64 *lic_start_time, SceUInt64 *lic_exp_time); + /** * Get license key info * -- cgit v1.2.3