Public Member Functions | Static Public Member Functions | List of all members
Celartem::DjVu::SecurityProviderBroker Class Referenceabstract

#include <djv_security.h>

Inheritance diagram for Celartem::DjVu::SecurityProviderBroker:
Inheritance graph

Public Member Functions

virtual AutoPtr< SecurityProviderlocateSecurityProvider (const String &inSysId, Stream *inSINFStream, CredentialProvider *inCredProv)=0
- Public Member Functions inherited from Celartem::Referable
 Referable ()
void addRef () const
void releaseRef () const
size_t getReferenceCount () const

Static Public Member Functions

static AutoPtr
< SecurityProviderBroker
getDefault ()
- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()

Detailed Description

This class is used to broke several SecurityProvider classes from Security System Id.

Member Function Documentation

static AutoPtr<SecurityProviderBroker> Celartem::DjVu::SecurityProviderBroker::getDefault ( )

Return the default implementation, which can broke SecurityProvider of PWD1, PWD2 and PXL4 .

Pointer to the default SecurityProviderBroker instance.
virtual AutoPtr<SecurityProvider> Celartem::DjVu::SecurityProviderBroker::locateSecurityProvider ( const String inSysId,
Stream inSINFStream,
CredentialProvider inCredProv 
pure virtual

Create a new SecurityInfo instance for decrypting the resource.

inSysId4 Character Security System Id.
inSINFChunkPointer to a Chunk which contains SINF chunk data.
inCredProvPointer to a CredentialProvider instance which provides the credentials to authenticate the user.
Pointer to the newly created SecurityInfo instance.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo