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

XKMSConstants.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-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  * XKMSConstants := Definitions of varius XKMS constants (mainly strings)
00021  *
00022  * $Id: XKMSConstants.hpp 383302 2006-03-05 10:20:07Z blautenb $
00023  *
00024  */
00025 
00026 #ifndef XKMSCONSTANTS_HEADER
00027 #define XKMSCONSTANTS_HEADER
00028 
00029 // Xerces
00030 #include <xsec/framework/XSECDefs.hpp>
00031 
00032 // Name Spaces
00033 
00034 #define URI_ID_XKMS     "http://www.w3.org/2002/03/xkms#"
00035 //#define URI_ID_XKMS       "http://www.w3.org/2004/07/xkms#"
00036 #define URI_ID_SOAP11   "http://schemas.xmlsoap.org/soap/envelope/"
00037 #define URI_ID_SOAP12   "http://www.w3.org/2003/05/soap-envelope"
00038 
00039 
00040 // --------------------------------------------------------------------------------
00041 //           Constant Strings Class
00042 // --------------------------------------------------------------------------------
00043 
00044 class DSIG_EXPORT XKMSConstants {
00045 
00046 public:
00047 
00048     // URI_IDs
00049     static const XMLCh * s_unicodeStrURIXKMS;
00050     static const XMLCh * s_unicodeStrURISOAP11;
00051     static const XMLCh * s_unicodeStrURISOAP12;
00052 
00053     // Tags - note all are UTF-16, but not marked as such
00054     static const XMLCh s_tagApplication[];
00055     static const XMLCh s_tagAuthentication[];
00056     static const XMLCh s_tagCompoundRequest[];
00057     static const XMLCh s_tagCompoundResult[];
00058     static const XMLCh s_tagD[];
00059     static const XMLCh s_tagDP[];
00060     static const XMLCh s_tagDQ[];
00061     static const XMLCh s_tagEncryption[];
00062     static const XMLCh s_tagExchange[];
00063     static const XMLCh s_tagExponent[];
00064     static const XMLCh s_tagFailure[];
00065     static const XMLCh s_tagId[];
00066     static const XMLCh s_tagIdentifier[];
00067     static const XMLCh s_tagIndeterminateReason[];
00068     static const XMLCh s_tagInvalidReason[];
00069     static const XMLCh s_tagInverseQ[];
00070     static const XMLCh s_tagKeyBinding[];
00071     static const XMLCh s_tagKeyBindingAuthentication[];
00072     static const XMLCh s_tagKeyInfo[];
00073     static const XMLCh s_tagKeyName[];
00074     static const XMLCh s_tagKeyUsage[];
00075     static const XMLCh s_tagKeyValue[];
00076     static const XMLCh s_tagLocateRequest[];
00077     static const XMLCh s_tagLocateResult[];
00078     static const XMLCh s_tagMessageExtension[];
00079     static const XMLCh s_tagModulus[];
00080     static const XMLCh s_tagNonce[];
00081     static const XMLCh s_tagNotBoundAuthentication[];
00082     static const XMLCh s_tagNotBefore[];
00083     static const XMLCh s_tagNotOnOrAfter[];
00084     static const XMLCh s_tagOpaqueClientData[];
00085     static const XMLCh s_tagOpaqueData[];
00086     static const XMLCh s_tagOriginalRequestId[];
00087     static const XMLCh s_tagP[];
00088     static const XMLCh s_tagPending[];
00089     static const XMLCh s_tagPendingRequest[];
00090     static const XMLCh s_tagPrivateKey[];
00091     static const XMLCh s_tagProofOfPossession[];
00092     static const XMLCh s_tagProtocol[];
00093     static const XMLCh s_tagPrototypeKeyBinding[];
00094     static const XMLCh s_tagQ[];
00095     static const XMLCh s_tagQueryKeyBinding[];
00096     static const XMLCh s_tagRecoverKeyBinding[];
00097     static const XMLCh s_tagRecoverRequest[];
00098     static const XMLCh s_tagRecoverResult[];
00099     static const XMLCh s_tagRegisterRequest[];
00100     static const XMLCh s_tagRegisterResult[];
00101     static const XMLCh s_tagReissueKeyBinding[];
00102     static const XMLCh s_tagReissueRequest[];
00103     static const XMLCh s_tagReissueResult[];
00104     static const XMLCh s_tagRepresent[];
00105     static const XMLCh s_tagRequestId[];
00106     static const XMLCh s_tagRequestSignatureValue[];
00107     static const XMLCh s_tagRespondWith[];
00108     static const XMLCh s_tagResponseId[];
00109     static const XMLCh s_tagResponseLimit[];
00110     static const XMLCh s_tagResponseMechanism[];
00111     static const XMLCh s_tagResult[];
00112     static const XMLCh s_tagResultMajor[];
00113     static const XMLCh s_tagResultMinor[];
00114     static const XMLCh s_tagRevocationCodeIdentifier[];
00115     static const XMLCh s_tagRevocationCode[];
00116     static const XMLCh s_tagRevokeKeyBinding[];
00117     static const XMLCh s_tagRevokeRequest[];
00118     static const XMLCh s_tagRevokeResult[];
00119     static const XMLCh s_tagRSAKeyPair[];
00120     static const XMLCh s_tagService[];
00121     static const XMLCh s_tagSignature[];
00122     static const XMLCh s_tagStatus[];
00123     static const XMLCh s_tagStatusRequest[];
00124     static const XMLCh s_tagStatusResult[];
00125     static const XMLCh s_tagStatusValue[];
00126     static const XMLCh s_tagSuccess[];
00127     static const XMLCh s_tagUnverifiedKeyBinding[];
00128     static const XMLCh s_tagUseKeyWith[];
00129     static const XMLCh s_tagValidateRequest[];
00130     static const XMLCh s_tagValidateResult[];
00131     static const XMLCh s_tagValidReason[];
00132     static const XMLCh s_tagValidityInterval[];
00133     static const XMLCh s_tagValue[];
00134     static const XMLCh s_tagX509Cert[];
00135     static const XMLCh s_tagX509Chain[];
00136 
00137     // ResultMajor codes
00138 
00139     static const XMLCh s_tagResultMajorCodes[][16];
00140     static const XMLCh s_tagResultMinorCodes[][20];
00141     static const XMLCh s_tagStatusValueCodes[][15];
00142     static const XMLCh s_tagStatusReasonCodes[][17];
00143 
00144     XKMSConstants();
00145 
00146     static void create();
00147     static void destroy();
00148 
00149 };
00150 
00151 #endif /* XKMSCONSTANTS_HEADER */
00152 

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