Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XENCEncryptionMethod.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2003-2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 /*
00018  * XSEC
00019  *
00020  * XENCEncryptionMethod := Interface definition for EncryptionMethod element
00021  *
00022  * $Id: XENCEncryptionMethod.hpp,v 1.10 2005/06/04 11:30:26 blautenb Exp $
00023  *
00024  */
00025 
00026 #ifndef XENCENCRYPTIONMETHOD_INCLUDE
00027 #define XENCENCRYPTIONMETHOD_INCLUDE
00028 
00029 // XSEC Includes
00030 
00031 #include <xsec/framework/XSECDefs.hpp>
00032 
00062 class XENCEncryptionMethod {
00063 
00064 public:
00065 
00066     XENCEncryptionMethod() {};
00067 
00068     virtual ~XENCEncryptionMethod() {};
00069 
00072 
00082     virtual const XMLCh * getAlgorithm(void) const = 0;
00083 
00093     virtual const XMLCh * getDigestMethod(void) const = 0;
00094 
00104     virtual const XMLCh * getOAEPparams(void) const = 0;
00105 
00114     virtual int getKeySize(void) const = 0;
00115 
00122     virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0;
00123 
00124 
00126 
00129 
00140     virtual void setDigestMethod(const XMLCh * method) = 0;
00141 
00152     virtual void setOAEPparams(const XMLCh * params) = 0;
00153 
00162     virtual void setKeySize(int size) = 0;
00163 
00165 
00166 private:
00167 
00168     // Unimplemented
00169     XENCEncryptionMethod(const XENCEncryptionMethod &);
00170     XENCEncryptionMethod & operator = (const XENCEncryptionMethod &);
00171 
00172 };
00173 
00174 #endif /* XENCENCRYPTIONMETHOD_INCLUDE */

Generated on Sun Jul 3 17:37:27 2005 for XML-Security-C by  doxygen 1.4.2