• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1997, 2013, 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.pkcs;
27 
28 
29 @SuppressWarnings({"unchecked", "deprecation", "all"})
30 public class PKCS9Attribute implements sun.security.util.DerEncoder {
31 
32     @dalvik.annotation.compat.UnsupportedAppUsage
PKCS9Attribute(sun.security.util.ObjectIdentifier oid, java.lang.Object value)33     public PKCS9Attribute(sun.security.util.ObjectIdentifier oid, java.lang.Object value)
34             throws java.lang.IllegalArgumentException {
35         throw new RuntimeException("Stub!");
36     }
37 
38     @dalvik.annotation.compat.UnsupportedAppUsage
PKCS9Attribute(java.lang.String name, java.lang.Object value)39     public PKCS9Attribute(java.lang.String name, java.lang.Object value)
40             throws java.lang.IllegalArgumentException {
41         throw new RuntimeException("Stub!");
42     }
43 
44     @dalvik.annotation.compat.UnsupportedAppUsage
PKCS9Attribute(sun.security.util.DerValue derVal)45     public PKCS9Attribute(sun.security.util.DerValue derVal) throws java.io.IOException {
46         throw new RuntimeException("Stub!");
47     }
48 
init(sun.security.util.ObjectIdentifier oid, java.lang.Object value)49     private void init(sun.security.util.ObjectIdentifier oid, java.lang.Object value)
50             throws java.lang.IllegalArgumentException {
51         throw new RuntimeException("Stub!");
52     }
53 
54     @dalvik.annotation.compat.UnsupportedAppUsage
derEncode(java.io.OutputStream out)55     public void derEncode(java.io.OutputStream out) throws java.io.IOException {
56         throw new RuntimeException("Stub!");
57     }
58 
isKnown()59     public boolean isKnown() {
60         throw new RuntimeException("Stub!");
61     }
62 
63     @dalvik.annotation.compat.UnsupportedAppUsage
getValue()64     public java.lang.Object getValue() {
65         throw new RuntimeException("Stub!");
66     }
67 
isSingleValued()68     public boolean isSingleValued() {
69         throw new RuntimeException("Stub!");
70     }
71 
72     @dalvik.annotation.compat.UnsupportedAppUsage
getOID()73     public sun.security.util.ObjectIdentifier getOID() {
74         throw new RuntimeException("Stub!");
75     }
76 
getName()77     public java.lang.String getName() {
78         throw new RuntimeException("Stub!");
79     }
80 
getOID(java.lang.String name)81     public static sun.security.util.ObjectIdentifier getOID(java.lang.String name) {
82         throw new RuntimeException("Stub!");
83     }
84 
getName(sun.security.util.ObjectIdentifier oid)85     public static java.lang.String getName(sun.security.util.ObjectIdentifier oid) {
86         throw new RuntimeException("Stub!");
87     }
88 
toString()89     public java.lang.String toString() {
90         throw new RuntimeException("Stub!");
91     }
92 
indexOf(java.lang.Object obj, java.lang.Object[] a, int start)93     static int indexOf(java.lang.Object obj, java.lang.Object[] a, int start) {
94         throw new RuntimeException("Stub!");
95     }
96 
throwSingleValuedException()97     private void throwSingleValuedException() throws java.io.IOException {
98         throw new RuntimeException("Stub!");
99     }
100 
throwTagException(java.lang.Byte tag)101     private void throwTagException(java.lang.Byte tag) throws java.io.IOException {
102         throw new RuntimeException("Stub!");
103     }
104 
105     private static final java.lang.Class<?> BYTE_ARRAY_CLASS;
106 
107     static {
108         BYTE_ARRAY_CLASS = null;
109     }
110 
111     public static final sun.security.util.ObjectIdentifier CHALLENGE_PASSWORD_OID;
112 
113     static {
114         CHALLENGE_PASSWORD_OID = null;
115     }
116 
117     public static final java.lang.String CHALLENGE_PASSWORD_STR = "ChallengePassword";
118 
119     @dalvik.annotation.compat.UnsupportedAppUsage
120     public static final sun.security.util.ObjectIdentifier CONTENT_TYPE_OID;
121 
122     static {
123         CONTENT_TYPE_OID = null;
124     }
125 
126     public static final java.lang.String CONTENT_TYPE_STR = "ContentType";
127 
128     public static final sun.security.util.ObjectIdentifier COUNTERSIGNATURE_OID;
129 
130     static {
131         COUNTERSIGNATURE_OID = null;
132     }
133 
134     public static final java.lang.String COUNTERSIGNATURE_STR = "Countersignature";
135 
136     @dalvik.annotation.compat.UnsupportedAppUsage
137     public static final sun.security.util.ObjectIdentifier EMAIL_ADDRESS_OID;
138 
139     static {
140         EMAIL_ADDRESS_OID = null;
141     }
142 
143     public static final java.lang.String EMAIL_ADDRESS_STR = "EmailAddress";
144 
145     public static final sun.security.util.ObjectIdentifier EXTENDED_CERTIFICATE_ATTRIBUTES_OID;
146 
147     static {
148         EXTENDED_CERTIFICATE_ATTRIBUTES_OID = null;
149     }
150 
151     public static final java.lang.String EXTENDED_CERTIFICATE_ATTRIBUTES_STR =
152             "ExtendedCertificateAttributes";
153 
154     public static final sun.security.util.ObjectIdentifier EXTENSION_REQUEST_OID;
155 
156     static {
157         EXTENSION_REQUEST_OID = null;
158     }
159 
160     public static final java.lang.String EXTENSION_REQUEST_STR = "ExtensionRequest";
161 
162     public static final sun.security.util.ObjectIdentifier ISSUER_SERIALNUMBER_OID;
163 
164     static {
165         ISSUER_SERIALNUMBER_OID = null;
166     }
167 
168     public static final java.lang.String ISSUER_SERIALNUMBER_STR = "IssuerAndSerialNumber";
169 
170     @dalvik.annotation.compat.UnsupportedAppUsage
171     public static final sun.security.util.ObjectIdentifier MESSAGE_DIGEST_OID;
172 
173     static {
174         MESSAGE_DIGEST_OID = null;
175     }
176 
177     public static final java.lang.String MESSAGE_DIGEST_STR = "MessageDigest";
178 
179     private static final java.util.Hashtable<java.lang.String, sun.security.util.ObjectIdentifier>
180             NAME_OID_TABLE;
181 
182     static {
183         NAME_OID_TABLE = null;
184     }
185 
186     private static final java.util.Hashtable<sun.security.util.ObjectIdentifier, java.lang.String>
187             OID_NAME_TABLE;
188 
189     static {
190         OID_NAME_TABLE = null;
191     }
192 
193     static final sun.security.util.ObjectIdentifier[] PKCS9_OIDS;
194 
195     static {
196         PKCS9_OIDS = new sun.security.util.ObjectIdentifier[0];
197     }
198 
199     private static final java.lang.Byte[][] PKCS9_VALUE_TAGS;
200 
201     static {
202         PKCS9_VALUE_TAGS = new java.lang.Byte[0][];
203     }
204 
205     private static final java.lang.String RSA_PROPRIETARY_STR = "RSAProprietary";
206 
207     public static final sun.security.util.ObjectIdentifier SIGNATURE_TIMESTAMP_TOKEN_OID;
208 
209     static {
210         SIGNATURE_TIMESTAMP_TOKEN_OID = null;
211     }
212 
213     public static final java.lang.String SIGNATURE_TIMESTAMP_TOKEN_STR = "SignatureTimestampToken";
214 
215     public static final sun.security.util.ObjectIdentifier SIGNING_CERTIFICATE_OID;
216 
217     static {
218         SIGNING_CERTIFICATE_OID = null;
219     }
220 
221     public static final java.lang.String SIGNING_CERTIFICATE_STR = "SigningCertificate";
222 
223     @dalvik.annotation.compat.UnsupportedAppUsage
224     public static final sun.security.util.ObjectIdentifier SIGNING_TIME_OID;
225 
226     static {
227         SIGNING_TIME_OID = null;
228     }
229 
230     public static final java.lang.String SIGNING_TIME_STR = "SigningTime";
231 
232     private static final boolean[] SINGLE_VALUED;
233 
234     static {
235         SINGLE_VALUED = new boolean[0];
236     }
237 
238     public static final sun.security.util.ObjectIdentifier SMIME_CAPABILITY_OID;
239 
240     static {
241         SMIME_CAPABILITY_OID = null;
242     }
243 
244     public static final java.lang.String SMIME_CAPABILITY_STR = "SMIMECapability";
245 
246     private static final java.lang.String SMIME_SIGNING_DESC_STR = "SMIMESigningDesc";
247 
248     public static final sun.security.util.ObjectIdentifier UNSTRUCTURED_ADDRESS_OID;
249 
250     static {
251         UNSTRUCTURED_ADDRESS_OID = null;
252     }
253 
254     public static final java.lang.String UNSTRUCTURED_ADDRESS_STR = "UnstructuredAddress";
255 
256     public static final sun.security.util.ObjectIdentifier UNSTRUCTURED_NAME_OID;
257 
258     static {
259         UNSTRUCTURED_NAME_OID = null;
260     }
261 
262     public static final java.lang.String UNSTRUCTURED_NAME_STR = "UnstructuredName";
263 
264     private static final java.lang.Class<?>[] VALUE_CLASSES;
265 
266     static {
267         VALUE_CLASSES = new java.lang.Class[0];
268     }
269 
270     private static final sun.security.util.Debug debug;
271 
272     static {
273         debug = null;
274     }
275 
276     private int index;
277 
278     private sun.security.util.ObjectIdentifier oid;
279 
280     private java.lang.Object value;
281 }
282