/* * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Sun designates this * particular file as subject to the "Classpath" exception as provided * by Sun in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. */ package sun.security.x509; import java.io.IOException; import java.io.OutputStream; import java.util.Enumeration; import sun.security.util.*; /** * Represent the OCSP NoCheck Extension from RFC2560. *
* A CA may specify that an OCSP client can trust a responder for the * lifetime of the responder's certificate. The CA does so by including * the extension id-pkix-ocsp-nocheck. This SHOULD be a non-critical * extension. The value of the extension should be NULL. CAs issuing * such a certificate should realized that a compromise of the * responder's key, is as serious as the compromise of a CA key used to * sign CRLs, at least for the validity period of this certificate. CA's * may choose to issue this type of certificate with a very short * lifetime and renew it frequently. *
* id-pkix-ocsp-nocheck OBJECT IDENTIFIER ::= { id-pkix-ocsp 5 }
*
*
* @author Xuelei Fan
* @see Extension
* @see CertAttrSet
*/
public class OCSPNoCheckExtension extends Extension
implements CertAttrSet