ucommon

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.

Data Structures

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

Defines

#define MAX_CIPHER_KEYSIZE   512
#define MAX_DIGEST_HASHSIZE   512

Typedefs

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

Functions

void 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.