Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes about UTCTime range being 1970-2049 #1052

Merged
merged 2 commits into from
May 6, 2023

Commits on May 5, 2023

  1. Add notes about UTCTime range being 1970-2049

    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`.
    nick-mobilecoin committed May 5, 2023
    Configuration menu
    Copy the full SHA
    2e13745 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4ab31f View commit details
    Browse the repository at this point in the history