Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: certstore.h
Link against: certstore.lib

Class CertStore

CertStore

Support

Supported from 6.0

Description

A factory class for opening or creating the certificate store.

A certificate store contains root certificates, i.e. trusted certificates that may be used to complete a certificate chain.

Defined in CertStore:
CreateL(), CreateLC(), OpenL(), OpenLC(), OpenReadL(), OpenReadLC(), OpenWriteL(), OpenWriteLC()


Creating certificate stores


CreateL()

static CCertStore* CreateL();

Description

Creates a new and empty certificate store.

The function creates the new certificate store in C:\system\data.

Return value

CCertStore*

The interface to the new certificate store.


CreateLC()

static CCertStore* CreateLC();

Description

Creates a new and empty certificate store, and puts the pointer to the certificate store interface object onto the cleanup stack.

Return value

CCertStore*

The interface to the new certificate store.

[Top]


Opening the certificate store


OpenL()

static CCertStore* OpenL();

Description

Opens the certificate store.

Return value

CCertStore*

The interface to the new certificate store.


OpenLC()

static CCertStore* OpenLC();

Description

Opens the certificate store, and puts the pointer to the certificate store interface object onto the cleanup stack.

If the certificate store cannot be found, then function copies the original store out of ROM and opens that one.

Return value

CCertStore*

The interface to the new certificate store.

[Top]


Opening and reading the certificate store


OpenReadL()

static CCertStore* OpenReadL();

Support

Supported from 6.1

Description

Creates a read only certificate store and leaves it on the cleanup stack.

Return value

CCertStore*

On return, a certificate store.


OpenReadLC()

static CCertStore* OpenReadLC();

Support

Supported from 6.1

Description

Creates a read only certificate store and pops it from the cleanup stack.

Return value

CCertStore*

On return, a certificate store.

[Top]


Opening and writing the certificate store


OpenWriteL()

static CCertStore* OpenWriteL();

Support

Supported from 6.1

Description

Creates a read and write certificate store and leaves it on the cleanup stack.

Return value

CCertStore*

On return, a certificate store.


OpenWriteLC()

static CCertStore* OpenWriteLC();

Support

Supported from 6.1

Description

Creates a read and write certificate store and pops it from the cleanup stack.

Return value

CCertStore*

On return, a certificate store.