| java.lang.Object | |
| ↳ | java.security.Provider.Service | 
Service represents a service in the Java Security infrastructure.
 Each service describes its type, the algorithm it implements, to which
 provider it belongs and other properties.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Constructs a new instance of  Servicewith the given
 attributes. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns the name of the algorithm implemented by this  Service. | |||||||||||
| Returns the value of the attribute with the specified  name. | |||||||||||
| Returns the name of the class implementing this  Service. | |||||||||||
| Returns the  ProviderthisServicebelongs to. | |||||||||||
| Returns the type of this  Service. | |||||||||||
| Creates and returns a new instance of the implementation described by
 this  Service. | |||||||||||
| Indicates whether this  Servicesupports the specified
 constructor parameter. | |||||||||||
| Returns a string containing a concise, human-readable description of
 this  Service. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Constructs a new instance of Service with the given
 attributes.
| provider | the provider to which this service belongs. | 
|---|---|
| type | the type of this service (for example KeyPairGenerator). | 
| algorithm | the algorithm this service implements. | 
| className | the name of the class implementing this service. | 
| aliases | Listof aliases for the algorithm name, ornullif the implemented algorithm has no aliases. | 
| attributes | Mapof additional attributes, ornullif
            thisServicehas no attributed. | 
| NullPointerException | if provider, type, algorithmorclassNameisnull. | 
|---|
Returns the name of the algorithm implemented by this Service.
Service.
Returns the value of the attribute with the specified name.
| name | the name of the attribute. | 
|---|
null if no attribute
         with the given name is set.| NullPointerException | if nameisnull. | 
|---|
Returns the name of the class implementing this Service.
Service.
Returns the Provider this Service belongs to.
Provider this Service belongs to.
Returns the type of this Service. For example KeyPairGenerator.
Service.
Creates and returns a new instance of the implementation described by
 this Service.
| constructorParameter | the parameter that is used by the constructor, or nullif the implementation does not declare a constructor
            parameter. | 
|---|
Service.| NoSuchAlgorithmException | if the instance could not be constructed. | 
|---|---|
| InvalidParameterException | if the implementation does not support the specified constructorParameter. | 
Indicates whether this Service supports the specified
 constructor parameter.
| parameter | the parameter to test. | 
|---|
true if this Service supports the specified
         constructor parameter, false otherwise.
Returns a string containing a concise, human-readable description of
 this Service.
Service.