RFR: 8264864: Multiple byte tag not supported by ASN.1 encoding [v3]
Weijun Wang
weijun at openjdk.java.net
Thu Apr 8 13:57:37 UTC 2021
> This code change does not intend to support multiple byte tags. Instead, it aims to fail more gracefully when such a tag is encountered. For `DerValue` constructors from an encoding (type I), an `IOException` will be thrown since it's already in the throws clause. For constructors from tag and value (type II), an `IllegalArgumentException` will be thrown. All existing type II callers inside JDK use tag numbers smaller than 31.
Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
update exception wordings
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3391/files
- new: https://git.openjdk.java.net/jdk/pull/3391/files/46b3700b..9b0f9db9
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3391&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3391&range=01-02
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/3391.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3391/head:pull/3391
PR: https://git.openjdk.java.net/jdk/pull/3391
More information about the security-dev
mailing list