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
00070 class XENCEncryptedKey : public XENCEncryptedType, public DSIGKeyInfo {
00071
00074
00075 protected:
00076
00077
00078
00079
00080 XENCEncryptedKey(const XSECEnv * env) : DSIGKeyInfo(env) {};
00081
00082 public:
00083
00084 virtual ~XENCEncryptedKey() {};
00085
00088
00103 virtual const XMLCh * getCarriedKeyName(void) const = 0;
00104
00118 virtual const XMLCh * getRecipient(void) const = 0;
00119
00121
00124
00138 virtual void setCarriedKeyName(const XMLCh * name) = 0;
00139
00152 virtual void setRecipient(const XMLCh * recipient) = 0;
00153
00155
00156 private:
00157
00158
00159 XENCEncryptedKey(const XENCEncryptedKey &);
00160 XENCEncryptedKey & operator = (const XENCEncryptedKey &);
00161
00162
00163 };
00164
00165 #endif