• 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 import java.io.*;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public class DerValue {
32 
33     @dalvik.annotation.compat.UnsupportedAppUsage
DerValue(java.lang.String value)34     public DerValue(java.lang.String value) throws java.io.IOException {
35         throw new RuntimeException("Stub!");
36     }
37 
DerValue(byte stringTag, java.lang.String value)38     public DerValue(byte stringTag, java.lang.String value) throws java.io.IOException {
39         throw new RuntimeException("Stub!");
40     }
41 
42     @dalvik.annotation.compat.UnsupportedAppUsage
DerValue(byte tag, byte[] data)43     public DerValue(byte tag, byte[] data) {
44         throw new RuntimeException("Stub!");
45     }
46 
DerValue(sun.security.util.DerInputBuffer in, boolean originalEncodedFormRetained)47     DerValue(sun.security.util.DerInputBuffer in, boolean originalEncodedFormRetained)
48             throws java.io.IOException {
49         throw new RuntimeException("Stub!");
50     }
51 
52     @dalvik.annotation.compat.UnsupportedAppUsage
DerValue(byte[] buf)53     public DerValue(byte[] buf) throws java.io.IOException {
54         throw new RuntimeException("Stub!");
55     }
56 
57     @dalvik.annotation.compat.UnsupportedAppUsage
DerValue(byte[] buf, int offset, int len)58     public DerValue(byte[] buf, int offset, int len) throws java.io.IOException {
59         throw new RuntimeException("Stub!");
60     }
61 
62     @dalvik.annotation.compat.UnsupportedAppUsage
DerValue(java.io.InputStream in)63     public DerValue(java.io.InputStream in) throws java.io.IOException {
64         throw new RuntimeException("Stub!");
65     }
66 
isUniversal()67     public boolean isUniversal() {
68         throw new RuntimeException("Stub!");
69     }
70 
isApplication()71     public boolean isApplication() {
72         throw new RuntimeException("Stub!");
73     }
74 
75     @dalvik.annotation.compat.UnsupportedAppUsage
isContextSpecific()76     public boolean isContextSpecific() {
77         throw new RuntimeException("Stub!");
78     }
79 
80     @dalvik.annotation.compat.UnsupportedAppUsage
isContextSpecific(byte cntxtTag)81     public boolean isContextSpecific(byte cntxtTag) {
82         throw new RuntimeException("Stub!");
83     }
84 
isPrivate()85     boolean isPrivate() {
86         throw new RuntimeException("Stub!");
87     }
88 
89     @dalvik.annotation.compat.UnsupportedAppUsage
isConstructed()90     public boolean isConstructed() {
91         throw new RuntimeException("Stub!");
92     }
93 
isConstructed(byte constructedTag)94     public boolean isConstructed(byte constructedTag) {
95         throw new RuntimeException("Stub!");
96     }
97 
init(byte stringTag, java.lang.String value)98     private sun.security.util.DerInputStream init(byte stringTag, java.lang.String value)
99             throws java.io.IOException {
100         throw new RuntimeException("Stub!");
101     }
102 
init(boolean fullyBuffered, java.io.InputStream in)103     private sun.security.util.DerInputStream init(boolean fullyBuffered, java.io.InputStream in)
104             throws java.io.IOException {
105         throw new RuntimeException("Stub!");
106     }
107 
108     @dalvik.annotation.compat.UnsupportedAppUsage
encode(sun.security.util.DerOutputStream out)109     public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException {
110         throw new RuntimeException("Stub!");
111     }
112 
113     @dalvik.annotation.compat.UnsupportedAppUsage
getData()114     public final sun.security.util.DerInputStream getData() {
115         throw new RuntimeException("Stub!");
116     }
117 
getTag()118     public final byte getTag() {
119         throw new RuntimeException("Stub!");
120     }
121 
getBoolean()122     public boolean getBoolean() throws java.io.IOException {
123         throw new RuntimeException("Stub!");
124     }
125 
126     @dalvik.annotation.compat.UnsupportedAppUsage
getOID()127     public sun.security.util.ObjectIdentifier getOID() throws java.io.IOException {
128         throw new RuntimeException("Stub!");
129     }
130 
append(byte[] a, byte[] b)131     private byte[] append(byte[] a, byte[] b) {
132         throw new RuntimeException("Stub!");
133     }
134 
135     @dalvik.annotation.compat.UnsupportedAppUsage
getOctetString()136     public byte[] getOctetString() throws java.io.IOException {
137         throw new RuntimeException("Stub!");
138     }
139 
getInteger()140     public int getInteger() throws java.io.IOException {
141         throw new RuntimeException("Stub!");
142     }
143 
144     @dalvik.annotation.compat.UnsupportedAppUsage
getBigInteger()145     public java.math.BigInteger getBigInteger() throws java.io.IOException {
146         throw new RuntimeException("Stub!");
147     }
148 
149     @dalvik.annotation.compat.UnsupportedAppUsage
getPositiveBigInteger()150     public java.math.BigInteger getPositiveBigInteger() throws java.io.IOException {
151         throw new RuntimeException("Stub!");
152     }
153 
getEnumerated()154     public int getEnumerated() throws java.io.IOException {
155         throw new RuntimeException("Stub!");
156     }
157 
158     @dalvik.annotation.compat.UnsupportedAppUsage
getBitString()159     public byte[] getBitString() throws java.io.IOException {
160         throw new RuntimeException("Stub!");
161     }
162 
163     @dalvik.annotation.compat.UnsupportedAppUsage
getUnalignedBitString()164     public sun.security.util.BitArray getUnalignedBitString() throws java.io.IOException {
165         throw new RuntimeException("Stub!");
166     }
167 
168     @dalvik.annotation.compat.UnsupportedAppUsage
getAsString()169     public java.lang.String getAsString() throws java.io.IOException {
170         throw new RuntimeException("Stub!");
171     }
172 
getBitString(boolean tagImplicit)173     public byte[] getBitString(boolean tagImplicit) throws java.io.IOException {
174         throw new RuntimeException("Stub!");
175     }
176 
getUnalignedBitString(boolean tagImplicit)177     public sun.security.util.BitArray getUnalignedBitString(boolean tagImplicit)
178             throws java.io.IOException {
179         throw new RuntimeException("Stub!");
180     }
181 
182     @dalvik.annotation.compat.UnsupportedAppUsage
getDataBytes()183     public byte[] getDataBytes() throws java.io.IOException {
184         throw new RuntimeException("Stub!");
185     }
186 
getPrintableString()187     public java.lang.String getPrintableString() throws java.io.IOException {
188         throw new RuntimeException("Stub!");
189     }
190 
getT61String()191     public java.lang.String getT61String() throws java.io.IOException {
192         throw new RuntimeException("Stub!");
193     }
194 
getIA5String()195     public java.lang.String getIA5String() throws java.io.IOException {
196         throw new RuntimeException("Stub!");
197     }
198 
getBMPString()199     public java.lang.String getBMPString() throws java.io.IOException {
200         throw new RuntimeException("Stub!");
201     }
202 
getUTF8String()203     public java.lang.String getUTF8String() throws java.io.IOException {
204         throw new RuntimeException("Stub!");
205     }
206 
getGeneralString()207     public java.lang.String getGeneralString() throws java.io.IOException {
208         throw new RuntimeException("Stub!");
209     }
210 
getUTCTime()211     public java.util.Date getUTCTime() throws java.io.IOException {
212         throw new RuntimeException("Stub!");
213     }
214 
getGeneralizedTime()215     public java.util.Date getGeneralizedTime() throws java.io.IOException {
216         throw new RuntimeException("Stub!");
217     }
218 
equals(java.lang.Object other)219     public boolean equals(java.lang.Object other) {
220         throw new RuntimeException("Stub!");
221     }
222 
equals(sun.security.util.DerValue other)223     public boolean equals(sun.security.util.DerValue other) {
224         throw new RuntimeException("Stub!");
225     }
226 
doEquals(sun.security.util.DerValue d1, sun.security.util.DerValue d2)227     private static boolean doEquals(sun.security.util.DerValue d1, sun.security.util.DerValue d2) {
228         throw new RuntimeException("Stub!");
229     }
230 
toString()231     public java.lang.String toString() {
232         throw new RuntimeException("Stub!");
233     }
234 
getOriginalEncodedForm()235     public byte[] getOriginalEncodedForm() {
236         throw new RuntimeException("Stub!");
237     }
238 
239     @dalvik.annotation.compat.UnsupportedAppUsage
toByteArray()240     public byte[] toByteArray() throws java.io.IOException {
241         throw new RuntimeException("Stub!");
242     }
243 
244     @dalvik.annotation.compat.UnsupportedAppUsage
toDerInputStream()245     public sun.security.util.DerInputStream toDerInputStream() throws java.io.IOException {
246         throw new RuntimeException("Stub!");
247     }
248 
length()249     public int length() {
250         throw new RuntimeException("Stub!");
251     }
252 
253     @dalvik.annotation.compat.UnsupportedAppUsage
isPrintableStringChar(char ch)254     public static boolean isPrintableStringChar(char ch) {
255         throw new RuntimeException("Stub!");
256     }
257 
258     @dalvik.annotation.compat.UnsupportedAppUsage
createTag(byte tagClass, boolean form, byte val)259     public static byte createTag(byte tagClass, boolean form, byte val) {
260         throw new RuntimeException("Stub!");
261     }
262 
263     @dalvik.annotation.compat.UnsupportedAppUsage
resetTag(byte tag)264     public void resetTag(byte tag) {
265         throw new RuntimeException("Stub!");
266     }
267 
hashCode()268     public int hashCode() {
269         throw new RuntimeException("Stub!");
270     }
271 
272     public static final byte TAG_APPLICATION = 64; // 0x40
273 
274     public static final byte TAG_CONTEXT = -128; // 0xffffff80
275 
276     public static final byte TAG_PRIVATE = -64; // 0xffffffc0
277 
278     public static final byte TAG_UNIVERSAL = 0; // 0x0
279 
280     @dalvik.annotation.compat.UnsupportedAppUsage protected sun.security.util.DerInputBuffer buffer;
281 
282     @dalvik.annotation.compat.UnsupportedAppUsage
283     public final sun.security.util.DerInputStream data;
284 
285     {
286         data = null;
287     }
288 
289     private int length;
290 
291     private byte[] originalEncodedForm;
292 
293     @dalvik.annotation.compat.UnsupportedAppUsage public byte tag;
294 
295     public static final byte tag_BMPString = 30; // 0x1e
296 
297     public static final byte tag_BitString = 3; // 0x3
298 
299     public static final byte tag_Boolean = 1; // 0x1
300 
301     public static final byte tag_Enumerated = 10; // 0xa
302 
303     public static final byte tag_GeneralString = 27; // 0x1b
304 
305     public static final byte tag_GeneralizedTime = 24; // 0x18
306 
307     public static final byte tag_IA5String = 22; // 0x16
308 
309     public static final byte tag_Integer = 2; // 0x2
310 
311     public static final byte tag_Null = 5; // 0x5
312 
313     public static final byte tag_ObjectId = 6; // 0x6
314 
315     public static final byte tag_OctetString = 4; // 0x4
316 
317     public static final byte tag_PrintableString = 19; // 0x13
318 
319     public static final byte tag_Sequence = 48; // 0x30
320 
321     public static final byte tag_SequenceOf = 48; // 0x30
322 
323     public static final byte tag_Set = 49; // 0x31
324 
325     public static final byte tag_SetOf = 49; // 0x31
326 
327     public static final byte tag_T61String = 20; // 0x14
328 
329     public static final byte tag_UTF8String = 12; // 0xc
330 
331     public static final byte tag_UniversalString = 28; // 0x1c
332 
333     public static final byte tag_UtcTime = 23; // 0x17
334 }
335