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: [xdi] Re: store binary


Great solution. Thanks Yuriy,

=Drummond

On Wed, Mar 14, 2012 at 9:56 AM, Michael Schwartz <mike@gluu.org> wrote:

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xdi-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: xdi-help@lists.oasis-open.org




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