Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6IKeystoreInit Interface Referenceabstract

#include <p6keystore.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR close (void)=0
 
virtual P6R::P6ERR initialize (P6KEYSTOREFLAGS flags, p6ISymmetricCrypto *pEncryptKey, P6SIGNHMAC signAlg, p6ICryptoKey *pSignKey)=0
 
virtual P6R::P6ERR open (const P6WCHAR *pURI)=0
 
virtual P6R::P6ERR openSigned (const P6WCHAR *pPath, const P6WCHAR *pKeystoreName)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR resetStore (void)=0
 

Detailed Description

This interface is used to create/open/manage the keystore.

On disk, all keys, certificates, and blobs are encrypted using the 'pEncryptKey' parameter passed into the initialize() call. This encryption prevents unauthorized access to everything saved in the keystore. Also, the entire keystore is digitialy signed using the 'pSignKey' parameter passed in the initialize() call. Signing the keystore on disk prevents undetected, modificiation to the keystore by unauthorized access, since the signature is verified on a call to open().

Definition at line 565 of file p6keystore.h.


The documentation for this interface was generated from the following file: