java.security
public
abstract
class
java.security.Provider
Nested Classes
Known Direct Subclasses
Summary
Protected Constructors
Public Methods
Protected Methods
getProperty,
getProperty,
list,
list,
load,
loadFromXML,
propertyNames,
save,
setProperty,
store,
storeToXML,
storeToXML
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keySet,
keys,
put,
putAll,
rehash,
remove,
size,
toString,
values
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Methods inherited
from interface
java.util.Map
clear,
containsKey,
containsValue,
entrySet,
equals,
get,
hashCode,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values
Details
Protected Constructors
protected
Provider(String name, double version, String info)
Public Methods
public
synchronized
void
clear()
Removes all key/value pairs from this Hashtable, leaving the size zero
and the capacity unchanged.
Returns a Set of the mappings contained in this Hashtable. Each element
in the set is a Map.Entry. The set is backed by this Hashtable so changes
to one are reflected by the other. The set does not support adding.
public
String
getInfo()
Returns the generic information about the services being provided.
Returns
- String generic description of the services being provided
public
String
getName()
Returns the name of this provider.
Returns
- String name of the provider
public
double
getVersion()
Returns the version number for the services being provided
Returns
- double version number for the services being provided
Returns a Set of the keys contained in this Hashtable. The set is backed
by this Hashtable so changes to one are reflected by the other. The set
does not support adding.
public
synchronized
void
load(InputStream inStream)
Loads properties from the specified InputStream. The properties are of
the form
key=value
, one property per line.
Parameters
inStream
| the input stream |
public
synchronized
Object
put(Object key, Object value)
Associate the specified value with the specified key in this Hashtable.
If the key already exists, the old value is replaced. The key and value
cannot be null.
Parameters
key
| the key to add |
value
| the value to add |
Returns
- the old value associated with the specified key, null if the key
did not exist
public
synchronized
void
putAll(Map<?, ?> t)
Copies every mapping in the specified Map to this Hashtable.
Parameters
t
| the Map to copy mappings from
|
public
synchronized
Object
remove(Object key)
Remove the key/value pair with the specified key from this Hashtable.
Returns
- the value associated with the specified key, null if the
specified key did not exist
public
String
toString()
Returns a string containing a concise, human-readable description of the
receiver.
Returns
- a printable representation for the receiver.
Returns a Collection of the values contained in this Hashtable. The
collection is backed by this Hashtable so changes to one are reflected by
the other. The collection does not support adding.
Returns
- a Collection of the values
Protected Methods