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 ToProvider.{putService( ) , removeService( )} Returned ByProvider.getService( ) |