vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSsl_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, SceSslMemoryPoolStats)
 
int sceSslInit (unsigned poolSize)
 
int sceSslTerm (void)
 
int sceSslGetMemoryPoolStats (SceSslMemoryPoolStats *currentStat)
 
int sceSslGetSerialNumber (SceSslCert *sslCert, const char **sboData, unsigned *sboLen)
 
int sceSslGetNotBefore (SceSslCert *sslCert, SceRtcTick *begin)
 
int sceSslGetNotAfter (SceSslCert *sslCert, SceRtcTick *limit)
 
int sceSslGetNameEntryCount (SceSslCertName *certName)
 
int sceSslGetNameEntryInfo (SceSslCertName *certName, int entryNum, char *oidname, unsigned maxOidnameLen, char *value, unsigned maxValueLen, unsigned *valueLen)
 
SceSslCertNamesceSslGetSubjectName (SceSslCert *sslCert)
 
SceSslCertNamesceSslGetIssuerName (SceSslCert *sslCert)
 
int sceSslFreeSslCertName (SceSslCertName *certName)
 

Typedefs

typedef void SceSslCert
 
typedef void SceSslCertName
 

Macros

#define sceSslEnd()   sceSslTerm()
 

Data Structure Documentation

◆ SceSslMemoryPoolStats

struct SceSslMemoryPoolStats
Data Fields
unsigned poolSize
unsigned maxInuseSize
unsigned currentInuseSize
int reserved

Macro Definition Documentation

◆ sceSslEnd

#define sceSslEnd ( )    sceSslTerm()

Typedef Documentation

◆ SceSslCert

typedef void SceSslCert

◆ SceSslCertName

typedef void SceSslCertName

Enumeration Type Documentation

◆ SceSslErrorCode

Enumerator
SCE_SSL_ERROR_BEFORE_INIT 
SCE_SSL_ERROR_ALREADY_INITED 
SCE_SSL_ERROR_OUT_OF_MEMORY 
SCE_SSL_ERROR_NOT_FOUND 
SCE_SSL_ERROR_INTERNAL 
SCE_SSL_ERROR_INVALID_FORMAT 
SCE_SSL_ERROR_INVALID_VALUE 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceSslMemoryPoolStats   
)

◆ sceSslInit()

int sceSslInit ( unsigned  poolSize)

◆ sceSslTerm()

int sceSslTerm ( void  )

◆ sceSslGetMemoryPoolStats()

int sceSslGetMemoryPoolStats ( SceSslMemoryPoolStats currentStat)

◆ sceSslGetSerialNumber()

int sceSslGetSerialNumber ( SceSslCert sslCert,
const char **  sboData,
unsigned *  sboLen 
)

◆ sceSslGetNotBefore()

int sceSslGetNotBefore ( SceSslCert sslCert,
SceRtcTick begin 
)

◆ sceSslGetNotAfter()

int sceSslGetNotAfter ( SceSslCert sslCert,
SceRtcTick limit 
)

◆ sceSslGetNameEntryCount()

int sceSslGetNameEntryCount ( SceSslCertName certName)

◆ sceSslGetNameEntryInfo()

int sceSslGetNameEntryInfo ( SceSslCertName certName,
int  entryNum,
char *  oidname,
unsigned  maxOidnameLen,
char *  value,
unsigned  maxValueLen,
unsigned *  valueLen 
)

◆ sceSslGetSubjectName()

SceSslCertName* sceSslGetSubjectName ( SceSslCert sslCert)

◆ sceSslGetIssuerName()

SceSslCertName* sceSslGetIssuerName ( SceSslCert sslCert)

◆ sceSslFreeSslCertName()

int sceSslFreeSslCertName ( SceSslCertName certName)