Network Working Group T. Roessler Internet-Draft W3C Expires: November 13, 2009 K. Lanz IAIK May 12, 2009 Additional XML Security Algorithm Identifiers draft-roessler-xmlsec-addtl-algorithms-00 Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on November 13, 2009. Roessler & Lanz Expires November 13, 2009 [Page 1] Internet-Draft Additional Algorithm Identifiers May 2009 Abstract This memo defines a number of additional Uniform Resource Identifiers (URIs) intended to identify cryptographic algorithms for use with the XML Digital Signature and Encryption Specifications. It complements RFC 4051 [RFC4051]. Roessler & Lanz Expires November 13, 2009 [Page 2] Internet-Draft Additional Algorithm Identifiers May 2009 1. Introduction XML Digital Signature and Encryption have been standardized by the W3C and by joint W3C/IETF work. They are currently under further revision by a W3C working group. All of these specifications use URIs to identify algorithm and keying information types. This document provides URIs and descriptions for algorithms in which there is substantial interest, but which have not been included in either the main documents, or previous reference documents. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC2119 [RFC2119]. Roessler & Lanz Expires November 13, 2009 [Page 3] Internet-Draft Additional Algorithm Identifiers May 2009 2. Algorithms Algorithms added in this document are given URIs that start with: http://www.w3.org/2007/05/xmldsig-more# 2.1. Hash Algorithms 2.1.1. Whirlpool Identifier: http://www.w3.org/2007/05/xmldsig-more#whirlpool The Whirlpool algorithm [ISOIEC10118-3] takes no explicit parameters. A Whirlpool digest is a 512 bit string. The content of the DigestValue element shall be the base64 [RFC2045] encoding of this string viewed as a 64 octet stream. 2.2. Signature Algorithms 2.2.1. RSA-Whirlpool Identifier: http://www.w3.org/2007/05/xmldsig-more#rsa-whirlpool As in the definition of the RSA-SHA1 algorithm in [XMLDSIG], the designator "RSA" means the RSASSA-PKCS1-v1_5 algorithm as defined in PKCS2.1 [PKCS2.1]. When identified through the #rsa-whirlpool fragment identifier, Whirlpool is used as the hash algorithm instead. Use of the ASN.1 BER Whirlpool algorithm designator is implied. @@ give that designator as an explicit octet sequence? 2.2.2. ECDSA-RIPEMD160 and ECDSA-Whirlpool Identifiers: http://www.w3.org/2007/05/xmldsig-more#ecdsa-ripemd160 http://www.w3.org/2007/05/xmldsig-more#ecdsa-whirlpool The ECDSA algorithm takes no explicit parameters; the algorithm identifiers defined in this document describe the use of this algorithm with the Whirlpool and RIPEMD160 hash algorithms. The output of the ECDSA algorithm consists of a pair of integers usually referred by the pair (r, s). The signature value consists of the base64 encoding of the concatenation of two octet-streams that respectively result from the octet-encoding of the values r and s in that order. Integer to octet-stream conversion must be done according to the I2OSP operation defined in the PKCS 2.1 [PKCS2.1] specification with the l parameter equal to the size of the output of Roessler & Lanz Expires November 13, 2009 [Page 4] Internet-Draft Additional Algorithm Identifiers May 2009 the digest function in bytes (e.g. 32 for SHA-256). @@ Not having looked at X9.62, I don't know whether we're underspecifying here. Anybody want to cross-check? Roessler & Lanz Expires November 13, 2009 [Page 5] Internet-Draft Additional Algorithm Identifiers May 2009 3. References [RFC4051] Eastlake, D., "Additional XML Security Uniform Resource Identifiers (URIs)", RFC 4051, April 2005. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, March 1997. [RFC2045] tbd, tbd., "RFC 2045", Y Z. [ISOIEC10118-3] tbd, tbd., "ISO/IEC 10118-3", Y Z. [XMLDSIG] tbd, tbd., "XML Signature Second Edition", Y Z. [PKCS2.1] tbd, tbd., "PKCS 2.1", Y Z. Roessler & Lanz Expires November 13, 2009 [Page 6] Internet-Draft Additional Algorithm Identifiers May 2009 Authors' Addresses Thomas Roessler World Wide Web Consortium 2004 Route des Lucioles Sophia Antipolis 06902 France Phone: +1.781.426.3109 Email: tlr@w3.org Konrad Lanz Institute for Applied Information Processing and Communications Inffeldgasse 16a Graz 8010 Austria Phone: +43 316 873 5547 Email: konrad.lanz@iaik.tugraz.at Roessler & Lanz Expires November 13, 2009 [Page 7] Internet-Draft Additional Algorithm Identifiers May 2009 Full Copyright Statement Copyright (C) The IETF Trust (2009). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Roessler & Lanz Expires November 13, 2009 [Page 8]