forked from RustCrypto/formats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add notes about
UTCTime
range being 1970-2049 (RustCrypto#1052)
RFC 5280 says that `UTCTime` is 1950-2049, however due the common use of computer times being based off of `UNIX_EPOCH` the implementation of [`UtcTime`](https://docs.rs/der/latest/der/asn1/struct.UtcTime.html) is limited to 1970. This limitation is due to the `MIN_YEAR` bounding valid [`DateTime`](https://docs.rs/der/latest/der/struct.DateTime.html) structs. The `DateTime` struct is the underlying implementation of `UTCTime`.
- Loading branch information
1 parent
3b3def5
commit bee8a6e
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters