1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XML-Security-C: XKMSKeyBindingAbstractType.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">src</a> / <a class="el" href="dir_000007.html">xkms</a></div>
<h1>XKMSKeyBindingAbstractType.hpp</h1><a href="XKMSKeyBindingAbstractType_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Copyright 2004-2005 The Apache Software Foundation.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
00005 <span class="comment"> * you may not use this file except in compliance with the License.</span>
00006 <span class="comment"> * You may obtain a copy of the License at</span>
00007 <span class="comment"> *</span>
00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
00009 <span class="comment"> *</span>
00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
00014 <span class="comment"> * limitations under the License.</span>
00015 <span class="comment"> */</span>
00016
00017 <span class="comment">/*</span>
00018 <span class="comment"> * XSEC</span>
00019 <span class="comment"> *</span>
00020 <span class="comment"> * XKMSKeyBindingAbstractType := Interface for base schema of XKMS messages</span>
00021 <span class="comment"> *</span>
00022 <span class="comment"> * $Id: XKMSKeyBindingAbstractType.hpp,v 1.6 2005/06/04 11:30:26 blautenb Exp $</span>
00023 <span class="comment"> *</span>
00024 <span class="comment"> */</span>
00025
00026 <span class="preprocessor">#ifndef XKMSKEYBINDINGABSTRACTTYPE_INCLUDE</span>
00027 <span class="preprocessor"></span><span class="preprocessor">#define XKMSKEYBINDINGABSTRACTTYPE_INCLUDE</span>
00028 <span class="preprocessor"></span>
00029 <span class="comment">// XSEC Includes</span>
00030
00031 <span class="preprocessor">#include <xsec/framework/XSECDefs.hpp></span>
00032
00033 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoList.html">DSIGKeyInfoList</a>;
00034 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoMgmtData.html">DSIGKeyInfoMgmtData</a>;
00035 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoName.html">DSIGKeyInfoName</a>;
00036 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoPGPData.html">DSIGKeyInfoPGPData</a>;
00037 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoSPKIData.html">DSIGKeyInfoSPKIData</a>;
00038 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoValue.html">DSIGKeyInfoValue</a>;
00039 <span class="keyword">class </span><a class="code" href="classDSIGKeyInfoX509.html">DSIGKeyInfoX509</a>;
00040 <span class="keyword">class </span><a class="code" href="classXKMSUseKeyWith.html">XKMSUseKeyWith</a>;
00041
00042 <a class="code" href="XSECDefs_8hpp.html#a5">XSEC_DECLARE_XERCES_CLASS</a>(DOMElement);
00043
<a name="l00072"></a><a class="code" href="classXKMSKeyBindingAbstractType.html">00072</a> <span class="keyword">class </span><a class="code" href="classXKMSKeyBindingAbstractType.html">XKMSKeyBindingAbstractType</a> {
00073
00076
00077 <span class="keyword">protected</span>:
00078
<a name="l00079"></a><a class="code" href="classXKMSKeyBindingAbstractType.html#z270_1">00079</a> <a class="code" href="classXKMSKeyBindingAbstractType.html#z270_1">XKMSKeyBindingAbstractType</a>() {};
00080
00081 <span class="keyword">public</span>:
00082
<a name="l00083"></a><a class="code" href="classXKMSKeyBindingAbstractType.html#z270_0">00083</a> <span class="keyword">virtual</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z270_0">~XKMSKeyBindingAbstractType</a>() {};
00084
00087
00088 <span class="comment">/*</span>
00089 <span class="comment"> * \brief Obtain the base Element for this structure</span>
00090 <span class="comment"> *</span>
00091 <span class="comment"> * @returns the Element node at the head of the DOM structure</span>
00092 <span class="comment"> */</span>
00093
00094 <span class="keyword">virtual</span> <a class="code" href="XSECDefs_8hpp.html#a0">XERCES_CPP_NAMESPACE_QUALIFIER</a> DOMElement * <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_0">getElement</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00095
00106 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_1">getId</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00107
00117 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoList.html">DSIGKeyInfoList</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_2">getKeyInfoList</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00118
00128 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_3">getEncryptionKeyUsage</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00129
00139 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_4">getSignatureKeyUsage</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00140
00150 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_5">getExchangeKeyUsage</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00151
00153
00156
00166 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z272_0">setId</a>(<span class="keyword">const</span> XMLCh * <span class="keywordtype">id</span> = NULL) = 0;
00167
00178 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z272_1">setEncryptionKeyUsage</a>(<span class="keywordtype">void</span>) = 0;
00179
00190 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z272_2">setSignatureKeyUsage</a>(<span class="keywordtype">void</span>) = 0;
00191
00202 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z272_3">setExchangeKeyUsage</a>(<span class="keywordtype">void</span>) = 0;
00203
00205
00209
00220 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoList.html">DSIGKeyInfoList</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z271_2">getKeyInfoList</a>(<span class="keywordtype">void</span>) = 0;
00221
00230 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_1">clearKeyInfo</a>(<span class="keywordtype">void</span>) = 0;
00231
00244 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoValue.html">DSIGKeyInfoValue</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_2">appendDSAKeyValue</a>(<span class="keyword">const</span> XMLCh * P,
00245 <span class="keyword">const</span> XMLCh * Q,
00246 <span class="keyword">const</span> XMLCh * G,
00247 <span class="keyword">const</span> XMLCh * Y) = 0;
00248
00259 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoValue.html">DSIGKeyInfoValue</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_3">appendRSAKeyValue</a>(<span class="keyword">const</span> XMLCh * modulus,
00260 <span class="keyword">const</span> XMLCh * exponent) = 0;
00261
00273 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoX509.html">DSIGKeyInfoX509</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_4">appendX509Data</a>(<span class="keywordtype">void</span>) = 0;
00274
00285 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoName.html">DSIGKeyInfoName</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_5">appendKeyName</a>(<span class="keyword">const</span> XMLCh * name, <span class="keywordtype">bool</span> isDName = <span class="keyword">false</span>) = 0;
00286
00298 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoPGPData.html">DSIGKeyInfoPGPData</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_6">appendPGPData</a>(<span class="keyword">const</span> XMLCh * <span class="keywordtype">id</span>, <span class="keyword">const</span> XMLCh * packet) = 0;
00299
00309 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoSPKIData.html">DSIGKeyInfoSPKIData</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_7">appendSPKIData</a>(<span class="keyword">const</span> XMLCh * sexp) = 0;
00310
00320 <span class="keyword">virtual</span> <a class="code" href="classDSIGKeyInfoMgmtData.html">DSIGKeyInfoMgmtData</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z273_8">appendMgmtData</a>(<span class="keyword">const</span> XMLCh * data) = 0;
00321
00323
00326
00333 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classXKMSKeyBindingAbstractType.html#z274_0">getUseKeyWithSize</a>(<span class="keywordtype">void</span>) <span class="keyword">const </span>= 0;
00334
00335 <span class="comment">/*</span>
00336 <span class="comment"> * \brief Obtain an UseKeyWith item</span>
00337 <span class="comment"> *</span>
00338 <span class="comment"> * @param item Index of the item to return (0 = first element)</span>
00339 <span class="comment"> * @returns the UseKeyWith referenced by "item"</span>
00340 <span class="comment"> */</span>
00341
00342 <span class="keyword">virtual</span> <a class="code" href="classXKMSUseKeyWith.html">XKMSUseKeyWith</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z274_1">getUseKeyWithItem</a>(<span class="keywordtype">int</span> item) <span class="keyword">const </span>= 0;
00343
00344 <span class="comment">/*</span>
00345 <span class="comment"> * \brief Append a new UnverifiedKeyBinding element</span>
00346 <span class="comment"> *</span>
00347 <span class="comment"> * Allows callers to append a new UnverifiedKeyBinding item.</span>
00348 <span class="comment"> * The item is initially empty of KeyInfo elements - these must be added</span>
00349 <span class="comment"> * by the caller.</span>
00350 <span class="comment"> *</span>
00351 <span class="comment"> * @returns the newly created UnverifiedKeyBinding object (already inserted</span>
00352 <span class="comment"> * in the LocateResult</span>
00353 <span class="comment"> */</span>
00354
00355 <span class="keyword">virtual</span> <a class="code" href="classXKMSUseKeyWith.html">XKMSUseKeyWith</a> * <a class="code" href="classXKMSKeyBindingAbstractType.html#z274_2">appendUseKeyWithItem</a>(
00356 <span class="keyword">const</span> XMLCh * application,
00357 <span class="keyword">const</span> XMLCh * identifier) = 0;
00358
00360
00361 <span class="keyword">private</span>:
00362
00363 <span class="comment">// Unimplemented</span>
00364 <a class="code" href="classXKMSKeyBindingAbstractType.html#z270_1">XKMSKeyBindingAbstractType</a>(<span class="keyword">const</span> <a class="code" href="classXKMSKeyBindingAbstractType.html">XKMSKeyBindingAbstractType</a> &);
00365 <a class="code" href="classXKMSKeyBindingAbstractType.html">XKMSKeyBindingAbstractType</a> & operator = (<span class="keyword">const</span> <a class="code" href="classXKMSKeyBindingAbstractType.html">XKMSKeyBindingAbstractType</a> &);
00366
00367 };
00368
00369 <span class="preprocessor">#endif </span><span class="comment">/* XKMSKEYBINDINGABSTRACTTYPE_INCLUDE */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jul 3 17:37:27 2005 for XML-Security-C by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
</body>
</html>
|