package webfunds.xmlx;

/**
 *  XC.java
 *  Common Constants for XML-X
 *  
 *  DO NOT EDIT THIS FILE.  See source file below.
 *  
 *  @See http://www.xml-x.org/errors.html
 *  @date Sun Oct  2 17:32:30 BST 2005
 *  @file XC.txt
 *  @author ./create_constants
 *  @copy Copyright (c) 2000-2005 XML-X group
 */


public class XC
{



/////////////////////////////////////////////////////////////////////
//          X M L - X    C O M M O N    C O N S T A N T S          //
//                                                                 //
//                 Copyright (C) 2005 XML-X Group                  //
/////////////////////////////////////////////////////////////////////

//
// Some Standard Attribute Names
//

  public static final String
    XMLX_ATTR_TRUE =             "true"           , // note case sensitive
    XMLX_ATTR_FALSE =            "false",
    XMLX_ATTR_NEGATIVE =         "negative";


//
// Standard Tag Names
//

  public static final String
    XMLX_TEXT =                  "Text",
    XMLX_ADDITIONAL =            "Additional",
    XMLX_STATUS =                "Status",
    XMLX_VALUE_TOKEN =           "ValueToken",
    XMLX_ERROR_TEXT =            "Text"            , // same as TEXT
    XMLX_ERROR_ADDITIONAL =      "Additional";

  public static final String
    XMLX_NAME =                  "Name",
    XMLX_FULL_NAME =             "FullName",
    XMLX_DISPLAY_NAME =          "DisplayName"     , // this is a nickname for others
    XMLX_EMAIL =                 "Email",
    XMLX_ADDRESS =               "Address",
    XMLX_MEMO =                  "Memo"            ; // pass thru maybe

  public static final String
    XMLX_CURRENCYID =            "CurrencyId",
    XMLX_ACCOUNTID =             "AccountId",
    XMLX_PAYEE =                 "Payee",
    XMLX_PAYER =                 "Payer",
    XMLX_TRANSFERID =            "TransferId",
    XMLX_RECEIPTID =             "ReceiptId",
    XMLX_USERID =                "UserId",
    XMLX_TARGETID =              "TargetId",
    XMLX_HASH =                  "Hash",
    XMLX_RANDOM =                "Random",
    XMLX_PROOFID =               "ProofId",
    XMLX_PAYLOAD =               "Payload";


  public static final String
    XMLX_AMOUNT =                "Amount",
    XMLX_TOTAL =                 "Total",
    XMLX_TIME =                  "Time",
    XMLX_TILL =                  "Till",
    XMLX_FIRST =                 "First",
    XMLX_LAST =                  "Last",
    XMLX_FROM =                  "From",
    XMLX_BALANCE_TIME =          "BalanceTime",
    XMLX_SERVER_TIME =           "ServerTime",
    XMLX_DELAY =                 "Delay",
    XMLX_EXPIRY =                "Expiry";

  public static final String
    XMLX_AUTH =                  "Auth",
    XMLX_AUTH_METHODS =          "AuthMethods",
    XMLX_PASSWORD =              "Password",
    XMLX_PASSWORD_METHOD =       "PasswordMethod",
    XMLX_PROOF =                 "Proof",
    XMLX_PROOF_METHOD =          "ProofMethod"     , // work in progress
    XMLX_TOKEN =                 "Token",
    XMLX_TOKEN_METHOD =          "TokenMethod"     ; // not implemented - placemarker

  public static final String
    XMLX_USER =                  "User",
    XMLX_USER_PROFILE =          "UserProfile",
    XMLX_ACCOUNT =               "Account",
    XMLX_ACCOUNT_PROFILE =       "AccountProfile",
    XMLX_CURRENCY =              "Currency";

  public static final String
    XMLX_BALANCE =               "Balance",
    XMLX_RECEIPT =               "Receipt",
    XMLX_TRANSFER =              "Transfer",
    XMLX_SETTLE =                "Settle",
    XMLX_WITHDRAW =              "Withdraw";

  public static final String
    XMLX_CURRENCY_ISSUER =       "Issuer",
    XMLX_CURRENCY_FULL_NAME =    "FullName",
    XMLX_CURRENCY_NAME =         "Name",
    XMLX_CURRENCY_SYMBOL =       "Symbol",
    XMLX_CURRENCY_TLA =          "TLA",
    XMLX_CURRENCY_ISO =          "ISO",
    XMLX_CURRENCY_DECIMAL =      "Decimal",
    XMLX_CURRENCY_MINOR =        "Minor",
    XMLX_CURRENCY_RICARDIAN =    "Ricardian";


//
// Standard Request/Response Names
//

  public static final String
    XMLX_BALANCE_REQUEST =               "BalanceRequest",
    XMLX_BALANCE_RESPONSE =              "BalanceResponse",
    XMLX_TRANSFER_REQUEST =              "TransferRequest",
    XMLX_TRANSFER_RESPONSE =             "TransferResponse",
    XMLX_ERROR_RESPONSE =                "ErrorResponse";

  public static final String
    XMLX_HISTORY_REQUEST =               "HistoryRequest",
    XMLX_HISTORY_RESPONSE =              "HistoryResponse",
    XMLX_LOOKUP_REQUEST =                "LookupRequest",
    XMLX_LOOKUP_RESPONSE =               "LookupResponse",
    XMLX_PUBLIC_LOOKUP_REQUEST =         "PublicLookupRequest",
    XMLX_PUBLIC_LOOKUP_RESPONSE =        "PublicLookupResponse",
    XMLX_LOGIN_REQUEST =                 "LoginRequest"         , // not implemented
    XMLX_LOGIN_RESPONSE =                "LoginResponse",
    XMLX_LOGOUT_REQUEST =                "LogoutRequest"        , // not implemented
    XMLX_LOGOUT_RESPONSE =               "LogoutResponse";

  public static final String
    XMLX_CREATE_USER_REQUEST =           "CreateUserRequest",
    XMLX_CREATE_USER_RESPONSE =          "CreateUserResponse",
    XMLX_CREATE_ACCOUNT_REQUEST =        "CreateAccountRequest",
    XMLX_CREATE_ACCOUNT_RESPONSE =       "CreateAccountResponse",
    XMLX_GET_USER_PROFILE_REQUEST =      "GetUserProfileRequest",
    XMLX_GET_USER_PROFILE_RESPONSE =     "GetUserProfileResponse",
    XMLX_GET_ACCOUNT_PROFILE_REQUEST =   "GetAccountProfileRequest",
    XMLX_GET_ACCOUNT_PROFILE_RESPONSE =  "GetAccountProfileResponse",
    XMLX_SET_USER_PROFILE_REQUEST =      "SetUserProfileRequest",
    XMLX_SET_USER_PROFILE_RESPONSE =     "SetUserProfileResponse",
    XMLX_SET_ACCOUNT_PROFILE_REQUEST =   "SetAccountProfileRequest",
    XMLX_SET_ACCOUNT_PROFILE_RESPONSE =  "SetAccountProfileResponse";

  public static final String
    XMLX_GET_CURRENCY_REQUEST =          "GetCurrencyRequest",
    XMLX_GET_CURRENCY_RESPONSE =         "GetCurrencyResponse",
    XMLX_ADD_CURRENCY_REQUEST =          "AddCurrencyRequest",
    XMLX_ADD_CURRENCY_RESPONSE =         "AddCurrencyResponse",
    XMLX_NEW_CURRENCY_REQUEST =          "NewCurrencyRequest",
    XMLX_NEW_CURRENCY_RESPONSE =         "NewCurrencyResponse";

//
// ValueToken names
//
  public static final String
    VT_SOX2 =        "sox2"                , // unsupported, deprecated
    VT_SOX3 =        "sox3"                , // really sox 2.5 or "wire"
    VT_SOXBRN =      "soxbrn"              , // BigRandomNumbers in SOX
    VT_EPOINTS =     "epoints"             , // placemarker
    VT_HASHCASH =    "hashcash"            , // placemarker
    VT_GMTOKEN =     "gmtoken"             , // placemarker
    VT_1MDCTOKEN =   "1mdctoken"           ; // placemarker


//
// Hash for Canonical Hash.
// Hash is used as hexadecimal bytes.
// If the string is 40 bytes long, use that length; 
// any additions will be longer.
//
  public static final String
    MESSAGE_DIGEST_40 =   "SHA"   ; // SHA1 40 hex bytes.  Another length another day.



}
