13.5 The KeyName Element


The KeyName element contains a character string that the signer or encrypter uses to identify the key to the recipient; see Table 13-1 for its identifier. This element need not be a "name" in the usual sense. For example, it could be a file name or a key index into a database. In particular, white space in the character content of KeyName may be significant, and unusual characters can occur.

In the XML Encryption context, KeyName may refer to the value of a CarriedKeyName attribute of an EncryptedKey element (see Chapter 15). Support of this ability is recommended for XML Encryption implementations.

The KeyName element syntax follows:

 <!-- KeyName DTD --> <!ELEMENT KeyName (#PCDATA) > 

In schema notation, it has the following form:

 <!-- KeyName schema --> <element name="KeyName" type="string"/> 


Secure XML(c) The New Syntax for Signatures and Encryption
Secure XML: The New Syntax for Signatures and Encryption
ISBN: 0201756056
EAN: 2147483647
Year: 2005
Pages: 186

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net