Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 8 Encoding #33

Open
esanmiguelc opened this issue Apr 1, 2015 · 2 comments
Open

Java 8 Encoding #33

esanmiguelc opened this issue Apr 1, 2015 · 2 comments

Comments

@esanmiguelc
Copy link

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

@trptcolin
Copy link
Contributor

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

@esanmiguelc
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants