Provider.Service


Provider.Service java.security

Java 5.0

This nested class represents a single service (such as a hash algorithm) provided by a security Provider . The various methods return information about the service, including the name of the implementing class.

 public static class  Provider.Service  {  // Public Constructors  public  Service  (Provider  provider  , String  type  , String  algorithm  ,          String  className  , java.util.List<String>  aliases  ,          java.util.Map<String,String>  attributes  );  // Public Instance Methods  public final String  getAlgorithm  ( );        public final String  getAttribute  (String  name  );        public final String  getClassName  ( );        public final Provider  getProvider  ( );        public final String  getType  ( );        public Object  newInstance  (Object  constructorParameter  )          throws NoSuchAlgorithmException;        public boolean  supportsParameter  (Object  parameter  );  // Public Methods Overriding Object  public String  toString  ( );   } 

Passed To

Provider.{putService( ) , removeService( )}

Returned By

Provider.getService( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net