Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

glite Namespace Reference


Classes

struct  assignXor
struct  bitwiseXor
class  Crypt
 Class for encryted data storage. More...

struct  inputKey
 State structure manipulator to input key. More...

struct  outputKey
 State structure manipulator to output key. More...

struct  setFormat
 State structure manipulator to format key. More...


Functions

template<typename key_type> key_type Array2Key (const typename key_type::value_type *array, unsigned int length)
 Convert an array into a key.

template Crypt::Key Array2Key (const Crypt::Key::value_type *array, unsigned int length)
template Crypt::Base64Key Array2Key (const Crypt::Base64Key::value_type *array, unsigned int length)
template Crypt::ShortKey Array2Key (const Crypt::ShortKey::value_type *array, unsigned int length)
template<typename key_type> key_type::value_type * Key2Array (const key_type &vec, unsigned int &length)
 Convert a key into an array.

template Crypt::Key::value_type * Key2Array (const Crypt::Key &vec, unsigned int &length)
template Crypt::Base64Key::value_type * Key2Array (const Crypt::Base64Key &vec, unsigned int &length)
template Crypt::ShortKey::value_type * Key2Array (const Crypt::ShortKey &vec, unsigned int &length)
std::ostream & operator<< (std::ostream &os, const Crypt &c)
 Output insertion operator for object of class Crypt.

template<typename key_type> std::ostream & operator<< (std::ostream &os, const outputKey< std::vector< key_type > > &k)
 Output insertion operator for object of type key.

std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::Base64Key > &k)
 Output insertion operator for object of type Base64 key.

template<typename key_type> std::ostream & operator<< (std::ostream &os, const outputKey< std::vector< std::vector< key_type > > > &k)
 Output insertion operator for object of type split keys.

template<typename key_type> std::istream & operator>> (std::istream &is, inputKey< key_type > &k)
 Input insertion operator for object of type key.

std::istream & operator>> (std::istream &is, const setFormat &f)
 Input insertion operator for object of type format.

std::ostream & operator<< (std::ostream &os, const setFormat &f)
 Output insertion operator for object of type format.

template std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::Key > &k)
template std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::ShortKey > &k)
template std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::LongKey > &k)
template std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::SplitKeys > &k)
template std::ostream & operator<< (std::ostream &os, const outputKey< Crypt::SplitShortKeys > &k)
template std::istream & operator>> (std::istream &is, inputKey< Crypt::Key > &k)
template std::istream & operator>> (std::istream &is, inputKey< Crypt::ShortKey > &k)
template std::istream & operator>> (std::istream &is, inputKey< Crypt::LongKey > &k)
template<typename InputIterator1, typename InputIterator2, typename BinaryOperator> InputIterator2 transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, BinaryOperator binary_op)

Variables

const int evp_max_block_length = 32
const Crypt::longByte prime = 65521
 Value of the prime number for modular arithmetic.


Function Documentation

template Crypt::ShortKey Array2Key const Crypt::ShortKey::value_type *  array,
unsigned int  length
 

template Crypt::Base64Key Array2Key const Crypt::Base64Key::value_type *  array,
unsigned int  length
 

template Crypt::Key Array2Key const Crypt::Key::value_type *  array,
unsigned int  length
 

template<typename key_type>
key_type glite::Array2Key const typename key_type::value_type *  array,
unsigned int  length
 

Convert an array into a key.

Parameters:
in] array pointer to an array block
in] length array size
Returns:
key converted from array

template Crypt::ShortKey::value_type* Key2Array const Crypt::ShortKey &  vec,
unsigned int &  length
 

template Crypt::Base64Key::value_type* Key2Array const Crypt::Base64Key &  vec,
unsigned int &  length
 

template Crypt::Key::value_type* Key2Array const Crypt::Key &  vec,
unsigned int &  length
 

template<typename key_type>
key_type::value_type * glite::Key2Array const key_type &  vec,
unsigned int &  length
 

Convert a key into an array.

Parameters:
in] key
out] length array size
Returns:
pointer to an array block (allocated with new, freed with delete)

template std::ostream& operator<< std::ostream &  os,
const outputKey< Crypt::SplitShortKeys > &  k
 

template std::ostream& operator<< std::ostream &  os,
const outputKey< Crypt::SplitKeys > &  k
 

template std::ostream& operator<< std::ostream &  os,
const outputKey< Crypt::LongKey > &  k
 

template std::ostream& operator<< std::ostream &  os,
const outputKey< Crypt::ShortKey > &  k
 

template std::ostream& operator<< std::ostream &  os,
const outputKey< Crypt::Key > &  k
 

std::ostream & glite::operator<< std::ostream &  os,
const setFormat &  f
 

Output insertion operator for object of type format.

template<typename key_type>
std::ostream & glite::operator<< std::ostream &  os,
const outputKey< std::vector< std::vector< key_type > > > &  k
 

Output insertion operator for object of type split keys.

std::ostream & glite::operator<< std::ostream &  os,
const outputKey< Crypt::Base64Key > &  k
 

Output insertion operator for object of type Base64 key.

template<typename key_type>
std::ostream & glite::operator<< std::ostream &  os,
const outputKey< std::vector< key_type > > &  k
 

Output insertion operator for object of type key.

std::ostream & glite::operator<< std::ostream &  os,
const Crypt &  c
 

Output insertion operator for object of class Crypt.

template std::istream& operator>> std::istream &  is,
inputKey< Crypt::LongKey > &  k
 

template std::istream& operator>> std::istream &  is,
inputKey< Crypt::ShortKey > &  k
 

template std::istream& operator>> std::istream &  is,
inputKey< Crypt::Key > &  k
 

std::istream & glite::operator>> std::istream &  is,
const setFormat &  f
 

Input insertion operator for object of type format.

template<typename key_type>
std::istream & glite::operator>> std::istream &  is,
inputKey< key_type > &  k
 

Input insertion operator for object of type key.

template<typename InputIterator1, typename InputIterator2, typename BinaryOperator>
InputIterator2 transform InputIterator1  first1,
InputIterator1  last1,
InputIterator2  first2,
BinaryOperator  binary_op
 


Variable Documentation

const int glite::evp_max_block_length = 32 [static]
 

const Crypt::longByte glite::prime = 65521 [static]
 

Value of the prime number for modular arithmetic.


Generated on Thu May 11 18:54:33 2006 for Glite Security encrypted storage cpp by doxygen 1.3.5