• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2003, 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.jca;
27 
28 import java.security.*;
29 import java.util.*;
30 
31 @SuppressWarnings({"unchecked", "deprecation", "all"})
32 public class GetInstance {
33 
GetInstance()34     private GetInstance() {
35         throw new RuntimeException("Stub!");
36     }
37 
getService( java.lang.String type, java.lang.String algorithm)38     public static java.security.Provider.Service getService(
39             java.lang.String type, java.lang.String algorithm)
40             throws java.security.NoSuchAlgorithmException {
41         throw new RuntimeException("Stub!");
42     }
43 
getService( java.lang.String type, java.lang.String algorithm, java.lang.String provider)44     public static java.security.Provider.Service getService(
45             java.lang.String type, java.lang.String algorithm, java.lang.String provider)
46             throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException {
47         throw new RuntimeException("Stub!");
48     }
49 
getService( java.lang.String type, java.lang.String algorithm, java.security.Provider provider)50     public static java.security.Provider.Service getService(
51             java.lang.String type, java.lang.String algorithm, java.security.Provider provider)
52             throws java.security.NoSuchAlgorithmException {
53         throw new RuntimeException("Stub!");
54     }
55 
getServices( java.lang.String type, java.lang.String algorithm)56     public static java.util.List<java.security.Provider.Service> getServices(
57             java.lang.String type, java.lang.String algorithm) {
58         throw new RuntimeException("Stub!");
59     }
60 
61     @Deprecated
getServices( java.lang.String type, java.util.List<java.lang.String> algorithms)62     public static java.util.List<java.security.Provider.Service> getServices(
63             java.lang.String type, java.util.List<java.lang.String> algorithms) {
64         throw new RuntimeException("Stub!");
65     }
66 
getServices( java.util.List<sun.security.jca.ServiceId> ids)67     public static java.util.List<java.security.Provider.Service> getServices(
68             java.util.List<sun.security.jca.ServiceId> ids) {
69         throw new RuntimeException("Stub!");
70     }
71 
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm)72     public static sun.security.jca.GetInstance.Instance getInstance(
73             java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm)
74             throws java.security.NoSuchAlgorithmException {
75         throw new RuntimeException("Stub!");
76     }
77 
78     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm, java.lang.Object param)79     public static sun.security.jca.GetInstance.Instance getInstance(
80             java.lang.String type,
81             java.lang.Class<?> clazz,
82             java.lang.String algorithm,
83             java.lang.Object param)
84             throws java.security.NoSuchAlgorithmException {
85         throw new RuntimeException("Stub!");
86     }
87 
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm, java.lang.String provider)88     public static sun.security.jca.GetInstance.Instance getInstance(
89             java.lang.String type,
90             java.lang.Class<?> clazz,
91             java.lang.String algorithm,
92             java.lang.String provider)
93             throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException {
94         throw new RuntimeException("Stub!");
95     }
96 
97     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm, java.lang.Object param, java.lang.String provider)98     public static sun.security.jca.GetInstance.Instance getInstance(
99             java.lang.String type,
100             java.lang.Class<?> clazz,
101             java.lang.String algorithm,
102             java.lang.Object param,
103             java.lang.String provider)
104             throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException {
105         throw new RuntimeException("Stub!");
106     }
107 
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm, java.security.Provider provider)108     public static sun.security.jca.GetInstance.Instance getInstance(
109             java.lang.String type,
110             java.lang.Class<?> clazz,
111             java.lang.String algorithm,
112             java.security.Provider provider)
113             throws java.security.NoSuchAlgorithmException {
114         throw new RuntimeException("Stub!");
115     }
116 
117     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
getInstance( java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm, java.lang.Object param, java.security.Provider provider)118     public static sun.security.jca.GetInstance.Instance getInstance(
119             java.lang.String type,
120             java.lang.Class<?> clazz,
121             java.lang.String algorithm,
122             java.lang.Object param,
123             java.security.Provider provider)
124             throws java.security.NoSuchAlgorithmException {
125         throw new RuntimeException("Stub!");
126     }
127 
getInstance( java.security.Provider.Service s, java.lang.Class<?> clazz)128     public static sun.security.jca.GetInstance.Instance getInstance(
129             java.security.Provider.Service s, java.lang.Class<?> clazz)
130             throws java.security.NoSuchAlgorithmException {
131         throw new RuntimeException("Stub!");
132     }
133 
getInstance( java.security.Provider.Service s, java.lang.Class<?> clazz, java.lang.Object param)134     public static sun.security.jca.GetInstance.Instance getInstance(
135             java.security.Provider.Service s, java.lang.Class<?> clazz, java.lang.Object param)
136             throws java.security.NoSuchAlgorithmException {
137         throw new RuntimeException("Stub!");
138     }
139 
checkSuperClass( java.security.Provider.Service s, java.lang.Class<?> subClass, java.lang.Class<?> superClass)140     public static void checkSuperClass(
141             java.security.Provider.Service s,
142             java.lang.Class<?> subClass,
143             java.lang.Class<?> superClass)
144             throws java.security.NoSuchAlgorithmException {
145         throw new RuntimeException("Stub!");
146     }
147 
148     @SuppressWarnings({"unchecked", "deprecation", "all"})
149     public static final class Instance {
150 
Instance(java.security.Provider provider, java.lang.Object impl)151         private Instance(java.security.Provider provider, java.lang.Object impl) {
152             throw new RuntimeException("Stub!");
153         }
154 
toArray()155         public java.lang.Object[] toArray() {
156             throw new RuntimeException("Stub!");
157         }
158 
159         @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public final java.lang.Object impl;
160 
161         {
162             impl = null;
163         }
164 
165         @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public final java.security.Provider provider;
166 
167         {
168             provider = null;
169         }
170     }
171 }
172