ucommon/secure.h File Reference

This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. More...

#include <ucommon/platform.h>
#include <ucommon/ucommon.h>

Include dependency graph for secure.h:

Go to the source code of this file.

Namespaces

namespace  ucc

Data Structures

class  ucc::Cipher
 A generic data ciphering class. More...
class  ucc::Cipher::Key
 Cipher key formed by hash algorithm. More...
class  ucc::Digest
 A cryptographic digest class. More...
class  ucc::Random
 Cryptographically relevant random numbers. More...
class  ucc::secure
 Common secure socket support. More...
class  ucc::SSLBuffer
 Secure socket buffer. More...
class  ucc::sstream
 Secure socket using std::iostream. More...

Defines

#define MAX_CIPHER_KEYSIZE   512
#define MAX_DIGEST_HASHSIZE   512

Typedefs

typedef Cipher ucc::cipher_t
 Convenience type for generic ciphers.
typedef Digest ucc::digest_t
 Convenience type for generic digests.
typedef Cipher::Key ucc::skey_t
 Convenience type for generic cipher key.
typedef SSLBuffer ucc::ssl_t
 Convenience type for secure socket.

Functions

void ucc::zerofill (void *addr, size_t size)


Detailed Description

This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++.

This library might be used in conjunction with openssl, gnutls, etc. If no secure socket library is available, then a stub library may be used with very basic cryptographic support.

Definition in file secure.h.


Generated on Tue May 17 12:15:11 2011 for UCommon by  doxygen 1.5.6