jdk/src/java.base/share/classes/sun/security/x509/InvalidityDateExtension.java
changeset 26967 c182469301ee
parent 25859 3317bb8137f4
equal deleted inserted replaced
26966:580934a3052b 26967:c182469301ee
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    31 import java.util.Enumeration;
    31 import java.util.Enumeration;
    32 
    32 
    33 import sun.security.util.*;
    33 import sun.security.util.*;
    34 
    34 
    35 /**
    35 /**
    36  * From RFC 3280:
    36  * From RFC 5280:
    37  * <p>
    37  * <p>
    38  * The invalidity date is a non-critical CRL entry extension that
    38  * The invalidity date is a non-critical CRL entry extension that
    39  * provides the date on which it is known or suspected that the private
    39  * provides the date on which it is known or suspected that the private
    40  * key was compromised or that the certificate otherwise became invalid.
    40  * key was compromised or that the certificate otherwise became invalid.
    41  * This date may be earlier than the revocation date in the CRL entry,
    41  * This date may be earlier than the revocation date in the CRL entry,