vitasdk
Documentation of the vitasdk
sblutmgr.h
Go to the documentation of this file.
1
6
#ifndef _PSP2_SBLUTMGR_H_
7
#define _PSP2_SBLUTMGR_H_
8
9
#include <
psp2/types.h
>
10
#include <
psp2common/sblpostssmgr.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
28
int
sceSblUtMgrGetRemainingValidityTime
(
int
*remaining_seconds);
29
41
int
sceSblUtMgrGetUtName
(
char
*name,
SceSize
size
);
42
56
int
sceSblUtMgrReadUtoken
(
SceUtoken
*utoken,
SceSize
size
);
57
68
int
sceSblUtMgrResetUtokenFile
(
void
);
69
80
int
sceSblUtMgrUpdateUtoken
(
const
SceUtoken
*utoken,
SceSize
size
);
81
82
#define sceSblUtMgrGetCurrentSecureTick sceSblUtMgrGetRemainingValidityTime
83
#define sceSblUtMgrIsTrilithiumFlagEnabled sceSblUtMgrGetUtName
84
85
#ifdef __cplusplus
86
}
87
#endif
88
89
#endif
/* _PSP2_SBLUTMGR_H_ */
size
SceSize size
Definition
lsdb.h:11
SceUtoken
Definition
sblpostssmgr.h:53
sceSblUtMgrGetRemainingValidityTime
int sceSblUtMgrGetRemainingValidityTime(int *remaining_seconds)
Get the remaining validity time for the initialized Utoken.
sceSblUtMgrReadUtoken
int sceSblUtMgrReadUtoken(SceUtoken *utoken, SceSize size)
Read and verify the stored encrypted Utoken.
sceSblUtMgrUpdateUtoken
int sceSblUtMgrUpdateUtoken(const SceUtoken *utoken, SceSize size)
Verify an encrypted Utoken and write it to storage.
sceSblUtMgrGetUtName
int sceSblUtMgrGetUtName(char *name, SceSize size)
Copy the Utoken name.
sceSblUtMgrResetUtokenFile
int sceSblUtMgrResetUtokenFile(void)
Overwrite and remove the stored Utoken file.
SceSize
unsigned int SceSize
Definition
types.h:56
types.h
sblpostssmgr.h
include
psp2
sblutmgr.h
Vita SDK