00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #ifndef _CLASS_DSAPRIVATEKEYSPEC_H
00024 #define _CLASS_DSAPRIVATEKEYSPEC_H
00025
00026 #include "beecrypt/api.h"
00027 #include "beecrypt/mpbarrett.h"
00028
00029 #ifdef __cplusplus
00030
00031 #include "beecrypt/c++/lang/Object.h"
00032 using beecrypt::lang::Object;
00033 #include "beecrypt/c++/security/spec/KeySpec.h"
00034 using beecrypt::security::spec::KeySpec;
00035
00036 namespace beecrypt {
00037 namespace security {
00038 namespace spec {
00042 class BEECRYPTCXXAPI DSAPrivateKeySpec : public beecrypt::lang::Object, public beecrypt::security::spec::KeySpec
00043 {
00044 private:
00045 mpbarrett _p;
00046 mpbarrett _q;
00047 mpnumber _g;
00048 mpnumber _x;
00049
00050 public:
00051 DSAPrivateKeySpec(const mpbarrett& p, const mpbarrett& q, const mpnumber& g, const mpnumber& x);
00052 virtual ~DSAPrivateKeySpec();
00053
00054 const mpbarrett& getP() const throw ();
00055 const mpbarrett& getQ() const throw ();
00056 const mpnumber& getG() const throw ();
00057 const mpnumber& getX() const throw ();
00058 };
00059 }
00060 }
00061 }
00062
00063 #endif
00064
00065 #endif