java.security
Class Provider.Service
java.lang.Object
java.security.Provider.Service
- Enclosing class:
- Provider
public static class Provider.Service
- extends Object
Provider.Service
public Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
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 namevalue - 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.
Please submit a feedback, bug or feature