- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# rp_defines.h

    00001 /*
    00002  * Licensed to the Apache Software Foundation (ASF) under one or more
    00003  * contributor license agreements.  See the NOTICE file distributed with
    00004  * this work for additional information regarding copyright ownership.
    00005  * The ASF licenses this file to You under the Apache License, Version 2.0
    00006  * (the "License"); you may not use this file except in compliance with
    00007  * the License.  You may obtain a copy of the License at
    00008  *
    00009  *      http://www.apache.org/licenses/LICENSE-2.0
    00010  *
    00011  * Unless required by applicable law or agreed to in writing, software
    00012  * distributed under the License is distributed on an "AS IS" BASIS,
    00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00014  * See the License for the specific language governing permissions and
    00015  * limitations under the License.
    00016  */
    00017
    00018 #ifndef RP_DEFINES_H
    00019 #define RP_DEFINES_H
    00020
    00025 #ifdef __cplusplus
    00026 extern "C"
    00027 {
    00028 #endif
    00029
    00030 #define RP_POLICY "Policy"
    00031 #define RP_EXACTLY_ONE "ExactlyOne"
    00032 #define RP_ALL "All"
    00033
    00034 #define RP_SYMMETRIC_BINDING "SymmetricBinding"
    00035 #define RP_ASYMMETRIC_BINDING "AsymmetricBinding"
    00036 #define RP_TRANSPORT_BINDING "TransportBinding"
    00037
    00038 #define RP_SIGNED_SUPPORTING_TOKENS "SignedSupportingTokens"
    00039 #define RP_SIGNED_ENDORSING_SUPPORTING_TOKENS "SignedEndorsingSupportingTokens"
    00040 #define RP_SUPPORTING_TOKENS "SupportingTokens"
    00041 #define RP_ENDORSING_SUPPORTING_TOKENS "EndorsingSupportingTokens"
    00042
    00043 #define RP_SIGNED_PARTS "SignedParts"
    00044 #define RP_SIGNED_ELEMENTS "SignedElements"
    00045 #define RP_ENCRYPTED_PARTS "EncryptedParts"
    00046 #define RP_ENCRYPTED_ELEMENTS "EncryptedElements"
    00047 #define RP_SIGNED_ITEMS "SignedItems"
    00048 #define RP_ENCRYPTED_ITEMS "EncryptedItems"
    00049
    00050 #define RP_BODY "Body"
    00051 #define RP_HEADER "Header"
    00052 #define RP_NAME "Name"
    00053 #define RP_NAMESPACE "Namespace"
    00054 #define RP_ELEMENT "Element"
    00055 #define RP_ATTACHMENTS "Attachments"
    00056
    00057 #define RP_XPATH "XPath"
    00058 #define RP_XPATH_VERSION "XPathVersion"
    00059
    00060 #define RP_WSS10 "Wss10"
    00061 #define RP_WSS11 "Wss11"
    00062 #define RP_TRUST10 "Trust10"
    00063 #define RP_TRUST13 "Trust13"
    00064
    00065 #define RP_MUST_SUPPORT_REF_KEY_IDENTIFIER "MustSupportRefKeyIdentifier"
    00066 #define RP_MUST_SUPPORT_REF_ISSUER_SERIAL "MustSupportRefIssuerSerial"
    00067 #define RP_MUST_SUPPORT_REF_EXTERNAL_URI "MustSupportRefExternalURI"
    00068 #define RP_MUST_SUPPORT_REF_EMBEDDED_TOKEN "MustSupportRefEmbeddedToken"
    00069 #define RP_MUST_SUPPORT_REF_THUMBPRINT "MustSupportRefThumbprint"
    00070 #define RP_MUST_SUPPORT_REF_ENCRYPTED_KEY "MustSupportRefEncryptedKey"
    00071 #define RP_REQUIRE_SIGNATURE_CONFIRMATION "RequireSignatureConfirmation"
    00072 #define RP_MUST_SUPPORT_CLIENT_CHALLENGE "MustSupportClientChallenge"
    00073 #define RP_MUST_SUPPORT_SERVER_CHALLENGE "MustSupportServerChallenge"
    00074 #define RP_REQUIRE_CLIENT_ENTROPY "RequireClientEntropy"
    00075 #define RP_REQUIRE_SERVER_ENTROPHY "RequireServerEntropy"
    00076 #define RP_MUST_SUPPORT_ISSUED_TOKENS "MustSupportIssuedTokens"
    00077
    00078 #define RP_PROTECTION_TOKEN "ProtectionToken"
    00079 #define RP_ENCRYPTION_TOKEN "EncryptionToken"
    00080 #define RP_SIGNATURE_TOKEN "SignatureToken"
    00081 #define RP_INITIATOR_TOKEN "InitiatorToken"
    00082 #define RP_RECIPIENT_TOKEN "RecipientToken"
    00083 #define RP_TRANSPORT_TOKEN "TransportToken"
    00084
    00085 #define RP_ALGORITHM_SUITE "AlgorithmSuite"
    00086 #define RP_LAYOUT "Layout"
    00087 #define RP_INCLUDE_TIMESTAMP "IncludeTimestamp"
    00088 #define RP_ENCRYPT_BEFORE_SIGNING "EncryptBeforeSigning"
    00089 #define RP_SIGN_BEFORE_ENCRYPTING "SignBeforeEncrypting"
    00090 #define RP_ENCRYPT_SIGNATURE "EncryptSignature"
    00091 #define RP_PROTECT_TOKENS "ProtectTokens"
    00092 #define RP_ONLY_SIGN_ENTIRE_HEADERS_AND_BODY "OnlySignEntireHeadersAndBody"
    00093
    00094 #define RP_ALGO_SUITE_BASIC256 "Basic256"
    00095 #define RP_ALGO_SUITE_BASIC192 "Basic192"
    00096 #define RP_ALGO_SUITE_BASIC128 "Basic128"
    00097 #define RP_ALGO_SUITE_TRIPLE_DES "TripleDes"
    00098 #define RP_ALGO_SUITE_BASIC256_RSA15 "Basic256Rsa15"
    00099 #define RP_ALGO_SUITE_BASIC192_RSA15 "Basic192Rsa15"
    00100 #define RP_ALGO_SUITE_BASIC128_RSA15 "Basic128Rsa15"
    00101 #define RP_ALGO_SUITE_TRIPLE_DES_RSA15 "TripleDesRsa15"
    00102 #define RP_ALGO_SUITE_BASIC256_SHA256 "Basic256Sha256"
    00103 #define RP_ALGO_SUITE_BASIC192_SHA256 "Basic192Sha256"
    00104 #define RP_ALGO_SUITE_BASIC128_SHA256 "Basic128Sha256"
    00105 #define RP_ALGO_SUITE_TRIPLE_DES_SHA256 "TripleDesSha256"
    00106 #define RP_ALGO_SUITE_BASIC256_SHA256_RSA15 "Basic256Sha256Rsa15"
    00107 #define RP_ALGO_SUITE_BASIC192_SHA256_RSA15 "Basic192Sha256Rsa15"
    00108 #define RP_ALGO_SUITE_BASIC128_SHA256_RSA15 "Basic128Sha256Rsa15"
    00109 #define RP_ALGO_SUITE_TRIPLE_DES_SHA256_RSA15 "TripleDesSha256Rsa15"
    00110
    00111 #define RP_HMAC_SHA1 "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
    00112 #define RP_RSA_SHA1 "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
    00113 #define RP_SHA1 "http://www.w3.org/2000/09/xmldsig#sha1"
    00114 #define RP_SHA256 "http://www.w3.org/2001/04/xmlenc#sha256"
    00115 #define RP_SHA512 "http://www.w3.org/2001/04/xmlenc#sha512"
    00116 #define RP_AES128 "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
    00117 #define RP_AES192 "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
    00118 #define RP_AES256 "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
    00119 #define RP_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
    00120 #define RP_KW_AES128 "http://www.w3.org/2001/04/xmlenc#kw-aes256"
    00121 #define RP_KW_AES192 "http://www.w3.org/2001/04/xmlenc#kw-aes192"
    00122 #define RP_KW_AES256 "http://www.w3.org/2001/04/xmlenc#kw-aes128"
    00123 #define RP_KW_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#kw-tripledes"
    00124 #define RP_KW_RSA_OAEP "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
    00125 #define RP_KW_RSA15 "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
    00126 #define RP_P_SHA1 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
    00127 #define RP_P_SHA1_L128 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
    00128 #define RP_P_SHA1_L192 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
    00129 #define RP_P_SHA1_L256  "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
    00130 #define RP_X_PATH "http://www.w3.org/TR/1999/REC-xpath-19991116"
    00131 #define RP_XPATH20 "http://www.w3.org/2002/06/xmldsig-filter2"
    00132 #define RP_C14N "http://www.w3.org/2001/10/xml-c14n#"
    00133 #define RP_EX_C14N "http://www.w3.org/2001/10/xml-exc-c14n#"
    00134 #define RP_SNT "http://www.w3.org/TR/soap12-n11n"
    00135 #define RP_STRT10 "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#STR-Transform"
    00136 #define RP_INCLUSIVE_C14N "InclusiveC14N"
    00137 #define RP_SOAP_NORMALIZATION_10 "SoapNormalization10"
    00138 #define RP_STR_TRANSFORM_10 "STRTransform10"
    00139 #define RP_XPATH10 "XPath10"
    00140 #define RP_XPATH_FILTER20 "XPathFilter20"
    00141
    00142 #define RP_LAYOUT_STRICT "Strict"
    00143 #define RP_LAYOUT_LAX "Lax"
    00144 #define RP_LAYOUT_LAX_TIMESTAMP_FIRST "LaxTimestampFirst"
    00145 #define RP_LAYOUT_LAX_TIMESTAMP_LAST "LaxTimestampLast"
    00146
    00147 #define RP_USERNAME_TOKEN "UsernameToken"
    00148 #define RP_X509_TOKEN "X509Token"
    00149 #define RP_SAML_TOKEN "SamlToken"
    00150 #define RP_ISSUED_TOKEN "IssuedToken"
    00151 #define RP_SECURITY_CONTEXT_TOKEN "SecurityContextToken"
    00152 #define RP_SECURE_CONVERSATION_TOKEN "SecureConversationToken"
    00153 #define RP_HTTPS_TOKEN "HttpsToken"
    00154
    00155 #define RP_INCLUDE_TOKEN "IncludeToken"
    00156 #define RP_INCLUDE_ALWAYS "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always"
    00157 #define RP_INCLUDE_NEVER "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"
    00158 #define RP_INCLUDE_ONCE "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once"
    00159 #define RP_INCLUDE_ALWAYS_TO_RECIPIENT "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"
    00160 #define RP_INCLUDE_NEVER_SP12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"
    00161 #define RP_INCLUDE_ONCE_SP12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once"
    00162 #define RP_INCLUDE_ALWAYS_TO_RECIPIENT_SP12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"
    00163 #define RP_INCLUDE_ALWAYS_TO_INITIATOR_SP12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToInitiator"
    00164 #define RP_INCLUDE_ALWAYS_SP12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Always"
    00165
    00166 #define RP_REQUEST_SEC_TOKEN_TEMPLATE "RequestSecurityTokenTemplate"
    00167
    00168 #define RP_REQUIRE_KEY_IDENTIFIRE_REFERENCE "RequireKeyIdentifierReference"
    00169 #define RP_REQUIRE_ISSUER_SERIAL_REFERENCE "RequireIssuerSerialReference"
    00170 #define RP_REQUIRE_EMBEDDED_TOKEN_REFERENCE "RequireEmbeddedTokenReference"
    00171 #define RP_REQUIRE_THUMBPRINT_REFERENCE "RequireThumbprintReference"
    00172 #define RP_REQUIRE_DERIVED_KEYS "RequireDerivedKeys"
    00173 #define RP_REQUIRE_EXTERNAL_REFERENCE "RequireExternalReference"
    00174 #define RP_REQUIRE_INTERNAL_REFERENCE "RequireInternalReference"
    00175 #define RP_WSS_X509_V1_TOKEN_10 "WssX509V1Token10"
    00176 #define RP_WSS_X509_V3_TOKEN_10 "WssX509V3Token10"
    00177 #define RP_WSS_X509_PKCS7_TOKEN_10 "WssX509Pkcs7Token10"
    00178 #define RP_WSS_X509_PKI_PATH_V1_TOKEN_10 "WssX509PkiPathV1Token10"
    00179 #define RP_WSS_X509_V1_TOKEN_11 "WssX509V1Token11"
    00180 #define RP_WSS_X509_V3_TOKEN_11 "WssX509V3Token11"
    00181 #define RP_WSS_X509_PKCS7_TOKEN_11 "WssX509Pkcs7Token11"
    00182 #define RP_WSS_X509_PKI_PATH_V1_TOKEN_11 "WssX509PkiPathV1Token11"
    00183
    00184 #define RP_WSS_USERNAME_TOKEN_10 "WssUsernameToken10"
    00185 #define RP_WSS_USERNAME_TOKEN_11 "WssUsernameToken11"
    00186
    00187 #define RP_WSS_SAML_V10_TOKEN_V10 "WssSamlV10Token10"
    00188 #define RP_WSS_SAML_V11_TOKEN_V10 "WssSamlV11Token10"
    00189 #define RP_WSS_SAML_V10_TOKEN_V11 "WssSamlV10Token11"
    00190 #define RP_WSS_SAML_V11_TOKEN_V11 "WssSamlV11Token11"
    00191 #define RP_WSS_SAML_V20_TOKEN_V11 "WssSamlV20Token11"
    00192
    00193 #define RP_REQUIRE_EXTERNAL_URI_REFERENCE "RequireExternalUriReference"
    00194 #define RP_SC10_SECURITY_CONTEXT_TOKEN "SC10SecurityContextToken"
    00195 #define RP_SC13_SECURITY_CONTEXT_TOKEN "SC13SecurityContextToken"
    00196 #define RP_BOOTSTRAP_POLICY "BootstrapPolicy"
    00197 #define RP_ISSUER "Issuer"
    00198
    00199 #define RP_REQUIRE_CLIENT_CERTIFICATE "RequireClientCertificate"
    00200
    00201 #define RP_RAMPART_CONFIG "RampartConfig"
    00202 #define RP_USER "User"
    00203 #define RP_ENCRYPTION_USER "EncryptionUser"
    00204 #define RP_PASSWORD_CALLBACK_CLASS "PasswordCallbackClass"
    00205 #define RP_AUTHN_MODULE_NAME "AuthnModuleName"
    00206 #define RP_PASSWORD_TYPE "PasswordType"
    00207 #define RP_PLAINTEXT "plainText"
    00208 #define RP_DIGEST "Digest"
    00209 #define RP_RECEIVER_CERTIFICATE "ReceiverCertificate"
    00210 #define RP_CERTIFICATE "Certificate"
    00211 #define RP_PRIVATE_KEY "PrivateKey"
    00212 #define RP_PKCS12_KEY_STORE "PKCS12KeyStore"
    00213 #define RP_TIME_TO_LIVE "TimeToLive"
    00214 #define RP_CLOCK_SKEW_BUFFER "ClockSkewBuffer"
    00215 #define RP_NEED_MILLISECOND_PRECISION "PrecisionInMilliseconds"
    00216 #define RP_RD "ReplayDetection"
    00217 #define RP_RD_MODULE "ReplayDetectionModule"
    00218 #define RP_SCT_MODULE "SecurityContextTokenProvider"
    00219
    00220 #define RP_SP_NS_11 "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
    00221 #define RP_SP_NS_12 "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
    00222 #define RP_SECURITY_NS "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    00223 #define RP_POLICY_NS "http://schemas.xmlsoap.org/ws/2004/09/policy"
    00224 #define RP_RAMPART_NS "http://ws.apache.org/rampart/c/policy"
    00225 #define RP_POLICY_PREFIX "wsp"
    00226 #define RP_RAMPART_PREFIX "rampc"
    00227 #define RP_SP_PREFIX "sp"
    00228
    00229 #ifdef __cplusplus
    00230 }
    00231 #endif
    00232 #endif