RFR: 8279254: PKCS9Attribute SigningTime always encoded in UTFTime [v2]
Ben Perez
duke at openjdk.org
Thu Jun 22 21:21:14 UTC 2023
> Added single-argument `putTime` method to `DerOutputStream` that selects the correct encoding based on the `Date` value. Similarly, a `getTime` method was added to `DerValue` to automatically call the correct decoding function based on the date type specified by the `tag`. Furthermore, the `encode` method in `PKCS9Attribute` was changed to utilize the new `putTime` method.
Ben Perez has updated the pull request incrementally with one additional commit since the last revision:
Replaced depreciated ctor in putTime. Added getTime method to DerInputStream
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14617/files
- new: https://git.openjdk.org/jdk/pull/14617/files/214f1855..bb95533d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14617&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14617&range=00-01
Stats: 10 lines in 3 files changed: 4 ins; 3 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/14617.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14617/head:pull/14617
PR: https://git.openjdk.org/jdk/pull/14617
More information about the security-dev
mailing list