iaik.utils
Class ExtendedProvider

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--java.security.Provider
                          |
                          +--iaik.utils.ExtendedProvider
All Implemented Interfaces:
Cloneable, Map, Serializable
Direct Known Subclasses:
IAIK

public abstract class ExtendedProvider
extends Provider

The abstract ExtendedProvider class is identical to the standard provider class except that upon retrieval it automatically checks if the referenced class is actually available. If it is not, it is removed from the provider and null is returned.

Version:
File Revision 11
See Also:
Serialized Form

Inner classes inherited from class java.util.Map
Map.Entry
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
protected ExtendedProvider(String name, double version, String info)
          Constructor for use by subclasses.
 
Method Summary
protected static boolean isAvailable(String className)
          Check if the class with the specified name is available
protected  void puta(String id, String className)
          Put Always.
protected  void putc(String id, String className)
          Put on condition.
protected  void putc(String id, String className, boolean condition)
          Put on condition.
 
Methods inherited from class java.security.Provider
clear, entrySet, getInfo, getName, getVersion, keySet, load, put, putAll, remove, toString, values
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, rehash, size
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedProvider

protected ExtendedProvider(String name,
                           double version,
                           String info)
Constructor for use by subclasses.
Method Detail

isAvailable

protected static boolean isAvailable(String className)
Check if the class with the specified name is available

puta

protected void puta(String id,
                    String className)
Put Always. Same as put().

putc

protected void putc(String id,
                    String className)
Put on condition. Only if the class className is available.

putc

protected void putc(String id,
                    String className,
                    boolean condition)
Put on condition. Only if condition is true.

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK