1 /*
2  * Copyright (c) 2003, 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.jca;
27 
28 import java.security.*;
29 import java.util.*;
30 
31 @SuppressWarnings({"unchecked", "deprecation", "all"})
32 public final class ProviderList {
33 
ProviderList(sun.security.jca.ProviderConfig[] configs, boolean allLoaded)34     private ProviderList(sun.security.jca.ProviderConfig[] configs, boolean allLoaded) {
35         throw new RuntimeException("Stub!");
36     }
37 
ProviderList()38     private ProviderList() {
39         throw new RuntimeException("Stub!");
40     }
41 
fromSecurityProperties()42     static sun.security.jca.ProviderList fromSecurityProperties() {
43         throw new RuntimeException("Stub!");
44     }
45 
add( sun.security.jca.ProviderList providerList, java.security.Provider p)46     public static sun.security.jca.ProviderList add(
47             sun.security.jca.ProviderList providerList, java.security.Provider p) {
48         throw new RuntimeException("Stub!");
49     }
50 
insertAt( sun.security.jca.ProviderList providerList, java.security.Provider p, int position)51     public static sun.security.jca.ProviderList insertAt(
52             sun.security.jca.ProviderList providerList, java.security.Provider p, int position) {
53         throw new RuntimeException("Stub!");
54     }
55 
remove( sun.security.jca.ProviderList providerList, java.lang.String name)56     public static sun.security.jca.ProviderList remove(
57             sun.security.jca.ProviderList providerList, java.lang.String name) {
58         throw new RuntimeException("Stub!");
59     }
60 
newList(java.security.Provider... providers)61     public static sun.security.jca.ProviderList newList(java.security.Provider... providers) {
62         throw new RuntimeException("Stub!");
63     }
64 
getJarList(java.lang.String[] jarClassNames)65     sun.security.jca.ProviderList getJarList(java.lang.String[] jarClassNames) {
66         throw new RuntimeException("Stub!");
67     }
68 
size()69     public int size() {
70         throw new RuntimeException("Stub!");
71     }
72 
getProvider(int index)73     java.security.Provider getProvider(int index) {
74         throw new RuntimeException("Stub!");
75     }
76 
providers()77     public java.util.List<java.security.Provider> providers() {
78         throw new RuntimeException("Stub!");
79     }
80 
getProviderConfig(java.lang.String name)81     private sun.security.jca.ProviderConfig getProviderConfig(java.lang.String name) {
82         throw new RuntimeException("Stub!");
83     }
84 
getProvider(java.lang.String name)85     public java.security.Provider getProvider(java.lang.String name) {
86         throw new RuntimeException("Stub!");
87     }
88 
getIndex(java.lang.String name)89     public int getIndex(java.lang.String name) {
90         throw new RuntimeException("Stub!");
91     }
92 
loadAll()93     private int loadAll() {
94         throw new RuntimeException("Stub!");
95     }
96 
removeInvalid()97     sun.security.jca.ProviderList removeInvalid() {
98         throw new RuntimeException("Stub!");
99     }
100 
toArray()101     public java.security.Provider[] toArray() {
102         throw new RuntimeException("Stub!");
103     }
104 
toString()105     public java.lang.String toString() {
106         throw new RuntimeException("Stub!");
107     }
108 
109     @android.compat.annotation.UnsupportedAppUsage
getService(java.lang.String type, java.lang.String name)110     public java.security.Provider.Service getService(java.lang.String type, java.lang.String name) {
111         throw new RuntimeException("Stub!");
112     }
113 
getServices( java.lang.String type, java.lang.String algorithm)114     public java.util.List<java.security.Provider.Service> getServices(
115             java.lang.String type, java.lang.String algorithm) {
116         throw new RuntimeException("Stub!");
117     }
118 
119     @Deprecated
getServices( java.lang.String type, java.util.List<java.lang.String> algorithms)120     public java.util.List<java.security.Provider.Service> getServices(
121             java.lang.String type, java.util.List<java.lang.String> algorithms) {
122         throw new RuntimeException("Stub!");
123     }
124 
getServices( java.util.List<sun.security.jca.ServiceId> ids)125     public java.util.List<java.security.Provider.Service> getServices(
126             java.util.List<sun.security.jca.ServiceId> ids) {
127         throw new RuntimeException("Stub!");
128     }
129 
130     static final sun.security.jca.ProviderList EMPTY;
131 
132     static {
133         EMPTY = null;
134     }
135 
136     private static final java.security.Provider EMPTY_PROVIDER;
137 
138     static {
139         EMPTY_PROVIDER = null;
140     }
141 
142     private static final java.security.Provider[] P0;
143 
144     static {
145         P0 = new java.security.Provider[0];
146     }
147 
148     private static final sun.security.jca.ProviderConfig[] PC0;
149 
150     static {
151         PC0 = new sun.security.jca.ProviderConfig[0];
152     }
153 
154     private volatile boolean allLoaded;
155 
156     private final sun.security.jca.ProviderConfig[] configs;
157 
158     {
159         configs = new sun.security.jca.ProviderConfig[0];
160     }
161 
162     static final sun.security.util.Debug debug;
163 
164     static {
165         debug = null;
166     }
167 
168     private final java.util.List<java.security.Provider> userList;
169 
170     {
171         userList = null;
172     }
173 
174     @SuppressWarnings({"unchecked", "deprecation", "all"})
175     private final class ServiceList extends java.util.AbstractList<java.security.Provider.Service> {
176 
ServiceList(java.lang.String type, java.lang.String algorithm)177         ServiceList(java.lang.String type, java.lang.String algorithm) {
178             throw new RuntimeException("Stub!");
179         }
180 
ServiceList(java.util.List<sun.security.jca.ServiceId> ids)181         ServiceList(java.util.List<sun.security.jca.ServiceId> ids) {
182             throw new RuntimeException("Stub!");
183         }
184 
addService(java.security.Provider.Service s)185         private void addService(java.security.Provider.Service s) {
186             throw new RuntimeException("Stub!");
187         }
188 
tryGet(int index)189         private java.security.Provider.Service tryGet(int index) {
190             throw new RuntimeException("Stub!");
191         }
192 
get(int index)193         public java.security.Provider.Service get(int index) {
194             throw new RuntimeException("Stub!");
195         }
196 
size()197         public int size() {
198             throw new RuntimeException("Stub!");
199         }
200 
isEmpty()201         public boolean isEmpty() {
202             throw new RuntimeException("Stub!");
203         }
204 
iterator()205         public java.util.Iterator<java.security.Provider.Service> iterator() {
206             throw new RuntimeException("Stub!");
207         }
208 
209         private final java.lang.String algorithm;
210 
211         {
212             algorithm = null;
213         }
214 
215         private java.security.Provider.Service firstService;
216 
217         private final java.util.List<sun.security.jca.ServiceId> ids;
218 
219         {
220             ids = null;
221         }
222 
223         private int providerIndex;
224 
225         private java.util.List<java.security.Provider.Service> services;
226 
227         private final java.lang.String type;
228 
229         {
230             type = null;
231         }
232     }
233 }
234