Provider (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
void
[clear](../../java/security/Provider.html#clear--)()
Clears this provider so that it no longer contains the properties used to look up facilities implemented by the provider.
[Object](../../java/lang/Object.html "class in java.lang")
[compute](../../java/security/Provider.html#compute-java.lang.Object-java.util.function.BiFunction-)([Object](../../java/lang/Object.html "class in java.lang") key,[BiFunction](../../java/util/function/BiFunction.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? super [Object](../../java/lang/Object.html "class in java.lang"),? extends [Object](../../java/lang/Object.html "class in java.lang")> remappingFunction)
Attempts to compute a mapping for the specified key and its current mapped value (or null
if there is no current mapping).
[Object](../../java/lang/Object.html "class in java.lang")
[computeIfAbsent](../../java/security/Provider.html#computeIfAbsent-java.lang.Object-java.util.function.Function-)([Object](../../java/lang/Object.html "class in java.lang") key,[Function](../../java/util/function/Function.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? extends [Object](../../java/lang/Object.html "class in java.lang")> mappingFunction)
If the specified key is not already associated with a value (or is mapped to null
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.
[Object](../../java/lang/Object.html "class in java.lang")
[computeIfPresent](../../java/security/Provider.html#computeIfPresent-java.lang.Object-java.util.function.BiFunction-)([Object](../../java/lang/Object.html "class in java.lang") key,[BiFunction](../../java/util/function/BiFunction.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? super [Object](../../java/lang/Object.html "class in java.lang"),? extends [Object](../../java/lang/Object.html "class in java.lang")> remappingFunction)
If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.
[Enumeration](../../java/util/Enumeration.html "interface in java.util")<[Object](../../java/lang/Object.html "class in java.lang")>
[elements](../../java/security/Provider.html#elements--)()
Returns an enumeration of the values in this hashtable.
[Set](../../java/util/Set.html "interface in java.util")<[Map.Entry](../../java/util/Map.Entry.html "interface in java.util")<[Object](../../java/lang/Object.html "class in java.lang"),[Object](../../java/lang/Object.html "class in java.lang")>>
[entrySet](../../java/security/Provider.html#entrySet--)()
Returns an unmodifiable Set view of the property entries contained in this Provider.
void
[forEach](../../java/security/Provider.html#forEach-java.util.function.BiConsumer-)([BiConsumer](../../java/util/function/BiConsumer.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? super [Object](../../java/lang/Object.html "class in java.lang")> action)
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.
[Object](../../java/lang/Object.html "class in java.lang")
[get](../../java/security/Provider.html#get-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key)
Returns the value to which the specified key is mapped, or null
if this map contains no mapping for the key.
[String](../../java/lang/String.html "class in java.lang")
[getInfo](../../java/security/Provider.html#getInfo--)()
Returns a human-readable description of the provider and its services.
[String](../../java/lang/String.html "class in java.lang")
[getName](../../java/security/Provider.html#getName--)()
Returns the name of this provider.
[Object](../../java/lang/Object.html "class in java.lang")
[getOrDefault](../../java/security/Provider.html#getOrDefault-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") defaultValue)
Returns the value to which the specified key is mapped, ordefaultValue
if this map contains no mapping for the key.
[String](../../java/lang/String.html "class in java.lang")
[getProperty](../../java/security/Provider.html#getProperty-java.lang.String-)([String](../../java/lang/String.html "class in java.lang") key)
Searches for the property with the specified key in this property list.
[Provider.Service](../../java/security/Provider.Service.html "class in java.security")
[getService](../../java/security/Provider.html#getService-java.lang.String-java.lang.String-)([String](../../java/lang/String.html "class in java.lang") type,[String](../../java/lang/String.html "class in java.lang") algorithm)
Get the service describing this Provider's implementation of the specified type of this algorithm or alias.
[Set](../../java/util/Set.html "interface in java.util")<[Provider.Service](../../java/security/Provider.Service.html "class in java.security")>
[getServices](../../java/security/Provider.html#getServices--)()
Get an unmodifiable Set of all services supported by this Provider.
double
[getVersion](../../java/security/Provider.html#getVersion--)()
Returns the version number for this provider.
[Enumeration](../../java/util/Enumeration.html "interface in java.util")<[Object](../../java/lang/Object.html "class in java.lang")>
[keys](../../java/security/Provider.html#keys--)()
Returns an enumeration of the keys in this hashtable.
[Set](../../java/util/Set.html "interface in java.util")<[Object](../../java/lang/Object.html "class in java.lang")>
[keySet](../../java/security/Provider.html#keySet--)()
Returns an unmodifiable Set view of the property keys contained in this provider.
void
[load](../../java/security/Provider.html#load-java.io.InputStream-)([InputStream](../../java/io/InputStream.html "class in java.io") inStream)
Reads a property list (key and element pairs) from the input stream.
[Object](../../java/lang/Object.html "class in java.lang")
[merge](../../java/security/Provider.html#merge-java.lang.Object-java.lang.Object-java.util.function.BiFunction-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") value,[BiFunction](../../java/util/function/BiFunction.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? super [Object](../../java/lang/Object.html "class in java.lang"),? extends [Object](../../java/lang/Object.html "class in java.lang")> remappingFunction)
If the specified key is not already associated with a value or is associated with null, associates it with the given value.
[Object](../../java/lang/Object.html "class in java.lang")
[put](../../java/security/Provider.html#put-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") value)
Sets the key
property to have the specifiedvalue
.
void
[putAll](../../java/security/Provider.html#putAll-java.util.Map-)([Map](../../java/util/Map.html "interface in java.util")<?,?> t)
Copies all of the mappings from the specified Map to this provider.
[Object](../../java/lang/Object.html "class in java.lang")
[putIfAbsent](../../java/security/Provider.html#putIfAbsent-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") value)
If the specified key is not already associated with a value (or is mapped to null
) associates it with the given value and returnsnull
, else returns the current value.
protected void
[putService](../../java/security/Provider.html#putService-java.security.Provider.Service-)([Provider.Service](../../java/security/Provider.Service.html "class in java.security") s)
Add a service.
[Object](../../java/lang/Object.html "class in java.lang")
[remove](../../java/security/Provider.html#remove-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key)
Removes the key
property (and its correspondingvalue
).
boolean
[remove](../../java/security/Provider.html#remove-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") value)
Removes the entry for the specified key only if it is currently mapped to the specified value.
protected void
[removeService](../../java/security/Provider.html#removeService-java.security.Provider.Service-)([Provider.Service](../../java/security/Provider.Service.html "class in java.security") s)
Remove a service previously added usingputService().
[Object](../../java/lang/Object.html "class in java.lang")
[replace](../../java/security/Provider.html#replace-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") value)
Replaces the entry for the specified key only if it is currently mapped to some value.
boolean
[replace](../../java/security/Provider.html#replace-java.lang.Object-java.lang.Object-java.lang.Object-)([Object](../../java/lang/Object.html "class in java.lang") key,[Object](../../java/lang/Object.html "class in java.lang") oldValue,[Object](../../java/lang/Object.html "class in java.lang") newValue)
Replaces the entry for the specified key only if currently mapped to the specified value.
void
[replaceAll](../../java/security/Provider.html#replaceAll-java.util.function.BiFunction-)([BiFunction](../../java/util/function/BiFunction.html "interface in java.util.function")<? super [Object](../../java/lang/Object.html "class in java.lang"),? super [Object](../../java/lang/Object.html "class in java.lang"),? extends [Object](../../java/lang/Object.html "class in java.lang")> function)
Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.
[String](../../java/lang/String.html "class in java.lang")
[toString](../../java/security/Provider.html#toString--)()
Returns a string with the name and the version number of this provider.
[Collection](../../java/util/Collection.html "interface in java.util")<[Object](../../java/lang/Object.html "class in java.lang")>
[values](../../java/security/Provider.html#values--)()
Returns an unmodifiable Collection view of the property values contained in this provider.