2.2.3 CONTEXT_NV

CONTEXT_NV specifies a literal that results from resolving the following context_nv Augmented Backus-Naur Form (ABNF) rule [RFC2234].

 context-nv      =  %x57.73.63.43.6F.6E.74.65.78.74    ; WscContext
                    lws "=" lws
                    %x22 context-v %x22
 context-v       =  *base64
 base64          =  %x30-39 / %x41-5A / %x61-7A / %x2B / %x2F / %x3D
 lws             =  *(%x0D.0A / %x09 / %x20)    ; CRLF, space, or tab

For a context identifier and a CONTEXT_NV literal to be isomorphic, the value of context-v MUST be a base64 [RFC3548] encoding of a UTF-8 encoding [RFC3629] of a CONTEXT_XML element that is isomorphic to the context identifier.