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

RE: interoperability of ;binary



At 05:43 PM 4/10/01 +1000, Ramsay, Ron wrote:
>I would have thought that 'binary' syntax objects would be sent to the server as BER/DER, stored in this form and subsequently retrieved, all without decoding the value.

The technical specification only defines the information
representation within the protocol.  The server is free to
store any attribute value, regardless of how it was transferred,
in any form it chooses so long as it does not violate the
LDAP interface.

>If a server chooses to decode the value then it would have to handle
>the consequences, noting that not all binary values would be DER (eg photo
>from inetOrgPerson).

It could be argued that every LDAP syntax is described
by some ASN.1 data type definition and hence could be
encoded using any ASN.1 encoding rules.

Kurt