rp_defines.h

00001 /*
00002  * Copyright 2004,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 #ifndef RP_DEFINES_H
00018 #define RP_DEFINES_H
00019 
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00029 #define RP_POLICY "Policy"
00030 #define RP_EXACTLY_ONE "ExactlyOne"
00031 #define RP_ALL "All"
00032 
00033 #define RP_SYMMETRIC_BINDING "SymmetricBinding"
00034 #define RP_ASYMMETRIC_BINDING "AsymmetricBinding"
00035 #define RP_TRANSPORT_BINDING "TransportBinding"
00036 
00037 #define RP_SIGNED_SUPPORTING_TOKENS "SignedSupportingTokens"
00038 #define RP_SIGNED_ENDORSING_SUPPORTING_TOKENS "SignedEndorsingSupportingTokens"
00039 #define RP_SUPPORTING_TOKENS "SupportingTokens"
00040 #define RP_ENDORSING_SUPPORTING_TOKENS "EndorsingSupportingTokens"
00041 
00042 #define RP_SIGNED_PARTS "SignedParts"
00043 #define RP_SIGNED_ELEMENTS "SignedElements"
00044 #define RP_ENCRYPTED_PARTS "EncryptedParts"
00045 #define RP_ENCRYPTED_ELEMENTS "EncryptedElements"
00046 #define RP_SIGNED_ITEMS "SignedItems"
00047 #define RP_ENCRYPTED_ITEMS "EncryptedItems"    
00048 
00049 #define RP_BODY "Body"
00050 #define RP_HEADER "Header"
00051 #define RP_NAME "Name"
00052 #define RP_NAMESPACE "Namespace"
00053 #define RP_ELEMENT "Element"    
00054 
00055 #define RP_XPATH "XPath"
00056 #define RP_XPATH_VERSION "XPathVersion"
00057 
00058 #define RP_WSS10 "Wss10"
00059 #define RP_WSS11 "Wss11"
00060 
00061 #define RP_MUST_SUPPORT_REF_KEY_IDENTIFIER "MustSupportRefKeyIdentifier"
00062 #define RP_MUST_SUPPORT_REF_ISSUER_SERIAL "MustSupportRefIssuerSerial"
00063 #define RP_MUST_SUPPORT_REF_EXTERNAL_URI "MustSupportRefExternalURI"
00064 #define RP_MUST_SUPPORT_REF_EMBEDDED_TOKEN "MustSupportRefEmbeddedToken"
00065 #define RP_MUST_SUPPORT_REF_THUMBPRINT "MustSupportRefThumbprint"
00066 #define RP_MUST_SUPPORT_REF_ENCRYPTED_KEY "MustSupportRefEncryptedkey"
00067 #define RP_REQUIRE_SIGNATURE_CONFIRMATION "RequireSignatureConfirmation"
00068 
00069 #define RP_PROTECTION_TOKEN "ProtectionToken"
00070 #define RP_ENCRYPTION_TOKEN "EncryptionToken"
00071 #define RP_SIGNATURE_TOKEN "SignatureToken"
00072 #define RP_INITIATOR_TOKEN "InitiatorToken"
00073 #define RP_RECIPIENT_TOKEN "RecipientToken"
00074 #define RP_TRANSPORT_TOKEN "TransportToken"
00075 
00076 #define RP_ALGORITHM_SUITE "AlgorithmSuite"
00077 #define RP_LAYOUT "Layout"
00078 #define RP_INCLUDE_TIMESTAMP "IncludeTimestamp"
00079 #define RP_ENCRYPT_BEFORE_SIGNING "EncryptBeforeSigning"
00080 #define RP_SIGN_BEFORE_ENCRYPTING "SignBeforeEncrypting"
00081 #define RP_ENCRYPT_SIGNATURE "EncryptSignature"
00082 #define RP_PROTECT_TOKENS "ProtectTokens"
00083 #define RP_ONLY_SIGN_ENTIRE_HEADERS_AND_BODY "OnlySignEntireHeadersAndBody"
00084 
00085 #define RP_ALGO_SUITE_BASIC256 "Basic256"
00086 #define RP_ALGO_SUITE_BASIC192 "Basic192"
00087 #define RP_ALGO_SUITE_BASIC128 "Basic128"
00088 #define RP_ALGO_SUITE_TRIPLE_DES "TripleDes"
00089 #define RP_ALGO_SUITE_BASIC256_RSA15 "Basic256Rsa15"
00090 #define RP_ALGO_SUITE_BASIC192_RSA15 "Basic192Rsa15"
00091 #define RP_ALGO_SUITE_BASIC128_RSA15 "Basic128Rsa15"
00092 #define RP_ALGO_SUITE_TRIPLE_DES_RSA15 "TripleDesRsa15"
00093 #define RP_ALGO_SUITE_BASIC256_SHA256 "Basic256Sha256"
00094 #define RP_ALGO_SUITE_BASIC192_SHA256 "Basic192Sha256"
00095 #define RP_ALGO_SUITE_BASIC128_SHA256 "Basic128Sha256"
00096 #define RP_ALGO_SUITE_TRIPLE_DES_SHA256 "TripleDesSha256"
00097 #define RP_ALGO_SUITE_BASIC256_SHA256_RSA15 "Basic256Sha256Rsa15"
00098 #define RP_ALGO_SUITE_BASIC192_SHA256_RSA15 "Basic192Sha256Rsa15"
00099 #define RP_ALGO_SUITE_BASIC128_SHA256_RSA15 "Basic128Sha256Rsa15"
00100 #define RP_ALGO_SUITE_TRIPLE_DES_SHA256_RSA15 "TripleDesSha256Rsa15"
00101 
00102 #define RP_HMAC_SHA1 "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
00103 #define RP_RSA_SHA1 "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
00104 #define RP_SHA1 "http://www.w3.org/2000/09/xmldsig#sha1"
00105 #define RP_SHA256 "http://www.w3.org/2001/04/xmlenc#sha256"
00106 #define RP_SHA512 "http://www.w3.org/2001/04/xmlenc#sha512"
00107 #define RP_AES128 "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
00108 #define RP_AES192 "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
00109 #define RP_AES256 "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
00110 #define RP_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
00111 #define RP_KW_AES128 "http://www.w3.org/2001/04/xmlenc#kw-aes256"
00112 #define RP_KW_AES192 "http://www.w3.org/2001/04/xmlenc#kw-aes192"
00113 #define RP_KW_AES256 "http://www.w3.org/2001/04/xmlenc#kw-aes128"
00114 #define RP_KW_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#kw-tripledes"
00115 #define RP_KW_RSA_OAEP "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
00116 #define RP_KW_RSA15 "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
00117 #define RP_P_SHA1 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
00118 #define RP_P_SHA1_L128 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
00119 #define RP_P_SHA1_L192 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
00120 #define RP_P_SHA1_L256  "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
00121 #define RP_X_PATH "http://www.w3.org/TR/1999/REC-xpath-19991116"
00122 #define RP_XPATH20 "http://www.w3.org/2002/06/xmldsig-filter2"
00123 #define RP_C14N "http://www.w3.org/2001/10/xml-c14n#"
00124 #define RP_EX_C14N "http://www.w3.org/2001/10/xml-exc-c14n#"
00125 #define RP_SNT "http://www.w3.org/TR/soap12-n11n"
00126 #define RP_STRT10 "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#STR-Transform"
00127 #define RP_INCLUSIVE_C14N "InclusiveC14N"
00128 #define RP_SOAP_NORMALIZATION_10 "SoapNormalization10"
00129 #define RP_STR_TRANSFORM_10 "STRTransform10"
00130 #define RP_XPATH10 "XPath10"
00131 #define RP_XPATH_FILTER20 "XPathFilter20"
00132 
00133 #define RP_LAYOUT_STRICT "Strict"
00134 #define RP_LAYOUT_LAX "Lax"
00135 #define RP_LAYOUT_LAX_TIMESTAMP_FIRST "LaxTimestampFirst"
00136 #define RP_LAYOUT_LAX_TIMESTAMP_LAST "LaxTimestampLast"
00137 
00138 #define RP_USERNAME_TOKEN "UsernameToken"
00139 #define RP_X509_TOKEN "X509Token"
00140 #define RP_SECURITY_CONTEXT_TOKEN "SecurityContextToken"
00141 #define RP_HTTPS_TOKEN "HttpsToken"
00142 
00143 #define RP_INCLUDE_TOKEN "IncludeToken"
00144 #define RP_INCLUDE_ALWAYS "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always"
00145 #define RP_INCLUDE_NEVER "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"
00146 #define RP_INCLUDE_ONCE "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once"
00147 #define RP_INCLUDE_ALWAYS_TO_RECIPIENT "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"
00148 
00149 #define RP_REQUIRE_KEY_IDENTIFIRE_REFERENCE "RequireKeyIdentifireReference"
00150 #define RP_REQUIRE_ISSUER_SERIAL_REFERENCE "RequireIssuerSerialReference"
00151 #define RP_REQUIRE_EMBEDDED_TOKEN_REFERENCE "RequireEmbeddedTokenReference"
00152 #define RP_REQUIRE_THUMBPRINT_REFERENCE "RequireThumbprintReference"
00153 #define RP_REQUIRE_DERIVED_KEYS "RequireDerivedKeys"
00154 #define RP_WSS_X509_V1_TOKEN_10 "WssX509V1Token10"
00155 #define RP_WSS_X509_V3_TOKEN_10 "WssX509V3Token10"
00156 #define RP_WSS_X509_PKCS7_TOKEN_10 "WssX509Pkcs7Token10"
00157 #define RP_WSS_X509_PKI_PATH_V1_TOKEN_10 "WssX509PkiPathV1Token10"
00158 #define RP_WSS_X509_V1_TOKEN_11 "WssX509V1Token11"
00159 #define RP_WSS_X509_V3_TOKEN_11 "WssX509V3Token11"
00160 #define RP_WSS_X509_PKCS7_TOKEN_11 "WssX509Pkcs7Token11"
00161 #define RP_WSS_X509_PKI_PATH_V1_TOKEN_11 "WssX509PkiPathV1Token11"
00162 
00163 #define RP_WSS_USERNAME_TOKEN_10 "WssUsernameToken10"
00164 #define RP_WSS_USERNAME_TOKEN_11 "WssUsernameToken11"
00165 
00166 #define RP_REQUIRE_EXTERNAL_URI_REFERENCE "RequireExternalUriReference"
00167 #define RP_SC10_SECURITY_CONTEXT_TOKEN "SC10SecurityContextToken"
00168 
00169 #define RP_REQUIRE_CLIENT_CERTIFICATE "RequireClientCertificate"
00170 
00171 #define RP_RAMPART_CONFIG "RampartConfig"
00172 #define RP_USER "User"
00173 #define RP_ENCRYPTION_USER "EncryptionUser"
00174 #define RP_PASSWORD_CALLBACK_CLASS "PasswordCallbackClass"
00175 #define RP_AUTHN_MODULE_NAME "AuthnModuleName"
00176 #define RP_PASSWORD_TYPE "PasswordType"
00177 #define RP_PLAINTEXT "plainText"
00178 #define RP_DIGEST "Digest"
00179 #define RP_RECEIVER_CERTIFICATE "ReceiverCertificate"
00180 #define RP_CERTIFICATE "Certificate"
00181 #define RP_PRIVATE_KEY "PrivateKey"
00182 #define RP_TIME_TO_LIVE "TimeToLive"
00183 #define RP_RD "ReplayDetection"    
00184 
00185 #define RP_SP_NS "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
00186 #define RP_SECURITY_NS "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
00187 #define RP_POLICY_NS "http://schemas.xmlsoap.org/ws/2004/09/policy"
00188 #define RP_RAMPART_NS "http://ws.apache.org/rampart/c/policy"
00189 #define RP_POLICY_PREFIX "wsp"
00190 #define RP_RAMPART_PREFIX "rampc"
00191 #define RP_SP_PREFIX "sp"
00192 
00193 #ifdef __cplusplus
00194 }
00195 #endif
00196 #endif

Generated on Wed Sep 26 09:49:21 2007 for Axis2/C by  doxygen 1.4.6