Build 1.0_r1(from source)

java.security
Class Provider.Service

java.lang.Object
  extended by java.security.Provider.Service
Enclosing class:
Provider

public static class Provider.Service
extends Object


Constructor Summary
Provider.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)
           
 
Method Summary
(package private)  void addAlias(String alias)
          Adds an alias.
 String getAlgorithm()
           
(package private)  Iterator<String> getAliases()
           
 String getAttribute(String name)
           
 String getClassName()
           
 Provider getProvider()
           
 String getType()
           
 Object newInstance(Object constructorParameter)
           
(package private)  void putAttribute(String name, String value)
          Puts a new attribute mapping.
 boolean supportsParameter(Object parameter)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Provider.Service

public Provider.Service(Provider provider,
                        String type,
                        String algorithm,
                        String className,
                        List<String> aliases,
                        Map<String,String> attributes)
Method Detail

addAlias

void addAlias(String alias)
Adds an alias.

Parameters:
alias - the alias to add

putAttribute

void putAttribute(String name,
                  String value)
Puts a new attribute mapping.

Parameters:
name - the attribute name
value - the attribute value

getType

public final String getType()

getAlgorithm

public final String getAlgorithm()

getProvider

public final Provider getProvider()

getClassName

public final String getClassName()

getAttribute

public final String getAttribute(String name)

getAliases

Iterator<String> getAliases()

newInstance

public Object newInstance(Object constructorParameter)
                   throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

supportsParameter

public boolean supportsParameter(Object parameter)

toString

public String toString()
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature