1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 
28 package sun.security.jca;
29 
30 import java.security.Provider;
31 import java.util.Set;
32 import java.security.NoSuchAlgorithmException;
33 
34 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
35 @libcore.api.Hide
36 @SuppressWarnings({"unchecked", "deprecation", "all"})
37 public class Providers {
38 
39 @libcore.api.Hide
Providers()40 Providers() { throw new RuntimeException("Stub!"); }
41 
42 @libcore.api.Hide
getSunProvider()43 public static java.security.Provider getSunProvider() { throw new RuntimeException("Stub!"); }
44 
45 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
46 @libcore.api.Hide
startJarVerification()47 public static java.lang.Object startJarVerification() { throw new RuntimeException("Stub!"); }
48 
49 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
50 @libcore.api.Hide
stopJarVerification(java.lang.Object obj)51 public static void stopJarVerification(java.lang.Object obj) { throw new RuntimeException("Stub!"); }
52 
53 @libcore.api.Hide
getProviderList()54 public static sun.security.jca.ProviderList getProviderList() { throw new RuntimeException("Stub!"); }
55 
56 @libcore.api.Hide
setProviderList(ProviderList newList)57 public static void setProviderList(ProviderList newList) { throw new RuntimeException("Stub!"); }
58 
59 @libcore.api.Hide
getFullProviderList()60 public static sun.security.jca.ProviderList getFullProviderList() { throw new RuntimeException("Stub!"); }
61 
62 @libcore.api.Hide
getThreadProviderList()63 public static sun.security.jca.ProviderList getThreadProviderList() { throw new RuntimeException("Stub!"); }
64 
65 @libcore.api.Hide
beginThreadProviderList(ProviderList list)66 public static synchronized sun.security.jca.ProviderList beginThreadProviderList(ProviderList list) { throw new RuntimeException("Stub!"); }
67 
68 @libcore.api.Hide
endThreadProviderList(ProviderList list)69 public static synchronized void endThreadProviderList(ProviderList list) { throw new RuntimeException("Stub!"); }
70 
71 @libcore.api.Hide
setMaximumAllowableApiLevelForBcDeprecation(int targetApiLevel)72 public static void setMaximumAllowableApiLevelForBcDeprecation(int targetApiLevel) { throw new RuntimeException("Stub!"); }
73 
74 @libcore.api.Hide
getMaximumAllowableApiLevelForBcDeprecation()75 public static int getMaximumAllowableApiLevelForBcDeprecation() { throw new RuntimeException("Stub!"); }
76 
77 @libcore.api.Hide
checkBouncyCastleDeprecation(java.lang.String provider, java.lang.String service, java.lang.String algorithm)78 public static synchronized void checkBouncyCastleDeprecation(java.lang.String provider, java.lang.String service, java.lang.String algorithm) throws java.security.NoSuchAlgorithmException { throw new RuntimeException("Stub!"); }
79 
80 @libcore.api.Hide
checkBouncyCastleDeprecation(java.security.Provider provider, java.lang.String service, java.lang.String algorithm)81 public static synchronized void checkBouncyCastleDeprecation(java.security.Provider provider, java.lang.String service, java.lang.String algorithm) throws java.security.NoSuchAlgorithmException { throw new RuntimeException("Stub!"); }
82 
83 @libcore.api.Hide
84 public static final int DEFAULT_MAXIMUM_ALLOWABLE_TARGET_API_LEVEL_FOR_BC_DEPRECATION = 27; // 0x1b
85 }
86