openid / Contract-Exchange-Extension

The (draft) OpenID Contract Exchange Extension specification.
6 stars 3 forks source link

base64url encoded DER instead of PEM? #26

Open sakimura opened 13 years ago

sakimura commented 13 years ago

JSON vars cannot have new lines in the values.

Perhaps base64url encoded DER instead of PEM for certs?

hdknr commented 13 years ago

PEM is basically based64 encoded version of DER. You must be right.

sakimura commented 13 years ago

Yes. PEM is header-string + base64(DER) + footer-string. It has line-wraps which cannot be there for JSON.