[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: AttributeTypeValue and binary



Kurt,

I would argue that jpegPhoto doesn't have a string encoding, it is just the
raw binary.

And, once again, BER encodings are not string encodings.

Ron.

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Thursday, 25 January 2001 14:50
To: Ramsay, Ron
Cc: Mark Smith; Jim Sermersheim; ietf-ldapbis@OpenLDAP.org
Subject: RE: AttributeTypeValue and binary


At 02:09 PM 1/25/01 +1100, Ramsay, Ron wrote:
>Let us return to the beginning.
>
>In the beginning, all syntaxes were specified in ASN.1 by reference to
>X.500. LDAP tried to give these a friendly face by defining human-readable
>encodings, the so-called 'string' encodings. I believe that 'string' in
LDAP
>means human-readable.

No.  JPEG has a 'string' encoding but is not human-readable.
("Values in this syntax are encoded as strings...")

>I don't see how string-encoding can encompass binary syntaxes.

Because values of this syntax are encoded as strings contain
BER encoded instances of an ASN.1 data type.