CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cipher::CipherNone Class Reference

#include <encrypt.h>

Inheritance diagram for cipher::CipherNone:
Collaboration diagram for cipher::CipherNone:

Public Member Functions

virtual ~CipherNone ()
 
virtual std::string name () const
 
virtual Algorithms algorithm () const
 
virtual unsigned key_size () const
 
virtual unsigned iv_size () const
 
virtual unsigned block_size () const
 
- Public Member Functions inherited from cipher::Cipher
virtual ~Cipher ()
 
bool Encrypt (const std::string &plaintext, const Key &key, std::string *ciphertext)
 

Protected Member Functions

virtual std::string DoEncrypt (const std::string &plaintext, const Key &key)
 
virtual std::string DoDecrypt (const std::string &ciphertext, const Key &key)
 
- Protected Member Functions inherited from cipher::Cipher
 Cipher ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cipher::Cipher
static CipherCreate (const Algorithms a)
 
static bool Decrypt (const std::string &ciphertext, const Key &key, std::string *plaintext)
 

Detailed Description

No encryption, plaintext and ciphertext are identical. For testing.

Definition at line 145 of file encrypt.h.

Constructor & Destructor Documentation

virtual cipher::CipherNone::~CipherNone ( )
inlinevirtual

Definition at line 147 of file encrypt.h.

Member Function Documentation

virtual Algorithms cipher::CipherNone::algorithm ( ) const
inlinevirtual

Implements cipher::Cipher.

Definition at line 150 of file encrypt.h.

virtual unsigned cipher::CipherNone::block_size ( ) const
inlinevirtual

Implements cipher::Cipher.

Definition at line 153 of file encrypt.h.

string cipher::CipherNone::DoDecrypt ( const std::string &  ciphertext,
const Key key 
)
protectedvirtual

Implements cipher::Cipher.

Definition at line 348 of file encrypt.cc.

string cipher::CipherNone::DoEncrypt ( const std::string &  plaintext,
const Key key 
)
protectedvirtual

Implements cipher::Cipher.

Definition at line 353 of file encrypt.cc.

virtual unsigned cipher::CipherNone::iv_size ( ) const
inlinevirtual

Implements cipher::Cipher.

Definition at line 152 of file encrypt.h.

virtual unsigned cipher::CipherNone::key_size ( ) const
inlinevirtual

Implements cipher::Cipher.

Definition at line 151 of file encrypt.h.

virtual std::string cipher::CipherNone::name ( ) const
inlinevirtual

Implements cipher::Cipher.

Definition at line 149 of file encrypt.h.


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