KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > security > cert > CertificateNotYetValidException


1 /*
2  * @(#)CertificateNotYetValidException.java 1.8 04/02/16
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.security.cert;
17
18 /**
19  * Certificate is not yet valid exception. This is thrown whenever
20  * the current <code>Date</code> or the specified <code>Date</code>
21  * is before the <code>notBefore</code> date/time in the Certificate
22  * validity period.
23  *
24  * <p><em>Note: The classes in the package <code>javax.security.cert</code>
25  * exist for compatibility with earlier versions of the
26  * Java Secure Sockets Extension (JSSE). New applications should instead
27  * use the standard J2SE certificate classes located in
28  * <code>java.security.cert</code>.</em></p>
29  *
30  * @since 1.4
31  * @author Hemma Prafullchandra
32  * @version 1.7
33  */

34 public class CertificateNotYetValidException extends CertificateException
35 {
36
37     /**
38      * Constructs a CertificateNotYetValidException with no detail message. A
39      * detail message is a String that describes this particular
40      * exception.
41      */

42     public CertificateNotYetValidException() { }
43
44     /**
45      * Constructs a CertificateNotYetValidException with the specified detail
46      * message. A detail message is a String that describes this
47      * particular exception.
48      *
49      * @param message the detail message.
50      */

51     public CertificateNotYetValidException(String message) { }
52 }
53
Popular Tags