I finally got around to this one, it’s simpler than I
initially thought it would be.
Add a new optional parameter to section 13.21 Parameters:
[wencoding=string]
wencoding
This optional parameter indicates the encoding style to be used for XML parameter
content. If not specified the default behavior is to use standard URL encoding
rules. This specification only defines one other alternative, base64url as
defined in section 5 of [RFC 4648]. Support for alternate encodings are
expressed by assertions under the WebBinding assertion defined in this
specification.
Add encoding property/assertion to Section 14.2
The [Bas64Url] property indicates that base64url encoded xml parameter content
is required.
/fed:WebBinding/wsp:Policy/Base64Url
This indicates a requirement for xml parameter content to be base64url encoded.
This sets the [Bas64Url] property to true (the default value is false).
Add new error message to Section 15 for unknown encoding
Error that occurred: A wencoding value or other parameter with XML content was
received in an unknown/unsupported encoding.
Fault code: fed:UnsupportedEncoding
Fault action URI: http://docs.oasis-open.org/wsfed/federation/200706/Fault/UnsupportedEncoding