KeyInfo Child Elements

Table 13-1 summarizes the child elements of KeyInfo specified in XML Security. The URI given is intended for use in the Type attribute of a RetrievalMethod element (see Section 13.3) or of a Reference element (see Chapter 10).

You can extend the specifications of many of KeyInfo's children, including PGPData, SPKIData, and X509Data, with elements from another namespace.

Table 13-1. KeyInfo Child Elements
Implementation Element Name Type URI
XMLDSIG: Required XMLENC: Deprecated KeyValue http://www.w3.org/2001/04/xmldsig-more#KeyValue
XMLDSIG: Optional XMLENC: Required EncryptedKey http://www.w3.org/2001/04/xmlenc#EncryptedKey
XMLDSIG: Recommended XMLENC: Required[1] RetrievalMethod http://www.w3.org/2001/04/xmldsig-more# ...

Get Secure XML: The New Syntax for Signatures and Encryption now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.