Rise
The Vieneo Province
Toggle main menu visibility
Loading...
Searching...
No Matches
steamencryptedappticket.h
Go to the documentation of this file.
1
//========= Copyright © 1996-2010, Valve LLC, All rights reserved. ============
2
//
3
// Purpose: utilities to decode/decrypt a ticket from the
4
// ISteamUser::RequestEncryptedAppTicket, ISteamUser::GetEncryptedAppTicket API
5
//
6
// To use: declare CSteamEncryptedAppTicket, then call BDecryptTicket
7
// if BDecryptTicket returns true, other accessors are valid
8
//
9
//=============================================================================
10
11
#include "
steam_api.h
"
12
13
static
const
int
k_nSteamEncryptedAppTicketSymmetricKeyLen
= 32;
14
15
16
S_API
bool
SteamEncryptedAppTicket_BDecryptTicket
(
const
uint8
*rgubTicketEncrypted,
uint32
cubTicketEncrypted,
17
uint8
*rgubTicketDecrypted,
uint32
*pcubTicketDecrypted,
18
const
uint8
rgubKey[
k_nSteamEncryptedAppTicketSymmetricKeyLen
],
int
cubKey );
19
20
S_API
bool
SteamEncryptedAppTicket_BIsTicketForApp
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
AppId_t
nAppID );
21
22
S_API
RTime32
SteamEncryptedAppTicket_GetTicketIssueTime
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted );
23
24
S_API
void
SteamEncryptedAppTicket_GetTicketSteamID
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
CSteamID
*psteamID );
25
26
S_API
AppId_t
SteamEncryptedAppTicket_GetTicketAppID
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted );
27
28
S_API
bool
SteamEncryptedAppTicket_BUserOwnsAppInTicket
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
AppId_t
nAppID );
29
30
S_API
bool
SteamEncryptedAppTicket_BUserIsVacBanned
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted );
31
32
S_API
bool
SteamEncryptedAppTicket_BGetAppDefinedValue
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
uint32
*pValue );
33
34
S_API
const
uint8
*
SteamEncryptedAppTicket_GetUserVariableData
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
uint32
*pcubUserData );
35
36
S_API
bool
SteamEncryptedAppTicket_BIsTicketSigned
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted,
const
uint8
*pubRSAKey,
uint32
cubRSAKey );
37
38
S_API
bool
SteamEncryptedAppTicket_BIsLicenseBorrowed
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted );
39
40
S_API
bool
SteamEncryptedAppTicket_BIsLicenseTemporary
(
uint8
*rgubTicketDecrypted,
uint32
cubTicketDecrypted );
CSteamID
Definition
steamclientpublic.h:485
steam_api.h
S_API
#define S_API
Definition
steam_api_common.h:35
uint32
const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)
Definition
steam_api_common.h:73
SteamEncryptedAppTicket_BIsTicketSigned
S_API bool SteamEncryptedAppTicket_BIsTicketSigned(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, const uint8 *pubRSAKey, uint32 cubRSAKey)
SteamEncryptedAppTicket_GetTicketIssueTime
S_API RTime32 SteamEncryptedAppTicket_GetTicketIssueTime(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted)
SteamEncryptedAppTicket_BDecryptTicket
S_API bool SteamEncryptedAppTicket_BDecryptTicket(const uint8 *rgubTicketEncrypted, uint32 cubTicketEncrypted, uint8 *rgubTicketDecrypted, uint32 *pcubTicketDecrypted, const uint8 rgubKey[k_nSteamEncryptedAppTicketSymmetricKeyLen], int cubKey)
SteamEncryptedAppTicket_BIsTicketForApp
S_API bool SteamEncryptedAppTicket_BIsTicketForApp(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, AppId_t nAppID)
SteamEncryptedAppTicket_BIsLicenseTemporary
S_API bool SteamEncryptedAppTicket_BIsLicenseTemporary(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted)
SteamEncryptedAppTicket_BGetAppDefinedValue
S_API bool SteamEncryptedAppTicket_BGetAppDefinedValue(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, uint32 *pValue)
SteamEncryptedAppTicket_GetTicketSteamID
S_API void SteamEncryptedAppTicket_GetTicketSteamID(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, CSteamID *psteamID)
SteamEncryptedAppTicket_GetTicketAppID
S_API AppId_t SteamEncryptedAppTicket_GetTicketAppID(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted)
SteamEncryptedAppTicket_BUserIsVacBanned
S_API bool SteamEncryptedAppTicket_BUserIsVacBanned(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted)
SteamEncryptedAppTicket_BUserOwnsAppInTicket
S_API bool SteamEncryptedAppTicket_BUserOwnsAppInTicket(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, AppId_t nAppID)
SteamEncryptedAppTicket_GetUserVariableData
S_API const uint8 * SteamEncryptedAppTicket_GetUserVariableData(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, uint32 *pcubUserData)
k_nSteamEncryptedAppTicketSymmetricKeyLen
static const int k_nSteamEncryptedAppTicketSymmetricKeyLen
Definition
steamencryptedappticket.h:13
SteamEncryptedAppTicket_BIsLicenseBorrowed
S_API bool SteamEncryptedAppTicket_BIsLicenseBorrowed(uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted)
AppId_t
uint32 AppId_t
Definition
steamtypes.h:81
RTime32
uint32 RTime32
Definition
steamtypes.h:90
uint8
unsigned char uint8
Definition
steamtypes.h:11
ThirdParty
SteamworksSDK
include
steam
steamencryptedappticket.h
Generated on
for Rise by
1.18.0