IT. Expert System.

Android Reference

Provider


java.security

Class Provider

    • Constructor Detail

      • Provider

        protected Provider(String name,
                double version,
                String info)
        Constructs a new instance of Provider with its name, version and description.
        Parameters:
        name - the name of the provider.
        version - the version of the provider.
        info - a description of the provider.
    • Method Detail

      • getName

        public String getName()
        Returns the name of this provider.
        Returns:
        the name of this provider.
      • getVersion

        public double getVersion()
        Returns the version number for the services being provided.
        Returns:
        the version number for the services being provided.
      • getInfo

        public String getInfo()
        Returns a description of the services being provided.
        Returns:
        a description of the services being provided.
      • toString

        public String toString()
        Returns a string containing a concise, human-readable description of this Provider including its name and its version.
        Overrides:
        toString in class Hashtable<Object,Object>
        Returns:
        a printable representation for this Provider.
      • keySet

        public Set<Object> keySet()
        Description copied from class: Hashtable
        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.
        Specified by:
        keySet in interface Map<Object,Object>
        Overrides:
        keySet in class Hashtable<Object,Object>
        Returns:
        a set of the keys.
      • values

        public Collection<Object> values()
        Description copied from class: Hashtable
        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.
        Specified by:
        values in interface Map<Object,Object>
        Overrides:
        values in class Hashtable<Object,Object>
        Returns:
        a collection of the values.
      • getService

        public Provider.Service getService(String type,
                                  String algorithm)
        Returns the service with the specified type implementing the specified algorithm, or null if no such implementation exists.

        If two services match the requested type and algorithm, the one added with the putService(Service) is returned (as opposed to the one added via put(Object, Object).

        Parameters:
        type - the type of the service (for example KeyPairGenerator)
        algorithm - the algorithm name (case insensitive)
        Returns:
        the requested service, or null if no such implementation exists
      • getServices

        public Set<Provider.Service> getServices()
        Returns an unmodifiable Set of all services registered by this provider.
        Returns:
        an unmodifiable Set of all services registered by this provider
      • putService

        protected void putService(Provider.Service s)
        Adds a Service to this Provider. If a service with the same name was registered via this method, it is replace.
        Parameters:
        s - the Service to register
      • removeService

        protected void removeService(Provider.Service s)
        Removes a previously registered Service from this Provider.
        Parameters:
        s - the Service to remove
        Throws:
        NullPointerException - if s is null


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 988 / 158715080. Delta: 0.03687 с