• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1996, 2016, 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.util;
27 
28 
29 @SuppressWarnings({"unchecked", "deprecation", "all"})
30 public class DerInputStream {
31 
32     @dalvik.annotation.compat.UnsupportedAppUsage
DerInputStream(byte[] data)33     public DerInputStream(byte[] data) throws java.io.IOException {
34         throw new RuntimeException("Stub!");
35     }
36 
DerInputStream(byte[] data, int offset, int len)37     public DerInputStream(byte[] data, int offset, int len) throws java.io.IOException {
38         throw new RuntimeException("Stub!");
39     }
40 
DerInputStream(byte[] data, int offset, int len, boolean allowIndefiniteLength)41     public DerInputStream(byte[] data, int offset, int len, boolean allowIndefiniteLength)
42             throws java.io.IOException {
43         throw new RuntimeException("Stub!");
44     }
45 
DerInputStream(sun.security.util.DerInputBuffer buf)46     DerInputStream(sun.security.util.DerInputBuffer buf) {
47         throw new RuntimeException("Stub!");
48     }
49 
init(byte[] data, int offset, int len, boolean allowIndefiniteLength)50     private void init(byte[] data, int offset, int len, boolean allowIndefiniteLength)
51             throws java.io.IOException {
52         throw new RuntimeException("Stub!");
53     }
54 
55     @dalvik.annotation.compat.UnsupportedAppUsage
subStream(int len, boolean do_skip)56     public sun.security.util.DerInputStream subStream(int len, boolean do_skip)
57             throws java.io.IOException {
58         throw new RuntimeException("Stub!");
59     }
60 
toByteArray()61     public byte[] toByteArray() {
62         throw new RuntimeException("Stub!");
63     }
64 
65     @dalvik.annotation.compat.UnsupportedAppUsage
getInteger()66     public int getInteger() throws java.io.IOException {
67         throw new RuntimeException("Stub!");
68     }
69 
70     @dalvik.annotation.compat.UnsupportedAppUsage
getBigInteger()71     public java.math.BigInteger getBigInteger() throws java.io.IOException {
72         throw new RuntimeException("Stub!");
73     }
74 
getPositiveBigInteger()75     public java.math.BigInteger getPositiveBigInteger() throws java.io.IOException {
76         throw new RuntimeException("Stub!");
77     }
78 
getEnumerated()79     public int getEnumerated() throws java.io.IOException {
80         throw new RuntimeException("Stub!");
81     }
82 
83     @dalvik.annotation.compat.UnsupportedAppUsage
getBitString()84     public byte[] getBitString() throws java.io.IOException {
85         throw new RuntimeException("Stub!");
86     }
87 
getUnalignedBitString()88     public sun.security.util.BitArray getUnalignedBitString() throws java.io.IOException {
89         throw new RuntimeException("Stub!");
90     }
91 
92     @dalvik.annotation.compat.UnsupportedAppUsage
getOctetString()93     public byte[] getOctetString() throws java.io.IOException {
94         throw new RuntimeException("Stub!");
95     }
96 
getBytes(byte[] val)97     public void getBytes(byte[] val) throws java.io.IOException {
98         throw new RuntimeException("Stub!");
99     }
100 
getNull()101     public void getNull() throws java.io.IOException {
102         throw new RuntimeException("Stub!");
103     }
104 
105     @dalvik.annotation.compat.UnsupportedAppUsage
getOID()106     public sun.security.util.ObjectIdentifier getOID() throws java.io.IOException {
107         throw new RuntimeException("Stub!");
108     }
109 
getSequence( int startLen, boolean originalEncodedFormRetained)110     public sun.security.util.DerValue[] getSequence(
111             int startLen, boolean originalEncodedFormRetained) throws java.io.IOException {
112         throw new RuntimeException("Stub!");
113     }
114 
115     @dalvik.annotation.compat.UnsupportedAppUsage
getSequence(int startLen)116     public sun.security.util.DerValue[] getSequence(int startLen) throws java.io.IOException {
117         throw new RuntimeException("Stub!");
118     }
119 
120     @dalvik.annotation.compat.UnsupportedAppUsage
getSet(int startLen)121     public sun.security.util.DerValue[] getSet(int startLen) throws java.io.IOException {
122         throw new RuntimeException("Stub!");
123     }
124 
125     @dalvik.annotation.compat.UnsupportedAppUsage
getSet(int startLen, boolean implicit)126     public sun.security.util.DerValue[] getSet(int startLen, boolean implicit)
127             throws java.io.IOException {
128         throw new RuntimeException("Stub!");
129     }
130 
getSet( int startLen, boolean implicit, boolean originalEncodedFormRetained)131     public sun.security.util.DerValue[] getSet(
132             int startLen, boolean implicit, boolean originalEncodedFormRetained)
133             throws java.io.IOException {
134         throw new RuntimeException("Stub!");
135     }
136 
readVector(int startLen)137     protected sun.security.util.DerValue[] readVector(int startLen) throws java.io.IOException {
138         throw new RuntimeException("Stub!");
139     }
140 
readVector( int startLen, boolean originalEncodedFormRetained)141     protected sun.security.util.DerValue[] readVector(
142             int startLen, boolean originalEncodedFormRetained) throws java.io.IOException {
143         throw new RuntimeException("Stub!");
144     }
145 
146     @dalvik.annotation.compat.UnsupportedAppUsage
getDerValue()147     public sun.security.util.DerValue getDerValue() throws java.io.IOException {
148         throw new RuntimeException("Stub!");
149     }
150 
151     @dalvik.annotation.compat.UnsupportedAppUsage
getUTF8String()152     public java.lang.String getUTF8String() throws java.io.IOException {
153         throw new RuntimeException("Stub!");
154     }
155 
getPrintableString()156     public java.lang.String getPrintableString() throws java.io.IOException {
157         throw new RuntimeException("Stub!");
158     }
159 
getT61String()160     public java.lang.String getT61String() throws java.io.IOException {
161         throw new RuntimeException("Stub!");
162     }
163 
getIA5String()164     public java.lang.String getIA5String() throws java.io.IOException {
165         throw new RuntimeException("Stub!");
166     }
167 
getBMPString()168     public java.lang.String getBMPString() throws java.io.IOException {
169         throw new RuntimeException("Stub!");
170     }
171 
getGeneralString()172     public java.lang.String getGeneralString() throws java.io.IOException {
173         throw new RuntimeException("Stub!");
174     }
175 
readString( byte stringTag, java.lang.String stringName, java.lang.String enc)176     private java.lang.String readString(
177             byte stringTag, java.lang.String stringName, java.lang.String enc)
178             throws java.io.IOException {
179         throw new RuntimeException("Stub!");
180     }
181 
182     @dalvik.annotation.compat.UnsupportedAppUsage
getUTCTime()183     public java.util.Date getUTCTime() throws java.io.IOException {
184         throw new RuntimeException("Stub!");
185     }
186 
getGeneralizedTime()187     public java.util.Date getGeneralizedTime() throws java.io.IOException {
188         throw new RuntimeException("Stub!");
189     }
190 
getByte()191     int getByte() throws java.io.IOException {
192         throw new RuntimeException("Stub!");
193     }
194 
195     @dalvik.annotation.compat.UnsupportedAppUsage
peekByte()196     public int peekByte() throws java.io.IOException {
197         throw new RuntimeException("Stub!");
198     }
199 
getLength()200     int getLength() throws java.io.IOException {
201         throw new RuntimeException("Stub!");
202     }
203 
getLength(java.io.InputStream in)204     static int getLength(java.io.InputStream in) throws java.io.IOException {
205         throw new RuntimeException("Stub!");
206     }
207 
getLength(int lenByte, java.io.InputStream in)208     static int getLength(int lenByte, java.io.InputStream in) throws java.io.IOException {
209         throw new RuntimeException("Stub!");
210     }
211 
212     @dalvik.annotation.compat.UnsupportedAppUsage
mark(int value)213     public void mark(int value) {
214         throw new RuntimeException("Stub!");
215     }
216 
217     @dalvik.annotation.compat.UnsupportedAppUsage
reset()218     public void reset() {
219         throw new RuntimeException("Stub!");
220     }
221 
222     @dalvik.annotation.compat.UnsupportedAppUsage
available()223     public int available() {
224         throw new RuntimeException("Stub!");
225     }
226 
227     sun.security.util.DerInputBuffer buffer;
228 
229     @dalvik.annotation.compat.UnsupportedAppUsage public byte tag;
230 }
231