Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

conform to RFC5280 when extracting certificates validity dates #468

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 28, 2017

  1. conform to RFC5280 when extracting certificates validity dates

    As per https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 :
    
    	4.1.2.5.1.  UTCTime
    
    	   The universal time type, UTCTime, is a standard ASN.1 type intended
    	   for representation of dates and time.  UTCTime specifies the year
    	   through the two low-order digits and time is specified to the
    	   precision of one minute or one second.  UTCTime includes either Z
    	   (for Zulu, or Greenwich Mean Time) or a time differential.
    
    	   For the purposes of this profile, UTCTime values MUST be expressed in
    	   Greenwich Mean Time (Zulu) and MUST include seconds (i.e., times are
    	   YYMMDDHHMMSSZ), even where the number of seconds is zero.  Conforming
    	   systems MUST interpret the year field (YY) as follows:
    
    	      Where YY is greater than or equal to 50, the year SHALL be
    	      interpreted as 19YY; and
    
    	      Where YY is less than 50, the year SHALL be interpreted as 20YY.
    bdauvergne committed Sep 28, 2017
    Configuration menu
    Copy the full SHA
    64f4046 View commit details
    Browse the repository at this point in the history