# zxid/sg/ws-secureconversation-1.3.sg
# Slightly edited, 3.3.2007, Sampo Kellomaki (sampo@iki.fi)
# $Id: ws-secureconversation-1.3.sg,v 1.3 2009-09-05 02:23:41 sampo Exp $

target(wsc, http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512)
import(wsse, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd)
import(wsu, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd)

SecurityContextToken -> %wsc:SecurityContextTokenType
%SecurityContextTokenType:
  any*  processContents(lax)
  @wsu:Id?
  @any?
  ;

Identifier -> %xs:anyURI
Instance   -> %xs:string
@Instance  -> %xs:string

DerivedKeyToken   -> %wsc:DerivedKeyTokenType
%DerivedKeyTokenType:
  wsse:SecurityTokenReference?
  wsc:Properties? -> %wsc:PropertiesType
  wsc:Generation? -> %xs:unsignedLong
  wsc:Offset?     -> %xs:unsignedLong
  wsc:Length?     -> %xs:unsignedLong
  wsc:Label?
  wsc:Nonce?
  @wsu:Id?
  @Algorithm?     -> %xs:anyURI
  ;

%PropertiesType:
  any*  processContents(lax)
  ;

Name    -> %xs:anyURI
Label   -> %xs:string
Nonce   -> %xs:base64Binary
@Nonce  -> %xs:base64Binary
@Length -> %xs:unsignedLong

%FaultCodeType:	 enum( wsc:BadContextToken wsc:UnsupportedContextToken wsc:UnknownDerivationSource wsc:RenewNeeded wsc:UnableToRenew ) ;
#%FaultCodeOpenEnumType:  union(wsc:FaultCodeType xs:QName)  ;

# EOF
