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  ucommon

Data Structures

class  ucommon::Cipher
 A generic data ciphering class. More...
class  ucommon::Cipher::Key
 Cipher key formed by hash algorithm. More...
class  ucommon::Digest
 A cryptographic digest class. More...
class  ucommon::HMAC
 A cryptographic message authentication code class. More...
class  ucommon::keyrandom< S >
 A template to create a random generated key of specified size. More...
class  ucommon::keystring< S >
 A template to create a string array that automatically erases. More...
class  ucommon::Random
 Cryptographically relevant random numbers. More...
class  ucommon::secure
 Common secure socket support. More...
class  ucommon::SSLBuffer
 Secure socket buffer. More...
class  ucommon::sstream
 Secure socket using std::iostream. More...

Defines

#define MAX_CIPHER_KEYSIZE   512
#define MAX_DIGEST_HASHSIZE   512

Typedefs

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

Functions

void ucommon::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 14 Aug 2013 for UCommon by  doxygen 1.4.7