W3C home > Mailing lists > Public > xml-encryption@w3.org > August 2001

CipherValue should be base64Binary not ds:CryptoBinary

From: Brian LaMacchia <bal@microsoft.com>
Date: Thu, 9 Aug 2001 08:52:24 -0700
Message-ID: <BCDB2C3F59F5744EBE37C715D66E779C01E1C0FE@red-msg-04.redmond.corp.microsoft.com>
To: "XML Encryption WG" <xml-encryption@w3.org>
Folks,

In the Schema for Section 3.2 we define CipherValue to be of type
ds:CryptoBinary, but it should be defined as base64Binary.
ds:CryptoBinary implies that the encoded quantity is a bignum and cannot
have leading zero bytes, and this isn't true CipherValue.  It is quite
possible, of course, for random ciphertext to have leading zero octets.


All the other occurrences of ds:CryptoBinary are in the schema for D-H
keys (Section 5.5.1), and these should remain ds:CryptoBinary as they
are true bignums.

					--bal
Received on Thursday, 9 August 2001 12:44:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:04 UTC