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

XKMSRSAKeyPair.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2006 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  * XKMSRSAKeyPair := Interface for RSAKeyPair elements
00021  *
00022  * $Id:$
00023  *
00024  */
00025 
00026 #ifndef XKMSRSAKEYPAIR_INCLUDE
00027 #define XKMSRSAKEYPAIR_INCLUDE
00028 
00029 // XSEC Includes
00030 
00031 #include <xsec/framework/XSECDefs.hpp>
00032 
00083 class XKMSRSAKeyPair {
00084 
00085 public:
00086 
00089 
00090 protected:
00091 
00092     XKMSRSAKeyPair() {};
00093 
00094 public:
00095 
00096     virtual ~XKMSRSAKeyPair() {};
00097 
00100 
00107     virtual const XMLCh * getModulus(void) const = 0;
00108 
00115     virtual const XMLCh * getExponent(void) const = 0;
00116 
00123     virtual const XMLCh * getP(void) const = 0;
00124 
00131     virtual const XMLCh * getQ(void) const = 0;
00132 
00139     virtual const XMLCh * getDP(void) const = 0;
00140 
00147     virtual const XMLCh * getDQ(void) const = 0;
00148 
00155     virtual const XMLCh * getInverseQ(void) const = 0;
00156 
00163     virtual const XMLCh * getD(void) const = 0;
00164 
00165 
00167 
00168 private:
00169 
00170     // Unimplemented
00171     XKMSRSAKeyPair(const XKMSRSAKeyPair &);
00172     XKMSRSAKeyPair & operator = (const XKMSRSAKeyPair &);
00173 
00174 };
00175 
00176 #endif /* XKMSRSAKEYPAIR_INCLUDE */

Generated on Sun Jan 28 19:37:23 2007 for XML-Security-C by  doxygen 1.4.2