• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
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
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package sun.security.x509;
27 
28 import sun.security.util.*;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public class CRLNumberExtension extends sun.security.x509.Extension
32         implements sun.security.x509.CertAttrSet<java.lang.String> {
33 
CRLNumberExtension(int crlNum)34     public CRLNumberExtension(int crlNum) throws java.io.IOException {
35         throw new RuntimeException("Stub!");
36     }
37 
CRLNumberExtension(java.math.BigInteger crlNum)38     public CRLNumberExtension(java.math.BigInteger crlNum) throws java.io.IOException {
39         throw new RuntimeException("Stub!");
40     }
41 
CRLNumberExtension( sun.security.util.ObjectIdentifier extensionId, boolean isCritical, java.math.BigInteger crlNum, java.lang.String extensionName, java.lang.String extensionLabel)42     protected CRLNumberExtension(
43             sun.security.util.ObjectIdentifier extensionId,
44             boolean isCritical,
45             java.math.BigInteger crlNum,
46             java.lang.String extensionName,
47             java.lang.String extensionLabel)
48             throws java.io.IOException {
49         throw new RuntimeException("Stub!");
50     }
51 
52     @dalvik.annotation.compat.UnsupportedAppUsage
CRLNumberExtension(java.lang.Boolean critical, java.lang.Object value)53     public CRLNumberExtension(java.lang.Boolean critical, java.lang.Object value)
54             throws java.io.IOException {
55         throw new RuntimeException("Stub!");
56     }
57 
CRLNumberExtension( sun.security.util.ObjectIdentifier extensionId, java.lang.Boolean critical, java.lang.Object value, java.lang.String extensionName, java.lang.String extensionLabel)58     protected CRLNumberExtension(
59             sun.security.util.ObjectIdentifier extensionId,
60             java.lang.Boolean critical,
61             java.lang.Object value,
62             java.lang.String extensionName,
63             java.lang.String extensionLabel)
64             throws java.io.IOException {
65         throw new RuntimeException("Stub!");
66     }
67 
68     @dalvik.annotation.compat.UnsupportedAppUsage
encodeThis()69     private void encodeThis() throws java.io.IOException {
70         throw new RuntimeException("Stub!");
71     }
72 
set(java.lang.String name, java.lang.Object obj)73     public void set(java.lang.String name, java.lang.Object obj) throws java.io.IOException {
74         throw new RuntimeException("Stub!");
75     }
76 
77     @dalvik.annotation.compat.UnsupportedAppUsage
get(java.lang.String name)78     public java.math.BigInteger get(java.lang.String name) throws java.io.IOException {
79         throw new RuntimeException("Stub!");
80     }
81 
delete(java.lang.String name)82     public void delete(java.lang.String name) throws java.io.IOException {
83         throw new RuntimeException("Stub!");
84     }
85 
toString()86     public java.lang.String toString() {
87         throw new RuntimeException("Stub!");
88     }
89 
encode(java.io.OutputStream out)90     public void encode(java.io.OutputStream out) throws java.io.IOException {
91         throw new RuntimeException("Stub!");
92     }
93 
encode( java.io.OutputStream out, sun.security.util.ObjectIdentifier extensionId, boolean isCritical)94     protected void encode(
95             java.io.OutputStream out,
96             sun.security.util.ObjectIdentifier extensionId,
97             boolean isCritical)
98             throws java.io.IOException {
99         throw new RuntimeException("Stub!");
100     }
101 
getElements()102     public java.util.Enumeration<java.lang.String> getElements() {
103         throw new RuntimeException("Stub!");
104     }
105 
getName()106     public java.lang.String getName() {
107         throw new RuntimeException("Stub!");
108     }
109 
110     private static final java.lang.String LABEL = "CRL Number";
111 
112     public static final java.lang.String NAME = "CRLNumber";
113 
114     public static final java.lang.String NUMBER = "value";
115 
116     private java.math.BigInteger crlNumber;
117 
118     private java.lang.String extensionLabel;
119 
120     private java.lang.String extensionName;
121 }
122