Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PKPipe Class Reference

#include <pkpipe.h>

Inherits Pipe.

Public Types

enum  CryptControl { ENCRYPT , DECRYPT }
 
typedef enum PKPipe::CryptControl CryptControl
 

Public Member Functions

 PKPipe (CryptControl control, RandomStraw &rnd)
 
virtual void Put_To (Pipe *pipe)
 
virtual void Put_To (Pipe &pipe)
 
virtual int Put (void const *source, int length)
 
void Key (PKey const *key)
 
- Public Member Functions inherited from Pipe
 Pipe (void)
 
 ~Pipe ()
 
bool Create (const char *name)
 
bool Connected (void)
 
void Write (char msg)
 
const char * Read (void)
 
 Pipe (void)
 
virtual ~Pipe (void)
 
virtual int Flush (void)
 
virtual int End (void)
 
void Put_To (Pipe &pipe)
 

Additional Inherited Members

- Public Attributes inherited from Pipe
PipeChainTo
 
PipeChainFrom
 

Detailed Description

Definition at line 51 of file pkpipe.h.

Member Typedef Documentation

◆ CryptControl

Member Enumeration Documentation

◆ CryptControl

Enumerator
ENCRYPT 
DECRYPT 

Definition at line 54 of file pkpipe.h.

Constructor & Destructor Documentation

◆ PKPipe()

PKPipe::PKPipe ( CryptControl control,
RandomStraw & rnd )

Definition at line 66 of file pkpipe.cpp.

Member Function Documentation

◆ Key()

void PKPipe::Key ( PKey const * key)

Definition at line 133 of file pkpipe.cpp.

◆ Put()

int PKPipe::Put ( void const * source,
int length )
virtual

Reimplemented from Pipe.

Definition at line 168 of file pkpipe.cpp.

◆ Put_To() [1/2]

virtual void PKPipe::Put_To ( Pipe & pipe)
inlinevirtual

Definition at line 62 of file pkpipe.h.

◆ Put_To() [2/2]

void PKPipe::Put_To ( Pipe * pipe)
virtual

Reimplemented from Pipe.

Definition at line 94 of file pkpipe.cpp.


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