OpenSim::Framework::Communications::Cache::CryptoGridAssetClient Class Reference

Inheritance diagram for OpenSim::Framework::Communications::Cache::CryptoGridAssetClient:

OpenSim::Framework::Communications::Cache::AssetServerBase OpenSim::Framework::IAssetServer List of all members.

Public Member Functions

 CryptoGridAssetClient (string serverUrl, string keydir, bool decOnly)
override void UpdateAsset (AssetBase asset)
override void StoreAsset (AssetBase asset)
override void Close ()

Protected Member Functions

override AssetBase GetAsset (AssetRequest req)
 This method must be implemented by a subclass to retrieve the asset named in the AssetRequest. If the asset is not found, null should be returned.

Classes

class  RjinKeyfile
class  UtilRijndael
 This class uses a symmetric key algorithm (Rijndael/AES) to encrypt and decrypt data. As long as encryption and decryption routines use the same parameters to generate the keys, the keys are guaranteed to be the same. The class uses static functions with duplicate code to make it easier to demonstrate encryption and decryption logic. In a real-life application, this may not be the most efficient way of handling encryption, so - as soon as you feel comfortable with it - you may want to redesign this class.

Constructor & Destructor Documentation

OpenSim::Framework::Communications::Cache::CryptoGridAssetClient::CryptoGridAssetClient ( string  serverUrl,
string  keydir,
bool  decOnly 
) [inline]


Member Function Documentation

override AssetBase OpenSim::Framework::Communications::Cache::CryptoGridAssetClient::GetAsset ( AssetRequest  req  )  [inline, protected, virtual]

This method must be implemented by a subclass to retrieve the asset named in the AssetRequest. If the asset is not found, null should be returned.

Parameters:
req 
Returns:
Exceptions:
System.Exception Thrown if the request failed for some other reason than that the asset cannot be found.

Implements OpenSim::Framework::Communications::Cache::AssetServerBase.

override void OpenSim::Framework::Communications::Cache::CryptoGridAssetClient::UpdateAsset ( AssetBase  asset  )  [inline, virtual]

Reimplemented from OpenSim::Framework::Communications::Cache::AssetServerBase.

override void OpenSim::Framework::Communications::Cache::CryptoGridAssetClient::StoreAsset ( AssetBase  asset  )  [inline, virtual]

Implements OpenSim::Framework::Communications::Cache::AssetServerBase.

override void OpenSim::Framework::Communications::Cache::CryptoGridAssetClient::Close (  )  [inline, virtual]

Reimplemented from OpenSim::Framework::Communications::Cache::AssetServerBase.


The documentation for this class was generated from the following file:
Generated on Fri Jan 9 01:00:46 2009 for OpenSim by  doxygen 1.5.1