OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: store binary



Yuriy,

Great news! This closes the discussion then on binary value XDI syntax.

- Mike



---------------------------------------------------

Michael Schwartz
Gluu
Founder / CEO
mike@gluu.org
+1 646-810-8761

On Wed, 14 Mar 2012, Yuriy Zabrovarnyy wrote:

Hi Mike,

After our last discussion about binaries i've looked at data uri scheme (
http://en.wikipedia.org/wiki/Data_URI_scheme) and think that you are right.
We can use it to store binaries and specify exact mediatype for it.
According to this http://tools.ietf.org/html/rfc2397.

      dataurl    := "data:" [ mediatype ] [ ";base64" ] "," data
      mediatype  := [ type "/" subtype ] *( ";" parameter )
      data       := *urlchar
      parameter  := attribute "=" value

In ldap besides additional attribute (literalBinaryValue) we also need:

  - attribute to store type of binary, mediaType
  - attribute to indicate base64

Yuriy Z



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]