GClasses
GClasses::GKeyPair Class Reference

#include <GKeyPair.h>

Public Member Functions

 GKeyPair ()
 
 GKeyPair (GDomNode *pNode)
 
virtual ~GKeyPair ()
 
void copyN (GBigInt *pN)
 
void copyPrivateKey (GBigInt *pPrivateKey)
 
void copyPublicKey (GBigInt *pPublicKey)
 
void generateKeyPair (unsigned int uintCount, const unsigned int *pRawCryptographicBytes1, const unsigned int *pRawCryptographicBytes2, const unsigned int *pRawCryptographicBytes3)
 
int maxBlockSize ()
 
GBigIntn ()
 
unsigned char * powerMod (const unsigned char *pInput, int nInputSize, bool bPublicKey, int *pnOutputSize)
 
GBigIntprivateKey ()
 
GBigIntpublicKey ()
 
GDomNodeserialize (GDom *pDoc, bool bIncludePrivateKey)
 
void setN (GBigInt *pN)
 
void setPrivateKey (GBigInt *pPrivateKey)
 
void setPublicKey (GBigInt *pPublicKey)
 

Static Public Member Functions

static void test ()
 

Constructor & Destructor Documentation

GClasses::GKeyPair::GKeyPair ( )
GClasses::GKeyPair::GKeyPair ( GDomNode pNode)
virtual GClasses::GKeyPair::~GKeyPair ( )
virtual

Member Function Documentation

void GClasses::GKeyPair::copyN ( GBigInt pN)
void GClasses::GKeyPair::copyPrivateKey ( GBigInt pPrivateKey)
void GClasses::GKeyPair::copyPublicKey ( GBigInt pPublicKey)
void GClasses::GKeyPair::generateKeyPair ( unsigned int  uintCount,
const unsigned int *  pRawCryptographicBytes1,
const unsigned int *  pRawCryptographicBytes2,
const unsigned int *  pRawCryptographicBytes3 
)
int GClasses::GKeyPair::maxBlockSize ( )
GBigInt* GClasses::GKeyPair::n ( )
unsigned char* GClasses::GKeyPair::powerMod ( const unsigned char *  pInput,
int  nInputSize,
bool  bPublicKey,
int *  pnOutputSize 
)
GBigInt* GClasses::GKeyPair::privateKey ( )
GBigInt* GClasses::GKeyPair::publicKey ( )
GDomNode* GClasses::GKeyPair::serialize ( GDom pDoc,
bool  bIncludePrivateKey 
)
void GClasses::GKeyPair::setN ( GBigInt pN)
void GClasses::GKeyPair::setPrivateKey ( GBigInt pPrivateKey)
void GClasses::GKeyPair::setPublicKey ( GBigInt pPublicKey)
static void GClasses::GKeyPair::test ( )
static