VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
VICI::Sec::Secure Class Referenceabstract

Provide security for the scripts. More...

#include <vici/vici.h>

Inheritance diagram for VICI::Sec::Secure:
VICI::stub::SecureStub

Public Member Functions

virtual ~Secure ()
 virtual destructor
 
virtual bool verifySignature (csr filename)=0
 check to ensure we are allowed to open this file More...
 
virtual void addSignature (csr filename)=0
 sign this file with the user's key More...
 

Detailed Description

Provide security for the scripts.

The facade for the security library.

The aim is to prevent users from running random scripts however this may be difficult to achieve. It may also conflict with SourceForge's terms and conditions. Hence this module will not be implemented for a while.

Member Function Documentation

virtual void VICI::Sec::Secure::addSignature ( csr  filename)
pure virtual

sign this file with the user's key

Parameters
filenameadd a signature to the script.

Implemented in VICI::stub::SecureStub.

virtual bool VICI::Sec::Secure::verifySignature ( csr  filename)
pure virtual

check to ensure we are allowed to open this file

Parameters
filenamethe script to verify
Returns
true if the signature is valid

Implemented in VICI::stub::SecureStub.


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