00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #ifndef _INTERFACE_DHPUBLICKEY_H
00024 #define _INTERFACE_DHPUBLICKEY_H
00025
00026 #include "beecrypt/api.h"
00027 #include "beecrypt/mpnumber.h"
00028
00029 #ifdef __cplusplus
00030
00031 #include "beecrypt/c++/security/PublicKey.h"
00032 using beecrypt::security::PublicKey;
00033 #include "beecrypt/c++/crypto/interfaces/DHKey.h"
00034 using beecrypt::crypto::interfaces::DHKey;
00035
00036 namespace beecrypt {
00037 namespace crypto {
00038 namespace interfaces {
00042 class DHPublicKey : public beecrypt::security::PublicKey, public DHKey
00043 {
00044 public:
00045 virtual const mpnumber& getY() const throw () = 0;
00046 };
00047 }
00048 }
00049 }
00050
00051 #endif
00052
00053 #endif