1 /*
2 * Copyright (C) 2014 The Android Open Source Project
3 * Copyright (c) 1996, 2014, 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 java.security;
29
30 import java.io.*;
31 import java.util.*;
32 import java.lang.ref.*;
33 import java.lang.reflect.*;
34 import java.security.Security;
35
36 @SuppressWarnings({"unchecked", "deprecation", "all"})
37 public abstract class Provider extends java.util.Properties {
38
Provider(java.lang.String name, double version, java.lang.String info)39 protected Provider(java.lang.String name, double version, java.lang.String info) { throw new RuntimeException("Stub!"); }
40
getName()41 public java.lang.String getName() { throw new RuntimeException("Stub!"); }
42
getVersion()43 public double getVersion() { throw new RuntimeException("Stub!"); }
44
getInfo()45 public java.lang.String getInfo() { throw new RuntimeException("Stub!"); }
46
toString()47 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
48
clear()49 public synchronized void clear() { throw new RuntimeException("Stub!"); }
50
load(java.io.InputStream inStream)51 public synchronized void load(java.io.InputStream inStream) throws java.io.IOException { throw new RuntimeException("Stub!"); }
52
putAll(java.util.Map<?,?> t)53 public synchronized void putAll(java.util.Map<?,?> t) { throw new RuntimeException("Stub!"); }
54
entrySet()55 public synchronized java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet() { throw new RuntimeException("Stub!"); }
56
keySet()57 public java.util.Set<java.lang.Object> keySet() { throw new RuntimeException("Stub!"); }
58
values()59 public java.util.Collection<java.lang.Object> values() { throw new RuntimeException("Stub!"); }
60
put(java.lang.Object key, java.lang.Object value)61 public synchronized java.lang.Object put(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
62
putIfAbsent(java.lang.Object key, java.lang.Object value)63 public synchronized java.lang.Object putIfAbsent(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
64
remove(java.lang.Object key)65 public synchronized java.lang.Object remove(java.lang.Object key) { throw new RuntimeException("Stub!"); }
66
remove(java.lang.Object key, java.lang.Object value)67 public synchronized boolean remove(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
68
replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Object newValue)69 public synchronized boolean replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Object newValue) { throw new RuntimeException("Stub!"); }
70
replace(java.lang.Object key, java.lang.Object value)71 public synchronized java.lang.Object replace(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
72
replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> function)73 public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> function) { throw new RuntimeException("Stub!"); }
74
compute(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
76
computeIfAbsent(java.lang.Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction)77 public synchronized java.lang.Object computeIfAbsent(java.lang.Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction) { throw new RuntimeException("Stub!"); }
78
computeIfPresent(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)79 public synchronized java.lang.Object computeIfPresent(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
80
merge(java.lang.Object key, java.lang.Object value, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)81 public synchronized java.lang.Object merge(java.lang.Object key, java.lang.Object value, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
82
get(java.lang.Object key)83 public java.lang.Object get(java.lang.Object key) { throw new RuntimeException("Stub!"); }
84
getOrDefault(java.lang.Object key, java.lang.Object defaultValue)85 public synchronized java.lang.Object getOrDefault(java.lang.Object key, java.lang.Object defaultValue) { throw new RuntimeException("Stub!"); }
86
forEach(java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object> action)87 public synchronized void forEach(java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object> action) { throw new RuntimeException("Stub!"); }
88
keys()89 public java.util.Enumeration<java.lang.Object> keys() { throw new RuntimeException("Stub!"); }
90
elements()91 public java.util.Enumeration<java.lang.Object> elements() { throw new RuntimeException("Stub!"); }
92
getProperty(java.lang.String key)93 public java.lang.String getProperty(java.lang.String key) { throw new RuntimeException("Stub!"); }
94
getService(java.lang.String type, java.lang.String algorithm)95 public synchronized java.security.Provider.Service getService(java.lang.String type, java.lang.String algorithm) { throw new RuntimeException("Stub!"); }
96
getServices()97 public synchronized java.util.Set<java.security.Provider.Service> getServices() { throw new RuntimeException("Stub!"); }
98
putService(java.security.Provider.Service s)99 protected synchronized void putService(java.security.Provider.Service s) { throw new RuntimeException("Stub!"); }
100
removeService(java.security.Provider.Service s)101 protected synchronized void removeService(java.security.Provider.Service s) { throw new RuntimeException("Stub!"); }
102
setRegistered()103 public void setRegistered() { throw new RuntimeException("Stub!"); }
104
setUnregistered()105 public void setUnregistered() { throw new RuntimeException("Stub!"); }
106
isRegistered()107 public boolean isRegistered() { throw new RuntimeException("Stub!"); }
108
109 @libcore.api.CorePlatformApi
warmUpServiceProvision()110 public synchronized void warmUpServiceProvision() { throw new RuntimeException("Stub!"); }
111 @SuppressWarnings({"unchecked", "deprecation", "all"})
112 public static class Service {
113
Service(java.security.Provider provider, java.lang.String type, java.lang.String algorithm, java.lang.String className, java.util.List<java.lang.String> aliases, java.util.Map<java.lang.String, java.lang.String> attributes)114 public Service(java.security.Provider provider, java.lang.String type, java.lang.String algorithm, java.lang.String className, java.util.List<java.lang.String> aliases, java.util.Map<java.lang.String, java.lang.String> attributes) { throw new RuntimeException("Stub!"); }
115
getType()116 public final java.lang.String getType() { throw new RuntimeException("Stub!"); }
117
getAlgorithm()118 public final java.lang.String getAlgorithm() { throw new RuntimeException("Stub!"); }
119
getProvider()120 public final java.security.Provider getProvider() { throw new RuntimeException("Stub!"); }
121
getClassName()122 public final java.lang.String getClassName() { throw new RuntimeException("Stub!"); }
123
getAttribute(java.lang.String name)124 public final java.lang.String getAttribute(java.lang.String name) { throw new RuntimeException("Stub!"); }
125
newInstance(java.lang.Object constructorParameter)126 public java.lang.Object newInstance(java.lang.Object constructorParameter) throws java.security.NoSuchAlgorithmException { throw new RuntimeException("Stub!"); }
127
supportsParameter(java.lang.Object parameter)128 public boolean supportsParameter(java.lang.Object parameter) { throw new RuntimeException("Stub!"); }
129
toString()130 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
131 }
132
133 }
134
135