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


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

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

Subject: RE: [xacml-comment] IIC051

Oops, the mailer sent that while I was still typing :-)

Anyway, here's the actual base 64 encoded version of "Anne Anderson" that I
was trying to paste when Outlook jumped the gun on me...


import org.apache.soap.encoding.soapenc.Base64;

public class testbase64 {

    public static void main(String args[]) {
        try {
            String key = "Anne Anderson";
            String enc = Base64.encode(key.getBytes("ASCII"));
        } catch (Exception e) {
            System.out.println("Uh oh: " + e);

-----Original Message-----
From: Mike Burati 
Sent: Monday, December 09, 2002 4:00 PM
To: 'Anne.Anderson@Sun.com'; Otari
Subject: RE: [xacml-comment] IIC051

Base64 encoding isn't safely sub-stringable like that.

Here's a base64 encoding of the bytes from the string "Anne Anderson"

-----Original Message-----
From: Anne Anderson [mailto:Anne.Anderson@Sun.com]
Sent: Monday, December 09, 2002 3:49 PM
To: Otari
Subject: Re: [xacml-comment] IIC051


The test should have a valid base64Binary encoding.  I wanted
something short, so I cut-and-pasted a sub-string from a long
base64 value.  If what I cut is not correct in itself, could you
supply me with a fairly short string of characters (~20
characters) that is a correct base64Binary value?

Thank you,
Anne Anderson

On 9 December, Otari writes: [xacml-comment] IIC051
 > From: Otari <otari@btinternet.com>
 > To: xacml-comment@lists.oasis-open.org
 > Subject: [xacml-comment] IIC051
 > Date: Mon, 09 Dec 2002 19:40:43 +0000
 > The value of the 'urn:oasis:names:tc:xacml:1.0:conformance-test:key'
 > attribute
 > in the Request is not a correct Base64 encoding, it cannot be converted
 > the
 > octet sequence.
 > Shouldn't policy evaluate to Indeterminate when comparison cannot be
 > performed?
 > Thanks,
 > Otari

Anne H. Anderson             Email: Anne.Anderson@Sun.COM
Sun Microsystems Laboratories
1 Network Drive,UBUR02-311     Tel: 781/442-0928
Burlington, MA 01803-0902 USA  Fax: 781/442-1692

To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

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

Powered by eList eXpress LLC