00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef XENCENCRYPTEDKEY_INCLUDE
00027 #define XENCENCRYPTEDKEY_INCLUDE
00028
00029
00030
00031 #include <xsec/framework/XSECDefs.hpp>
00032 #include <xsec/dsig/DSIGKeyInfo.hpp>
00033 #include <xsec/xenc/XENCEncryptedType.hpp>
00034 #include <xsec/xenc/XENCCipherData.hpp>
00035
00071 class XENCEncryptedKey : public XENCEncryptedType, public DSIGKeyInfo {
00072
00075
00076 protected:
00077
00078
00079
00080
00081 XENCEncryptedKey(const XSECEnv * env) : DSIGKeyInfo(env) {};
00082
00083 public:
00084
00085 virtual ~XENCEncryptedKey() {};
00086
00089
00104 virtual const XMLCh * getCarriedKeyName(void) const = 0;
00105
00119 virtual const XMLCh * getRecipient(void) const = 0;
00120
00122
00125
00139 virtual void setCarriedKeyName(const XMLCh * name) = 0;
00140
00153 virtual void setRecipient(const XMLCh * recipient) = 0;
00154
00156
00157 private:
00158
00159
00160 XENCEncryptedKey(const XENCEncryptedKey &);
00161 XENCEncryptedKey & operator = (const XENCEncryptedKey &);
00162
00163
00164 };
00165
00166 #endif