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

#include <pkstraw.h>

Inherits Straw.

Public Types

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

Public Member Functions

 PKStraw (CryptControl control, RandomStraw &rnd)
 
virtual void Get_From (Straw *straw)
 
virtual void Get_From (Straw &straw)
 
virtual int Get (void *source, int slen)
 
void Key (PKey const *key)
 
- Public Member Functions inherited from Straw
 Straw (void)
 
virtual ~Straw (void)
 
void Get_From (Straw &pipe)
 

Additional Inherited Members

- Public Attributes inherited from Straw
StrawChainTo
 
StrawChainFrom
 

Detailed Description

Definition at line 45 of file pkstraw.h.

Member Typedef Documentation

◆ CryptControl

Member Enumeration Documentation

◆ CryptControl

Enumerator
ENCRYPT 
DECRYPT 

Definition at line 48 of file pkstraw.h.

Constructor & Destructor Documentation

◆ PKStraw()

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

Definition at line 70 of file pkstraw.cpp.

Member Function Documentation

◆ Get()

int PKStraw::Get ( void * source,
int slen )
virtual

Reimplemented from Straw.

Definition at line 171 of file pkstraw.cpp.

◆ Get_From() [1/2]

virtual void PKStraw::Get_From ( Straw & straw)
inlinevirtual

Definition at line 56 of file pkstraw.h.

◆ Get_From() [2/2]

void PKStraw::Get_From ( Straw * straw)
virtual

Reimplemented from Straw.

Definition at line 98 of file pkstraw.cpp.

◆ Key()

void PKStraw::Key ( PKey const * key)

Definition at line 141 of file pkstraw.cpp.


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