cob_spec icon indicating copy to clipboard operation
cob_spec copied to clipboard

Java 8 Encoding

Open esanmiguelc opened this issue 10 years ago • 2 comments

Java 8 has a new class Called Base64 which allows encoding/decoding, per documentation this uses encoding schemes RFC 4648 and RFC 2045 which is different from sun.misc scheme RFC1521

cob_spec seems to be using RFC1521 for auth.

Should cob_spec keep using RFC1521 or use java's new RFC 2045?

Documentation: http://www.docjar.com/docs/api/sun/misc/BASE64Encoder.html http://docs.oracle.com/javase/8/docs/api/java/util/Base64.Encoder.html

esanmiguelc avatar Apr 01 '15 18:04 esanmiguelc

What are the main differences between these RFCs, and the tradeoffs between keeping what we're doing or updating?

trptcolin avatar Apr 01 '15 18:04 trptcolin

According to this document: http://tools.ietf.org/html/rfc1521

1521 has been obsoleted by RFC 2045

I don't think that there would be an issue with using sun.misc Decoder for now. I don't know how long until it is deprecated.

esanmiguelc avatar Apr 01 '15 18:04 esanmiguelc