eclipse-vertx / vertx-auth

Apache License 2.0
160 stars 153 forks source link

Update examples to prevent IOException - DerInputStream #633

Closed Jotschi closed 1 year ago

Jotschi commented 1 year ago

Motivation:

Fixes obscure java.io.IOException: DerInputStream.getLength(): lengthTag=78, too big. that happens when setType is omitted. Took me some time to find this but the unit tests set the type as well. Only the examples / docs omitted it.

Conformance:

I have updated my ECA. Applying the change to master since it only changes docs and is below 10 lines. Commit is signed.