vitasdk
Documentation of the vitasdk
psmdrm.h File Reference
#include <psp2kern/types.h>
#include <psp2common/npdrm.h>

Go to the source code of this file.

Functions

int kscePsmDrmGetActInfo (SceUInt32 *act_type, SceUInt32 *version_flag, SceUInt64 *account_id, SceRtcTick *act_start_time, SceRtcTick *act_exp_time)
 Get PSM activation information.
 
int kscePsmDrmGetRifInfo (const ScePsmDrmLicense *license, char *content_id, SceUInt64 *account_id, SceRtcTick *lic_start_time, SceRtcTick *lic_exp_time)
 Get PSM RIF information.
 
int kscePsmDrmGetRifKey (const ScePsmDrmLicense *license, ScePsmDrmKeySet *keydata, SceUInt32 *version_flag, SceRtcTick *lic_start_time, SceRtcTick *lic_exp_time)
 Get a PSM RIF key set and license information.
 
int kscePsmDrmReadActData (void)
 Reload and validate tm0:/psmdrm/act.dat and refresh the cached activation data.
 
int kscePsmDrmRemoveActData (SceUInt64 *account_id)
 Remove tm0:/psmdrm/act.dat and clear the cached PSM activation data.
 
int kscePsmDrmWriteActData (const void *psm_act_data, const void *aes_dec_key)
 Validate and install PSM activation data.