1 /*
2  * Copyright (c) 1997, 2012, 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 @SuppressWarnings({"unchecked", "deprecation", "all"})
29 public class X509CRLEntryImpl extends java.security.cert.X509CRLEntry
30         implements java.lang.Comparable<sun.security.x509.X509CRLEntryImpl> {
31 
X509CRLEntryImpl(java.math.BigInteger num, java.util.Date date)32     public X509CRLEntryImpl(java.math.BigInteger num, java.util.Date date) {
33         throw new RuntimeException("Stub!");
34     }
35 
X509CRLEntryImpl( java.math.BigInteger num, java.util.Date date, sun.security.x509.CRLExtensions crlEntryExts)36     public X509CRLEntryImpl(
37             java.math.BigInteger num,
38             java.util.Date date,
39             sun.security.x509.CRLExtensions crlEntryExts) {
40         throw new RuntimeException("Stub!");
41     }
42 
X509CRLEntryImpl(byte[] revokedCert)43     public X509CRLEntryImpl(byte[] revokedCert) throws java.security.cert.CRLException {
44         throw new RuntimeException("Stub!");
45     }
46 
X509CRLEntryImpl(sun.security.util.DerValue derValue)47     public X509CRLEntryImpl(sun.security.util.DerValue derValue)
48             throws java.security.cert.CRLException {
49         throw new RuntimeException("Stub!");
50     }
51 
hasExtensions()52     public boolean hasExtensions() {
53         throw new RuntimeException("Stub!");
54     }
55 
encode(sun.security.util.DerOutputStream outStrm)56     public void encode(sun.security.util.DerOutputStream outStrm)
57             throws java.security.cert.CRLException {
58         throw new RuntimeException("Stub!");
59     }
60 
getEncoded()61     public byte[] getEncoded() throws java.security.cert.CRLException {
62         throw new RuntimeException("Stub!");
63     }
64 
getEncoded0()65     private byte[] getEncoded0() throws java.security.cert.CRLException {
66         throw new RuntimeException("Stub!");
67     }
68 
getCertificateIssuer()69     public javax.security.auth.x500.X500Principal getCertificateIssuer() {
70         throw new RuntimeException("Stub!");
71     }
72 
setCertificateIssuer( javax.security.auth.x500.X500Principal crlIssuer, javax.security.auth.x500.X500Principal certIssuer)73     void setCertificateIssuer(
74             javax.security.auth.x500.X500Principal crlIssuer,
75             javax.security.auth.x500.X500Principal certIssuer) {
76         throw new RuntimeException("Stub!");
77     }
78 
getSerialNumber()79     public java.math.BigInteger getSerialNumber() {
80         throw new RuntimeException("Stub!");
81     }
82 
getRevocationDate()83     public java.util.Date getRevocationDate() {
84         throw new RuntimeException("Stub!");
85     }
86 
getRevocationReason()87     public java.security.cert.CRLReason getRevocationReason() {
88         throw new RuntimeException("Stub!");
89     }
90 
getRevocationReason( java.security.cert.X509CRLEntry crlEntry)91     public static java.security.cert.CRLReason getRevocationReason(
92             java.security.cert.X509CRLEntry crlEntry) {
93         throw new RuntimeException("Stub!");
94     }
95 
getReasonCode()96     public java.lang.Integer getReasonCode() throws java.io.IOException {
97         throw new RuntimeException("Stub!");
98     }
99 
toString()100     public java.lang.String toString() {
101         throw new RuntimeException("Stub!");
102     }
103 
hasUnsupportedCriticalExtension()104     public boolean hasUnsupportedCriticalExtension() {
105         throw new RuntimeException("Stub!");
106     }
107 
getCriticalExtensionOIDs()108     public java.util.Set<java.lang.String> getCriticalExtensionOIDs() {
109         throw new RuntimeException("Stub!");
110     }
111 
getNonCriticalExtensionOIDs()112     public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs() {
113         throw new RuntimeException("Stub!");
114     }
115 
getExtensionValue(java.lang.String oid)116     public byte[] getExtensionValue(java.lang.String oid) {
117         throw new RuntimeException("Stub!");
118     }
119 
120     @android.compat.annotation.UnsupportedAppUsage
getExtension(sun.security.util.ObjectIdentifier oid)121     public sun.security.x509.Extension getExtension(sun.security.util.ObjectIdentifier oid) {
122         throw new RuntimeException("Stub!");
123     }
124 
parse(sun.security.util.DerValue derVal)125     private void parse(sun.security.util.DerValue derVal)
126             throws java.security.cert.CRLException, java.io.IOException {
127         throw new RuntimeException("Stub!");
128     }
129 
toImpl(java.security.cert.X509CRLEntry entry)130     public static sun.security.x509.X509CRLEntryImpl toImpl(java.security.cert.X509CRLEntry entry)
131             throws java.security.cert.CRLException {
132         throw new RuntimeException("Stub!");
133     }
134 
getCertificateIssuerExtension()135     sun.security.x509.CertificateIssuerExtension getCertificateIssuerExtension() {
136         throw new RuntimeException("Stub!");
137     }
138 
getExtensions()139     public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {
140         throw new RuntimeException("Stub!");
141     }
142 
compareTo(sun.security.x509.X509CRLEntryImpl that)143     public int compareTo(sun.security.x509.X509CRLEntryImpl that) {
144         throw new RuntimeException("Stub!");
145     }
146 
147     private static final long YR_2050 = 2524636800000L; // 0x24bd0146400L
148 
149     private javax.security.auth.x500.X500Principal certIssuer;
150 
151     private sun.security.x509.CRLExtensions extensions;
152 
153     private static final boolean isExplicit = false;
154 
155     private java.util.Date revocationDate;
156 
157     private byte[] revokedCert;
158 
159     private sun.security.x509.SerialNumber serialNumber;
160 }
161