• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 X509CRLImpl extends java.security.cert.X509CRL
30         implements sun.security.util.DerEncoder {
31 
X509CRLImpl()32     private X509CRLImpl() {
33         throw new RuntimeException("Stub!");
34     }
35 
36     @android.compat.annotation.UnsupportedAppUsage
X509CRLImpl(byte[] crlData)37     public X509CRLImpl(byte[] crlData) throws java.security.cert.CRLException {
38         throw new RuntimeException("Stub!");
39     }
40 
41     @android.compat.annotation.UnsupportedAppUsage
X509CRLImpl(sun.security.util.DerValue val)42     public X509CRLImpl(sun.security.util.DerValue val) throws java.security.cert.CRLException {
43         throw new RuntimeException("Stub!");
44     }
45 
46     @android.compat.annotation.UnsupportedAppUsage
X509CRLImpl(java.io.InputStream inStrm)47     public X509CRLImpl(java.io.InputStream inStrm) throws java.security.cert.CRLException {
48         throw new RuntimeException("Stub!");
49     }
50 
X509CRLImpl( sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate)51     public X509CRLImpl(
52             sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate) {
53         throw new RuntimeException("Stub!");
54     }
55 
X509CRLImpl( sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate, java.security.cert.X509CRLEntry[] badCerts)56     public X509CRLImpl(
57             sun.security.x509.X500Name issuer,
58             java.util.Date thisDate,
59             java.util.Date nextDate,
60             java.security.cert.X509CRLEntry[] badCerts)
61             throws java.security.cert.CRLException {
62         throw new RuntimeException("Stub!");
63     }
64 
X509CRLImpl( sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate, java.security.cert.X509CRLEntry[] badCerts, sun.security.x509.CRLExtensions crlExts)65     public X509CRLImpl(
66             sun.security.x509.X500Name issuer,
67             java.util.Date thisDate,
68             java.util.Date nextDate,
69             java.security.cert.X509CRLEntry[] badCerts,
70             sun.security.x509.CRLExtensions crlExts)
71             throws java.security.cert.CRLException {
72         throw new RuntimeException("Stub!");
73     }
74 
75     @android.compat.annotation.UnsupportedAppUsage
getEncodedInternal()76     public byte[] getEncodedInternal() throws java.security.cert.CRLException {
77         throw new RuntimeException("Stub!");
78     }
79 
getEncoded()80     public byte[] getEncoded() throws java.security.cert.CRLException {
81         throw new RuntimeException("Stub!");
82     }
83 
encodeInfo(java.io.OutputStream out)84     public void encodeInfo(java.io.OutputStream out) throws java.security.cert.CRLException {
85         throw new RuntimeException("Stub!");
86     }
87 
verify(java.security.PublicKey key)88     public void verify(java.security.PublicKey key)
89             throws java.security.cert.CRLException, java.security.InvalidKeyException,
90                     java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException,
91                     java.security.SignatureException {
92         throw new RuntimeException("Stub!");
93     }
94 
verify(java.security.PublicKey key, java.lang.String sigProvider)95     public synchronized void verify(java.security.PublicKey key, java.lang.String sigProvider)
96             throws java.security.cert.CRLException, java.security.InvalidKeyException,
97                     java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException,
98                     java.security.SignatureException {
99         throw new RuntimeException("Stub!");
100     }
101 
verify(java.security.PublicKey key, java.security.Provider sigProvider)102     public synchronized void verify(java.security.PublicKey key, java.security.Provider sigProvider)
103             throws java.security.cert.CRLException, java.security.InvalidKeyException,
104                     java.security.NoSuchAlgorithmException, java.security.SignatureException {
105         throw new RuntimeException("Stub!");
106     }
107 
sign(java.security.PrivateKey key, java.lang.String algorithm)108     public void sign(java.security.PrivateKey key, java.lang.String algorithm)
109             throws java.security.cert.CRLException, java.security.InvalidKeyException,
110                     java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException,
111                     java.security.SignatureException {
112         throw new RuntimeException("Stub!");
113     }
114 
sign( java.security.PrivateKey key, java.lang.String algorithm, java.lang.String provider)115     public void sign(
116             java.security.PrivateKey key, java.lang.String algorithm, java.lang.String provider)
117             throws java.security.cert.CRLException, java.security.InvalidKeyException,
118                     java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException,
119                     java.security.SignatureException {
120         throw new RuntimeException("Stub!");
121     }
122 
toString()123     public java.lang.String toString() {
124         throw new RuntimeException("Stub!");
125     }
126 
isRevoked(java.security.cert.Certificate cert)127     public boolean isRevoked(java.security.cert.Certificate cert) {
128         throw new RuntimeException("Stub!");
129     }
130 
getVersion()131     public int getVersion() {
132         throw new RuntimeException("Stub!");
133     }
134 
getIssuerDN()135     public java.security.Principal getIssuerDN() {
136         throw new RuntimeException("Stub!");
137     }
138 
getIssuerX500Principal()139     public javax.security.auth.x500.X500Principal getIssuerX500Principal() {
140         throw new RuntimeException("Stub!");
141     }
142 
getThisUpdate()143     public java.util.Date getThisUpdate() {
144         throw new RuntimeException("Stub!");
145     }
146 
getNextUpdate()147     public java.util.Date getNextUpdate() {
148         throw new RuntimeException("Stub!");
149     }
150 
getRevokedCertificate( java.math.BigInteger serialNumber)151     public java.security.cert.X509CRLEntry getRevokedCertificate(
152             java.math.BigInteger serialNumber) {
153         throw new RuntimeException("Stub!");
154     }
155 
getRevokedCertificate( java.security.cert.X509Certificate cert)156     public java.security.cert.X509CRLEntry getRevokedCertificate(
157             java.security.cert.X509Certificate cert) {
158         throw new RuntimeException("Stub!");
159     }
160 
getRevokedCertificates()161     public java.util.Set<java.security.cert.X509CRLEntry> getRevokedCertificates() {
162         throw new RuntimeException("Stub!");
163     }
164 
getTBSCertList()165     public byte[] getTBSCertList() throws java.security.cert.CRLException {
166         throw new RuntimeException("Stub!");
167     }
168 
getSignature()169     public byte[] getSignature() {
170         throw new RuntimeException("Stub!");
171     }
172 
getSigAlgName()173     public java.lang.String getSigAlgName() {
174         throw new RuntimeException("Stub!");
175     }
176 
getSigAlgOID()177     public java.lang.String getSigAlgOID() {
178         throw new RuntimeException("Stub!");
179     }
180 
getSigAlgParams()181     public byte[] getSigAlgParams() {
182         throw new RuntimeException("Stub!");
183     }
184 
getSigAlgId()185     public sun.security.x509.AlgorithmId getSigAlgId() {
186         throw new RuntimeException("Stub!");
187     }
188 
getAuthKeyId()189     public sun.security.x509.KeyIdentifier getAuthKeyId() throws java.io.IOException {
190         throw new RuntimeException("Stub!");
191     }
192 
getAuthKeyIdExtension()193     public sun.security.x509.AuthorityKeyIdentifierExtension getAuthKeyIdExtension()
194             throws java.io.IOException {
195         throw new RuntimeException("Stub!");
196     }
197 
getCRLNumberExtension()198     public sun.security.x509.CRLNumberExtension getCRLNumberExtension() throws java.io.IOException {
199         throw new RuntimeException("Stub!");
200     }
201 
getCRLNumber()202     public java.math.BigInteger getCRLNumber() throws java.io.IOException {
203         throw new RuntimeException("Stub!");
204     }
205 
getDeltaCRLIndicatorExtension()206     public sun.security.x509.DeltaCRLIndicatorExtension getDeltaCRLIndicatorExtension()
207             throws java.io.IOException {
208         throw new RuntimeException("Stub!");
209     }
210 
getBaseCRLNumber()211     public java.math.BigInteger getBaseCRLNumber() throws java.io.IOException {
212         throw new RuntimeException("Stub!");
213     }
214 
getIssuerAltNameExtension()215     public sun.security.x509.IssuerAlternativeNameExtension getIssuerAltNameExtension()
216             throws java.io.IOException {
217         throw new RuntimeException("Stub!");
218     }
219 
220     public sun.security.x509.IssuingDistributionPointExtension
getIssuingDistributionPointExtension()221             getIssuingDistributionPointExtension() throws java.io.IOException {
222         throw new RuntimeException("Stub!");
223     }
224 
hasUnsupportedCriticalExtension()225     public boolean hasUnsupportedCriticalExtension() {
226         throw new RuntimeException("Stub!");
227     }
228 
getCriticalExtensionOIDs()229     public java.util.Set<java.lang.String> getCriticalExtensionOIDs() {
230         throw new RuntimeException("Stub!");
231     }
232 
getNonCriticalExtensionOIDs()233     public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs() {
234         throw new RuntimeException("Stub!");
235     }
236 
getExtensionValue(java.lang.String oid)237     public byte[] getExtensionValue(java.lang.String oid) {
238         throw new RuntimeException("Stub!");
239     }
240 
getExtension(sun.security.util.ObjectIdentifier oid)241     public java.lang.Object getExtension(sun.security.util.ObjectIdentifier oid) {
242         throw new RuntimeException("Stub!");
243     }
244 
parse(sun.security.util.DerValue val)245     private void parse(sun.security.util.DerValue val)
246             throws java.security.cert.CRLException, java.io.IOException {
247         throw new RuntimeException("Stub!");
248     }
249 
getIssuerX500Principal( java.security.cert.X509CRL crl)250     public static javax.security.auth.x500.X500Principal getIssuerX500Principal(
251             java.security.cert.X509CRL crl) {
252         throw new RuntimeException("Stub!");
253     }
254 
getEncodedInternal(java.security.cert.X509CRL crl)255     public static byte[] getEncodedInternal(java.security.cert.X509CRL crl)
256             throws java.security.cert.CRLException {
257         throw new RuntimeException("Stub!");
258     }
259 
toImpl(java.security.cert.X509CRL crl)260     public static sun.security.x509.X509CRLImpl toImpl(java.security.cert.X509CRL crl)
261             throws java.security.cert.CRLException {
262         throw new RuntimeException("Stub!");
263     }
264 
getCertIssuer( sun.security.x509.X509CRLEntryImpl entry, javax.security.auth.x500.X500Principal prevCertIssuer)265     private javax.security.auth.x500.X500Principal getCertIssuer(
266             sun.security.x509.X509CRLEntryImpl entry,
267             javax.security.auth.x500.X500Principal prevCertIssuer)
268             throws java.io.IOException {
269         throw new RuntimeException("Stub!");
270     }
271 
derEncode(java.io.OutputStream out)272     public void derEncode(java.io.OutputStream out) throws java.io.IOException {
273         throw new RuntimeException("Stub!");
274     }
275 
276     private static final long YR_2050 = 2524636800000L; // 0x24bd0146400L
277 
278     private sun.security.x509.CRLExtensions extensions;
279 
280     private sun.security.x509.AlgorithmId infoSigAlgId;
281 
282     private static final boolean isExplicit = true;
283 
284     private sun.security.x509.X500Name issuer;
285 
286     private javax.security.auth.x500.X500Principal issuerPrincipal;
287 
288     private java.util.Date nextUpdate;
289 
290     private boolean readOnly = false;
291 
292     private java.util.List<java.security.cert.X509CRLEntry> revokedList;
293 
294     private java.util.Map<
295                     sun.security.x509.X509CRLImpl.X509IssuerSerial, java.security.cert.X509CRLEntry>
296             revokedMap;
297 
298     private sun.security.x509.AlgorithmId sigAlgId;
299 
300     private byte[] signature;
301 
302     private byte[] signedCRL;
303 
304     private byte[] tbsCertList;
305 
306     private java.util.Date thisUpdate;
307 
308     private java.lang.String verifiedProvider;
309 
310     private java.security.PublicKey verifiedPublicKey;
311 
312     private int version;
313 
314     @SuppressWarnings({"unchecked", "deprecation", "all"})
315     private static final class X509IssuerSerial
316             implements java.lang.Comparable<sun.security.x509.X509CRLImpl.X509IssuerSerial> {
317 
X509IssuerSerial( javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial)318         X509IssuerSerial(
319                 javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial) {
320             throw new RuntimeException("Stub!");
321         }
322 
X509IssuerSerial(java.security.cert.X509Certificate cert)323         X509IssuerSerial(java.security.cert.X509Certificate cert) {
324             throw new RuntimeException("Stub!");
325         }
326 
getIssuer()327         javax.security.auth.x500.X500Principal getIssuer() {
328             throw new RuntimeException("Stub!");
329         }
330 
getSerial()331         java.math.BigInteger getSerial() {
332             throw new RuntimeException("Stub!");
333         }
334 
equals(java.lang.Object o)335         public boolean equals(java.lang.Object o) {
336             throw new RuntimeException("Stub!");
337         }
338 
hashCode()339         public int hashCode() {
340             throw new RuntimeException("Stub!");
341         }
342 
compareTo(sun.security.x509.X509CRLImpl.X509IssuerSerial another)343         public int compareTo(sun.security.x509.X509CRLImpl.X509IssuerSerial another) {
344             throw new RuntimeException("Stub!");
345         }
346 
347         volatile int hashcode = 0; // 0x0
348 
349         final javax.security.auth.x500.X500Principal issuer;
350 
351         {
352             issuer = null;
353         }
354 
355         final java.math.BigInteger serial;
356 
357         {
358             serial = null;
359         }
360     }
361 }
362