• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1996, 2011, 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 import java.io.*;
29 import sun.security.util.*;
30 
31 @SuppressWarnings({"unchecked", "deprecation", "all"})
32 public class ContentInfo {
33 
34     @android.compat.annotation.UnsupportedAppUsage
ContentInfo( sun.security.util.ObjectIdentifier contentType, sun.security.util.DerValue content)35     public ContentInfo(
36             sun.security.util.ObjectIdentifier contentType, sun.security.util.DerValue content) {
37         throw new RuntimeException("Stub!");
38     }
39 
40     @android.compat.annotation.UnsupportedAppUsage
ContentInfo(byte[] bytes)41     public ContentInfo(byte[] bytes) {
42         throw new RuntimeException("Stub!");
43     }
44 
ContentInfo(sun.security.util.DerInputStream derin)45     public ContentInfo(sun.security.util.DerInputStream derin)
46             throws java.io.IOException, sun.security.pkcs.ParsingException {
47         throw new RuntimeException("Stub!");
48     }
49 
ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle)50     public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle)
51             throws java.io.IOException, sun.security.pkcs.ParsingException {
52         throw new RuntimeException("Stub!");
53     }
54 
getContent()55     public sun.security.util.DerValue getContent() {
56         throw new RuntimeException("Stub!");
57     }
58 
getContentType()59     public sun.security.util.ObjectIdentifier getContentType() {
60         throw new RuntimeException("Stub!");
61     }
62 
63     @android.compat.annotation.UnsupportedAppUsage
getData()64     public byte[] getData() throws java.io.IOException {
65         throw new RuntimeException("Stub!");
66     }
67 
68     @android.compat.annotation.UnsupportedAppUsage
encode(sun.security.util.DerOutputStream out)69     public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException {
70         throw new RuntimeException("Stub!");
71     }
72 
getContentBytes()73     public byte[] getContentBytes() throws java.io.IOException {
74         throw new RuntimeException("Stub!");
75     }
76 
toString()77     public java.lang.String toString() {
78         throw new RuntimeException("Stub!");
79     }
80 
81     @android.compat.annotation.UnsupportedAppUsage
82     public static sun.security.util.ObjectIdentifier DATA_OID;
83 
84     public static sun.security.util.ObjectIdentifier DIGESTED_DATA_OID;
85 
86     public static sun.security.util.ObjectIdentifier ENCRYPTED_DATA_OID;
87 
88     public static sun.security.util.ObjectIdentifier ENVELOPED_DATA_OID;
89 
90     public static sun.security.util.ObjectIdentifier NETSCAPE_CERT_SEQUENCE_OID;
91 
92     private static final int[] OLD_DATA;
93 
94     static {
95         OLD_DATA = new int[0];
96     }
97 
98     public static sun.security.util.ObjectIdentifier OLD_DATA_OID;
99 
100     private static final int[] OLD_SDATA;
101 
102     static {
103         OLD_SDATA = new int[0];
104     }
105 
106     public static sun.security.util.ObjectIdentifier OLD_SIGNED_DATA_OID;
107 
108     public static sun.security.util.ObjectIdentifier PKCS7_OID;
109 
110     public static sun.security.util.ObjectIdentifier SIGNED_AND_ENVELOPED_DATA_OID;
111 
112     public static sun.security.util.ObjectIdentifier SIGNED_DATA_OID;
113 
114     public static sun.security.util.ObjectIdentifier TIMESTAMP_TOKEN_INFO_OID;
115 
116     sun.security.util.DerValue content;
117 
118     sun.security.util.ObjectIdentifier contentType;
119 
120     private static int[] crdata;
121 
122     private static int[] data;
123 
124     private static int[] ddata;
125 
126     private static int[] edata;
127 
128     private static int[] nsdata;
129 
130     private static int[] pkcs7;
131 
132     private static int[] sdata;
133 
134     private static int[] sedata;
135 
136     private static int[] tstInfo;
137 }
138