W3C home > Mailing lists > Public > public-xmlsec@w3.org > March 2009

ACTION-235: SubjectPublicKeyInfo proposal

From: Scott Cantor <cantor.2@osu.edu>
Date: Sun, 22 Mar 2009 17:06:03 -0400
To: "'XMLSec WG Public List'" <public-xmlsec@w3.org>
Message-ID: <00c501c9ab32$02914880$07b3d980$@2@osu.edu>
Reworked proposal follows. The element name is appropriate, but admittedly
might be a little confusing because of overlap with "KeyInfo".

-----

<complexType name="SubjectPublicKeyInfoType">
	<simpleContent>
		<extension base="base64Binary">
			<attribute name="Id" type="ID" use="optional"/>
		</extension>
	</simpleContent>
</complexType>

<element name="SubjectPublicKeyInfo" type="ds11:SubjectPublicKeyInfoType"/>

----

4.4.3 The SubjectPublicKeyInfo Element

Identifier
    Type="http://www.w3.org/2008/01/xmldsig# SubjectPublicKeyInfo"
    (this can be used within a RetrievalMethod or Reference element to
identify the referent's type)

The public key algorithm and value are DER-encoded in accordance with the
value that would be used in the Subject Public Key Info field of an X.509
certificate, per section 4.1.2.7 of [RFC5280]. The DER-encoded value is then
base64-encoded.

For example, RSA and DSA keys are encoded as described by section 2.3.1 and
2.3.2 of
[RFC3279].

Schema Definition:
(see above)

-- Scott
Received on Sunday, 22 March 2009 21:06:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:57 GMT