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

Go to the source code of this file.

Data Structures

struct  ScePsmDrmGetActInfoOpt
 
struct  ScePsmDrmGetRifInfoOpt
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, ScePsmDrmGetActInfoOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, ScePsmDrmGetRifInfoOpt)
 
int scePsmDrmGetRifKey (const ScePsmDrmLicense *license_buf, ScePsmDrmKeySet *keydata, int *version_flag, ScePsmDrmExpireTime *exp_time)
 Get a PSM RIF key set.
 
int scePsmDrmGetActInfo (SceUInt32 *act_type, SceUInt32 *version_flag, SceUInt64 *account_id, const ScePsmDrmGetActInfoOpt *opt)
 Get PSM activation information.
 
int scePsmDrmGetRifInfo (const ScePsmDrmLicense *license, char *content_id, SceUInt64 *account_id, const ScePsmDrmGetRifInfoOpt *opt)
 Get PSM RIF information.
 
int scePsmDrmGetRifName (char *rif_name)
 Get the fixed PSM RIF name.
 
int scePsmDrmGetRifNameForInstall (char *rif_name, const ScePsmDrmLicense *license)
 Get the installation name for a PSM RIF.
 
int scePsmDrmRemoveActData (SceUInt64 *account_id)
 Remove tm0:/psmdrm/act.dat and clear the cached PSM activation data.