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,v 1.18 2005/02/03 14:15:49 milan Exp $
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_tagEncryption[];
00059     static const XMLCh s_tagExchange[];
00060     static const XMLCh s_tagFailure[];
00061     static const XMLCh s_tagId[];
00062     static const XMLCh s_tagIdentifier[];
00063     static const XMLCh s_tagIndeterminateReason[];
00064     static const XMLCh s_tagInvalidReason[];
00065     static const XMLCh s_tagKeyBinding[];
00066     static const XMLCh s_tagKeyBindingAuthentication[];
00067     static const XMLCh s_tagKeyInfo[];
00068     static const XMLCh s_tagKeyName[];
00069     static const XMLCh s_tagKeyUsage[];
00070     static const XMLCh s_tagKeyValue[];
00071     static const XMLCh s_tagLocateRequest[];
00072     static const XMLCh s_tagLocateResult[];
00073     static const XMLCh s_tagMessageExtension[];
00074     static const XMLCh s_tagNonce[];
00075     static const XMLCh s_tagNotBoundAuthentication[];
00076     static const XMLCh s_tagNotBefore[];
00077     static const XMLCh s_tagNotOnOrAfter[];
00078     static const XMLCh s_tagOpaqueClientData[];
00079     static const XMLCh s_tagOpaqueData[];
00080     static const XMLCh s_tagOriginalRequestId[];
00081     static const XMLCh s_tagPending[];
00082     static const XMLCh s_tagPendingRequest[];
00083     static const XMLCh s_tagProofOfPossession[];
00084     static const XMLCh s_tagProtocol[];
00085     static const XMLCh s_tagPrototypeKeyBinding[];
00086     static const XMLCh s_tagQueryKeyBinding[];
00087     static const XMLCh s_tagRegisterRequest[];
00088     static const XMLCh s_tagRegisterResult[];
00089     static const XMLCh s_tagRepresent[];
00090     static const XMLCh s_tagRequestId[];
00091     static const XMLCh s_tagRequestSignatureValue[];
00092     static const XMLCh s_tagRespondWith[];
00093     static const XMLCh s_tagResponseId[];
00094     static const XMLCh s_tagResponseLimit[];
00095     static const XMLCh s_tagResponseMechanism[];
00096     static const XMLCh s_tagResult[];
00097     static const XMLCh s_tagResultMajor[];
00098     static const XMLCh s_tagResultMinor[];
00099     static const XMLCh s_tagRevocationCodeIdentifier[];
00100     static const XMLCh s_tagService[];
00101     static const XMLCh s_tagSignature[];
00102     static const XMLCh s_tagStatus[];
00103     static const XMLCh s_tagStatusRequest[];
00104     static const XMLCh s_tagStatusResult[];
00105     static const XMLCh s_tagStatusValue[];
00106     static const XMLCh s_tagSuccess[];
00107     static const XMLCh s_tagUnverifiedKeyBinding[];
00108     static const XMLCh s_tagUseKeyWith[];
00109     static const XMLCh s_tagValidateRequest[];
00110     static const XMLCh s_tagValidateResult[];
00111     static const XMLCh s_tagValidReason[];
00112     static const XMLCh s_tagValidityInterval[];
00113     static const XMLCh s_tagValue[];
00114     static const XMLCh s_tagX509Cert[];
00115     static const XMLCh s_tagX509Chain[];
00116 
00117     // ResultMajor codes
00118 
00119     static const XMLCh s_tagResultMajorCodes[][16];
00120     static const XMLCh s_tagResultMinorCodes[][20];
00121     static const XMLCh s_tagStatusValueCodes[][15];
00122     static const XMLCh s_tagStatusReasonCodes[][17];
00123 
00124     XKMSConstants();
00125 
00126     static void create();
00127     static void destroy();
00128 
00129 };
00130 
00131 #endif /* XKMSCONSTANTS_HEADER */
00132 

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